Search by Tags

Linux (Colibri T20) - Image Flashing Log

 
Applicable for

Tags

Compare with Revision




Subscribe for this article updates

Images

Prebuilt linux images with u-boot / kernel / rootfs can be found here: http://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Images/
Please refer to the release notes document for information on a specific image. The release notes can be found at the same address.

Flashing the image

Instruction how to flash the image are at the end of the release notes. This is the complete log of how to download, program and first boot a Linux image onto a Colibri T20 using the Colibri Recovery Mode.

Linux host

  • Download the tarball.
  • Extract tarball.
  • Make connections and bring module in recovery mode, refer to release notes
  • Start update.sh script with Colibri Type and Version information.

    Note that you need root permission to unpack the tarball and to access the Colibri usb device. The script uses sudo, so you may get prompted for your password during flashing. If your distribution is restrictive with sudo rights to normal users start the script as root.
[trdx@vm_one nfs]$ wget http://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Images/T20_LinuxImageV2.0_20130305.tar.bz2
--2013-07-31 12:22:31--  http://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Images/T20_LinuxImageV2.0_20130305.tar.bz2
Resolving developer.toradex.com... 91.121.62.218
Connecting to developer.toradex.com|91.121.62.218|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 69338923 (66M) [application/x-bzip2]
Saving to: “T20_LinuxImageV2.0_20130305.tar.bz2”

100%[===================================================================================================================================================================================================>] 69,338,923  5.16M/s   in 14s     

2013-07-31 12:22:45 (4.74 MB/s) - “T20_LinuxImageV2.0_20130305.tar.bz2” saved [69338923/69338923]

[trdx@vm_one nfs]$ sudo tar xjf T20_LinuxImageV2.0_20130305.tar.bz2
[trdx@vm_one nfs]$ mv T20_LinuxImageV2.0 T20_LinuxImageV2.0_20130305
[trdx@vm_one nfs]$ cd T20_LinuxImageV2.0_20130305
[trdx@vm_one T20_LinuxImageV2.0_20130305]$ ./update.sh -h
-h : Prints this message
-b : Selects boot device (hsmmc/nand), default nand
-c : Selects configblock partition only update
-d : Selects debug boot loader without flashing
-k : Selects kernel partition only update
-r : Selects RAM size (256/512), parameter required
-v : Selects colibri version (V1_1/V1_2), parameter required
-u : Selects boot loader partition only update
-g : Forces generation of the rootfs image file, default is to reuse the one from the last run

Example "./update.sh -r 512 -v V1_1" flashes everything on a Colibri T20 V1.1c
with 512MB RAM

[trdx@vm_one T20_LinuxImageV2.0_20130305]$ # Bring the Colibri in recovery mode
[trdx@vm_one T20_LinuxImageV2.0_20130305]$ ./update.sh -r 512 -v V1_2

mkyaffs2image: image building tool for YAFFS2 built Dec 22 2011
Processing directory ../rootfs into image file USR.yaffs2_512_V1_2
Object 257, ../rootfs/home is a directory
Object 258, ../rootfs/home/xuser is a directory
Object 259, ../rootfs/home/root is a directory
...
Object 17510, ../rootfs/dev/mtd1 is a character device
Object 17511, ../rootfs/dev/tty6 is a character device
Object 17512, ../rootfs/dev/kmem is a character device
Operation complete.
33490 objects in 1423 directories
64518 NAND pages
Nvflash version 19.0041 started
rcm version 0X20001
System Information:
   chip name: t20
   chip id: 0x20 major: 1 minor: 3
   chip sku: 0x8
   chip uid: 0x0428104041616557
   macrovision: disabled
   hdcp: enabled
   sbk burned: false
   dk burned: false
   boot device: nand
   operating mode: 3
   device config strap: 0
   device config fuse: 4128
   sdram config strap: 0

sending file: ../ColibriT20_333_512_V1_2_nand.bct
- 4080/4080 bytes sent
../ColibriT20_333_512_V1_2_nand.bct sent successfully
odm data: 0x1
downloading bootloader -- load address: 0x8300000 entry point: 0x8300000
sending file: loader.nb0
\ 360208/360208 bytes sent
loader.nb0 sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
setting device: 1 0
creating partition: BCT
creating partition: PT
creating partition: EBT
creating partition: BMP
creating partition: ENV
creating partition: LNX
creating partition: ARG
creating partition: USR
Formatting partition 2 BCT please wait.. done!
Formatting partition 3 PT please wait.. done!
Formatting partition 4 EBT please wait.. done!
Formatting partition 5 BMP please wait.. done!
Formatting partition 6 ENV please wait.. done!
Formatting partition 7 LNX please wait.. done!
Formatting partition 8 ARG please wait.. done!
Formatting partition 13 USR please wait.. done!
done!
sending file: u-boot.bin
- 559508/559508 bytes sent
u-boot.bin sent successfully
sending file: uImage
/ 4447176/4447176 bytes sent
uImage sent successfully
sending file: USR.yaffs2
| 272769024/272769024 bytes sent
USR.yaffs2 sent successfully
[trdx@vm_one T20_LinuxImageV2.0_20130305]$ 

Colibri serial output

During flashing the Colibri generates the following on its serial output:

