Hello,
I have a task to automate the initial flashing and testing for a large number of iMX6Ull devices. I prefer not to use the graphical UI interface of TEZI for that task, because it requires manual operations from operator. My goal is to automate the initial setup process as much as possible.
I followed this article :
I took ToradexEasyInstaller 6.6, modified to include my custom script that downloads from tftp the uboot, zImage and the rootfs and writes them to flash. But later on the device does not boot to uboot-1.
- flash_eraseall /dev/mtd0
- nandwrite /dev/mtd1 config_block (previously I have read the valid Device Config data with nanddump)
- nandwrite -p /dev/mtd2 u-boot-nand.imx (u-boot1)
- nandwrite -p /dev/mtd3 u-boot-nand.imx (u-boot2)
- nandwrite -p /dev/mtd4 u-boot-env.bin
- Later setup the ubi part.
The u-boot-nand.imx is taken unmodified from TEZI.
After power-on, the device does not try to load u-boot1, some condition is not met. It stays in Serial BootROM protocol, from where I can download next TEZI attempt. Can you please point me what should be done to boot to /dev/mtd2(u-boot1).