Can I capture the current image running on my Colibri VF50

We have a number of network panels on a flight simulator that have this configuration. I would like to capture an image of the current OS (Linux) and bootloader, so I can use to flash replacement or corrupted VF50 modules. Is this possible?

No, this is not easily possible. Colibri VF50 uses raw NAND which does not allow to easily clone on a flash level due to bad blocks.

The officially supported way is to build an image with the changes integrated using OpenEmbedded (core).

It is possible to make a copy of the rootfs content on a file system level, e.g. you could create a special initramfs based image, boot into that, attach the rootfs and tar the complete rootfs. Then you need to boot into that same initramfs based image on the second module, create the exact UBI layout as on the first one, attach to the rootfs and untar the complete rootfs. Toradex does not provide such a initramfs bsaed image right now and we do not have exact steps ready for the whole process.

It is much easier on modules using eMMC (e.g. Colibri iMX6 Solo). Steps for those modules are documented here:
How to Clone Embedded Linux on eMMC Based Toradex Modules

Thanks, that’s what I thought after reading all the info I could find, but wanted to make sure I understood correctly.
So, these modules came to us from a vendor with embedded Linux version 4.4.14. We’ve had two stop working, and it seems the O.S. is corrupt, it will boot to a point where it starts mounting file systems, then freezes. I want to flash the O.S. to see if the modules are still good, but want to make sure I build the correct image.
Any advice?

Hi, can you try to flash the demo image from toradex and check if the module is booting? If not, please share the error log. Thanks.

It starts to boot, but fails before completion. Seems like it freezes when it attempts to mount the root file system. I don’t have the error log but will I do have a Putty session log I captured during boot I will attach. I also have a Putty session log from one of our good boards during boot.

link text

Forgot to answer the question about installing the demo image, all of our VF50 modules are mounted on Viola Plus carriers, so we have ordered an IRIS carrier so we will be able to flash the bad ones.

Below is the Putty session log of our bad VF50 during boot:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.06.04 15:33:13 =~=~=~=~=~=~=~=~=~=~=~=
 
U-Boot 2015.04+fslc+ge1a48b2 (Mar 31 2016 - 01:31:51)

