Hi @ah4711 , it is possible for Apalis iMX6 to load toradex easy installer itself from TFTP server. You need a customized boot script boot.scr and the binary tezi.itb on your TFTP server.
The boot.scr is built from boot.cmd. Here is an example of boot.cmd
setenv bootargs console=ttymxc0,115200 quiet video=DPI-1:640x480D video=HDMI-A-1:640x480-16@60D video=LVDS-1:d video=VGA-1:640x480-16@60D rootfstype=squashfs root=/dev/ram autoinstall ${teziargs}
# Reenable fdt relocation since in place fdt edits corrupt the ramdisk
# in a FIT image...
setenv fdt_high
# Load FIT image from location as detected by distroboot
tftp ${ramdisk_addr_r} ${prefix}tezi.itb
bootm ${ramdisk_addr_r}
And build with mkimage
$ mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Distro Boot Script" -d boot.cmd boot.scr
After ipaddress
and serverip
are specified in u-boot, you can just run run bootcmd_dhcp
.
Here are boot.scr and boot.cmd if you want a quick test.