LS1043ARDB SDK v0.5 support USB

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

LS1043ARDB SDK v0.5 support USB

ソリューションへジャンプ
2,120件の閲覧回数
pro-supportengi
NXP Employee
NXP Employee

Is the USB supported for the LS1043A SDK v0.5? 

If supported, how can I boot from USB on the LS1043ARDB? 

Looking through the SDK v0.5 RM, it is unclear how to boot from the USB? 

If not currently supported, is it on the roadmap and for when?

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,802件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Tracy Smith,

Do you mean boot u-boot from USB or boot Linux from USB?

For boot u-boot from USB, it is not supported and no planing to support in the coming release Linux SDK.

If you mean boot Linux from USB, it is supported.

Please refer to the following

1. Connect the USB devices to the Linux Host PC.

2. Create the partitions by "fdisk /dev/sdb", one ext2 partition(sdb1).

  # fdisk /dev/sdb

3. Use the mkfs.ext2 command to create the filesystems.

  # mkfs.ext2 /dev/sdb1

4. Copy the file system to USB devices by extrating the <rootfs>.tar.gz ,Remove the tarball after extracting rootfs.

  # cp <rootfs>.tar.gz  .

  # tar -zxvf <rootfs>.tar.gz

  # rm <rootfs>.tar.gz

  Copy uImage and dtb file to /boot folder.

5. Plug in the USB devices to the target board and power on.

6. Set the environment in uboot for USB boot.

  # setenv usbboot "setenv bootargs root=/dev/sdb1 rw console=ttyS0,115200 rootdelay=5; tftpboot $loadaddr /boot/$bootfile; tftpboot $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr'

  # run usbboot


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
1,803件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Tracy Smith,

Do you mean boot u-boot from USB or boot Linux from USB?

For boot u-boot from USB, it is not supported and no planing to support in the coming release Linux SDK.

If you mean boot Linux from USB, it is supported.

Please refer to the following

1. Connect the USB devices to the Linux Host PC.

2. Create the partitions by "fdisk /dev/sdb", one ext2 partition(sdb1).

  # fdisk /dev/sdb

3. Use the mkfs.ext2 command to create the filesystems.

  # mkfs.ext2 /dev/sdb1

4. Copy the file system to USB devices by extrating the <rootfs>.tar.gz ,Remove the tarball after extracting rootfs.

  # cp <rootfs>.tar.gz  .

  # tar -zxvf <rootfs>.tar.gz

  # rm <rootfs>.tar.gz

  Copy uImage and dtb file to /boot folder.

5. Plug in the USB devices to the target board and power on.

6. Set the environment in uboot for USB boot.

  # setenv usbboot "setenv bootargs root=/dev/sdb1 rw console=ttyS0,115200 rootdelay=5; tftpboot $loadaddr /boot/$bootfile; tftpboot $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr'

  # run usbboot


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------