CPU: Freescale Vybrid VF500 at 396 MHz
Reset cause: POWER ON RESET
DRAM:  128 MiB
NAND:  128 MiB
MMC:   FSL_SDHC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Model: Toradex Colibri VF50 128MB V1.2A, Serial# 04967485
Net:   FEC
Hit any key to stop autoboot:  1  0 
Booting from NAND...
UBI: default fastmap pool size: 50
UBI: default fastmap WL pool size: 25
UBI: attaching mtd1 to ubi0
UBI: attached by fastmap
UBI: fastmap pool size: 50
UBI: fastmap WL pool size: 25
UBI: attached mtd1 (name "mtd=3", size 126 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 1003, bad PEBs: 5, corrupted PEBs: 0
UBI: user volume: 3, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 27/3, WL threshold: 4096, image sequence number: 0
UBI: available PEBs: 0, total reserved PEBs: 1003, PEBs reserved for bad PEB handling: 15
Read 0 bytes from volume kernel to 82000000
No size specified -> Using max size (4840248)
Read 0 bytes from volume dtb to 84000000
No size specified -> Using max size (25333)
Kernel image @ 0x82000000 [ 0x000000 - 0x49db38 ]
## Flattened Device Tree blob at 84000000
   Booting using the fdt blob at 0x84000000
   Loading Device Tree to 872ee000, end 872f72f4 ... OK
   Updating MTD partitions...

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.14-dirty (brian@sdipce181v) (gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2) ) #6 Thu Sep 8 10:25:00 PDT 2016
[    0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Toradex Colibri VF50 on Colibri Evaluation Board
[    0.000000] cma: Reserved 16 MiB at 0x86000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32004
[    0.000000] Kernel command line: ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubifs ubi.fm_autoconvert=1 console=tty1 console=ttyLP0,115200n8 consoleblank=0
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 102336K/129024K available (6195K kernel code, 221K rwdata, 2144K rodata, 232K init, 176K bss, 10304K reserved, 16384K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0x88000000 - 0xff800000   (1912 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x87e00000   ( 126 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x8082d034   (8341 kB)
[    0.000000]       .init : 0x8082e000 - 0x80868000   ( 232 kB)
[    0.000000]       .data : 0x80868000 - 0x8089f640   ( 222 kB)
[    0.000000]        .bss : 0x8089f640 - 0x808cb7b8   ( 177 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000056] sched_clock: 64 bits at 132MHz, resolution 7ns, wraps every 2199023255551ns
[    0.000130] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x1e7178659b, max_idle_ns: 440795204301 ns
[    0.001332] Console: colour dummy device 80x30
[    0.002436] console [tty1] enabled
[    0.002521] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
[    0.070304] pid_max: default: 32768 minimum: 301
[    0.070645] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070757] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072740] CPU: Testing write buffer coherency: ok
[    0.073729] Setting up static identity map for 0x80008200 - 0x80008258
[    0.077640] devtmpfs: initialized
[    0.093831] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[    0.094974] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.098317] pinctrl core: initialized pinctrl subsystem
[    0.101829] NET: Registered protocol family 16
[    0.105679] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.108358] cpuidle: using governor menu
[    0.143964] irq: no irq domain found for /soc/aips-bus@40000000/gpio@40049000 !
[    0.148547] PM: CKE/RESET pulls available, enable Suspend-to-RAM
[    0.150116] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.150354] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.151079] vf610-pinctrl 40048000.iomuxc: Invalid fsl,pins property in node /soc/aips-bus@40000000/iomuxc@40048000/vf610-colibri/uart2grp
[    0.151674] vf610-pinctrl 40048000.iomuxc: initialized IMX pinctrl driver
[    0.190788] SCSI subsystem initialized
[    0.191863] usbcore: registered new interface driver usbfs
[    0.192178] usbcore: registered new interface driver hub
[    0.192580] usbcore: registered new device driver usb
[    0.195308] i2c i2c-0: IMX I2C adapter registered
[    0.195599] i2c i2c-0: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
[    0.196154] Linux video capture interface: v2.00
[    0.196560] pps_core: LinuxPPS API ver. 1 registered
[    0.196647] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.196871] PTP clock support registered
[    0.198306] Advanced Linux Sound Architecture Driver Initialized.
[    0.201679] clocksource: Switched to clocksource arm_global_timer
[    0.243082] NET: Registered protocol family 2
[    0.245407] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.245575] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.245688] TCP: Hash tables configured (established 1024 bind 1024)
[    0.246094] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.246223] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.246812] NET: Registered protocol family 1
[    0.247921] RPC: Registered named UNIX socket transport module.
[    0.248051] RPC: Registered udp transport module.
[    0.248120] RPC: Registered tcp transport module.
[    0.248184] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.250653] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available
[    0.254028] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.279143] NFS: Registering the id_resolver key type
[    0.279427] Key type id_resolver registered
[    0.279514] Key type id_legacy registered
[    0.279700] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.281594] ntfs: driver 2.1.32 [Flags: R/W].
[    0.283471] fuse init (API version 7.23)
[    0.293715] io scheduler noop registered
[    0.293858] io scheduler deadline registered
[    0.294073] io scheduler cfq registered (default)
[    0.306479] backlight supply power not found, using dummy regulator
[    0.309737] 40027000.serial: ttyLP0 at MMIO 0x40027000 (irq = 19, base_baud = 4125000) is a FSL_LPUART
[    0.835635] console [ttyLP0] enabled
[    0.840972] 40028000.serial: ttyLP1 at MMIO 0x40028000 (irq = 20, base_baud = 4125000) is a FSL_LPUART
[    0.853015] [drm] Initialized drm 1.1.0 20060810
[    0.869089] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.875949] [drm] No driver support for vblank timestamp query.
[    0.926811] Console: switching to colour frame buffer device 80x30
[    0.960274] fsl-dcu 40058000.dcu: fb0:  frame buffer device
[    0.977064] [drm] Initialized fsl-dcu-drm 1.0.0 20150213 on minor 0
[    1.018557] loop: module loaded
[    1.036764] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    1.054457] nand: Macronix NAND 128MiB 3,3V 8-bit
[    1.070170] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.100193] Bad block table found at page 65472, version 0x01
[    1.117915] Bad block table found at page 65408, version 0x01
[    1.135211] nand_read_bbt: bad block at 0x0000013c0000
[    1.151776] 4 ofpart partitions found on MTD device vf610_nfc
[    1.168854] Creating 4 MTD partitions on "vf610_nfc":
[    1.185294] 0x000000000000-0x000000020000 : "vf-bcb"
[    1.203226] 0x000000020000-0x000000180000 : "u-boot"
[    1.221043] 0x000000180000-0x000000200000 : "u-boot-env"
[    1.239011] 0x000000200000-0x000008000000 : "ubi"
[    1.260139] spidev spi1.0: buggy DT: spidev listed directly in DT
[    1.277113] ------------[ cut here ]------------
[    1.292577] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:770 spidev_probe+0x1a8/0x1c4()
[    1.321884] Modules linked in:
[    1.335491] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.14-dirty #6
[    1.352497] Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree)
[    1.369720] Backtrace: 
[    1.382825] [<80013500>] (dump_backtrace) from [<800136f8>] (show_stack+0x18/0x1c)
[    1.411628]  r7:803b77fc r6:00000302 r5:00000009 r4:00000000
[    1.428600] [<800136e0>] (show_stack) from [<802a466c>] (dump_stack+0x24/0x28)
[    1.457542] [<802a4648>] (dump_stack) from [<80021c38>] (warn_slowpath_common+0x88/0xb4)
[    1.487786] [<80021bb0>] (warn_slowpath_common) from [<80021d08>] (warn_slowpath_null+0x24/0x2c)
[    1.519554]  r8:00000000 r7:80889c4c r6:80889c3c r5:87af4400 r4:87af4400
[    1.538963] [<80021ce4>] (warn_slowpath_null) from [<803b77fc>] (spidev_probe+0x1a8/0x1c4)
[    1.571458] [<803b7654>] (spidev_probe) from [<803b521c>] (spi_drv_probe+0x84/0xb0)
[    1.604430]  r8:00000000 r7:80889c4c r6:80889c3c r5:00000000 r4:87af4400
[    1.625241] [<803b5198>] (spi_drv_probe) from [<803596dc>] (driver_probe_device+0x204/0x2f8)
[    1.661250]  r7:80889c4c r6:00000000 r5:87af4400 r4:808c0c2c
[    1.681437] [<803594d8>] (driver_probe_device) from [<803598f4>] (__device_attach_driver+0x8c/0xb4)
[    1.718330]  r9:00000000 r8:808c0c08 r7:00000001 r6:87af4400 r5:87843c70 r4:80889c4c
[    1.755179] [<80359868>] (__device_attach_driver) from [<80357a20>] (bus_for_each_drv+0x68/0x9c)
[    1.793158]  r7:00000001 r6:80359868 r5:87843c70 r4:00000000
[    1.813916] [<803579b8>] (bus_for_each_drv) from [<80359430>] (__device_attach+0xb8/0x11c)
[    1.851382]  r6:87af4434 r5:87af4400 r4:87af4400
[    1.870974] [<80359378>] (__device_attach) from [<80359968>] (device_initial_probe+0x14/0x18)
[    1.908503]  r7:00000000 r6:808896cc r5:87af4400 r4:87af4408
[    1.929216] [<80359954>] (device_initial_probe) from [<80358944>] (bus_probe_device+0x8c/0x94)
[    1.966482] [<803588b8>] (bus_probe_device) from [<80356abc>] (device_add+0x378/0x574)
[    2.003072]  r7:00000000 r6:87af4000 r5:87af4400 r4:87af4408
[    2.023530] [<80356744>] (device_add) from [<803b5940>] (spi_add_device+0xa4/0x13c)
[    2.059538]  r10:807c35f8 r9:807c3604 r8:8077ac58 r7:878ae410 r6:87af4000 r5:00000000
[    2.096299]  r4:87af4400
[    2.112822] [<803b589c>] (spi_add_device) from [<803b6fbc>] (spi_register_master+0x4b8/0x71c)
[    2.149367]  r7:87ce4634 r6:87af4000 r5:00000000 r4:87af4400
[    2.169574] [<803b6b04>] (spi_register_master) from [<803b926c>] (dspi_probe+0x200/0x314)
[    2.205419]  r10:00000000 r9:87ce4078 r8:87aeea40 r7:878ae410 r6:87af42a0 r5:878ae400
[    2.241336]  r4:87af4000
[    2.257595] [<803b906c>] (dspi_probe) from [<8035b12c>] (platform_drv_probe+0x54/0xb8)
[    2.292566]  r10:00000000 r9:8082e600 r8:00000000 r7:fffffdfb r6:80889ca0 r5:878ae410
[    2.328283]  r4:808c0c2c
[    2.344297] [<8035b0d8>] (platform_drv_probe) from [<803596dc>] (driver_probe_device+0x204/0x2f8)
[    2.380257]  r7:80889ca0 r6:00000000 r5:878ae410 r4:808c0c2c
[    2.399967] [<803594d8>] (driver_probe_device) from [<80359864>] (__driver_attach+0x94/0x98)
[    2.435124]  r9:8082e600 r8:000000af r7:00000000 r6:878ae444 r5:80889ca0 r4:878ae410
[    2.470241] [<803597d0>] (__driver_attach) from [<80357960>] (bus_for_each_dev+0x70/0xa4)
[    2.505505]  r7:00000000 r6:803597d0 r5:80889ca0 r4:00000000
[    2.525206] [<803578f0>] (bus_for_each_dev) from [<80358fc8>] (driver_attach+0x24/0x28)
[    2.560718]  r6:80881b00 r5:87aaf900 r4:80889ca0
[    2.579440] [<80358fa4>] (driver_attach) from [<80358c00>] (bus_add_driver+0x1a8/0x220)
[    2.614840] [<80358a58>] (bus_add_driver) from [<80359fe4>] (driver_register+0x80/0x100)
[    2.650317]  r7:87aee440 r6:8086e1a0 r5:80847598 r4:80889ca0
[    2.670187] [<80359f64>] (driver_register) from [<8035b054>] (__platform_driver_register+0x48/0x50)
[    2.707206]  r5:80847598 r4:80881b00
[    2.724705] [<8035b00c>] (__platform_driver_register) from [<808475b4>] (fsl_dspi_driver_init+0x1c/0x20)
[    2.761552]  r5:80847598 r4:8086e1a0
[    2.779221] [<80847598>] (fsl_dspi_driver_init) from [<8000961c>] (do_one_initcall+0x98/0x1e4)
[    2.815357] [<80009584>] (do_one_initcall) from [<8082ee5c>] (kernel_init_freeable+0x13c/0x1d0)
[    2.851845]  r10:00000007 r9:8082e600 r8:000000af r7:8085a830 r6:80867a78 r5:8089f640
[    2.887793]  r4:8089f640
[    2.903913] [<8082ed20>] (kernel_init_freeable) from [<8060f70c>] (kernel_init+0x18/0xe8)
[    2.939016]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:8060f6f4
[    2.974533]  r4:8089f640
[    2.990392] [<8060f6f4>] (kernel_init) from [<8000f878>] (ret_from_fork+0x14/0x3c)
[    3.024773]  r5:8060f6f4 r4:00000000
[    3.041817] ---[ end trace 3319568978825b99 ]---
[    3.064298] +V3.3: supplied by 3.3V
[    3.082623] pps pps0: new PPS source ptp0
[    3.109976] libphy: fec_enet_mii_bus: probed
[    3.128383] fec 400d1000.ethernet eth0: registered PHC device 0
[    3.147858] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.167936] usbcore: registered new interface driver usb-storage
[    3.187052] usbcore: registered new interface driver usbserial
[    3.205161] usbcore: registered new interface driver usbserial_generic
[    3.223773] usbserial: USB Serial support registered for generic
[    3.242014] usbcore: registered new interface driver ftdi_sio
[    3.259498] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.289215] usbcore: registered new interface driver pl2303
[    3.306268] usbserial: USB Serial support registered for pl2303
[    3.327288] 40034000.usb supply vbus not found, using dummy regulator
[    3.348702] mousedev: PS/2 mouse device common for all mice
[    3.368728] input: rotary@0 as /devices/platform/rotary@0/input/input0
[    3.388494] input: rotary@1 as /devices/platform/rotary@1/input/input1
[    3.407717] input: rotary@2 as /devices/platform/rotary@2/input/input2
[    3.430140] rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0
[    3.449039] snvs_rtc 400a7000.snvs:snvs-rtc-lp: rtc core: registered 400a7000.snvs:snvs- as rtc1
[    3.478546] i2c /dev entries driver
[    3.497835] imx2-wdt 4003e000.wdog: timeout 60 sec (nowayout=0)
[    3.514937] sdhci: Secure Digital Host Controller Interface driver
[    3.531837] sdhci: Copyright(c) Pierre Ossman
[    3.546972] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.564942] /soc/aips-bus@40080000/esdhc@400b2000: voltage-ranges unspecified
[    3.583376] sdhci-esdhc-imx 400b2000.esdhc: Got CD GPIO
[    3.599978] sdhci-esdhc-imx 400b2000.esdhc: No vmmc regulator found
[    3.617091] sdhci-esdhc-imx 400b2000.esdhc: No vqmmc regulator found
[    3.672271] mmc0: SDHCI controller on 400b2000.esdhc [400b2000.esdhc] using ADMA
[    3.704690] hidraw: raw HID events driver (C) Jiri Kosina
[    3.722187] usbcore: registered new interface driver usbhid
[    3.739050] usbhid: USB HID core driver
[    3.773627] Netfilter messages via NETLINK v0.30.
[    3.789383] nfnl_acct: registering with nfnetlink.
[    3.805017] nf_conntrack version 0.5.0 (1855 buckets, 7420 max)
[    3.823330] nf_tables: (c) 2007-2009 Patrick McHardy 
[    3.842303] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.860516] NET: Registered protocol family 10
[    3.879431] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.896380] sit: IPv6 over IPv4 tunneling driver
[    3.914329] NET: Registered protocol family 17
[    3.929898] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    3.964710] Bridge firewalling registered
[    3.980031] 8021q: 802.1Q VLAN Support v1.8
[    3.995380] Key type dns_resolver registered
[    4.010934] Registering SWP/SWPB emulation handler
[    4.029237] registered taskstats version 1
[    4.050637] 40034000.usb supply vbus not found, using dummy regulator
[    4.073946] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    4.089805] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    4.121843] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    4.141125] hub 1-0:1.0: USB hub found
[    4.155696] hub 1-0:1.0: 1 port detected
[    4.172750] VCC_USB[1-4]: supplied by 5V
[    4.191799] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    4.207042] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    4.241854] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    4.260534] hub 2-0:1.0: USB hub found
[    4.275721] hub 2-0:1.0: 1 port detected
[    4.293212] input: colibri-vf50-ts as /devices/platform/vf50-touchscreen/input/input3
[    4.326036] ubi0: default fastmap pool size: 50
[    4.340994] ubi0: default fastmap WL pool size: 25
[    4.355894] ubi0: attaching mtd3
[    4.459947] ubi0: attached by fastmap
[    4.473321] ubi0: fastmap pool size: 50
[    4.486375] ubi0: fastmap WL pool size: 25
[    4.511855] ubi0: attached mtd3 (name "ubi", size 126 MiB)
[    4.526556] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.542833] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.559109] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.575784] ubi0: good PEBs: 1003, bad PEBs: 5, corrupted PEBs: 0
[    4.591515] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    4.617564] ubi0: max/mean erase counter: 27/3, WL threshold: 4096, image sequence number: 0
[    4.645739] ubi0: available PEBs: 0, total reserved PEBs: 1003, PEBs reserved for bad PEB handling: 15
[    4.676393] ubi0: background thread "ubi_bgt0d" started, PID 57
[    4.696746] input: gpio-keys as /devices/platform/gpio-keys/input/input4
[    4.719641] rtc-ds1307 0-0068: setting system clock to 2001-01-01 01:34:20 UTC (978312860)
[    4.769434] ALSA device list:
[    4.784075]   No soundcards found.
[    4.838408] UBIFS (ubi0:2): recovery needed
[    5.094533] UBIFS error (ubi0:2 pid 1): ubifs_check_node: bad magic 0x479f2166, expected 0x6101831
[    5.126180] UBIFS error (ubi0:2 pid 1): ubifs_check_node: bad node at LEB 651:110592
[    5.157847] Not a node, first 24 bytes:
[    5.162077] 00000000: 66 21 9f 47 cd 7b fc 9c 04 2e fc 08 05 ea 10 ac fc 52 22 34 03 20 00 30                          f!.G.{...........R"4. .0
[    5.213130] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.4.14-dirty #6
[    5.246595] Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree)
[    5.266462] Backtrace: 
[    5.282115] [<80013500>] (dump_backtrace) from [<800136f8>] (show_stack+0x18/0x1c)
[    5.315952]  r7:85c4a680 r6:87b63000 r5:ffffff8b r4:0001b000
[    5.335443] [<800136e0>] (show_stack) from [<802a466c>] (dump_stack+0x24/0x28)
[    5.368622] [<802a4648>] (dump_stack) from [<802229c4>] (ubifs_check_node+0x1b8/0x2e8)
[    5.402565] [<8022280c>] (ubifs_check_node) from [<80223f70>] (ubifs_read_node+0x1c8/0x318)
[    5.437271]  r9:85c4a680 r8:00000003 r7:00000049 r6:0000028b r5:87b63000 r4:0001b000
[    5.472187] [<80223da8>] (ubifs_read_node) from [<80224168>] (ubifs_read_node_wbuf+0xa8/0x2d0)
[    5.509025]  r10:00000049 r9:00000003 r8:87b63000 r7:85c4a680 r6:0000028b r5:87bf4d20
[    5.545898]  r4:0001b000
[    5.562461] [<802240c0>] (ubifs_read_node_wbuf) from [<802416d0>] (ubifs_tnc_read_node+0x50/0x140)
[    5.599551]  r10:85c48d00 r9:85c4a680 r8:85c48d00 r7:00000003 r6:85c4a680 r5:87b63000
[    5.636354]  r4:85c48d30
[    5.652867] [<80241680>] (ubifs_tnc_read_node) from [<802252c4>] (tnc_read_node_nm+0xcc/0x1e8)
[    5.689423]  r7:87b631e8 r6:87b63000 r5:85c4a680 r4:85c48d30
[    5.709763] [<802251f8>] (tnc_read_node_nm) from [<80228b60>] (ubifs_tnc_next_ent+0x144/0x1a8)
[    5.746392]  r7:87b631e8 r6:87b63000 r5:87843c10 r4:00000000
[    5.766724] [<80228a1c>] (ubifs_tnc_next_ent) from [<80228c78>] (ubifs_tnc_remove_ino+0xb4/0x144)
[    5.803655]  r10:87b63960 r9:00001d5c r8:ffffffff r7:00000000 r6:20000000 r5:87b63000
[    5.839827]  r4:85c39d60
[    5.856185] [<80228bc4>] (ubifs_tnc_remove_ino) from [<8022b7ec>] (ubifs_replay_journal+0xe74/0x149c)
[    5.892641]  r10:87b63960 r9:87843ce8 r8:85c39d40 r7:87b63000 r6:20000000 r5:00000000
[    5.927902]  r4:85c39d60
[    5.943668] [<8022a978>] (ubifs_replay_journal) from [<80220550>] (ubifs_mount+0x11a0/0x1878)
[    5.978382]  r10:00000002 r9:00000000 r8:0001e5a0 r7:87b63000 r6:87ba7800 r5:87bfdc00
[    6.013636]  r4:87b637d0
[    6.029338] [<8021f3b0>] (ubifs_mount) from [<800cdd2c>] (mount_fs+0x1c/0xac)
[    6.049921]  r10:00000001 r9:808797c4 r8:808797c4 r7:808797c4 r6:00008001 r5:87bfdb80
[    6.084552]  r4:8021f3b0
[    6.100205] [<800cdd10>] (mount_fs) from [<800e5cb8>] (vfs_kern_mount+0x50/0xfc)
[    6.133687]  r8:00000000 r7:808797c4 r6:00008001 r5:87bfdb80 r4:87b4a9c0
[    6.154209] [<800e5c68>] (vfs_kern_mount) from [<800e87d4>] (do_mount+0x1ac/0xbb0)
[    6.188003]  r9:808797c4 r8:808710cc r7:87bfdb40 r6:87bfdb80 r5:00000060 r4:00000000
[    6.222677] [<800e8628>] (do_mount) from [<800e9558>] (SyS_mount+0x9c/0xc8)
[    6.243251]  r10:87daa220 r9:80779510 r8:00008001 r7:80779510 r6:00000000 r5:87bfdb80
[    6.278104]  r4:87bfdb40
[    6.293925] [<800e94bc>] (SyS_mount) from [<8082f2b4>] (mount_block_root+0x140/0x268)
[    6.328059]  r8:00008001 r7:85c11000 r6:85c11000 r5:8085a858 r4:85c11000
[    6.348699] [<8082f174>] (mount_block_root) from [<8082f5b4>] (prepare_namespace+0xa4/0x19c)
[    6.384150]  r10:00000008 r9:8082e600 r8:000000af r7:8085a834 r6:00000008 r5:8085a868
[    6.419456]  r4:8085a858
[    6.435267] [<8082f510>] (prepare_namespace) from [<8082eedc>] (kernel_init_freeable+0x1bc/0x1d0)
[    6.471170]  r5:8089f640 r4:8089f640
[    6.488339] [<8082ed20>] (kernel_init_freeable) from [<8060f70c>] (kernel_init+0x18/0xe8)
[    6.523372]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:8060f6f4
[    6.558835]  r4:8089f640
[    6.574745] [<8060f6f4>] (kernel_init) from [<8000f878>] (ret_from_fork+0x14/0x3c)
[    6.608921]  r5:8060f6f4 r4:00000000
[    6.625807] UBIFS error (ubi0:2 pid 1): ubifs_read_node: expected node type 3
[    6.648622] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0): error -117
[    6.682748] Please append a correct "root=" boot option; here are the available partitions:
[    6.717529] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    6.752578] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

