T20 256M update_rootfs hang

Hi all,

Target: T20 EVM rel V3.2A
Linux V2.82 BSP constructed upon Yocto/OpenEmbedded, and stored (update.sh -o /tftpboot) to TFTP shared directory.

U-boot TFTP update of Root File system hangs if running Colibri T20 256M V1.2A (two modules used).
This occurs for the U-boot “run update” command is given, and when “run prepare_ubi”/“run update_rootfs” as well.

Please note that the the very same update methods are perfectly successful if running Colibri T20 512M V1.2A: the target will then correctly boot to Linux (two modules used).

I note that the Root File update retrieves from TFTP the same file ‘colibri_t20/ubifs_248KiB.img’ (203,9 MB)
for 256M and 512M T20 as well, even if a ‘colibri_t20/ubifs_504KiB.img’ (206,7 MB) is also available.

I tried to use a second EVM, but results are identical.
Really I cannot figure out how to solve such problem.

Here is the failed (hanged) process of Colibri T20 256M V1.2A update.

U-Boot 2016.11-2.8.2+g087e95a2dc (Apr 05 2018 - 14:15:49 +0200)

TEGRA20
DRAM:  256 MiB
NAND:  512 MiB
MMC:   Tegra SD/MMC: 0

In:    serial
Out:   vidconsole
Err:   vidconsole
Model: Toradex Colibri T20 256MB V1.2A, Serial# 04845442
Net:   No ethernet found.
Hit any key to stop autoboot:  1 

Colibri T20 # run setupdate
MMC: no card present
MMC: no card present
** Bad device mmc 0 **
** Bad device usb 0 **
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.79
Filename 'flash_eth.img'.
Load address: 0x1000000
Loading: *#################################################  444 Bytes
	 0 Bytes/s
done
Bytes transferred = 444 (1bc hex)
## Executing script at 01000000
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.79
Filename 'colibri_t20/flash_eth.img'.
Load address: 0x1000000
Loading: *#################################################  3.2 KiB
	 351.6 KiB/s
done
Bytes transferred = 3246 (cae hex)
## Executing script at 01000000
enter "run update" to update the entire module
Colibri T20 # run update

NAND read: device 0 offset 0x300000, size 0x64
 100 bytes read: OK
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.79
Filename 'colibri_t20/colibri_t20-256-v12-nand.img'.
Load address: 0x2000000
Loading: *#################################################  968 KiB
	 175.8 KiB/s
done
Bytes transferred = 991232 (f2000 hex)

NAND erase: device 0 offset 0x0, size 0x300000
Erasing at 0x0 --   8% complete.Erasing at 0x40000 --  16% complete.Erasing at 0x80000 --  25% complete.Erasing at 0xc0000 --  33% complete.Erasing at 0x100000 --  41% complete.Erasing at 0x140000 --  50% complete.Erasing at 0x180000 --  58% complete.Erasing at 0x1c0000 --  66% complete.Erasing at 0x200000 --  75% complete.Erasing at 0x240000 --  83% complete.Erasing at 0x280000 --  91% complete.Erasing at 0x2c0000 -- 100% complete.
OK

NAND write: device 0 offset 0x0, size 0xf2000
 991232 bytes written: OK
ubi0: default fastmap pool size: 100
ubi0: default fastmap WL pool size: 50
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=3", size 508 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 2032, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 2032, PEBs reserved for bad PEB handling: 40
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.79
Filename 'colibri_t20/zImage'.
Load address: 0x2000000
Loading: *#################################################  3.9 MiB
	 2.9 MiB/s
done
Bytes transferred = 4084864 (3e5480 hex)
4084864 bytes written to volume kernel
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.79
Filename 'colibri_t20/ubifs_248KiB.img'.
Load address: 0x2000000
Loading: *###################  ***<--------------- update hangs (ex one hour)***

Instead on 512M T20 NAND update for Root File System goes on for a substantial time, but at last ends correctly.

Thank you for your support.

hi,

could you please put the hardware and software version of the module in the specify versions field, when you ask a question?
Thanks.

I was accustomed to do this. However the day I posted such question, such fields were not present in the form, so I wondered should Toradex had modified the question approach.
Please note that in previous questions if I did not regularly described these fields, the question would not be issued. Today I started a new question for trial and I see that such fields are regularly present.
I understand that my question would be taken in account even if not duly compiled.
Thanks for your support.

run:

setenv fdt_addr_r 0x01700000

before run setupdate and the update should work. It looks like LXDE 2.8b3 image is ~1MB too big on 256MB T20 with default settings.
Do not run saveenv, after reboot fdt_addr_r should revert to old value of 0x02000000.

Thanks for your support.
I tried your suggestion, but it did not work.

For T20 256M:

[Thu May 03 12:04:42.100 2018] Colibri T20 # setenv fdt_addr_r 0x01700000
[Thu May 03 12:04:43.151 2018] Colibri T20 # run update_rootfs
[Thu May 03 12:04:51.579 2018] Using asix_eth device
[Thu May 03 12:04:51.579 2018] TFTP from server 192.168.1.69; our IP address is 192.168.1.79
[Thu May 03 12:04:51.579 2018] Filename 'colibri_t20/ubifs_248KiB.img'.
[Thu May 03 12:04:51.589 2018] Load address: 0x1700000
[Thu May 03 12:04:51.589 2018] Loading: *####################  <- System Hang


For T20 512M
[Thu May 03 11:57:58.055 2018] Colibri T20 # run update_rootfs
[Thu May 03 11:58:15.169 2018] Using asix_eth device
[Thu May 03 11:58:15.169 2018] TFTP from server 192.168.1.69; our IP address is 192.168.1.79
[Thu May 03 11:58:15.269 2018] Filename 'colibri_t20/ubifs_248KiB.img'.
[Thu May 03 11:58:15.269 2018] Load address: 0x2000000
[Thu May 03 11:58:15.269 2018] Loading: *#################################################  203.9 MiB
[Thu May 03 11:59:29.427 2018] 	 2.7 MiB/s
[Thu May 03 11:59:29.427 2018] done
[Thu May 03 11:59:29.427 2018] Bytes transferred = 213827584 (cbec000 hex)
[Thu May 03 12:00:03.338 2018] 213827584 bytes written to volume rootfs
[Thu May 03 12:00:03.338 2018] Colibri T20 # 

I guess that whole rootfs is transferred to RAM, then written to NAND.
Confronting the number # of tftp transfers I believe that the amount of supplemental RAM is much more than 0x300000
I tried to lower slightly fdt_addr_r, but the system crashes…

Please note that I use LXDE 2.8b2 image, not 2.8b3
Is 2.8b3 rootfs substantially smaller ?
For 2.8b2 rootfs is 213827584 bytes, which I believe is hard to allocate on 256MB RAM…

Any other suggestion ?

Thanks for your attention.

