Flash eMMC on LS1046ARDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Flash eMMC on LS1046ARDB

跳至解决方案
3,222 次查看
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 项奖励
回复
1 解答
3,053 次查看
srinivas_chilaka
NXP Employee
NXP Employee

@yipingwang 

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

 

在原帖中查看解决方案

0 项奖励
回复
9 回复数
3,049 次查看
Chanh
Contributor III

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

0 项奖励
回复
3,206 次查看
srinivas_chilaka
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 项奖励
回复
3,199 次查看
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 项奖励
回复
3,185 次查看
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

标记 (1)
0 项奖励
回复
3,174 次查看
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 项奖励
回复
3,158 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

标记 (1)
0 项奖励
回复
3,119 次查看
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 项奖励
回复
3,056 次查看
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 项奖励
回复
3,054 次查看
srinivas_chilaka
NXP Employee
NXP Employee

@yipingwang 

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

 

0 项奖励
回复