LX2160ARDB SATA support

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

LX2160ARDB SATA support

ソリューションへジャンプ
2,710件の閲覧回数
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 件の賞賛
返信
1 解決策
2,701件の閲覧回数
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

元の投稿で解決策を見る

3 返答(返信)
2,702件の閲覧回数
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,696件の閲覧回数
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 件の賞賛
返信
2,691件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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