Amount of #'s does not mean much for bigger files, it will usually stop around 50% mark and then only update after the transfer is complete (depending on your network it may look frozen even for few minutes).
For Colibri-T20_LXDE-Image_2.8.2 I get 192749568 May 3 13:46 ubifs_248KiB.img
and

Colibri T20 # setenv fdt_addr_r 0x01200000
Colibri T20 # run update_rootfs
Using asix_eth device
TFTP from server 192.168.10.1; our IP address is 192.168.10.2
Filename 'colibri_t20/ubifs_248KiB.img'.
Load address: 0x1200000
Loading: #################################################  183.8 MiB
         2.5 MiB/s
done
Bytes transferred = 192749568 (b7d2000 hex)

You can move fdt_addr_r sligthly but anything below 0x1200000 (it’ll give you extra 8MB) is risky.
If your building your own image, you can remove some applications (firefox is the best candidate if you’re not using it). If you’re trying with this build: https://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Images/Colibri-T20_LXDE-Image_2.8b2.97-20180331.tar.bz2
I’m not sure why you’re getting an end image that’s 20MB bigger.

Which linux distro you’re running?

I am using Fedora 27 KDE.
ubifs_248Kib.img is derived from
repo init -u Index of /toradex-bsp-platform.git -b LinuxImageV2.8
repo sync
. export
bitbake -k angstrom-lxde-image.

In opt/oe-core/deploy Colibri-T20_LXDE-Image_28b2-20180417.tar.bz2 is found, which I decompressed

sudo tar xjvf Colibri-T20_LXDE-Image_22.8b1-20180227.tar.bz2

to Colibri-T20_LXDE-Image_28b2 directory, which contains:
colibri-t20_bin, rootfs, tegra-uboot-flasher directories and update.sh.
Then I issued ./update.sh -o /tftpboot/ in order to set TFTP EVM update.
In /tftpboot/colibri_t20 I find ubifs_248Kib.img which is composed of 213.827.584 bytes…which is actually used for run update_rootfs.
I tried the LXDE image you suggested to me, ubifs_248Kib.img resulted actually substantially smaller (192749568) and the rootfs update actually works for fdt_addr_r = 0x01700000…
but… when ubi_boot booting the device the following problems arise…

[Thu May 03 15:01:49.763 2018] Colibri T20 # boot
[Thu May 03 15:01:58.846 2018] Booting from NAND...
[Thu May 03 15:01:58.926 2018] ubi0: detaching mtd1
[Thu May 03 15:01:59.016 2018] ubi0: mtd1 is detached
[Thu May 03 15:01:59.026 2018] ubi0: default fastmap pool size: 100
[Thu May 03 15:01:59.026 2018] ubi0: default fastmap WL pool size: 50
[Thu May 03 15:01:59.026 2018] ubi0: attaching mtd1
[Thu May 03 15:01:59.296 2018] ubi0: attached by fastmap
[Thu May 03 15:01:59.296 2018] ubi0: fastmap pool size: 100
[Thu May 03 15:01:59.296 2018] ubi0: fastmap WL pool size: 25
[Thu May 03 15:02:00.618 2018] ubi0: attached mtd1 (name "mtd=3", size 508 MiB)
[Thu May 03 15:02:00.618 2018] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[Thu May 03 15:02:00.718 2018] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[Thu May 03 15:02:00.718 2018] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
[Thu May 03 15:02:00.728 2018] ubi0: good PEBs: 2032, bad PEBs: 0, corrupted PEBs: 0
[Thu May 03 15:02:00.728 2018] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[Thu May 03 15:02:00.738 2018] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[Thu May 03 15:02:00.748 2018] ubi0: available PEBs: 0, total reserved PEBs: 2032, PEBs reserved for bad PEB handling: 40
[Thu May 03 15:02:00.758 2018] Read 0 bytes from volume kernel to 1000000
[Thu May 03 15:02:00.758 2018] Read 0 bytes from volume dtb to 2000000
[Thu May 03 15:02:00.768 2018] MMC Device 1 not found
[Thu May 03 15:02:00.858 2018] no mmc device at slot 1
[Thu May 03 15:02:00.858 2018] MMC: no card present
[Thu May 03 15:02:00.858 2018] 
[Thu May 03 15:02:00.858 2018] USB device 0: unknown device
[Thu May 03 15:02:00.888 2018] BOOTP broadcast 1
[Thu May 03 15:02:00.898 2018] DHCP client bound to address 192.168.1.165 (4 ms)
[Thu May 03 15:02:00.898 2018] Using asix_eth device
[Thu May 03 15:02:00.898 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:00.898 2018] Filename 'boot.scr.uimg'.
[Thu May 03 15:02:00.908 2018] Load address: 0x1000000
[Thu May 03 15:02:00.998 2018] Loading: *
[Thu May 03 15:02:00.998 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:00.998 2018] Not retrying...
[Thu May 03 15:02:00.999 2018] missing environment variable: pxeuuid
[Thu May 03 15:02:00.999 2018] Retrieving file: pxelinux.cfg/01-00-0e-c6-87-72-01
[Thu May 03 15:02:01.040 2018] Using asix_eth device
[Thu May 03 15:02:01.040 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.040 2018] Filename 'pxelinux.cfg/01-00-0e-c6-87-72-01'.
[Thu May 03 15:02:01.050 2018] Load address: 0x10100000
[Thu May 03 15:02:01.050 2018] Loading: *
[Thu May 03 15:02:01.060 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.141 2018] Not retrying...
[Thu May 03 15:02:01.141 2018] Retrieving file: pxelinux.cfg/C0A801A5
[Thu May 03 15:02:01.181 2018] Using asix_eth device
[Thu May 03 15:02:01.181 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.181 2018] Filename 'pxelinux.cfg/C0A801A5'.
[Thu May 03 15:02:01.191 2018] Load address: 0x10100000
[Thu May 03 15:02:01.191 2018] Loading: *
[Thu May 03 15:02:01.191 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.201 2018] Not retrying...
[Thu May 03 15:02:01.282 2018] Retrieving file: pxelinux.cfg/C0A801A
[Thu May 03 15:02:01.312 2018] Using asix_eth device
[Thu May 03 15:02:01.312 2018] TFTP from server 192.168.1.67; our IP address is 192.168.

when ubi_boot booting the device the following problems arise…