Toradex Flash Loader 1.0 for Tegra Built Nov 20 2012 18:33:52
GetOnfiFeature(1)=0
SetOnfiFeature(1)=3
GetOnfiFeature(1)=3
Nand Boot Device
PageSize=4 K, BlockSize=256 K
VendorId=0000002C, DeviceId=000000A3
512MB RAM

PartitionTableInit Failed for CE6 (e=4)

Initiating 3P server.

PartId 2: LB[0 12] PB[0 16] IL1  LS[0 768]
PartId 3: LB[12 1] PB[16 5] IL1  LS[768 64]
PartId 4: LB[13 8] PB[21 12] IL1  LS[832 512]
PartId 5: LB[21 1] PB[33 5] IL1  LS[1344 64]
PartId 6: LB[22 8] PB[38 12] IL1  LS[1408 512]
PartId 7: LB[30 32] PB[50 37] IL1  LS[1920 2048]
PartId 8: LB[62 1] PB[87 6] IL1  LS[3968 64]
Partition 13 - number of physical blocks = 3999
PartId 13: LB[63 3999] PB[93 3999] IL1  LS[4032 255936]
Save Region Table copy 0 at CurrBlockNum 4095
Save Region Table copy 1 at CurrBlockNum 4094
Save Region Table copy 2 at CurrBlockNum 4093
Save Region Table copy 3 at CurrBlockNum 4092
Erase Partition part-id=3: Start=16,End=20
Format partition BCT
Erase Partition part-id=2: Start=0,End=15
Format partition EBT
Erase Partition part-id=4: Start=21,End=32
Format partition BMP
Erase Partition part-id=5: Start=33,End=37
Format partition ENV
Erase Partition part-id=6: Start=38,End=49
Format partition LNX
Erase Partition part-id=7: Start=50,End=86
Format partition ARG
Erase Partition part-id=8: Start=87,End=92
Format partition USR
Start Downloading LNX

End Downloading LNX

Start Downloading USR

End Downloading USR

Nand Block dev ioctl opcode=NvDdkBlockDevIoctlType_MapLogicalToPhysicalSector (7) error 0x14001C Writing back config block

Done

First boot

The first boot takes much longer than the subsequent ones. This is due to postinstall routines run for every installed package. During first boot the following can be observed on the Colibri's serial console:

U-Boot 2011.06-00003-ga52972d (Jan 24 2013 - 18:20:12)

TEGRA2
DRAM:  512 MiB
NAND:  1024 MiB
MMC:   Tegra2 SD/MMC: 0
*** Warning - bad CRC, using default environment

Board: Toradex Colibri T20
Missing Colibri config block
Net:   Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot:  0
Booting from NAND...

Loading from nand0, offset 0xc80000
   Image Name:   Linux-3.1.10
   Created:      2013-03-04  13:01:52 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4447112 Bytes = 4.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
## Booting kernel from Legacy Image at 00408000 ...
   Image Name:   Linux-3.1.10
   Created:      2013-03-04  13:01:52 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4447112 Bytes = 4.2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Linux version 3.1.10 (tegradev@tegradev) (gcc version 4.7.2 (GCC) ) #1 SMP PREEMPT Mon Mar 4 14:01:38 CET 2013
