Hi All,
Can anyone please guide to fix below issues for the board ls1043ardb.
Issue #1 to fix: Unable to boot the board ls1043ardb to Tiny Linux Environment and unable to fetch the location where exactly this“lsdk2108_yocto_tiny_LS_arm64.itb” is saved inside the particular partition of disk (mmcblk0) on the board ls1043ardb after uploading this file into the board through TFTP tool.
We have followed the below steps as mentioned as per the LSDK2108 V Document.
=> tftp 82000000 lsdk2108_yocto_tiny_LS_arm64.itb; bootm 82000000#ls1043ardb.
The file has loaded into the board successfully, but after loading, it was directly rebooted to the default operating system i.e.Ubuntu 18.04 LTS but not entered into the U-boot prompt to perform the next steps i.e.
installing Boot partition (boot_arm64_lts_5.10.tgz) and
rootfs (rootfs_lsdk2108_ubuntu_main_arm64.tgz) images using flex-installer, then we again bring the board booted to U-boot prompt, then executed the below commands
” ERROR: can’t get kernel image” and not booted the board to Tiny Liny Environment.
For the Issue #1 , Can anyone please guide to provide the fix where exactly I am going wrong and provide the pre-defined steps w.r.t. board ls1043ardb for uploading “lsdk2108_yocto_tiny_LS_arm64.itb” and installing boot partition images (boot_arm64_lts_5.10.tgz) and rootfs images(rootfs_lsdk2108_ubuntu_main_arm64.tgz) using flexinstaller into the target board.
=>tftp 82000000 lsdk2108_yocto_tiny_LS_arm64.itb; bootm 82000000#ls1043ardb.
Issue #2 to fix: Unable to install boot-partition image (boot_arm64_lts_5.10.tgz) and Rootfs Images (rootfs_lsdk2108_ubuntu_main_arm64.tgz )using flex-installer in default “Ubuntu operating system 18.04 LTS” on the specified partition in mmcblk0-EMMC
As we could not able to boot the board to Tiny Linux Environment, so we manually downloaded “flex-installer file” from the NXP Website and copied “ The Flex-installer file, boot-partition Image (boot_arm64_lts_5.10.tgz), Rootfs Image(rootfs_lsdk2108_ubuntu_main_arm64.tgz) ” in the USB Pendrive ( formatted as ext4) and tried to install boot-partition image (boot_arm64_lts_5.10.tgz) and Rootfs Image (rootfs_lsdk2108_ubuntu_main_arm64.tgz) on the board by executing the following flex-installer command.
$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer && chmod +x flex-installer && sudo mv flex-installer /usr/bin
$ flex-installer -b boot_arm64_lts_5.10.tgz -r rootfs_lsdk2108_ubuntu_main_arm64.tgz -d /dev/mmcblk0,
Mmcblk0-EMMC is the disk on the board which we have tried to use for installing LSDK 21.08 v images.
“umount:/mnt/mmcblk0p4:targer is busy”
“Error: Partition on /dev/mmcblk0 are being used”.
$ flex-installer -i pf -d /dev/mmcblk0
$ flex-installer -i pf -d /dev/mmcblk0 -p 4P=128M:2G:8G:-1
$ flex-installer -i pf -d /dev/mmcblk0 -p 4P=64M:1200M:128M:-1
After running above commands and then “Reboot” the system, it prompted the below error:
“Kernel panic- not syncing:No working init found. Try passing init=option to kernel” and unable to boot to “Ubuntu 18.04 LTS”
For the Issue #2 We requesting to provide steps to fix for the below..
eg:
$ flex-installer -i pf -d /dev/mmcblk0
$ flex-installer -i pf -d /dev/mmcblk0 -p 4P=128M:2G:8G:-1
$ flex-installer -i pf -d /dev/mmcblk0 -p 4P=64M:1200M:128M:-1
“umount:/mnt/mmcblk0p4:targer is busy”
“Error: Partition on /dev/mmcblk0 are being used” and
“Kernel panic- not syncing:No working init found. Try passing init=option to kernel”
Conclusion:
Our goal is to upload “lsdk2108_yocto_tiny_LS_arm64.itb” into the board ls1043ardb using TFTF Tool and should make to boot the board ls1043ardb into Tiny Linux Environment in order to install boot partition images (boot_arm64_lts_5.10.tgz) and rootfs images(rootfs_lsdk2108_ubuntu_main_arm64.tgz) using flexinstaller into the target board(Which has Ubuntu 20.04 LTS) and make it to work perfectly and the board should be booted to the operating system Ubuntu 20.04LTS (LSDK2108V kit has default Ubuntu 20.04 LTS Operating system packed inside it).
Note: Storage memory naming for our board ls1043ardb : mmcblk0
Please guide us the complete steps to reach our goal.
Solved! Go to Solution.
Please deploy SD card on your host PC with the following command.
$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer && chmod +x flex-installer && sudo mv flex-installer /usr/bin
$ flex-installer -i pf -d /dev/sdx
$ flex-installer -i auto -m ls1043ardb -d /dev/sdx
/dev/sdx is SD card device name on your host PC.
Then plug-in SD card to your target board and run the following command to boot from SD card.
=> cpld reset sd
Boot Ubuntu rootfs
=> boot
Boot tiny rootfs
=>run sd_bootcmd
Please deploy SD card on your host PC with the following command.
$ wget https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer && chmod +x flex-installer && sudo mv flex-installer /usr/bin
$ flex-installer -i pf -d /dev/sdx
$ flex-installer -i auto -m ls1043ardb -d /dev/sdx
/dev/sdx is SD card device name on your host PC.
Then plug-in SD card to your target board and run the following command to boot from SD card.
=> cpld reset sd
Boot Ubuntu rootfs
=> boot
Boot tiny rootfs
=>run sd_bootcmd