[Thu May 03 15:01:49.763 2018] Colibri T20 # boot
[Thu May 03 15:01:58.846 2018] Booting from NAND...
[Thu May 03 15:01:58.926 2018] ubi0: detaching mtd1
[Thu May 03 15:01:59.016 2018] ubi0: mtd1 is detached
[Thu May 03 15:01:59.026 2018] ubi0: default fastmap pool size: 100
[Thu May 03 15:01:59.026 2018] ubi0: default fastmap WL pool size: 50
[Thu May 03 15:01:59.026 2018] ubi0: attaching mtd1
[Thu May 03 15:01:59.296 2018] ubi0: attached by fastmap
[Thu May 03 15:01:59.296 2018] ubi0: fastmap pool size: 100
[Thu May 03 15:01:59.296 2018] ubi0: fastmap WL pool size: 25
[Thu May 03 15:02:00.618 2018] ubi0: attached mtd1 (name "mtd=3", size 508 MiB)
[Thu May 03 15:02:00.618 2018] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[Thu May 03 15:02:00.718 2018] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[Thu May 03 15:02:00.718 2018] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
[Thu May 03 15:02:00.728 2018] ubi0: good PEBs: 2032, bad PEBs: 0, corrupted PEBs: 0
[Thu May 03 15:02:00.728 2018] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[Thu May 03 15:02:00.738 2018] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[Thu May 03 15:02:00.748 2018] ubi0: available PEBs: 0, total reserved PEBs: 2032, PEBs reserved for bad PEB handling: 40
[Thu May 03 15:02:00.758 2018] Read 0 bytes from volume kernel to 1000000
[Thu May 03 15:02:00.758 2018] Read 0 bytes from volume dtb to 2000000
[Thu May 03 15:02:00.768 2018] MMC Device 1 not found
[Thu May 03 15:02:00.858 2018] no mmc device at slot 1
[Thu May 03 15:02:00.858 2018] MMC: no card present
[Thu May 03 15:02:00.858 2018] 
[Thu May 03 15:02:00.858 2018] USB device 0: unknown device
[Thu May 03 15:02:00.888 2018] BOOTP broadcast 1
[Thu May 03 15:02:00.898 2018] DHCP client bound to address 192.168.1.165 (4 ms)
[Thu May 03 15:02:00.898 2018] Using asix_eth device
[Thu May 03 15:02:00.898 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:00.898 2018] Filename 'boot.scr.uimg'.
[Thu May 03 15:02:00.908 2018] Load address: 0x1000000
[Thu May 03 15:02:00.998 2018] Loading: *
[Thu May 03 15:02:00.998 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:00.998 2018] Not retrying...
[Thu May 03 15:02:00.999 2018] missing environment variable: pxeuuid
[Thu May 03 15:02:00.999 2018] Retrieving file: pxelinux.cfg/01-00-0e-c6-87-72-01
[Thu May 03 15:02:01.040 2018] Using asix_eth device
[Thu May 03 15:02:01.040 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.040 2018] Filename 'pxelinux.cfg/01-00-0e-c6-87-72-01'.
[Thu May 03 15:02:01.050 2018] Load address: 0x10100000
[Thu May 03 15:02:01.050 2018] Loading: *
[Thu May 03 15:02:01.060 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.141 2018] Not retrying...
[Thu May 03 15:02:01.141 2018] Retrieving file: pxelinux.cfg/C0A801A5
[Thu May 03 15:02:01.181 2018] Using asix_eth device
[Thu May 03 15:02:01.181 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.181 2018] Filename 'pxelinux.cfg/C0A801A5'.
[Thu May 03 15:02:01.191 2018] Load address: 0x10100000
[Thu May 03 15:02:01.191 2018] Loading: *
[Thu May 03 15:02:01.191 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.201 2018] Not retrying...
[Thu May 03 15:02:01.282 2018] Retrieving file: pxelinux.cfg/C0A801A
[Thu May 03 15:02:01.312 2018] Using asix_eth device
[Thu May 03 15:02:01.312 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.313 2018] Filename 'pxelinux.cfg/C0A801A'.
[Thu May 03 15:02:01.313 2018] Load address: 0x10100000
[Thu May 03 15:02:01.313 2018] Loading: *
[Thu May 03 15:02:01.333 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.333 2018] Not retrying...
[Thu May 03 15:02:01.333 2018] Retrieving file: pxelinux.cfg/C0A801
[Thu May 03 15:02:01.363 2018] Using asix_eth device
[Thu May 03 15:02:01.454 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.454 2018] Filename 'pxelinux.cfg/C0A801'.
[Thu May 03 15:02:01.464 2018] Load address: 0x10100000
[Thu May 03 15:02:01.464 2018] Loading: *
[Thu May 03 15:02:01.464 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.474 2018] Not retrying...
[Thu May 03 15:02:01.474 2018] Retrieving file: pxelinux.cfg/C0A80
[Thu May 03 15:02:01.504 2018] Using asix_eth device
[Thu May 03 15:02:01.504 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.504 2018] Filename 'pxelinux.cfg/C0A80'.
[Thu May 03 15:02:01.604 2018] Load address: 0x10100000
[Thu May 03 15:02:01.604 2018] Loading: *
[Thu May 03 15:02:01.604 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.604 2018] Not retrying...
[Thu May 03 15:02:01.614 2018] Retrieving file: pxelinux.cfg/C0A8
[Thu May 03 15:02:01.644 2018] Using asix_eth device
[Thu May 03 15:02:01.644 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.644 2018] Filename 'pxelinux.cfg/C0A8'.
[Thu May 03 15:02:01.654 2018] Load address: 0x10100000
[Thu May 03 15:02:01.654 2018] Loading: *
[Thu May 03 15:02:01.654 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.744 2018] Not retrying...
[Thu May 03 15:02:01.744 2018] Retrieving file: pxelinux.cfg/C0A
[Thu May 03 15:02:01.774 2018] Using asix_eth device
[Thu May 03 15:02:01.774 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.784 2018] Filename 'pxelinux.cfg/C0A'.
[Thu May 03 15:02:01.784 2018] Load address: 0x10100000
[Thu May 03 15:02:01.784 2018] Loading: *
[Thu May 03 15:02:01.794 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.794 2018] Not retrying...
[Thu May 03 15:02:01.884 2018] Retrieving file: pxelinux.cfg/C0
[Thu May 03 15:02:01.914 2018] Using asix_eth device
[Thu May 03 15:02:01.914 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.914 2018] Filename 'pxelinux.cfg/C0'.
[Thu May 03 15:02:01.924 2018] Load address: 0x10100000
[Thu May 03 15:02:01.924 2018] Loading: *
[Thu May 03 15:02:01.934 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.934 2018] Not retrying...
[Thu May 03 15:02:01.934 2018] Retrieving file: pxelinux.cfg/C
[Thu May 03 15:02:01.964 2018] Using asix_eth device
[Thu May 03 15:02:02.055 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.055 2018] Filename 'pxelinux.cfg/C'.
[Thu May 03 15:02:02.065 2018] Load address: 0x10100000
[Thu May 03 15:02:02.065 2018] Loading: *
[Thu May 03 15:02:02.065 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.065 2018] Not retrying...
[Thu May 03 15:02:02.075 2018] Retrieving file: pxelinux.cfg/default-arm-tegra20
[Thu May 03 15:02:02.105 2018] Using asix_eth device
[Thu May 03 15:02:02.105 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.105 2018] Filename 'pxelinux.cfg/default-arm-tegra20'.
[Thu May 03 15:02:02.195 2018] Load address: 0x10100000
[Thu May 03 15:02:02.195 2018] Loading: *
[Thu May 03 15:02:02.205 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.205 2018] Not retrying...
[Thu May 03 15:02:02.215 2018] Retrieving file: pxelinux.cfg/default-arm
[Thu May 03 15:02:02.245 2018] Using asix_eth device
[Thu May 03 15:02:02.245 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.245 2018] Filename 'pxelinux.cfg/default-arm'.
[Thu May 03 15:02:02.255 2018] Load address: 0x10100000
[Thu May 03 15:02:02.255 2018] Loading: *
[Thu May 03 15:02:02.255 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.345 2018] Not retrying...
[Thu May 03 15:02:02.345 2018] Retrieving file: pxelinux.cfg/default
[Thu May 03 15:02:02.375 2018] Using asix_eth device
[Thu May 03 15:02:02.375 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.385 2018] Filename 'pxelinux.cfg/default'.
[Thu May 03 15:02:02.385 2018] Load address: 0x10100000
[Thu May 03 15:02:02.385 2018] Loading: *
[Thu May 03 15:02:02.395 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.395 2018] Not retrying...
[Thu May 03 15:02:02.485 2018] Config file not found
[Thu May 03 15:02:02.515 2018] BOOTP broadcast 1
[Thu May 03 15:02:02.525 2018] DHCP client bound to address 192.168.1.165 (13 ms)
[Thu May 03 15:02:02.525 2018] Using asix_eth device
[Thu May 03 15:02:02.535 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.535 2018] Filename 'boot.scr.uimg'.
[Thu May 03 15:02:02.545 2018] Load address: 0x10000000
[Thu May 03 15:02:02.545 2018] Loading: *
[Thu May 03 15:02:02.545 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.545 2018] Not retrying...
[Thu May 03 15:02:02.635 2018] Colibri T20 #   
1.165
[Thu May 03 15:02:01.313 2018] Filename 'pxelinux.cfg/C0A801A'.
[Thu May 03 15:02:01.313 2018] Load address: 0x10100000
[Thu May 03 15:02:01.313 2018] Loading: *
[Thu May 03 15:02:01.333 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.333 2018] Not retrying...
[Thu May 03 15:02:01.333 2018] Retrieving file: pxelinux.cfg/C0A801
[Thu May 03 15:02:01.363 2018] Using asix_eth device
[Thu May 03 15:02:01.454 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.454 2018] Filename 'pxelinux.cfg/C0A801'.
[Thu May 03 15:02:01.464 2018] Load address: 0x10100000
[Thu May 03 15:02:01.464 2018] Loading: *
[Thu May 03 15:02:01.464 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.474 2018] Not retrying...
[Thu May 03 15:02:01.474 2018] Retrieving file: pxelinux.cfg/C0A80
[Thu May 03 15:02:01.504 2018] Using asix_eth device
[Thu May 03 15:02:01.504 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.504 2018] Filename 'pxelinux.cfg/C0A80'.
[Thu May 03 15:02:01.604 2018] Load address: 0x10100000
[Thu May 03 15:02:01.604 2018] Loading: *
[Thu May 03 15:02:01.604 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.604 2018] Not retrying...
[Thu May 03 15:02:01.614 2018] Retrieving file: pxelinux.cfg/C0A8
[Thu May 03 15:02:01.644 2018] Using asix_eth device
[Thu May 03 15:02:01.644 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.644 2018] Filename 'pxelinux.cfg/C0A8'.
[Thu May 03 15:02:01.654 2018] Load address: 0x10100000
[Thu May 03 15:02:01.654 2018] Loading: *
[Thu May 03 15:02:01.654 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.744 2018] Not retrying...
[Thu May 03 15:02:01.744 2018] Retrieving file: pxelinux.cfg/C0A
[Thu May 03 15:02:01.774 2018] Using asix_eth device
[Thu May 03 15:02:01.774 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.784 2018] Filename 'pxelinux.cfg/C0A'.
[Thu May 03 15:02:01.784 2018] Load address: 0x10100000
[Thu May 03 15:02:01.784 2018] Loading: *
[Thu May 03 15:02:01.794 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.794 2018] Not retrying...
[Thu May 03 15:02:01.884 2018] Retrieving file: pxelinux.cfg/C0
[Thu May 03 15:02:01.914 2018] Using asix_eth device
[Thu May 03 15:02:01.914 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:01.914 2018] Filename 'pxelinux.cfg/C0'.
[Thu May 03 15:02:01.924 2018] Load address: 0x10100000
[Thu May 03 15:02:01.924 2018] Loading: *
[Thu May 03 15:02:01.934 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:01.934 2018] Not retrying...
[Thu May 03 15:02:01.934 2018] Retrieving file: pxelinux.cfg/C
[Thu May 03 15:02:01.964 2018] Using asix_eth device
[Thu May 03 15:02:02.055 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.055 2018] Filename 'pxelinux.cfg/C'.
[Thu May 03 15:02:02.065 2018] Load address: 0x10100000
[Thu May 03 15:02:02.065 2018] Loading: *
[Thu May 03 15:02:02.065 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.065 2018] Not retrying...
[Thu May 03 15:02:02.075 2018] Retrieving file: pxelinux.cfg/default-arm-tegra20
[Thu May 03 15:02:02.105 2018] Using asix_eth device
[Thu May 03 15:02:02.105 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.105 2018] Filename 'pxelinux.cfg/default-arm-tegra20'.
[Thu May 03 15:02:02.195 2018] Load address: 0x10100000
[Thu May 03 15:02:02.195 2018] Loading: *
[Thu May 03 15:02:02.205 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.205 2018] Not retrying...
[Thu May 03 15:02:02.215 2018] Retrieving file: pxelinux.cfg/default-arm
[Thu May 03 15:02:02.245 2018] Using asix_eth device
[Thu May 03 15:02:02.245 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.245 2018] Filename 'pxelinux.cfg/default-arm'.
[Thu May 03 15:02:02.255 2018] Load address: 0x10100000
[Thu May 03 15:02:02.255 2018] Loading: *
[Thu May 03 15:02:02.255 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.345 2018] Not retrying...
[Thu May 03 15:02:02.345 2018] Retrieving file: pxelinux.cfg/default
[Thu May 03 15:02:02.375 2018] Using asix_eth device
[Thu May 03 15:02:02.375 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.385 2018] Filename 'pxelinux.cfg/default'.
[Thu May 03 15:02:02.385 2018] Load address: 0x10100000
[Thu May 03 15:02:02.385 2018] Loading: *
[Thu May 03 15:02:02.395 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.395 2018] Not retrying...
[Thu May 03 15:02:02.485 2018] Config file not found
[Thu May 03 15:02:02.515 2018] BOOTP broadcast 1
[Thu May 03 15:02:02.525 2018] DHCP client bound to address 192.168.1.165 (13 ms)
[Thu May 03 15:02:02.525 2018] Using asix_eth device
[Thu May 03 15:02:02.535 2018] TFTP from server 192.168.1.67; our IP address is 192.168.1.165
[Thu May 03 15:02:02.535 2018] Filename 'boot.scr.uimg'.
[Thu May 03 15:02:02.545 2018] Load address: 0x10000000
[Thu May 03 15:02:02.545 2018] Loading: *
[Thu May 03 15:02:02.545 2018] TFTP error: 'File not found' (1)
[Thu May 03 15:02:02.545 2018] Not retrying...
[Thu May 03 15:02:02.635 2018] Colibri T20 #   