[link text][1]

Thanks for the information. You should be able to flash the device following the steps on this site. These steps should also work with Viola Board. If this does not work, then you can follow these steps.

Thanks, we were just able to do that and can now get one of the bad ones to boot and accept an IP address and application firmware, but it still won’t work in our installation. I believe there is something unique in the root file system for our installation that we need to add to the image.

Thanks, we were just able to do that and can now get one of the bad ones to boot and accept an IP address and application firmware, but it still won’t work in our installation.
You are welcome. So this means, if you install demo image from toradex, then the module is booting up correctly.
I believe there is something unique in the root file system for our installation that we need to add to the image.
You need to find out, how the image installed on your modules was created. You should ask the vendor.

Yes, we installed the Colibri VF LinuxConsoleImage 2.7 and the module will now boot. When we install it in our device it will accept an IP and communicate, and it will accept the firmware for the specific application it is assigned to perform, but it won’t actually operate the way the application is designed to operate.
I am relatively sure the module is good, we just have to get, or build the correct image for the job the module is supposed to be doing.

These are good news that the module is working correctly. What is your application for the module?

The modules are built into simulated aircraft panels like lighting control, air conditioning, HUD control, and provide input/output data (switch/knob settings) to a host computer that runs an aircraft flight simulator. The panels are all connected with the host computer through a PoE Switch, that also provides power to them.

HI, Thanks for these information.
If you try to run your application with the toradex demo images are there any errors? Can you ask your vendor, how he created the image for the modules?

Because of the way the module is installed in the device we’re not able to monitor a terminal while it is running, so we only see a status for that box. In this case an External Lighting Control, and HUD Control. The box in question reports a “not operational” status.
We’ve asked the owner of the device to query the vendor, I’m just contracted maintenance, so I have to go through the owner to get that info.

Ok, let us know once you got more Information.