[    0.000000] CPU: ARMv7 Processor [411fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Toradex Colibri T20
[    0.000000] Ignoring unrecognised tag 0x54410008
[    0.000000] Found fbmem: 00c00000@17400000
[    0.000000] Found nvmem: 08000000@18000000
[    0.000000] Tegra reserved memory:
[    0.000000] LP0:                    00000000 - 00000000
[    0.000000] Bootloader framebuffer: 17400000 - 17ffffff
[    0.000000] Framebuffer:            16700000 - 16ffffff
[    0.000000] 2nd Framebuffer:        17000000 - 17ffffff
[    0.000000] Carveout:               18000000 - 1fffffff
[    0.000000] Vpr:                    00000000 - 00000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] Tegra SKU: 8 Rev: A03 CPU Process: 1 Core Process: 2 Speedo ID: 1
[    0.000000] Tegra Revision: A03 prime SKU: 0x8 CPU Process: 1 Core Process: 2
[    0.000000] L310 cache controller enabled
[    0.000000] l2x0: 8 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x7e080001, Cache size: 1048576 B
[    0.000000] PERCPU: Embedded 8 pages/cpu @c0cf6000 s10336 r8192 d14240 u32768
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 90904
[    0.000000] Kernel command line: video=tegrafb vmalloc=128M usb_high_speed=1 ip=off root=/dev/mtdblock0 rw rootfstype=yaffs2 mtdparts=tegra_nand:1023744K@23808K(USR),3072K@0K(BCT),256K@4096K(PT),2048K@5376K(EBT),256K@8448K(BMP),2048K@9728K(ENV),8192K@12800K(LNX),256K@22272K(ARG) asix_mac= no_console_suspend=1 console=tty1 console=ttyS0,115200n8 debug_uartport=lsport,0 mem=372M@0M fbmem=12M@372M nvmem=128M@384M
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 358MB = 358MB total
[    0.000000] Memory: 352840k/352840k available, 28088k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
[    0.000000]     vmalloc : 0xd7800000 - 0xf8000000   ( 520 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd7400000   ( 372 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08815bc   (8678 kB)
[    0.000000]       .init : 0xc0882000 - 0xc08d3860   ( 327 kB)
[    0.000000]       .data : 0xc08d4000 - 0xc094bc74   ( 480 kB)
[    0.000000]        .bss : 0xc094bc98 - 0xc09bf588   ( 463 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:480
[    0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.001213] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
[    0.060071] pid_max: default: 32768 minimum: 301
[    0.060278] Mount-cache hash table entries: 512
[    0.060881] Initializing cgroup subsys blkio
[    0.060972] CPU: Testing write buffer coherency: ok
[    0.061038] ftrace: allocating 23879 entries in 71 pages
[    0.081488] CPU1: Booted secondary processor
[    0.081589] Brought up 2 CPUs
[    0.081612] SMP: Total of 2 processors activated (3974.75 BogoMIPS).
[    0.082212] devtmpfs: initialized
[    0.084882] print_constraints: dummy:
[    0.085084] NET: Registered protocol family 16
[    0.085801] host1x bus init
[    0.085944] Serial: 8250/16550 driver, 9 ports, IRQ sharing disabled
[    0.352283] Selecting UARTA as the debug console
[    0.352316] The debug console clock name is uarta
[    0.352521] serial8250.0: ttyS0 at MMIO 0x70006000 (irq = 68) is a Tegra
[    0.712866] console [ttyS0] enabled
[    0.841159] tegra_init_emc: MEMPHIS MEM2G16D2DABG 333MHz memory found
[    0.850589] tegra_arb_init: initialized
[    0.854494] tegra_iovmm_register: added iovmm-gart
[    0.868551] bio: create slab  at 0
[    0.873206] SCSI subsystem initialized
[    0.877524] usbcore: registered new interface driver usbfs
[    0.883102] usbcore: registered new interface driver hub
[    0.888495] usbcore: registered new device driver usb
[    0.893654] colibri-otg colibri-otg: otg transceiver registered
[    0.900437] tps6586x 4-0034: found TPS658623, VERSIONCRC is 1b
[    0.908353] print_constraints: REG-SM_0: 725 <--> 1500 mV at 1275 mV normal standby
[    0.917084] print_constraints: REG-SM_1: 725 <--> 1500 mV at 1100 mV normal standby
[    0.926321] print_constraints: REG-SM_2: 1700 <--> 2475 mV at 1800 mV normal standby
[    0.934835] print_constraints: REG-LDO_0: 1200 <--> 3300 mV at 1200 mV normal standby
[    0.943915] print_constraints: REG-LDO_1: 725 <--> 1500 mV at 1100 mV normal standby
[    0.952418] print_constraints: REG-LDO_2: 725 <--> 1500 mV at 1200 mV normal standby
[    0.960921] print_constraints: REG-LDO_3: 1250 <--> 3300 mV at 1800 mV normal standby
[    0.969707] print_constraints: REG-LDO_4: 1700 <--> 2475 mV at 1800 mV normal standby
[    0.978107] print_constraints: REG-LDO_5: 1250 <--> 3300 mV at 2850 mV normal standby
[    0.987193] print_constraints: REG-LDO_6: 2850 mV normal standby
[    0.994464] print_constraints: REG-LDO_7: 3300 mV normal standby
[    1.001747] print_constraints: REG-LDO_8: 1800 mV normal standby
[    1.008146] print_constraints: REG-LDO_9: 1250 <--> 3300 mV at 2850 mV normal standby
[    1.016409] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    1.023204] Bluetooth: Core ver 2.16
[    1.026835] NET: Registered protocol family 31
[    1.031294] Bluetooth: HCI device and connection manager initialized
[    1.037651] Bluetooth: HCI socket layer initialized
[    1.042536] Bluetooth: L2CAP socket layer initialized
[    1.047603] Bluetooth: SCO socket layer initialized
[    1.052754] cfg80211: Calling CRDA to update world regulatory domain
[    1.059661] Switching to clocksource timer_us
[    1.070579] Switched to NOHz mode on CPU #0
[    1.071550] Switched to NOHz mode on CPU #1
[    1.082782] nvmap_page_pool_init: nvmap uc page pool size=11026 pages
[    1.096323] nvmap_page_pool_init: nvmap pool = uc, highmem=0, pool_size=11026,totalram=88210, freeram=76494, totalhigh=0, freehigh=0
[    1.141143] nvmap_page_pool_init: nvmap wc page pool size=11026 pages
[    1.154884] nvmap_page_pool_init: nvmap pool = wc, highmem=0, pool_size=11026,totalram=88210, freeram=65396, totalhigh=0, freehigh=0
[    1.199309] nvmap_page_pool_init: nvmap iwb page pool size=11026 pages
[    1.213110] nvmap_page_pool_init: nvmap pool = iwb, highmem=0, pool_size=11026,totalram=88210, freeram=54329, totalhigh=0, freehigh=0
[    1.258201] tegra-nvmap tegra-nvmap: created carveout iram (255KiB)
[    1.265752] tegra-nvmap tegra-nvmap: created carveout generic-0 (131072KiB)
[    1.281547] NET: Registered protocol family 2
[    1.286066] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    1.293328] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    1.300783] TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
[    1.307691] TCP: Hash tables configured (established 16384 bind 16384)
[    1.314230] TCP reno registered
[    1.317376] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.323220] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.329678] NET: Registered protocol family 1
[    1.334340] RPC: Registered named UNIX socket transport module.
[    1.340265] RPC: Registered udp transport module.
[    1.344984] RPC: Registered tcp transport module.
[    1.349688] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.357010] host1x host1x: initialized
[    1.360831] PMU: registered new PMU device of type 0
[    1.378854] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.385977] fuse init (API version 7.17)
[    1.390242] msgmni has been set to 689
[    1.395032] io scheduler noop registered (default)
[    1.401036] mpe mpe: initialized
[    1.405209] gr3d gr3d: initialized
[    1.409454] gr2d gr2d: initialized
[    1.413029] isp isp: initialized
[    1.416454] vi vi: initialized
[    1.422769] tegradc tegradc.0: probed
[    1.444644] Console: switching to colour frame buffer device 80x30
[    1.469293] tegradc tegradc.0: probed
[    1.489578] tegradc tegradc.1: probed
[    1.496102] tegradc tegradc.1: probed
[    1.502518] tegra_uart.1: ttyHS1 at MMIO 0x70006040 (irq = 69) is a TEGRA_UART
[    1.544069] Registered UART port ttyHS1
[    1.550246] tegra_uart.3: ttyHS3 at MMIO 0x70006300 (irq = 122) is a TEGRA_UART
[    1.694072] Registered UART port ttyHS3
[    1.700312] Initialized tegra uart driver
[    1.713898] loop: module loaded
[    1.727127] tegra_nand: 1 NAND chip(s) found (vend=0x2c, dev=0xa3) (Micron NAND 1GiB 1,8V 8-bit)
[    1.752404] tegra_nand: NVIDIA Tegra NAND controller @ base=0x70008000 irq=56.
[    2.195800] 8 cmdlinepart partitions found on MTD device tegra_nand
[    2.211022] Creating 8 MTD partitions on "tegra_nand":
[    2.225122] 0x000001740000-0x00003ff00000 : "USR"
[    2.242185] 0x000000000000-0x000000300000 : "BCT"
[    2.257246] 0x000000400000-0x000000440000 : "PT"
[    2.272270] 0x000000540000-0x000000740000 : "EBT"
[    2.287254] 0x000000840000-0x000000880000 : "BMP"
[    2.302229] 0x000000980000-0x000000b80000 : "ENV"
[    2.317166] 0x000000c80000-0x000001480000 : "LNX"
[    2.331763] 0x0000015c0000-0x000001600000 : "ARG"
[    2.347242] PPP generic driver version 2.4.2
[    2.360109] PPP Deflate Compression module registered
[    2.373666] PPP BSD Compression module registered
[    2.388091] PPP MPPE Compression module registered
[    2.401073] NET: Registered protocol family 24
[    2.414902] tun: Universal TUN/TAP device driver, 1.6
[    2.428210] tun: (C) 1999-2004 Max Krasnyansky 
[    2.443112] usbcore: registered new interface driver asix
[    2.456886] usbcore: registered new interface driver cdc_ether
[    2.470874] usbcore: registered new interface driver cdc_subset
[    2.484843] usbcore: registered new interface driver rt2800usb
[    2.498204] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.512442] tegra USB phy - inst[1] platform info:
[    2.524556] port_otg: no
[    2.533859] has_hostpc: no
[    2.543158] phy_interface: USB_PHY_INTF_ULPI_LINK
[    2.554484] op_mode: TEGRA_USB_OPMODE_HOST
[    2.565007] vbus_gpio: -1
[    2.574178] vbus_gpio_inverted: 0
[    2.584016] vbus_reg: NULL
[    2.593368] hot_plug: disabled
[    2.603117] remote_wakeup: disabled
[    2.635384] tegra-ehci tegra-ehci.1: Tegra EHCI Host Controller
[    2.643578] tegra-ehci tegra-ehci.1: new USB bus registered, assigned bus number 1
[    2.684097] tegra-ehci tegra-ehci.1: irq 53, io mem 0xc5004000
[    2.704078] tegra-ehci tegra-ehci.1: USB 2.0 started, EHCI 1.00
[    2.712380] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.721581] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.733497] usb usb1: Product: Tegra EHCI Host Controller
[    2.741314] usb usb1: Manufacturer: Linux 3.1.10 ehci_hcd
[    2.749089] usb usb1: SerialNumber: tegra-ehci.1
[    2.756513] hub 1-0:1.0: USB hub found
[    2.762681] hub 1-0:1.0: 1 port detected
[    2.769311] Failed lp0 wake enable for irq=53
[    2.776111] tegra USB phy - inst[2] platform info:
[    2.783263] port_otg: no
[    2.788109] has_hostpc: no
[    2.793121] phy_interface: USB_PHY_INTF_UTMI
[    2.799742] op_mode: TEGRA_USB_OPMODE_HOST
[    2.806170] vbus_gpio: 178
[    2.811155] vbus_gpio_inverted: 1
[    2.816774] vbus_reg: NULL
[    2.821761] hot_plug: enabled
[    2.827045] remote_wakeup: disabled
[    2.835521] tegra-ehci tegra-ehci.2: Tegra EHCI Host Controller
[    2.843827] tegra-ehci tegra-ehci.2: new USB bus registered, assigned bus number 2
[    2.884090] tegra-ehci tegra-ehci.2: irq 129, io mem 0xc5008000
[    2.904489] tegra-ehci tegra-ehci.2: USB 2.0 started, EHCI 1.00
[    2.914775] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.925929] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.941528] usb usb2: Product: Tegra EHCI Host Controller
[    2.951205] usb usb2: Manufacturer: Linux 3.1.10 ehci_hcd
[    2.960853] usb usb2: SerialNumber: tegra-ehci.2
[    2.970245] hub 2-0:1.0: USB hub found
[    2.978188] hub 2-0:1.0: 1 port detected
[    2.986655] Failed lp0 wake enable for irq=129
[    2.995544] usbcore: registered new interface driver cdc_acm
[    3.005563] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.022561] usbcore: registered new interface driver cdc_wdm
[    3.033007] Initializing USB Mass Storage driver...
[    3.042782] usbcore: registered new interface driver usb-storage
[    3.053699] USB Mass Storage support registered.
[    3.063379] usbcore: registered new interface driver libusual
[    3.074440] usbcore: registered new interface driver usbserial
[    3.084102] usb 1-1: new high speed USB device number 2 using tegra-ehci
[    3.097610] USB Serial support registered for generic
[    3.245725] usb 1-1: New USB device found, idVendor=0b95, idProduct=772b
[    3.258019] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.270695] usb 1-1: Product: AX88772B
[    3.279762] usb 1-1: Manufacturer: ASIX Elec. Corp.
[    3.290042] usb 1-1: SerialNumber: 000001
[    3.314591] eth%d: using default ASIX MAC
[    3.960776] ASIX USB Ethernet Adapter:v4.4.0 14:00:27 Mar  4 2013
[    3.960808] <6>    http://www.asix.com.tw
[    3.987761] eth%d: status ep1in, 8 bytes period 11
[    4.002242] eth0: register 'asix' at usb-tegra-ehci.1-1, ASIX AX88772B USB 2.0 Ethernet, 00:0e:c6:87:72:01
[    4.030398] usbcore: registered new interface driver usbserial_generic
[    4.046263] usbserial: USB Serial Driver core
[    4.059825] USB Serial support registered for pl2303
[    4.074246] usbcore: registered new interface driver pl2303
[    4.088874] pl2303: Prolific PL2303 USB to serial adaptor driver
[    4.103843] Nvidia Tegra High-Speed USB SOC Device Controller driver (Apr 30, 2012)
[    4.129516] tegra USB phy - inst[0] platform info:
[    4.143299] port_otg: yes
[    4.154595] has_hostpc: no
[    4.164235] usb 2-1: new high speed USB device number 2 using tegra-ehci
[    4.181810] phy_interface: USB_PHY_INTF_UTMI
[    4.195282] op_mode: TEGRA_USB_OPMODE_DEVICE
[    4.208408] vbus_pmu_irq: 0
[    4.219753] vbus_gpio: -1
[    4.230837] charging: disabled
[    4.242122] remote_wakeup: disabled
[    4.260238] tegra-udc tegra-udc.0: usb_bat_chg regulator not registered: USB charging will not be enabled
[    4.388518] colibri-otg colibri-otg: SUSPEND --> PERIPHERAL
[    4.408057] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    4.426786] android_usb gadget: Number of LUNs=1
[    4.441097] usb 2-1: New USB device found, idVendor=0424, idProduct=2514
[    4.450902] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.450914]  lun0: LUN: removable file: (no medium)
[    4.468993] android_usb gadget: android_usb ready
[    4.476647] tegra-udc: bind to driver android_usb
[    4.476769] hub 2-1:1.0: USB hub found
[    4.490854] hub 2-1:1.0: 4 ports detected
[    4.499232] using rtc device, m41t00, for alarms
[    4.503821] rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0
[    4.515834] tegra_rtc tegra_rtc: rtc core: registered tegra_rtc as rtc1
[    4.525259] tegra_rtc tegra_rtc: Tegra internal Real Time Clock
[    4.534904] tps6586x-rtc tps6586x-rtc.0: rtc core: registered tps6586x-rtc as rtc2
[    4.548911] i2c /dev entries driver
[    4.555684] lirc_dev: IR Remote Control driver registered, major 243
[    4.565031] IR NEC protocol handler initialized
[    4.572425] IR RC5(x) protocol handler initialized
[    4.580137] IR RC6 protocol handler initialized
[    4.587647] IR JVC protocol handler initialized
[    4.595122] IR Sony protocol handler initialized
[    4.602694] IR RC5 (streamzap) protocol handler initialized
[    4.611201] IR MCE Keyboard/mouse protocol handler initialized
[    4.619950] IR LIRC bridge handler initialized
[    4.627252] Linux video capture interface: v2.00
[    4.634821] usbcore: registered new interface driver uvcvideo
[    4.643365] USB Video Class driver (1.1.1)
[    4.650400] trpc_sema_init: registered misc dev 10:54
[    4.658373] trpc_node_register: Adding 'local' to node list
[    4.666831] tegra_avp_probe: allocated carveout memory at 18100000 for AVP kernel
[    4.679926] trpc_node_register: Adding 'avp-remote' to node list
[    4.689124] tegra_avp_probe: message area d94c000/d94c110
[    4.699402] tegra_wdt_probe done
[    4.705586] Bluetooth: HCI UART driver ver 2.2
[    4.712824] Bluetooth: HCI H4 protocol initialized
[    4.720417] Bluetooth: HCILL protocol initialized
[    4.727840] Bluetooth: BlueSleep Mode Driver Ver 1.1
[    4.735853] cpuidle: using governor ladder
[    4.742816] cpuidle: using governor menu
[    4.749359] sdhci: Secure Digital Host Controller Interface driver
[    4.758240] sdhci: Copyright(c) Pierre Ossman
[    4.765250] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.773751] sdhci-tegra sdhci-tegra.3: vddio_sdmmc regulator not found: -19.Assuming vddio_sdmmc is not required.
[    4.789660] sdhci-tegra sdhci-tegra.3: vddio_sd_slot regulator not found: -19. Assuming vddio_sd_slot is not required.
[    4.806164] mmc0: Invalid maximum block size, assuming 512 bytes
[    4.815157] mmc0: no vmmc regulator found
[    4.822312] mmc0: SDHCI controller on sdhci-tegra.3 [sdhci-tegra.3] using ADMA
[    4.836592] usb 2-1.3: new high speed USB device number 3 using tegra-ehci
[    4.847869] tegra-aes tegra-aes: registered
[    4.852248] usbcore: registered new interface driver usbhid
[    4.864150] usbhid: USB HID core driver
[    4.871359] usbcore: registered new interface driver snd-usb-audio
[    4.881176] tegra20_ac97_platform_probe()
[    4.888203] tegra20_ac97_platform_probe() 565
[    4.895472] tegra20_ac97_platform_probe() 582
[    4.902856] colibri_t20_wm9715l_driver_probe()
[    4.910689] tegra20_ac97_probe()
[    4.916800] ac97->capture_dma_data=cd980f2c
[    4.923869] ac97->playback_dma_data=cd980f40
[    4.931137] WM9711/WM9712 SoC Audio Codec 0.4
[    4.938468] tegra20_ac97_reset()
[    4.944604] tegra20_ac97_warm_reset()
[    4.954476] colibri_t20_wm9715l_init()
[    4.955743] usb 2-1.3: New USB device found, idVendor=1a40, idProduct=0201
[    4.955755] usb 2-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.955765] usb 2-1.3: Product: USB 2.0 Hub [MTT]
[    4.991370] hub 2-1.3:1.0: USB hub found
[    4.998129] hub 2-1.3:1.0: 7 ports detected
[    5.002570] asoc: wm9712-hifi <-> tegra20-ac97-pcm mapping ok
[    5.002985] asoc: dit-hifi <-> tegra20-spdif mapping ok
[    5.005816] wm97xx-ts 0-0:wm9712-codec: detected a wm9712 codec
[    5.014004] input: wm97xx touchscreen as /devices/platform/colibri_t20-snd-wm9715l.0/0-0:wm9712-codec/input/input0
[    5.042621] ALSA device list:
[    5.042627]   #0: colibri_t20-wm9715l
[    5.042634] oprofile: hardware counters not available
[    5.042644] oprofile: using timer interrupt.
[    5.070491] GACT probability NOT on
[    5.076914] Mirror/redirect action on
[    5.085206] u32 classifier
[    5.092359]     Actions configured
[    5.100290] Netfilter messages via NETLINK v0.30.
[    5.109582] nf_conntrack version 0.5.0 (5513 buckets, 22052 max)
[    5.120703] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    5.132540] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    5.143533] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.154174] arp_tables: (C) 2002 David S. Miller
[    5.163703] TCP cubic registered
[    5.171876] NET: Registered protocol family 10
[    5.182190] Mobile IPv6
[    5.189358] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.199666] IPv6 over IPv4 tunneling driver
[    5.209885] NET: Registered protocol family 17
[    5.219208] NET: Registered protocol family 15
[    5.228450] Bluetooth: RFCOMM TTY layer initialized
[    5.237998] Bluetooth: RFCOMM socket layer initialized
[    5.247711] Bluetooth: RFCOMM ver 1.11
[    5.255636] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.265211] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.265348] Registering the dns_resolver key type
[    5.275415] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 1
[    5.275462] Registering SWP/SWPB emulation handler
[    5.285423] Disabling clocks left on by bootloader:
[    5.285435]    audio_2x
[    5.285444]    audio
[    5.285455]    dsi2-fixed
[    5.285462]    dsi1-fixed
[    5.285478]    vi
[    5.285489]    i2c3-fast
[    5.285497]    i2c3
[    5.285506]    nor
[    5.285515]    bsev
[    5.285521]    bsea
[    5.285536]    fuse_burn
[    5.285550]    clk_d
[    5.285561]    pll_p_out2
[    5.285632] CPU rate: 760 MHz
[    5.403388] DVFS: Got RTC device name:rtc0
[    5.423531] Enabling Tegra protected aperture at 0x16700000
[    5.433663] registered taskstats version 1
[    5.441900] regulator_init_complete: REG-LDO_9: incomplete constraints, leaving on
[    5.458054] input: gpio-keys as /devices/platform/gpio-keys.0/input/input1
[    5.469493] rtc-ds1307 0-0068: setting system clock to 2013-07-31 12:35:30 UTC (1375274130)
[    5.484865] usb 2-1.3.3: new high speed USB device number 4 using tegra-ehci
[    5.496245] yaffs: dev is 32505856 name is "mtdblock0" rw
[    5.505384] yaffs: passed flags ""
[    5.610493] usb 2-1.3.3: New USB device found, idVendor=0951, idProduct=162d
[    5.621632] usb 2-1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.637524] usb 2-1.3.3: Product: DataTraveler 102
[    5.646834] usb 2-1.3.3: Manufacturer: Kingston
[    5.655901] usb 2-1.3.3: SerialNumber: 001372877298BB31C0000009
[    5.668939] scsi0 : usb-storage 2-1.3.3:1.0
[    5.754297] usb 2-1.3.4: new high speed USB device number 5 using tegra-ehci
[    5.874882] usb 2-1.3.4: New USB device found, idVendor=1a40, idProduct=0101
[    5.887356] usb 2-1.3.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.905958] usb 2-1.3.4: Product: USB 2.0 Hub [MTT]
[    5.918264] hub 2-1.3.4:1.0: USB hub found
[    5.928411] hub 2-1.3.4:1.0: 4 ports detected
[    6.214317] usb 2-1.3.4.1: new full speed USB device number 6 using tegra-ehci
[    6.337370] usb 2-1.3.4.1: New USB device found, idVendor=046d, idProduct=c52b
[    6.356391] usb 2-1.3.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.375674] usb 2-1.3.4.1: Product: USB Receiver
[    6.386064] usb 2-1.3.4.1: Manufacturer: Logitech
[    6.403559] input: Logitech USB Receiver as /devices/platform/tegra-ehci.2/usb2/2-1/2-1.3/2-1.3.4/2-1.3.4.1/2-1.3.4.1:1.0/input/input2
[    6.428710] generic-usb 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-tegra-ehci.2-1.3.4.1/input0
[    6.461932] input: Logitech USB Receiver as /devices/platform/tegra-ehci.2/usb2/2-1/2-1.3/2-1.3.4/2-1.3.4.1/2-1.3.4.1:1.1/input/input3
[    6.488397] generic-usb 0003:046D:C52B.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-tegra-ehci.2-1.3.4.1/input1
[    6.526853] generic-usb 0003:046D:C52B.0003: hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-tegra-ehci.2-1.3.4.1/input2
[    6.705424] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 102 PMAP PQ: 0 ANSI: 0 CCS
[    6.728673] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    7.337513] sd 0:0:0:0: [sda] 3907584 512-byte logical blocks: (2.00 GB/1.86 GiB)
[    7.368001] sd 0:0:0:0: [sda] Write Protect is off
[    7.385644] sd 0:0:0:0: [sda] No Caching mode page present
[    7.401144] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    7.429335] sd 0:0:0:0: [sda] No Caching mode page present
[    7.446831] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    7.487469]  sda: sda1
[    7.511336] sd 0:0:0:0: [sda] No Caching mode page present
[    7.528303] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    7.545871] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   20.171705] VFS: Mounted root (yaffs2 filesystem) on device 31:0.
[   20.188667] devtmpfs: mounted
[   20.814842] systemd[1]: systemd 189 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP +GCRYPT +ACL +XZ; angstrom)

