Hi…iam trying to flash kernel permenantly to my board.My kernel version is 4.9.166-2.8.6+gd899927728be…So i downloaded Colibri-IMX6_LXDE-Image_2.8.7 and tried to flash following the methods of flashing…But i cant flash my kernel image . Looks like my uboot is old one . Do i need to flash new uboot to solve the problem or is there any other solution?
The easiest will be to just use the Toradex Easy Installer:
Thanks fory our response.
We installed ‘Toradex Embedded Linux Console Demo (Stable)’ image using easy installer tool, but still we are unable to update our kernel into board.
We need to update our modified kernel on board, SD card port is not working in our board, so only way to update kernel is tftp from uboot.
Copied the required files into tftp directory.
We are unable to find ‘fatwrite’ command in uboot to flash the kernel.
Can you please help us to solve the issue ?
Colibri iMX6ULL # run setupdate
MMC: no card present
** Bad device usb 0 **
Using FEC0 device
TFTP from server 169.254.117.204; our IP address is 169.254.117.200
Filename 'colibri-imx6ull/flash_eth.img'.
Load address: 0x82000000
Loading: ################################################## 3.9 KiB
122.1 KiB/s
done
Bytes transferred = 4017 (fb1 hex)
## Executing script at 82000000
enter "run update" to update the entire module
Colibri iMX6ULL # run update_kernel
Using FEC0 device
TFTP from server 169.254.117.204; our IP address is 169.254.117.200
Filename 'colibri-imx6ull/zImage'.
Load address: 0x82100000
Loading: ################################################## 5.2 MiB
5.6 MiB/s
done
Bytes transferred = 5479672 (539cf8 hex)
Unknown command 'fatwrite' - try 'help'
Colibri iMX6ULL #
Kernel binary located at UBI partition “kernel”. You can update it directly from Linux using
ubiupdatevol /dev/ubi0_1 <kernel_binary_file>
Or you can do it from U_boot:
-
Load kernel binary from network to RAM, then
# ubi part ubi # ubi write <addr_in_RAM> kernel <size in bytes>
Thanks . Works well
Glad I could help.