Please note that fdt_addr_r has the standard 0x02000000 value.
Even when update_rootfs failed for T20 256M the system could safely boot to kernel, only ending with a crash when rootfs was concerned.

1)How to overcome this latest problem ?
2)Suppose I want shrink rootfs for tftp update, am I to remove items from Colibri-T20_LXDE-Image_2.8.2/rootfs ?

Thank you for your help.

you need to reset your u-boot environment env default -a; saveenv

First of all , I figured out that the image I used from bitbake has a rootfs supporting libQt libraries in /usr/lib, while the rootfs of the image you suggested to me has none. This explains the rootfs substantial larger size.

As for booting, I tried to reset u-boot environment according to your suggestion, but with no success.

U-Boot 2016.11-2.8.2+g087e95a (Mar 31 2018 - 08:15:50 +0000)

TEGRA20
DRAM:  256 MiB
NAND:  512 MiB
MMC:   Tegra SD/MMC: 0
In:    serial
Out:   vidconsole
Err:   vidconsole
Model: Toradex Colibri T20 256MB V1.2A, Serial# 04845442
Net:   No ethernet found.
Hit any key to stop autoboot:  1
Colibri T20 # printenv ipaddr
ipaddr=192.168.1.79                   <----------- custom parameter.
Colibri T20 # printenv serverip 
serverip=192.168.1.69                 <----------- custom parameter.
Colibri T20 # printenv gatewayip
gatewayip=192.168.1.253            <----------- custom parameter.
Colibri T20 # printenv ethaddr
ethaddr=00:0e:c6:87:72:01

