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.
Solved! Go to Solution.
I have visited the customer place and verified with other mass storage and its working fine.
Thanks Yiping and Srini for your support, with another USB device it works now.
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
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.
You could use the following command to load firmware image to memory.
=> ext2load usb 0:2 0xa0000000 firmware_ls1046ardb_emmcboot.img
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.
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.
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.
I have visited the customer place and verified with other mass storage and its working fine.