U-boot issue when updating/flashing the module over TFTP

Hi everybody,

When I try to update the TRDX apalis-imx6 board using bootp method, I got this message :

Filename ‘apalis_imx6/root.ext3-36’.
Load address: 0x12000000
Loading: *
TFTP error: ‘File not found’ (1)
Not retrying…
switch to partitions #0, OK
mmc0(part 0) is current device

And then
Filename ‘apalis_imx6/root.ext3-37’.
Load address: 0x12000000
Loading: *
TFTP error: ‘File not found’ (1)
Not retrying…
switch to partitions #0, OK
mmc0(part 0) is current device

etc …

When I proceed to the update by SD, it works fine.
I used update.sh -o /srv/tftp and have the same files compare to the SD. Maybe I have to split the rootfs.ext3 in different files ?

Regards, Vincent

Hello Vincent

Yes, I guess your only issue is that you did not split the rootfs.ext3 file into junks.

Starting with the V2.5 Beta 2 the update.sh script got the option ‘-c’ which additionally splits rootfs.ext3 into files needed to update with TFTP.

Alternatively you could split the rootfs.ext3 file as described in the U-Boot script ‘flash_eth.img’:

#split root.ext3 into multiple 64M chunks before copying to TFTP folder as follows
#split -a 2 -b `expr 64 \* 1024 \* 1024` --numeric-suffixes=10 root.ext3 root.ext3-

Note that the split is needed for all modules which use an eMMC as their storage media.

Oh ok, my bad, I haven’t read enough the scirpt description.
Thank you max.krummenacher