Welcome to The Ångström Distribution!

[   20.875969] systemd[1]: Set hostname to .
[   20.892516] systemd[1]: Initializing machine ID from random generator.
         Expecting device dev-ttyS0.device...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Journal Socket.
         Starting udev Coldplug all Devices...
         Starting Apply Kernel Variables...
         Mounting FUSE Control File System...
         Starting udev Kernel Device Manager...
         Starting Set the USB gadget to RNDIS...
         Starting Remount Root and Kernel File Systems...
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Reached target Syslog.
[   21.763311] systemd-udevd[92]: starting version 189
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Remount Root and Kernel File Systems.[   22.300490] android_usb: already disabled

         Starting Load Random Seed...
[   22.322502] systemd-journald[95]: Fixed max_use=17.2M max_size=2.1M min_size=64.0K keep_free=8.6M
[   22.335494] rndis_function_bind_config MAC: 00:00:00:00:00:00
[   22.335704] android_usb gadget: using random self ethernet address
[   22.335779] android_usb gadget: using random host ethernet address
[   22.337869] rndis0: MAC 82:ab:2d:97:72:e3
[   22.337907] rndis0: HOST MAC 7a:64:7d:78:f2:b2
[  OK  ] Reached target Local File Systems (Pre).
         Mounting Tempor[   22.440655] systemd-journald[95]: Reserving 3925 entries in hash table.
