LS1046ARDB Problem booting from SD Card after flex-builder install

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1046ARDB Problem booting from SD Card after flex-builder install

跳至解决方案
4,079 次查看
markh73
Contributor IV

Hello,

I am following the instructions at [1] to download and deploy composite firmware to an SD card from Windows. After I insert the SD card into the LS1046ARDB and boot into TinyLinux, I am able to run

"flex-installer -i auto -m ls1046ardb -d /dev/mmcblk0"

according to [2] to download and deploy the rest of the LSDK image. The output reads "Installation Successful" [3]. From there I can view the Ubuntu userland rootfs in /mnt/mmcblk0p4. But when I flip the DIP switches on the LS1046ARDB to boot from the SD card and reboot, I lose access to the serial console and it never comes back until I return the DIP switches to QSPI boot mode.

markh73_1-1653007724091.png

Why is the LS1046ARDB failing to boot Ubuntu userland from the SD card? Do I need additional changes in the RCW to boot from SD? I'm not sure what those would be.

To establish serial connection with the LS1046ARDB on Windows 10, I did follow the application note [4] from 2016 "How to load a new firmware on LS boards for CMSIS-DAP". I'm wondering if this firmware is outdated and causing problems with the SD boot.

Thanks in advance!

[1] Download and deploy LSDK composite firmware in Windows environment (nxp.com)

[2] Automatically download and deploy LSDK images (nxp.com)

[3] Attachment: install_completed_successfully.txt

[4] Attachment: CMSIS-DAP firmware update for LS boards.pdf

 

0 项奖励
回复
1 解答
4,057 次查看
markh73
Contributor IV

Hi Em31,

I believe the issue to be that the LS1046ARDB uses a different partition table than the one linked in the Download and Deploy LSDK Composite Firmware in Windows instructions.

With a clean SD card, insert it into the LS1046ARDB.

Connect to the internet: udhcpc -i <interface>

Download and deploy LSDK (takes a long time, wait ~1hr): flex-installer -i auto -m ls1046ardb -d /dev/mmcblk0 -p 4P=128M:2G:8G:-1

Power off, flip the DIP switches to SD boot mode, and power-on.

You should boot right into the promised Ubuntu userland.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
4,058 次查看
Em31
Contributor II

@markh73 I was trying to follow the same steps in "Download and deploy LSDK composite firmware in Windows environment (nxp.com) ", however the LS1046ARDB will not boot into TinyLinux.

The combined image, firmware_ls1028ardb_sdboot_4k.img, is roughly 44KB in size. Is this your case as well? Also, I'm curious if any partitions on the SD card are required. My SD card was formatted as Fat with 512 bytes.

I am kind of stuck. Any help would be appreciated.

Also I am wondering you have to do any partitions to the sd card? also is your SD card format as fat 512byte.

 

 

0 项奖励
回复
4,058 次查看
markh73
Contributor IV

Hi Em31,

I believe the issue to be that the LS1046ARDB uses a different partition table than the one linked in the Download and Deploy LSDK Composite Firmware in Windows instructions.

With a clean SD card, insert it into the LS1046ARDB.

Connect to the internet: udhcpc -i <interface>

Download and deploy LSDK (takes a long time, wait ~1hr): flex-installer -i auto -m ls1046ardb -d /dev/mmcblk0 -p 4P=128M:2G:8G:-1

Power off, flip the DIP switches to SD boot mode, and power-on.

You should boot right into the promised Ubuntu userland.

0 项奖励
回复