I’ve just got a the boards and now I’m trying to figure out how to update the CPU module.
What I’ve done so far is to create a debian docker image where I can build both the u-boot and the kernel. At the moment I use the following packages:
- Compiler: gcc-linaro-6.2.1-2016.11-i686_arm-linux-gnueabihf
- U-boot: toradex_2019.07
- Kernel: toradex_4.14-2.0.x-imx
- FS: Console-Image-colibri-imx6ull.tar.xz from colibri-imx6ull_console-image-tezi_3.0b2.65-20190830.tar
Both the u-boot and the kernel were built using the colibri-imx6ull_defconfig configuration.
I’ve managed to update the kernel using the easy installer but not the u-boot. I’ve tried all binaries that are built but none makes the board boot.
The kernel also have some issues during boot:
* [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. … * [FAILED] Failed to start Load default USB gadget schema g1.schema. See 'systemctl status usbg.service' for details.
but I haven’t looked into the details yet. Maybe Toradex engineers already are working with this issue?
Anyway, to make it easier (less editing, moving USB-flash around and so on) I would like use TFTP for the update instead. It’s been a long time since I last worked with embedded Linux but, if my memory is correct, in that project we used TFTP to update both the u-boot, the kernel and the filesystem. In the u-boot environment there were some handy entries for this but the nand command requires specific addresses and so on and I’ve not been able to find them. Is this information publicly available?
Also, is it possible to update u-boot from u-boot or is my memory wrong?