LX2160ARDB SATA support

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

LX2160ARDB SATA support

Jump to solution
2,711 Views
dmitri_lechtchinski
Contributor III

Hello,

I see that LX2160ARDB supports user-connected SATA devices.

Is SATA boot supported for:

  1. Firmware booted from SATA?
  2. OS image loading from SATA by U-Boot?
    I noticed that there is no "sata" command available in U-Boot shell...

Thank you,
Dmitri

 

0 Kudos
Reply
1 Solution
2,702 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. Firmware booted from SATA is not supported.

2. OS image loading from SATA by U-Boot is supported.

You could refer to the following procedure to deploy LSDK image to SATA disk.

1. Download lsdk2108_yocto_tiny_LS_arm64.itb and boot LX2160ARDB with this image.

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/lsdk2108_yocto_tiny_LS_arm64.itb 

=> tftp 0xa0000000 nxa22585/lx2160ardb/lsdk2108_yocto_tiny_LS_arm64.itb

=> bootm 0xa0000000#lx2160ardb

2. In Linux OS on lx2160ardb

# flex-installer -i pf -d /dev/sdx (assume SATA device is /dev/sdx )

# mount /dev/sda4 /mnt

# cd /mnt

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz

# flex-installer -b boot_LS_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -d /dev/sdx

3. Under LSDK2108 u-boot, please run the following command to boot Linux from SATA.

=> run scsi_boot

View solution in original post

3 Replies
2,703 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. Firmware booted from SATA is not supported.

2. OS image loading from SATA by U-Boot is supported.

You could refer to the following procedure to deploy LSDK image to SATA disk.

1. Download lsdk2108_yocto_tiny_LS_arm64.itb and boot LX2160ARDB with this image.

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/lsdk2108_yocto_tiny_LS_arm64.itb 

=> tftp 0xa0000000 nxa22585/lx2160ardb/lsdk2108_yocto_tiny_LS_arm64.itb

=> bootm 0xa0000000#lx2160ardb

2. In Linux OS on lx2160ardb

# flex-installer -i pf -d /dev/sdx (assume SATA device is /dev/sdx )

# mount /dev/sda4 /mnt

# cd /mnt

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz

$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/rootfs_lsdk2108_ubuntu_main_arm64.tgz

# flex-installer -b boot_LS_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -d /dev/sdx

3. Under LSDK2108 u-boot, please run the following command to boot Linux from SATA.

=> run scsi_boot

2,697 Views
dmitri_lechtchinski
Contributor III

Thank you for the answer.

I'm interested specifically in this command: run scsi_boot

I don't currently have LSDK2108 u-boot available on my board, can you please explain what run scsi_boot does exactly? I assume this is a script, which U-Boot commands does it execute?

Thanks,
Dmitri

0 Kudos
Reply
2,692 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the attached u-boot environment from LSDK u-boot.