ary Directory...
[   22.454303] android_work: did not send uevent (0 0   (null))
         Mounting /media/ram...
[   22.490449] android_work: sent uevent USB_STATE=CONNECTED
[   22.491770] systemd-journald[95]: Vacuuming...
         Mounting /var/volatile...
[   22.526586] android_work: sent uevent USB_STATE=DISCONNECTED
         Mounting /sys/kernel/debug...
[   22.594400] android_work: sent uevent USB_STATE=CONNECTED
[   22.618961] android_usb gadget: high speed config #1: android
[   22.642835] android_work: sent uevent USB_STATE=CONFIGURED
[  OK  ] Started Set the USB gadget to RNDIS.
[  OK  ] Started Load Random Seed.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Mounted /media/ram.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /sys/kernel/debug.
[  OK  ] Reached target Local File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting Recreate Volatile Files and Directories...
         Starting Run pending postinsts...
[  OK  ] Started Recreate Volatile Files and Directories.
[  OK  ] Reached target Sound Card.
[ [   23.846361] systemd-journald[95]: Received SIGUSR1
 OK  ] Found device /dev/ttyS0.
[   23.905136] systemd-journald[95]: Failed to open /var/log/journal/51b877d4c11242a9858694ccede180ff/fss: No such file or directory
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[   24.026574] systemd-journald[95]: Fixed max_use=99.9M max_size=12.5M min_size=64.0K keep_free=49.9M
[   24.058321] systemd-journald[95]: Reserving 22755 entries in hash table.
[   24.113717] systemd-journald[95]: Flushing to /var...
[   24.449640] EXT4-fs (sda): VFS: Can't find ext4 filesystem
[   24.555931] EXT3-fs (sda): error: can't find ext3 filesystem on dev sda.
[   24.665803] EXT2-fs (sda): error: can't find an ext2 filesystem on dev sda.
[   24.776051] FAT-fs (sda): invalid media value (0xb9)
[   24.786888] FAT-fs (sda): Can't find a valid FAT filesystem
[   24.955099] yaffs: dev is 8388608 name is "sda" rw
[   24.965995] yaffs: passed flags ""
[   25.024846] yaffs: dev is 8388608 name is "sda" rw
[   25.035614] yaffs: passed flags ""
[  OK  ] Started Run pending postinsts.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on dropbear.socket.
         Starting Console System Startup Logging...
         Starting Restore Sound Card State...
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Connection service...
         Starting Kernel Logging Service...