U-boot default parameters

Colibri T20 # printenv
arch=arm
baudrate=115200
board=colibri_t20
board_name=colibri_t20
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
boot_file=zImage
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_targets=mmc1 mmc0 usb0 pxe dhcp 
bootargs=vmalloc=128M usb_high_speed=1 user_debug=30 ubi.mtd=ubi root=ubi0:rootfs rw rootfstype=ubifs ubi.fm_autoconvert=1 mtdparts=tegra_nand:2m(u-boot)ro,1m(u-boot-env),1m(cfgblock)ro,-(ubi) asix_mac=00:14:2d:49:ef:82 consoleblank=0 no_console_suspend=1 console=tty1 console=tty
S0,115200n8 debug_uartport=lsport,0 mem=148M@0M fbmem=12M@148M nvmem=96M@160M video=tegrafb0:640x480-16@60
bootcmd=run ubiboot; setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd
bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootcmd_mmc1=setenv devnum 1; run mmc_boot
bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
bootcmd_usb0=setenv devnum 0; run usb_boot
bootdelay=1
console=ttyS0
cpu=armv7
defargs=vmalloc=128M usb_high_speed=1 user_debug=30
devnum=0
dfu_alt_info=u-boot part 0,0;ubi part 0,3
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
dtbparam=0x02000000
ethact=asix_eth
ethaddr=00:0e:c6:87:72:01
fdt_addr_r=0x02000000
fdt_board=eval-v3
fdt_fixup=;
fdt_high=ffffffff
fdtcontroladdr=d711d80
fdtfile=tegra20-colibri-eval-v3.dtb
gatewayip=192.168.1.253
hw-version=v12
initrd_high=ffffffff
ipaddr=192.168.1.79
kernel_addr_r=0x01000000
leb-size=248KiB
loadaddr=0x01000000
memargs=mem=148M@0M fbmem=12M@148M nvmem=96M@160M
mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=tegra_nand
mtdparts=mtdparts=tegra_nand:2m(u-boot)ro,1m(u-boot-env),1m(cfgblock)ro,-(ubi)
netmask=255.255.255.0
nfsargs=ip=:::::eth0:on root=/dev/nfs rw
nfsboot=usb start; run setup; setenv bootargs ${defargs} ${mtdparts} ${nfsargs} ${setupargs} ${vidargs}; echo Booting via DHCP/TFTP/NFS...; run nfsdtbload; dhcp ${kernel_addr_r} && run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}
nfsdtbload=setenv dtbparam; tftp ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && setenv dtbparam ${fdt_addr_r}
partition=nand0,0
pxefile_addr_r=0x10100000
ram-size=256
ramdisk_addr_r=0x02100000
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scriptaddr=0x10000000
sdargs=ip=off root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait
sdboot=run setup; setenv bootargs ${defargs} ${mtdparts} ${sdargs} ${setupargs} ${vidargs}; echo Booting from SD card...; run sddtbload; load mmc 1:1 ${kernel_addr_r} ${boot_file} && run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}
sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && setenv dtbparam ${fdt_addr_r}
serial#=04845442
serverip=192.168.1.69
setethupdate=if env exists ethaddr; then; else setenv ethaddr 00:14:2d:00:00:00; fi; usb start && tftpboot ${loadaddr} flash_eth.img && source ${loadaddr}
setsdupdate=setenv interface mmc; setenv drive 0; mmc rescan; load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && source ${loadaddr}
setup=setenv setupargs asix_mac=${ethaddr} consoleblank=0 no_console_suspend=1 console=tty1 console=${console},${baudrate}n8 debug_uartport=lsport,0 ${memargs}
setupargs=asix_mac=00:14:2d:49:ef:82 consoleblank=0 no_console_suspend=1 console=tty1 console=ttyS0,115200n8 debug_uartport=lsport,0 mem=148M@0M fbmem=12M@148M nvmem=96M@160M
setupdate=run setsdupdate || run setusbupdate || run setethupdate
setusbupdate=usb start && setenv interface usb; setenv drive 0; load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && source ${loadaddr}
soc=tegra20
stderr=serial,vidconsole
stdin=serial
stdout=serial,vidconsole
ubiargs=ubi.mtd=ubi root=ubi0:rootfs rw rootfstype=ubifs ubi.fm_autoconvert=1
ubiboot=run setup; setenv bootargs ${defargs} ${ubiargs} ${mtdparts} ${setupargs} ${vidargs}; echo Booting from NAND...; ubi part ubi && ubi read ${kernel_addr_r} kernel &&run ubidtbload && run fdt_fixup; bootz ${kernel_addr_r} - ${dtbparam}; bootz ${kernel_addr_r} - 
ubidtbload=setenv dtbparam; ubi read ${fdt_addr_r} dtb && setenv dtbparam ${fdt_addr_r}
ubifs_boot=if ubi part UBI && ubifsmount ubi${devnum}:boot; then setenv devtype ubi; setenv bootpart 0; run scan_dev_for_boot; fi
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
usbargs=ip=off root=/dev/sda2 ro rootfstype=ext3 rootwait
usbboot=run setup; setenv bootargs ${defargs} ${mtdparts} ${setupargs} ${usbargs} ${vidargs}; echo Booting from USB stick...; usb start && run usbdtbload; load usb 0:1 ${kernel_addr_r} ${boot_file} && run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}
usbdtbload=setenv dtbparam; load usb 0:1 ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && setenv dtbparam ${fdt_addr_r}
vendor=toradex
ver=U-Boot 2016.11-2.8.2+g087e95a (Mar 31 2018 - 08:15:50 +0000)
vidargs=video=tegrafb0:640x480-16@60

