I want to install the V2.6.1 beta 1 release to my Colibri T20 on a Colibri Evaluation Board V3.1A.
I could safely set up one VFAT SD card according to update.sh run from the host PC.
However, when starting target update, ‘run setupdate’ works fine, ‘run update’ fails (error 22), provoking the reset of the target.
U-Boot 2015.04 (Sep 29 2016 - 23:02:42)
TEGRA20
DRAM: 256 MiB
NAND: 512 MiB
MMC: Tegra SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: lcd
Err: lcd
Model: Toradex Colibri T20 256MB V1.2A, Serial# 04845443
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 1 0
Colibri T20 # run update
## Error: "update" not defined
Colibri T20 # s run setupdate
reading flash_blk.img
710 bytes read in 13 ms (52.7 KiB/s)
## Executing script at 00408000
reading colibri_t20/flash_blk.img
3173 bytes read in 19 ms (163.1 KiB/s)
## Executing script at 00408000
enter "run update" to update the entire module
Colibri T20 # run update
NAND read: device 0 offset 0x300000, size 0x64
100 bytes read: OK
reading colibri_t20/colibri_t20-256-v12-nand.img
901120 bytes read in 73 ms (11.8 MiB/s)
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 0xdc000
901120 bytes written: OK
UBI: default fastmap pool size: 100
UBI: default fastmap WL pool size: 25
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI init error 22
resetting ...
U-Boot SPL 2015.04 (Sep 29 2016 - 23:02:42)
U-Boot 2015.04 (Sep 29 2016 - 23:02:42)
TEGRA20
DRAM: 256 MiB
NAND: 512 MiB
MMC: Tegra SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: lcd
Err: lcd
Model: Toradex Colibri T20 256MB V1.2A, Serial# 04845443
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 1 0
Booting from NAND...
UBI: default fastmap pool size: 100
UBI: default fastmap WL pool size: 25
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI init error 22
Bad Linux ARM zImage magic!
Bad Linux ARM zImage magic!
ubiboot failed
Booting from SD card...
MMC Device 1 not found
** Bad device mmc 1 **
MMC Device 1 not found
** Bad device mmc 1 **
sdboot failed
Booting from USB stick...
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
USB1: USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
USB2: USB EHCI 1.00
scanning bus 2 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices...
Warning: asx0 using MAC address from net device
1 Ethernet Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
usbboot failed
Booting via DHCP/TFTP/NFS...
Waiting for Ethernet connection... done.
Using asx0 device
TFTP from server 192.168.10.1; our IP address is 192.168.10.2
Filename 'tegra20-colibri-eval-v3.dtb'.
Load address: 0x2000000
Loading: *
Abort
BOOTP broadcast 1
DHCP client bound to address 192.168.1.158 (5 ms)
Using asx0 device
TFTP from server 192.168.10.1; our IP address is 192.168.1.158; sending through gateway 192.168.1.251
Filename 'tegra20-colibri-eval-v3.dtb'.
Load address: 0x1000000
Loading: *..................................................
Please help.
Thank you for your attention.
Miguelon