TQMa35 configuring U-Boot
Kenel via TFTP and rootfs via NFS
This describes how to configure the U-Boot, to boot the kernel via TFTP and the rootfs via NFS on the TQMa35. The TQMa35 must be started to get into U-Boot. Stop the auto-boot countdown by pressing a key. The following must be configured in the U-Boot command shell:
MX35 U-Boot > setenv kernel uImage MX35 U-Boot > setenv rootpath /opt/ltib_iMX35/ltib/rootfs MX35 U-Boot > setenv serverip 172.21.10.214 MX35 U-Boot > setenv bootcmd run net_nfs MX35 U-Boot > saveenv
Flash Linux kernel via TFTP
Similar to the update of U-Boot the following commands have to be set once in the U-Boot command shell to update or install a Linux kernel image in flash memory:
MX35 U-Boot > setenv prg_kernel tftpboot ${loadaddr} ${kernel}; erase ${kernel_addr} A02FFFFF; cp.b ${loadaddr} ${kernel_addr} ${filesize}; MX35 U-Boot > saveenv
And then the actual update of the Linux image:
MX35 U-Boot > run prg_kernel
Flash rootfs via TFTP
Also for the root file system. Once to set:
MX35 U-Boot > setenv ramdisk_end a1ffffff (for 32MB of flash) MX35 U-Boot > setenv rootfs rootfs.jffs2 MX35 U-Boot > setenv prg_rootfs tftpboot ${loadaddr} ${rootfs}; erase ${ramdisk_addr} ${ramdisk_end}; cp.b ${loadaddr} ${ramdisk_addr} ${filesize}; MX35 U-Boot > saveenv
And for each update of the rootfs:
MX35 U-Boot > run prg_rootfs