The target is Reset, then

Environment size: 6219/65532 bytes
Colibri T20 # bootcmd    t    run ubi       ø
U-Boot SPL 2016.11-2.8.2+g087e95a (Mar 31 2018 - 08:15:50)
Trying to boot from RAM


U-Boot 2016.11-2.8.2+g087e95a (Mar 31 2018 - 08:15:50 +0000)

TEGRA20
DRAM:  256 MiB
NAND:  512 MiB
MMC:   Tegra SD/MMC: 0
In:    serial
Out:   vidconsole
Err:   vidconsole
Model: Toradex Colibri T20 256MB V1.2A, Serial# 04845442
Net:   No ethernet found.
Hit any key to stop autoboot:  1  0 
Booting from NAND...
ubi0: default fastmap pool size: 100
ubi0: default fastmap WL pool size: 50
ubi0: attaching mtd1
ubi0: attached by fastmap
ubi0: fastmap pool size: 100
ubi0: fastmap WL pool size: 25
ubi0: attached mtd1 (name "mtd=3", size 508 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
ubi0: good PEBs: 2032, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 2032, PEBs reserved for bad PEB handling: 40
Read 0 bytes from volume kernel to 1000000
Read 0 bytes from volume dtb to 2000000
MMC Device 1 not found
no mmc device at slot 1
MMC: no card present
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB EHCI 1.00
USB2:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 2 USB Device(s) found
scanning bus 2 for devices... 3 USB Device(s) found

USB device 0: unknown device
Waiting for Ethernet connection... done.
BOOTP broadcast 1
DHCP client bound to address 192.168.1.165 (5 ms)
*** Warning: no boot file name; using 'C0A801A5.img'
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'C0A801A5.img'.
Load address: 0x1000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-00-0e-c6-87-72-01
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/01-00-0e-c6-87-72-01'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A801A5
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/C0A801A5'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A801A
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/C0A801A'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A801
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/C0A801'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A80
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/C0A80'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A8
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/C0A8'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/C0A'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/C0'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/C'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-tegra20
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/default-arm-tegra20'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/default-arm'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'pxelinux.cfg/default'.
Load address: 0x10100000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Config file not found
BOOTP broadcast 1
DHCP client bound to address 192.168.1.165 (3 ms)
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.165
Filename 'boot.scr.uimg'.
Load address: 0x10000000
Loading: *
TFTP error: 'File not found' (1)

Not retrying...

Colibri T20 # 

Please note that my network has no DHCP server providing files for EVM boot.
I would like that T20 jump directly to NAND only boot.
Moreover I would like that ipaddr was static and not changed in any way.

Thank you for your support.

Sorry, I wrongly commented with an answer…

If it fails booting from NAND it will fall back to boot by various other means incl. network.

BTW: We added this issue to our roadmap.

Probably you already noted this, but I will stress it here for your convenience.

if after ./update.sh -d -m 3 -r 256 -v V1_2 from BSP 2.8b2 stored in the Toradex binary repository
I run run update the target is actually correctly updated (at least it boots): however the update stage shows a crash at end…

Colibri T20 # run update_rootfs
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.79
Filename 'colibri_t20/ubifs_248KiB.img'.
Load address: 0x2000000
Loading: *######################undefined instruction
pc : [<00005410>]	   lr : [<20000120>]
reloc pc : [<f04ee410>]	   lr : [<104e9120>]
sp : 0d711928  ip : 00000020	 fp : 0fcff90c
r10: 0fcff874  r9 : 0d716ee0	 r8 : 0000029f
r7 : 20000116  r6 : 00004cd2	 r5 : 00000611  r4 : 00000638
r3 : 000005c1  r2 : 00000000	 r1 : 0fcfbe60  r0 : ec0f0bff
Flags: nZcv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot SPL 2016.11-2.8.2+g087e95a (Mar 31 2018 - 08:15:50)
Trying to boot from RAM

The boot follows regularly.

If I setenv fdt_addr_r 0x01700000 according to your suggestion
run update_roofs performs regularly with no crash, but the boot fails according what I showed you.

Hope this helps.

I also noticed that u-boot build with bitbake and u-boot retrieved directly for Toradex binary repository have some different parameters…This sound bad.

Thank you for your attention.

Probably you already noted this, but I will stress it here for your convenience.

if after ./update.sh -d -m 3 -r 256 -v V1_2 from BSP 2.8b2 stored in the Toradex binary repository I run run update the target is actually correctly updated

No, the root file system is not updated at all!

(at least it boots):

Probably booting some intermediately updated state (e.g. new boot loader, kernel and device tree but old root file system).

however the update stage shows a crash at end…

Colibri T20 # run update_rootfs
Using asix_eth device
TFTP from server 192.168.1.69; our IP address is 192.168.1.79
Filename ‘colibri_t20/ubifs_248KiB.img’.
Load address: 0x2000000
Loading: *######################undefined instruction
pc : [<00005410>] lr : [<20000120>]
reloc pc : lr : [<104e9120>]
sp : 0d711928 ip : 00000020 fp : 0fcff90c
r10: 0fcff874 r9 : 0d716ee0 r8 : 0000029f
r7 : 20000116 r6 : 00004cd2 r5 : 00000611 r4 : 00000638
r3 : 000005c1 r2 : 00000000 r1 : 0fcfbe60 r0 : ec0f0bff
Flags: nZcv IRQs off FIQs off Mode SVC_32
Resetting CPU …

resetting ...

U-Boot SPL 2016.11-2.8.2+g087e95a (Mar 31 2018 - 08:15:50)
Trying to boot from RAM

As can be seen above it crashes during loading of the UBIFS image before it even wrote any of it.

The boot follows regularly.

Not sure what you mean by that.

If I setenv fdt_addr_r 0x01700000 according to your suggestion run update_roofs performs regularly with no crash, but the boot fails according what I showed you.

That should work at least with BSP 2.8b2. If a root file system takes even more space that workaround won’t help.

Hope this helps.

I also noticed that u-boot build with bitbake

You mean according to our regular OE-core build instructions?

What exact version are you talking about?

and u-boot retrieved directly for Toradex binary repository

What exactly do you mean by “directly for Toradex binary repository”?

And what exact version are you talking about?

have some different parameters…This sound bad.

I doubt this is the case. However, different versions of things may of course also have a slightly different configuration.

What exact parameters are you talking about?

Thank you for your attention.

You are very welcome.

Here some clarifications I need to you.

Not sure what you mean by that.
If I setenv fdt_addr_r 0x01700000 according to your suggestion run update_roofs performs regularly with no crash, but the boot fails according what I showed you.

I followed the suggestion from: Answer by dominik.tx · Apr 27 at 10:41 AM.

*** I also noticed that u-boot build with bitbake…
You mean according to our regular OE-core build instructions?***

No, I mean u-boot image available in:
/opt/oe-core/deploy/images/colibri-t20/Colibri-T20_LXDE-Image_2.8b2-20180508.tar.bz2
according to:
bitbake -k angstrom-lxde-image
bitbake angstrom-lxde-image -c populate_sdk

What exactly do you mean by “directly for Toradex binary repository”?
I followed dominik.tx suggestion six days later:
https://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Images/Colibri-T20_LXDE-Image_2.8b2.97-20180331.tar.bz2

What exact (U-boot) parameters are you talking about?

I cannot replay my findings, probably some temporary parameters were saved inadvertently.
I checked brand new U-boot environments for the two cases: the number and name of parameters appear to be the same, even if some values can obviously change according to the target.
For your reference:


This is the U-boot printout for a T20 512M (not 256M !) safely and completely updated according to:
Colibri-T20_LXDE-Image_2.8b2-20180508.tar.bz2 from bitbake.
Please note that its rootfs is even larger due to Qt libraries in /usr/lib.

U-Boot SPL 2016.11-2.8.2+g087e95a2dc (May 04 2018 - 16:07:57)
Trying to boot from RAM

U-Boot 2016.11-2.8.2+g087e95a2dc (May 04 2018 - 16:07:57 +0200)

TEGRA20
DRAM: 512 MiB
NAND: 1024 MiB
MMC: Tegra SD/MMC: 0
In: serial
Out: vidconsole
Err: vidconsole
Model: Toradex Colibri T20 512MB V1.2A, Serial# 04867023
Net: No ethernet found.
Hit any key to stop autoboot: 0
Colibri T20 # printenv
arch=arm
baudrate=115200
board=colibri_t20
board_name=colibri_t20
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
boot_file=zImage
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_targets=mmc1 mmc0 usb0 pxe dhcp
bootcmd=run ubiboot; setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd
bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootcmd_mmc1=setenv devnum 1; run mmc_boot
bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
bootcmd_usb0=setenv devnum 0; run usb_boot
bootdelay=1
console=ttyS0
cpu=armv7
defargs=vmalloc=128M usb_high_speed=1 user_debug=30
dfu_alt_info=u-boot part 0,0;ubi part 0,3
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
ethaddr=00:14:2d:4a:43:cf
fdt_addr_r=0x02000000
fdt_board=eval-v3
fdt_fixup=;
fdt_high=ffffffff
fdtcontroladdr=1d711d80
gatewayip=192.168.1.253
hw-version=v12
initrd_high=ffffffff
ipaddr=192.168.1.79
kernel_addr_r=0x01000000
leb-size=248KiB
loadaddr=0x01000000
memargs=mem=372M@0M fbmem=12M@372M nvmem=128M@384M
mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
mtdparts=mtdparts=tegra_nand:2m(u-boot)ro,1m(u-boot-env),1m(cfgblock)ro,-(ubi)
netmask=255.255.255.0
nfsargs=ip=:::::eth0:on root=/dev/nfs rw
nfsboot=usb start; run setup; setenv bootargs ${defargs} ${mtdparts} ${nfsargs} ${setupargs} ${vidargs}; echo Booting via DHCP/TFTP/NFS…; run nfsdtbload; dhcp ${kernel_addr_r} && run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}
nfsdtbload=setenv dtbparam; tftp ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && setenv dtbparam ${fdt_addr_r}
pxefile_addr_r=0x10100000
ram-size=512
ramdisk_addr_r=0x02100000
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}…; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing…; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing…; fi; done
scriptaddr=0x10000000
sdargs=ip=off root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait
sdboot=run setup; setenv bootargs ${defargs} ${mtdparts} ${sdargs} ${setupargs} ${vidargs}; echo Booting from SD card…; run sddtbload; load mmc 1:1 ${kernel_addr_r} ${boot_file} && run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}
sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && setenv dtbparam ${fdt_addr_r}
serial#=04867023
serverip=192.168.1.67
setethupdate=if env exists ethaddr; then; else setenv ethaddr 00:14:2d:00:00:00; fi; usb start && tftpboot ${loadaddr} flash_eth.img && source ${loadaddr}
setsdupdate=setenv interface mmc; setenv drive 0; mmc rescan; load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && source ${loadaddr}
setup=setenv setupargs asix_mac=${ethaddr} consoleblank=0 no_console_suspend=1 console=tty1 console=${console},${baudrate}n8 debug_uartport=lsport,0 ${memargs}
setupdate=run setsdupdate || run setusbupdate || run setethupdate
setusbupdate=usb start && setenv interface usb; setenv drive 0; load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && source ${loadaddr}
soc=tegra20
stderr=serial,vidconsole
stdin=serial
stdout=serial,vidconsole
ubiargs=ubi.mtd=ubi root=ubi0:rootfs rw rootfstype=ubifs ubi.fm_autoconvert=1
ubiboot=run setup; setenv bootargs ${defargs} ${ubiargs} ${mtdparts} ${setupargs} ${vidargs}; echo Booting from NAND…; ubi part ubi && ubi read ${kernel_addr_r} kernel &&run ubidtbload && run fdt_fixup; bootz ${kernel_addr_r} - ${dtbparam}; bootz ${kernel_addr_r} -
ubidtbload=setenv dtbparam; ubi read ${fdt_addr_r} dtb && setenv dtbparam ${fdt_addr_r}
ubifs_boot=if ubi part UBI && ubifsmount ubi${devnum}:boot; then setenv devtype ubi; setenv bootpart 0; run scan_dev_for_boot; fi
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
usbargs=ip=off root=/dev/sda2 ro rootfstype=ext3 rootwait
usbboot=run setup; setenv bootargs ${defargs} ${mtdparts} ${setupargs} ${usbargs} ${vidargs}; echo Booting from USB stick…; usb start && run usbdtbload; load usb 0:1 ${kernel_addr_r} ${boot_file} && run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}
usbdtbload=setenv dtbparam; load usb 0:1 ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && setenv dtbparam ${fdt_addr_r}
vendor=toradex
ver=U-Boot 2016.11-2.8.2+g087e95a2dc (May 04 2018 - 16:07:57 +0200)
vidargs=video=tegrafb0:640x480-16@60

