LS1043ARDB SDK v0.5 support USB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043ARDB SDK v0.5 support USB

Jump to solution
1,450 Views
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?

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,132 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
1,133 Views
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!
-----------------------------------------------------------------------------------------------------------------------