Flash eMMC on LS1046ARDB

cancel
Showing results for 
Search instead for 
Did you mean: 

Flash eMMC on LS1046ARDB

Jump to solution
393 Views
Chanh
Contributor III

Hi all,

I want to flash the eMMC on LS1046ARDB. I only found some guide on flashing using TFTP (need an ethernet connection, which is not suitable for me).

May I know any other method to flash eMMC without ethernet (e.g. using USB interface)?

Thanks.

0 Kudos
1 Solution
224 Views
srinivasaraochi
NXP Employee
NXP Employee

@yipingwang 

I have visited the customer place and verified with other mass storage and its working fine.

 

View solution in original post

0 Kudos
9 Replies
220 Views
Chanh
Contributor III

Thanks Yiping and Srini for your support, with another USB device it works now.

0 Kudos
377 Views
srinivasaraochi
NXP Employee
NXP Employee

@Chanh 

I think the following thread will help you. Please check.

https://community.nxp.com/t5/Layerscape/EMMC-flash-method-for-ls1026a/m-p/1398078#M9818

 

0 Kudos
370 Views
Chanh
Contributor III

Hi Srinivasaraochi,

For the step:

"Write this image to QSPI Flash."

If I refer to the LSDK User guide section "4.1.5.3 Program LSDK composite firmware image", I can download either by TFTP server (which I am not able to do so due to ethernet), or download to mass storage, but how I could connect the emmc as a mass storage?

Thanks.

 

0 Kudos
356 Views
yipingwang
NXP TechSupport
NXP TechSupport

You could use the following command to load firmware image to memory.

=> ext2load usb 0:2 0xa0000000  firmware_ls1046ardb_emmcboot.img

Tags (1)
0 Kudos
345 Views
Chanh
Contributor III

Hi Yiping,

For the command you mentioned, is it the method that I need to copy the firmware to an USB, then connect the USB to the board?

Thanks.

0 Kudos
329 Views
yipingwang
NXP TechSupport
NXP TechSupport

Yes, you need to copy the firmware to an USB partition.

0 Kudos
290 Views
Chanh
Contributor III

Hi Yiping,

I copy the image to an USB and connect it to the board, but when I use ls command to list the bin file, I cannot see any file there. before that, the usb info seems report error:

=> usb start
starting USB...
Bus usb@2f00000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb@3000000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb@3100000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@2f00000 for devices... Device not responding to set address.

USB device not accepting new address (error=80000000)
1 USB Device(s) found
scanning bus usb@3000000 for devices... 1 USB Device(s) found
scanning bus usb@3100000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
=> usb info
1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 512 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 512 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 512 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

=> ls usb 0:1

May I know how to proceed? Thanks.

0 Kudos
227 Views
yipingwang
NXP TechSupport
NXP TechSupport

There is no Mass Storage USB mass storage device detected, this is abnormal.

Please try other USB mass storage device on the target board.

Please use u-boot from the formal released LSDK.

 

0 Kudos
225 Views
srinivasaraochi
NXP Employee
NXP Employee

@yipingwang 

I have visited the customer place and verified with other mass storage and its working fine.

 

0 Kudos