Environment size: 5489/65532 bytes
Colibri T20 #


This is the output from a 256M T20 with u-boot (only) updated according to
https://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Images/Colibri-T20_LXDE-Image_2.8b2.97-20180331.tar.bz2

U-Boot 2016.11-2.8.2+g087e95a (Mar 31 2018 - 08:15:50 +0000)

TEGRA20
DRAM: 256 MiB
NAND: 512 MiB
MMC: Tegra SD/MMC: 0
*** Warning - bad CRC, using default environment

In: serial
Out: vidconsole
Err: vidconsole
Model: Toradex Colibri T20 256MB V1.2A, Serial# 04845442
Net: No ethernet found.
Hit any key to stop autoboot: 0
Colibri T20 # printenv
arch=arm
baudrate=115200
board=colibri_t20
board_name=colibri_t20
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
boot_file=zImage
boot_net_usb_start=usb start
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_targets=mmc1 mmc0 usb0 pxe dhcp
bootcmd=run ubiboot; setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd
bootcmd_dhcp=run boot_net_usb_start; if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;
bootcmd_mmc0=setenv devnum 0; run mmc_boot
bootcmd_mmc1=setenv devnum 1; run mmc_boot
bootcmd_pxe=run boot_net_usb_start; dhcp; if pxe get; then pxe boot; fi
bootcmd_usb0=setenv devnum 0; run usb_boot
bootdelay=1
console=ttyS0
cpu=armv7
defargs=vmalloc=128M usb_high_speed=1 user_debug=30
dfu_alt_info=u-boot part 0,0;ubi part 0,3
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
ethaddr=00:14:2d:49:ef:82
fdt_addr_r=0x02000000
fdt_board=eval-v3
fdt_fixup=;
fdt_high=ffffffff
fdtcontroladdr=d711d80
hw-version=v12
initrd_high=ffffffff
ipaddr=192.168.10.2
kernel_addr_r=0x01000000
leb-size=248KiB
loadaddr=0x01000000
memargs=mem=148M@0M fbmem=12M@148M nvmem=96M@160M
mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi
mtdparts=mtdparts=tegra_nand:2m(u-boot)ro,1m(u-boot-env),1m(cfgblock)ro,-(ubi)
netmask=255.255.255.0
nfsargs=ip=:::::eth0:on root=/dev/nfs rw
nfsboot=usb start; run setup; setenv bootargs ${defargs} ${mtdparts} ${nfsargs} ${setupargs} ${vidargs}; echo Booting via DHCP/TFTP/NFS…; run nfsdtbload; dhcp ${kernel_addr_r} && run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}
nfsdtbload=setenv dtbparam; tftp ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && setenv dtbparam ${fdt_addr_r}
pxefile_addr_r=0x10100000
ram-size=256
ramdisk_addr_r=0x02100000
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}…; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing…; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing…; fi; done
scriptaddr=0x10000000
sdargs=ip=off root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait
sdboot=run setup; setenv bootargs ${defargs} ${mtdparts} ${sdargs} ${setupargs} ${vidargs}; echo Booting from SD card…; run sddtbload; load mmc 1:1 ${kernel_addr_r} ${boot_file} && run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}
sddtbload=setenv dtbparam; load mmc 1:1 ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && setenv dtbparam ${fdt_addr_r}
serial#=04845442
serverip=192.168.10.1
setethupdate=if env exists ethaddr; then; else setenv ethaddr 00:14:2d:00:00:00; fi; usb start && tftpboot ${loadaddr} flash_eth.img && source ${loadaddr}
setsdupdate=setenv interface mmc; setenv drive 0; mmc rescan; load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && source ${loadaddr}
setup=setenv setupargs asix_mac=${ethaddr} consoleblank=0 no_console_suspend=1 console=tty1 console=${console},${baudrate}n8 debug_uartport=lsport,0 ${memargs}
setupdate=run setsdupdate || run setusbupdate || run setethupdate
setusbupdate=usb start && setenv interface usb; setenv drive 0; load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && source ${loadaddr}
soc=tegra20
stderr=serial,vidconsole
stdin=serial
stdout=serial,vidconsole
ubiargs=ubi.mtd=ubi root=ubi0:rootfs rw rootfstype=ubifs ubi.fm_autoconvert=1
ubiboot=run setup; setenv bootargs ${defargs} ${ubiargs} ${mtdparts} ${setupargs} ${vidargs}; echo Booting from NAND…; ubi part ubi && ubi read ${kernel_addr_r} kernel &&run ubidtbload && run fdt_fixup; bootz ${kernel_addr_r} - ${dtbparam}; bootz ${kernel_addr_r} -
ubidtbload=setenv dtbparam; ubi read ${fdt_addr_r} dtb && setenv dtbparam ${fdt_addr_r}
ubifs_boot=if ubi part UBI && ubifsmount ubi${devnum}:boot; then setenv devtype ubi; setenv bootpart 0; run scan_dev_for_boot; fi
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
usbargs=ip=off root=/dev/sda2 ro rootfstype=ext3 rootwait
usbboot=run setup; setenv bootargs ${defargs} ${mtdparts} ${setupargs} ${usbargs} ${vidargs}; echo Booting from USB stick…; usb start && run usbdtbload; load usb 0:1 ${kernel_addr_r} ${boot_file} && run fdt_fixup && bootz ${kernel_addr_r} - ${dtbparam}
usbdtbload=setenv dtbparam; load usb 0:1 ${fdt_addr_r} ${soc}-colibri-${fdt_board}.dtb && setenv dtbparam ${fdt_addr_r}
vendor=toradex
ver=U-Boot 2016.11-2.8.2+g087e95a (Mar 31 2018 - 08:15:50 +0000)
vidargs=video=tegrafb0:640x480-16@60