[  OK  ] Started Kernel Logging Service.
         Starting Timestamping service...
[  OK  ] Started Timestamping service.
         Starting Network Time Service...
         Starting SSH Key Generation...
[  OK  ] Started SSH Key Generation.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting Login Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting Permit User Sessions...
         Starting System Logging Service...
[  OK  ] Started System Logging Service.
[  OK  ] Started Console System Startup Logging.
[  OK  ] Started Restore Sound Card State.
[  OK  ] Started Network Time Service.
[  OK  ] Started Permit User Sessions.
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
        Starting Getty on tty1...
[   93.124505] eth0: rxqlen 0 --> 5
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Starting LXDM Display Manager...
[  OK  ] Started LXDM Display Manager.
         Starting Loads xinput calibration data...
[  OK  ] Started Loads xinput calibration data.
         Starting WPA supplicant...
[  OK  ] Started Login Service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Connection service.
[  OK  ] Reached target Multi-User.
[  OK  ] Reached target Graphical Interface.
[   93.190363] eth0: ax88772b - Link status is: 0
[   93.318384] eth0: ax88772b - Link status is: 1
[   93.945910] wm97xx-ts 0-0:wm9712-codec: No IRQ specified

.---O---.
|       |                  .-.           o o
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution colibri-t20 ttyS0

