@khushbur I got it to boot to TinyDistro immediately, not sure if this is how to do it but it is booting the way it used to at least...
Layerscape Software Development Kit User Guide Supports: LSDK 21.08
on page 67
To deploy custom LSDK images on a reference board running TinyLinux
- After the reference board boots automatically, check whether the reference board boots TinyLinux or whether it boots LSDK userland based distribution. TinyLinux is a non-customizable prebuilt ramdisk rootfs deployed in flash media on the reference board. This rootfs fits into the firmware image on flash and is therefore called tiny.
- If the reference board boots TinyLinux, proceed to step #3.
- If the reference board boots LSDK-based distribution, it means that an older Ubuntu based distribution may already be present on the storage device that is plugged into the reference board. In this case, go to step #2 first, to force the board to boot TinyLinux.
- Force the reference board to boot TinyLinux.
- Reboot the board and stop autoboot to enter U-Boot prompt.
- Enter following command at the U-Boot prompt to boot the board to the TinyLinux environment for executing flex-installer:
=> run sd_bootcmd (for SD/eMMC boot)
=> run nor_bootcmd (for IFC-NOR boot)
=> run qspi_bootcmd (for QSPI-NOR boot)
=> run xspi_bootcmd (for FlexSPI-NOR boot)
So, I did:
=> printenv bootcmd
bootcmd=run distro_bootcmd; run qspi_bootcmd; env exists secureboot && esbc_halt;;
=> editenv bootcmd
edit: run qspi_bootcmd; run distro_bootcmd; env exists secureboot && esbc_halt;;
=> saveenv
Saving Environment to SPIFlash... SF: Detected mt25qu512a with page size 256 Bytes, erase size 64 KiB, total 64 MiB
Erasing SPI flash...Writing to SPI flash...done
OK
=> printenv bootcmd
bootcmd=run qspi_bootcmd; run distro_bootcmd; env exists secureboot && esbc_halt;;
=> reset
Now it boots immediately into Tinydistro…
William