Flash eMMC on LS1046ARDB

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash eMMC on LS1046ARDB

ソリューションへジャンプ
2,345件の閲覧回数
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 解決策
2,176件の閲覧回数
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 返答(返信)
2,172件の閲覧回数
Chanh
Contributor III

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

0 件の賞賛
2,329件の閲覧回数
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 件の賞賛
2,322件の閲覧回数
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 件の賞賛
2,308件の閲覧回数
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 件の賞賛
2,297件の閲覧回数
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 件の賞賛
2,281件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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

タグ(1)
0 件の賞賛
2,242件の閲覧回数
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 件の賞賛
2,179件の閲覧回数
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 件の賞賛
2,177件の閲覧回数
srinivas_chilaka
NXP Employee
NXP Employee

@yipingwang 

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

 

0 件の賞賛