Angstrom v2012.10 - Kernel 3.1.10

T20_LinuxImageV2.0_20130305

colibri-t20 login: [   95.891259] wm97xx-ts 0-0:wm9712-codec: No IRQ specified

Reading the Config Block

The config block is a data structure shared with WinCE. It contains information written during manufacturing and configuration for the WinCE bootloader. See Config Block

The update.sh script procedure does preserve the config block content. However, should the procedure be interrupted the config block is lost.

Should you want to backup the config block on your Linux development host execute the following command in the directory where update.sh is:
Note that the directory names may depend on the used image version.
Colibri T20

[trdx@vm_one T20_LinuxImageV2.0_20130305]$ sudo LD_LIBRARY_PATH="$(pwd)/nvflash" nvflash/nvflash --bl bin/loader.nb0 --read 8 configblock_SERIALNUMBER.bin

Colibri T30, Apalis T30

[trdx@vm_one T30_LinuxImageV2.0_20130718]$ sudo t30_nvflash/nvflash --bl colibri-t30_bin/bootloader.bin --read 8 configblock_SERIALNUMBER.bin

Installed Packages

The following files contain a list of packages installed in the image.
Colibri-T20 T20_LinuxImageV2.0_20130305
Colibri-T30 T30_LinuxImageV2.0Beta2_20130626
Apalis-T30 Apalis_T30_LinuxImageV2.0Beta1_20130626

These files are taken from the openembedded build (oe-core/build/out-eglibc/buildhistory/images/colibri_t30/eglibc/LXDE-image/installed-packages.txt). The same information can be retrieved from a running module as follows:

root@colibri-t30:~# opkg list-installed
alsa-conf-base - 1.0.25-r2
alsa-lib - 1.0.25-r2
alsa-state - 0.2.0-r10
...