Environment size: 5458/65532 bytes
Colibri T20 #

Many thanks for your attention.

I am not quite sure what exactly you expect from us at this point. We explained to you what exactly the issue is and how you may work around it for our regular demo image. If you built an image which is substantially bigger our regular update procedure, unfortunately, won’t work and you would have to come up with an alternate way of flashing e.g. after booting from an SD card and directly writing your root file system to NAND or booting into a RAM disc like the Toradex Easy Installer does (unfortunately, not supported on the Colibri T20).

I do not expect nothing particular for Toradex, once the problem reason is understood.

Moreover we plan to use 512M T20 model in our design, which is immune from the problem.

We have only two 256M T20 for general test, which could even be used in our design provided
that a suitable rootfs is tailored.

I only stress that according to me the workaround for installing the rootfs regular demo 2.8b2 image on 256M T20 still fails, as the updated system does not boot regularly from NAND.
Maybe I can have missed/messed something but this is not important, I will no more investigate it, and consider the issue closed.

The important is the prompt and responsive Toradex Support.

Best Regards.

Yes, it is rather strange as that workaround worked for both me and @dominik.tx.

Thanks again for reporting this issue which we will definitely solve properly in the upcoming BSP 2.8b3.

Don’t hesitate to contact us again should you have any further questions or comments.