I’m using m4boot method for running a firmware on Cortex-M4 as mentioned in “FreeRTOS on the Cortex-M4 of a Colibri VF61 | Toradex Developer Center”, the save environment command
(Colibri VFxx # saveenv) completes and when connected to UART-B port, the firmware was executed succesfully. But after rebooting, the processor fails to autoload and execute the firmware.
Hi Sreemadhav
Which Bsp are you using? What are the exact steps you have done? Share the dmesg and error log in file please! Thanks.
hi @jaski.tx
I’m using LinuxImageV2.6. In this case there is no error message. After typing the commands given under m4boot method, the firmware is placed and when I switch from UART-A to UART-B at the time before rebooting - the firmware was running succesfully. But after rebooting the Colibri VF61, it fails to autoload the firmware i.e, there is no output on UART-B after rebooting.
Colibri VFxx # setenv defargs 'clk_ignore_unused initcall_blacklist=sram_init'
Colibri VFxx # setenv fdt_fixup 'fdt addr ${fdt_addr_r} && fdt rm /soc/aips-bus@40000000/serial@40029000'
Colibri VFxx # saveenv
Saving Environment to NAND...
Erasing NAND...
Erasing at 0x1e0000 -- 100% complete.
Writing to NAND... OK
Colibri VFxx # fatload mmc 0:1 ${loadaddr} vybridm4-freertos.itb
reading vybridm4-freertos.itb
15060 bytes read in 15 ms (980.5 KiB/s)
Colibri VFxx # m4boot ${loadaddr}
## Loading kernel from FIT Image at 80008000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: FreeRTOS for Vybrid
Type: Kernel Image
Compression: uncompressed
Data Start: 0x800080d4
Data Size: 13980 Bytes = 13.7 KiB
Architecture: ARM
OS: Bare-metal
Load Address: 0x3f000000
Entry Point: 0x1f0002e1
Hash algo: md5
Hash value: f754d0e687f591fa6fc61b2c9e89e038
Loading kernel from 0x800080d4 to 0x3f000000
## Loading ramdisk from FIT Image at 80008000 ...
Using 'config@1' configuration
Could not find subimage node
## Loading fdt from FIT Image at 80008000 ...
Using 'config@1' configuration
Could not find subimage node
Booting Cortex-M4 @0x1f0002e1
Colibri VFxx # run setupdate
reading flash_blk.img
** Unable to read file flash_blk.img **
starting USB...
USB0: Port not available.
USB1: USB EHCI 1.00
scanning bus 1 for devices... 3 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
reading flash_blk.img
710 bytes read in 27 ms (25.4 KiB/s)
## Executing script at 80008000
reading colibri_vf/flash_blk.img
2397 bytes read in 30 ms (77.1 KiB/s)
## Executing script at 80008000
enter "run update" to update the entire module
Colibri VFxx # setenv create_m4firmware 'ubi part ubi && ubi remove rootfs && ubi create m4firmware 0xe0000 static && run prepare_ubi'
Colibri VFxx # run create_m4firmware
UBI: default fastmap pool size: 200
UBI: default fastmap WL pool size: 25
UBI: attaching mtd1 to ubi0
UBI: attached by fastmap
UBI: fastmap pool size: 200
UBI: fastmap WL pool size: 100
UBI: attached mtd1 (name "mtd=3", size 510 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: 4075, bad PEBs: 5, corrupted PEBs: 0
UBI: user volume: 3, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
UBI: available PEBs: 0, total reserved PEBs: 4075, PEBs reserved for bad PEB handling: 75
Remove UBI volume rootfs (id 2)
Creating static volume m4firmware of size 917504
UBI: detaching mtd1 from ubi0
UBI: mtd1 is detached from ubi0
UBI: default fastmap pool size: 200
UBI: default fastmap WL pool size: 25
UBI: attaching mtd1 to ubi0
UBI: attached by fastmap
UBI: fastmap pool size: 200
UBI: fastmap WL pool size: 100
UBI: attached mtd1 (name "mtd=3", size 510 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: 4075, bad PEBs: 5, corrupted PEBs: 0
UBI: user volume: 3, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
UBI: available PEBs: 3917, total reserved PEBs: 158, PEBs reserved for bad PEB handling: 75
Creating static volume kernel of size 8388608
No size specified -> Using max size (497364992)
Creating dynamic volume rootfs of size 497364992
Colibri VFxx # fatload mmc 0:1 ${loadaddr} vybridm4-freertos.itb
reading vybridm4-freertos.itb
15060 bytes read in 15 ms (980.5 KiB/s)
Colibri VFxx # ubi write ${loadaddr} m4firmware ${filesize}
15060 bytes written to volume m4firmware
Colibri VFxx # run update_rootfs
reading colibri_vf/ubifs.img
111865856 bytes read in 3688 ms (28.9 MiB/s)
111865856 bytes written to volume rootfs
Colibri VFxx # setenv m4Boot 'ubi read ${loadaddr} m4firmware && m4boot ${loadaddr}'
Colibri VFxx # saveenv
Saving Environment to NAND...
Erasing NAND...
Erasing at 0x1e0000 -- 100% complete.
Writing to NAND... OK
Colibri VFxx #
what are you trying to do?
I’m using LinuxImageV2.6
Use the newest Bsp version.
It fails to autoload the firmware i.e, there is no output on UART-B after rebooting.
Is there any output on UART A?
Hi @jaski.tx
I’m trying to run a gpio_sample program on cortex m4 of colibri VF61. When connected to UART-A it gives the linux bootloader. For viewing output of cortex m4: as mentioned in your site UART B is required. But after rebooting when connecting to UART B produces no output. Can you please give the exact steps to run a firmware on Cortex m4 of colibri vf61 using m4boot method (since I’m using Bsp version LinuxImageV2.6). I followed the steps given in your site "FreeRTOS on the Cortex-M4 of a Colibri VF61 | Toradex Developer Center but it doesn’t work for me.
what’s the output of printenv in u-boot?
Hi @dominik.tx
Colibri VFxx # printenv
arch=arm
baudrate=115200
board=colibri_vf
board_name=colibri_vf
bootcmd=run ubiboot; run sdboot; run nfsboot
bootdelay=1
console=ttyLP0
cpu=armv7
defargs=clk_ignore_unused initcall_blacklist=sram_init
dfu_alt_info=vf-bcb part 0,1;u-boot part 0,2;ubi part 0,4
eth1addr=00:14:2d:3c:52:50
ethact=FEC
ethaddr=00:14:2d:2c:52:50
fdt_addr_r=0x82000000
fdt_board=eval-v3
fdt_file=${soc}-colibri-${fdt_board}.dtb
fdt_fixup=fdt addr ${fdt_addr_r} && fdt rm /soc/aips-bus@40000000/serial@4002900
fdt_high=0xffffffff
initrd_high=0xffffffff
ipaddr=192.168.10.2
kernel_addr_r=0x81000000
kernel_file=zImage
loadaddr=0x80008000
m4Boot=ubi read ${loadaddr} m4firmware && m4boot ${loadaddr}
mtdparts=mtdparts=vf610_nfc:128k(vf-bcb)ro,1408k(u-boot)ro,512k(u-boot-env),-(u)
netmask=255.255.255.0
nfsargs=ip=:::::eth0: root=/dev/nfs
nfsboot=run setup; setenv bootargs ${defargs} ${nfsargs} ${setupargs} ${vidargs}
ramdisk_addr_r=0x82100000
sdargs=root=/dev/mmcblk0p2 rw rootwait
sdboot=run setup; setenv bootargs ${defargs} ${sdargs} ${setupargs} ${vidargs};}
serial#=02904656
serverip=192.168.10.1
setethupdate=if env exists ethaddr; then; else setenv ethaddr 00:14:2d:00:00:00}
setsdupdate=mmc rescan && setenv interface mmc && fatload ${interface} 0:1 ${lo}
setup=setenv setupargs console=tty1 console=${console},${baudrate}n8 ${memargs}0
setupdate=run setsdupdate || run setusbupdate || run setethupdate
setusbupdate=usb start && setenv interface usb && fatload ${interface} 0:1 ${lo}
soc=vf610
splashpos=m,m
ubiargs=ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubifs ubi.fm_autoconvert=1
ubiboot=run setup; setenv bootargs ${defargs} ${ubiargs} ${setupargs} ${vidargs}
vendor=toradex
ver=U-Boot 2015.04+fslc+g10bc451 (Jan 25 2018 - 02:35:41)
video-mode=dcufb:640x480-16@60,monitor=lcd
Environment size: 2555/131068 bytes
The command is not automatically executed. You need to add it to the boot command bootcmd
:
setenv bootcmd 'run m4Boot && run ubiboot; run sdboot; run nfsboot'
Hi @stefan.tx
but what arguments have to be put in m4Boot. Like what we can see in ubiboot sdboot and nfsboot:
ubiboot=run setup; setenv bootargs ${defargs} ${ubiargs} ${setupargs} ${vidargs}
sdboot=run setup; setenv bootargs ${defargs} ${sdargs} ${setupargs} ${vidargs};}
nfsboot=run setup; setenv bootargs ${defargs} ${nfsargs} ${setupargs} ${vidargs}
what can be added with m4Boot?
m4Boot
is not for booting Linux, no boot arguments are required.
Hi @stefan.tx
But still m4 core has no output after rebooting. Can you please give the steps for loading and executing the firmware on cortex m4 even after rebooting.
hi sreemadhav, what is your dmesg output? Send the log in a file, please!
root@colibri-vf:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.14-v2.6b2+gefe965a (madhav@madhav-HP-15-Notebo8
[ 0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[ 0.000000] Machine model: Toradex Colibri VF61 on Colibri Evaluation Board
[ 0.000000] cma: Reserved 16 MiB at 0x8ec00000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 65024
[ 0.000000] free_area_init_node: node 0, pgdat 8087d76c, node_mem_map 8ea0000
[ 0.000000] Normal zone: 508 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65024 pages, LIFO batch:15
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa6
[ 0.000000] Kernel command line: ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubi0
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 232416K/260096K available (6071K kernel code, 216K rwdat)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0x90000000 - 0xff800000 (1784 MB)
[ 0.000000] lowmem : 0x80000000 - 0x8fe00000 ( 254 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x8080d034 (8213 kB)
[ 0.000000] .init : 0x8080e000 - 0x80848000 ( 232 kB)
[ 0.000000] .data : 0x80848000 - 0x8087e240 ( 217 kB)
[ 0.000000] .bss : 0x8087e240 - 0x808aa338 ( 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.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x06060000
[ 0.000041] sched_clock: 64 bits at 166MHz, resolution 5ns, wraps every 4398s
[ 0.000088] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycls
[ 0.000960] Console: colour dummy device 80x30
[ 0.002004] console [tty1] enabled
[ 0.002065] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880)
[ 0.060149] pid_max: default: 32768 minimum: 301
[ 0.060362] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060426] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.061669] CPU: Testing write buffer coherency: ok
[ 0.062250] Setting up static identity map for 0x80008200 - 0x80008258
[ 0.064259] devtmpfs: initialized
[ 0.075405] VFP support v0.3: implementor 41 architecture 2 part 30 variant 1
[ 0.076045] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[ 0.077869] pinctrl core: initialized pinctrl subsystem
[ 0.079931] NET: Registered protocol family 16
[ 0.082685] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.084136] cpuidle: using governor menu
[ 0.105390] PM: CKE/RESET pulls available, enable Suspend-to-RAM
[ 0.106416] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint.
[ 0.106506] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.107192] vf610-pinctrl 40048000.iomuxc: initialized IMX pinctrl driver
[ 0.130101] SCSI subsystem initialized
[ 0.130770] usbcore: registered new interface driver usbfs
[ 0.130958] usbcore: registered new interface driver hub
[ 0.131139] usbcore: registered new device driver usb
[ 0.132584] i2c i2c-0: IMX I2C adapter registered
[ 0.132718] i2c i2c-0: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transs
[ 0.133016] Linux video capture interface: v2.00
[ 0.133217] pps_core: LinuxPPS API ver. 1 registered
[ 0.133271] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[ 0.133405] PTP clock support registered
[ 0.134163] Advanced Linux Sound Architecture Driver Initialized.
[ 0.136163] clocksource: Switched to clocksource arm_global_timer
[ 0.154036] NET: Registered protocol family 2
[ 0.155429] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.155544] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.155640] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.155894] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.155974] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.156366] NET: Registered protocol family 1
[ 0.156930] RPC: Registered named UNIX socket transport module.
[ 0.156996] RPC: Registered udp transport module.
[ 0.157045] RPC: Registered tcp transport module.
[ 0.157093] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.158721] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 countee
[ 0.160391] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.175992] NFS: Registering the id_resolver key type
[ 0.176133] Key type id_resolver registered
[ 0.176242] Key type id_legacy registered
[ 0.176339] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.177382] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.178274] fuse init (API version 7.23)
[ 0.182209] io scheduler noop registered
[ 0.182284] io scheduler deadline registered
[ 0.182598] io scheduler cfq registered (default)
[ 0.190809] 40027000.serial: ttyLP0 at MMIO 0x40027000 (irq = 19, base_baud T
[ 0.713490] console [ttyLP0] enabled
[ 0.717948] 40028000.serial: ttyLP1 at MMIO 0x40028000 (irq = 20, base_baud T
[ 0.728226] 40029000.serial: ttyLP2 at MMIO 0x40029000 (irq = 21, base_baud T
[ 0.738769] [drm] Initialized drm 1.1.0 20060810
[ 0.750264] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.756995] [drm] No driver support for vblank timestamp query.
[ 0.800842] Console: switching to colour frame buffer device 80x30
[ 0.828337] fsl-dcu 40058000.dcu: fb0: frame buffer device
[ 0.842570] [drm] Initialized fsl-dcu-drm 1.0.0 20150213 on minor 0
[ 0.869968] loop: module loaded
[ 0.884220] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[ 0.899143] nand: Macronix MX30LF4G28AB
[ 0.911297] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB si2
[ 0.936340] Bad block table found at page 262080, version 0x01
[ 0.951165] Bad block table found at page 262016, version 0x01
[ 0.965682] nand_read_bbt: bad block at 0x0000013c0000
[ 0.979691] 4 ofpart partitions found on MTD device vf610_nfc
[ 0.994184] Creating 4 MTD partitions on "vf610_nfc":
[ 1.008110] 0x000000000000-0x000000020000 : "vf-bcb"
[ 1.022747] 0x000000020000-0x000000180000 : "u-boot"
[ 1.037022] 0x000000180000-0x000000200000 : "u-boot-env"
[ 1.051298] 0x000000200000-0x000020000000 : "ubi"
[ 1.070923] +V3.3: supplied by 3.3V
[ 1.083401] pps pps0: new PPS source ptp0
[ 1.101041] libphy: fec_enet_mii_bus: probed
[ 1.114047] fec 400d1000.ethernet eth0: registered PHC device 0
[ 1.128123] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.142823] usbcore: registered new interface driver usb-storage
[ 1.156804] usbcore: registered new interface driver usbserial
[ 1.170135] usbcore: registered new interface driver usbserial_generic
[ 1.183974] usbserial: USB Serial support registered for generic
[ 1.197254] usbcore: registered new interface driver ftdi_sio
[ 1.210178] usbserial: USB Serial support registered for FTDI USB Serial Deve
[ 1.231638] usbcore: registered new interface driver pl2303
[ 1.244545] usbserial: USB Serial support registered for pl2303
[ 1.260055] 40034000.usb supply vbus not found, using dummy regulator
[ 1.275080] mousedev: PS/2 mouse device common for all mice
[ 1.289859] rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0
[ 1.304599] snvs_rtc 400a7000.snvs:snvs-rtc-lp: rtc core: registered 400a7001
[ 1.328474] i2c /dev entries driver
[ 1.341908] imx2-wdt 4003e000.wdog: timeout 60 sec (nowayout=0)
[ 1.355767] sdhci: Secure Digital Host Controller Interface driver
[ 1.369832] sdhci: Copyright(c) Pierre Ossman
[ 1.382230] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.397066] /soc/aips-bus@40080000/esdhc@400b2000: voltage-ranges unspecified
[ 1.412805] sdhci-esdhc-imx 400b2000.esdhc: Got CD GPIO
[ 1.426875] sdhci-esdhc-imx 400b2000.esdhc: No vmmc regulator found
[ 1.441744] sdhci-esdhc-imx 400b2000.esdhc: No vqmmc regulator found
[ 1.496371] mmc0: SDHCI controller on 400b2000.esdhc [400b2000.esdhc] using A
[ 1.522330] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.536733] usbcore: registered new interface driver usbhid
[ 1.551245] usbhid: USB HID core driver
[ 1.617382] wm97xx-ts 0-0:wm9712-codec: detected a wm9712 codec
[ 1.634725] input: wm97xx touchscreen as /devices/platform/sound/0-0:wm9712-0
[ 1.663832] fsl-sai-ac97-dt-driver sound: wm9712-hifi <-> 40031000.sai mappik
[ 1.693566] Netfilter messages via NETLINK v0.30.
[ 1.707534] nfnl_acct: registering with nfnetlink.
[ 1.721352] nf_conntrack version 0.5.0 (3887 buckets, 15548 max)
[ 1.737412] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[ 1.753976] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.769450] NET: Registered protocol family 10
[ 1.784738] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 1.799126] sit: IPv6 over IPv4 tunneling driver
[ 1.813832] NET: Registered protocol family 17
[ 1.827055] bridge: automatic filtering via arp/ip/ip6tables has been deprec.
[ 1.857492] Bridge firewalling registered
[ 1.870337] 8021q: 802.1Q VLAN Support v1.8
[ 1.883438] Key type dns_resolver registered
[ 1.896894] Registering SWP/SWPB emulation handler
[ 1.911725] registered taskstats version 1
[ 1.928477] 40034000.usb supply vbus not found, using dummy regulator
[ 1.948658] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 1.962251] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 1.996210] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 2.011831] hub 1-0:1.0: USB hub found
[ 2.024072] hub 1-0:1.0: 1 port detected
[ 2.037495] VCC_USB[1-4]: supplied by 5V
[ 2.053355] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 2.065972] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[ 2.096202] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 2.110622] hub 2-0:1.0: USB hub found
[ 2.121974] hub 2-0:1.0: 1 port detected
[ 2.135150] ubi0: default fastmap pool size: 200
[ 2.147199] ubi0: default fastmap WL pool size: 100
[ 2.159310] ubi0: attaching mtd3
[ 2.375861] ubi0: attached by fastmap
[ 2.386556] ubi0: fastmap pool size: 200
[ 2.397342] ubi0: fastmap WL pool size: 100
[ 2.422135] ubi0: attached mtd3 (name "ubi", size 510 MiB)
[ 2.434284] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.447744] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.461256] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.475089] ubi0: good PEBs: 4075, bad PEBs: 5, corrupted PEBs: 0
[ 2.488088] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 18
[ 2.509062] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image seq0
[ 2.531641] ubi0: available PEBs: 0, total reserved PEBs: 4075, PEBs reserve5
[ 2.555919] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[ 2.570381] ubi0: background thread "ubi_bgt0d" started, PID 58
[ 2.586508] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 2.603088] rtc-ds1307 0-0068: setting system clock to 2001-01-01 01:01:30 U)
[ 2.641305] ALSA device list:
[ 2.652657] #0: Colibri VF61 AC97 Audio
[ 2.695634] UBIFS (ubi0:2): recovery needed
[ 2.738464] hub 2-1:1.0: USB hub found
[ 2.751094] hub 2-1:1.0: 4 ports detected
[ 2.964860] UBIFS (ubi0:2): recovery deferred
[ 2.977981] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rooe
[ 3.003668] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O s
[ 3.031835] UBIFS (ubi0:2): FS size: 496984064 bytes (473 MiB, 3914 LEBs), j)
[ 3.061193] UBIFS (ubi0:2): reserved for root: 0 bytes (0 KiB)
[ 3.076506] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID D03Cl
[ 3.107120] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[ 3.124102] devtmpfs: mounted
[ 3.137297] Freeing unused kernel memory: 232K (8080e000 - 80848000)
[ 3.324400] random: systemd urandom read with 58 bits of entropy available
[ 3.353906] systemd[1]: systemd 226 running in system mode. (+PAM -AUDIT -SE)
[ 3.401375] systemd[1]: Detected architecture arm.
[ 3.437312] systemd[1]: Set hostname to <colibri-vf>.
[ 4.014779] systemd[1]: Started Forward Password Requests to Wall Directory .
[ 4.068875] systemd[1]: Listening on Journal Socket (/dev/log).
[ 4.106834] systemd[1]: Listening on Journal Socket.
[ 4.136877] systemd[1]: Started Dispatch Password Requests to Console Direct.
[ 4.213519] systemd[1]: Set up automount Arbitrary Executable File Formats F.
[ 4.266561] systemd[1]: Reached target Swap.
[ 4.296468] systemd[1]: Reached target Paths.
[ 4.326820] systemd[1]: Listening on udev Control Socket.
[ 4.367507] systemd[1]: Created slice System Slice.
[ 4.401445] systemd[1]: Starting Create list of required static device nodes.
[ 4.459835] systemd[1]: Starting File System Check on Root Device...
[ 4.509965] systemd[1]: Mounting Debug File System...
[ 4.542499] systemd[1]: Mounting Temporary Directory...
[ 4.627137] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 4.669451] systemd[1]: Starting Setup Virtual Console...
[ 4.695376] systemd[1]: Created slice system-getty.slice.
[ 4.742286] systemd[1]: Starting Journal Service...
[ 4.774213] systemd[1]: Starting Load Kernel Modules...
[ 4.803834] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 4.849668] systemd[1]: Starting (null)...
[ 4.875825] systemd[1]: Created slice User and Session Slice.
[ 4.916906] systemd[1]: Reached target Slices.
[ 4.950580] systemd[1]: Listening on networkd rtnetlink socket.
[ 4.978415] systemd[1]: Listening on udev Kernel Socket.
[ 5.049731] systemd[1]: Mounted Debug File System.
[ 5.082910] systemd[1]: Mounted Temporary Directory.
[ 5.127645] systemd[1]: Started Create list of required static device nodes .
[ 5.218201] systemd[1]: Started File System Check on Root Device.
[ 5.259168] systemd[1]: Started Setup Virtual Console.
[ 5.278334] systemd[1]: Started Load Kernel Modules.
[ 5.309050] systemd[1]: Started (null).
[ 5.337386] systemd[1]: Started Journal Service.
[ 5.755083] UBIFS (ubi0:2): completing deferred recovery
[ 5.880094] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 97
[ 5.917532] UBIFS (ubi0:2): deferred recovery completed
[ 6.181886] systemd-journald[80]: Received request to flush runtime journal 1
[ 6.588294] random: nonblocking pool is initialized
[ 9.287974] CAN device driver interface
[ 9.981465] wm97xx-ts 0-0:wm9712-codec: No IRQ specified
[ 11.125164] using random self ethernet address
[ 11.137389] using random host ethernet address
[ 12.625856] usb0: HOST MAC 00:14:2d:ff:ff:fe
[ 12.672968] usb0: MAC 00:14:2d:ff:ff:ff
[ 13.076862] fec 400d1000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ)
[ 13.133463] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.002394] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 15.425513] wm97xx-ts 0-0:wm9712-codec: No IRQ specified
root@colibri-vf:~#
root@colibri-vf:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.14-v2.6b2+gefe965a (madhav@madhav-HP-15-Notebo8
[ 0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[ 0.000000] Machine model: Toradex Colibri VF61 on Colibri Evaluation Board
[ 0.000000] cma: Reserved 16 MiB at 0x8ec00000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 65024
[ 0.000000] free_area_init_node: node 0, pgdat 8087d76c, node_mem_map 8ea0000
[ 0.000000] Normal zone: 508 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65024 pages, LIFO batch:15
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa6
[ 0.000000] Kernel command line: ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubi0
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 232416K/260096K available (6071K kernel code, 216K rwdat)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0x90000000 - 0xff800000 (1784 MB)
[ 0.000000] lowmem : 0x80000000 - 0x8fe00000 ( 254 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x8080d034 (8213 kB)
[ 0.000000] .init : 0x8080e000 - 0x80848000 ( 232 kB)
[ 0.000000] .data : 0x80848000 - 0x8087e240 ( 217 kB)
[ 0.000000] .bss : 0x8087e240 - 0x808aa338 ( 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.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x06060000
[ 0.000041] sched_clock: 64 bits at 166MHz, resolution 5ns, wraps every 4398s
[ 0.000088] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycls
[ 0.000960] Console: colour dummy device 80x30
[ 0.002004] console [tty1] enabled
[ 0.002065] Calibrating delay loop... 331.77 BogoMIPS (lpj=1658880)
[ 0.060149] pid_max: default: 32768 minimum: 301
[ 0.060362] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060426] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.061669] CPU: Testing write buffer coherency: ok
[ 0.062250] Setting up static identity map for 0x80008200 - 0x80008258
[ 0.064259] devtmpfs: initialized
[ 0.075405] VFP support v0.3: implementor 41 architecture 2 part 30 variant 1
[ 0.076045] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[ 0.077869] pinctrl core: initialized pinctrl subsystem
[ 0.079931] NET: Registered protocol family 16
[ 0.082685] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.084136] cpuidle: using governor menu
[ 0.105390] PM: CKE/RESET pulls available, enable Suspend-to-RAM
[ 0.106416] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint.
[ 0.106506] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.107192] vf610-pinctrl 40048000.iomuxc: initialized IMX pinctrl driver
[ 0.130101] SCSI subsystem initialized
[ 0.130770] usbcore: registered new interface driver usbfs
[ 0.130958] usbcore: registered new interface driver hub
[ 0.131139] usbcore: registered new device driver usb
[ 0.132584] i2c i2c-0: IMX I2C adapter registered
[ 0.132718] i2c i2c-0: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transs
[ 0.133016] Linux video capture interface: v2.00
[ 0.133217] pps_core: LinuxPPS API ver. 1 registered
[ 0.133271] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[ 0.133405] PTP clock support registered
[ 0.134163] Advanced Linux Sound Architecture Driver Initialized.
[ 0.136163] clocksource: Switched to clocksource arm_global_timer
[ 0.154036] NET: Registered protocol family 2
[ 0.155429] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.155544] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.155640] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.155894] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.155974] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.156366] NET: Registered protocol family 1
[ 0.156930] RPC: Registered named UNIX socket transport module.
[ 0.156996] RPC: Registered udp transport module.
[ 0.157045] RPC: Registered tcp transport module.
[ 0.157093] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.158721] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 countee
[ 0.160391] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.175992] NFS: Registering the id_resolver key type
[ 0.176133] Key type id_resolver registered
[ 0.176242] Key type id_legacy registered
[ 0.176339] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.177382] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.178274] fuse init (API version 7.23)
[ 0.182209] io scheduler noop registered
[ 0.182284] io scheduler deadline registered
[ 0.182598] io scheduler cfq registered (default)
[ 0.190809] 40027000.serial: ttyLP0 at MMIO 0x40027000 (irq = 19, base_baud T
[ 0.713490] console [ttyLP0] enabled
[ 0.717948] 40028000.serial: ttyLP1 at MMIO 0x40028000 (irq = 20, base_baud T
[ 0.728226] 40029000.serial: ttyLP2 at MMIO 0x40029000 (irq = 21, base_baud T
[ 0.738769] [drm] Initialized drm 1.1.0 20060810
[ 0.750264] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.756995] [drm] No driver support for vblank timestamp query.
[ 0.800842] Console: switching to colour frame buffer device 80x30
[ 0.828337] fsl-dcu 40058000.dcu: fb0: frame buffer device
[ 0.842570] [drm] Initialized fsl-dcu-drm 1.0.0 20150213 on minor 0
[ 0.869968] loop: module loaded
[ 0.884220] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[ 0.899143] nand: Macronix MX30LF4G28AB
[ 0.911297] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB si2
[ 0.936340] Bad block table found at page 262080, version 0x01
[ 0.951165] Bad block table found at page 262016, version 0x01
[ 0.965682] nand_read_bbt: bad block at 0x0000013c0000
[ 0.979691] 4 ofpart partitions found on MTD device vf610_nfc
[ 0.994184] Creating 4 MTD partitions on "vf610_nfc":
[ 1.008110] 0x000000000000-0x000000020000 : "vf-bcb"
[ 1.022747] 0x000000020000-0x000000180000 : "u-boot"
[ 1.037022] 0x000000180000-0x000000200000 : "u-boot-env"
[ 1.051298] 0x000000200000-0x000020000000 : "ubi"
[ 1.070923] +V3.3: supplied by 3.3V
[ 1.083401] pps pps0: new PPS source ptp0
[ 1.101041] libphy: fec_enet_mii_bus: probed
[ 1.114047] fec 400d1000.ethernet eth0: registered PHC device 0
[ 1.128123] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.142823] usbcore: registered new interface driver usb-storage
[ 1.156804] usbcore: registered new interface driver usbserial
[ 1.170135] usbcore: registered new interface driver usbserial_generic
[ 1.183974] usbserial: USB Serial support registered for generic
[ 1.197254] usbcore: registered new interface driver ftdi_sio
[ 1.210178] usbserial: USB Serial support registered for FTDI USB Serial Deve
[ 1.231638] usbcore: registered new interface driver pl2303
[ 1.244545] usbserial: USB Serial support registered for pl2303
[ 1.260055] 40034000.usb supply vbus not found, using dummy regulator
[ 1.275080] mousedev: PS/2 mouse device common for all mice
[ 1.289859] rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0
[ 1.304599] snvs_rtc 400a7000.snvs:snvs-rtc-lp: rtc core: registered 400a7001
[ 1.328474] i2c /dev entries driver
[ 1.341908] imx2-wdt 4003e000.wdog: timeout 60 sec (nowayout=0)
[ 1.355767] sdhci: Secure Digital Host Controller Interface driver
[ 1.369832] sdhci: Copyright(c) Pierre Ossman
[ 1.382230] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.397066] /soc/aips-bus@40080000/esdhc@400b2000: voltage-ranges unspecified
[ 1.412805] sdhci-esdhc-imx 400b2000.esdhc: Got CD GPIO
[ 1.426875] sdhci-esdhc-imx 400b2000.esdhc: No vmmc regulator found
[ 1.441744] sdhci-esdhc-imx 400b2000.esdhc: No vqmmc regulator found
[ 1.496371] mmc0: SDHCI controller on 400b2000.esdhc [400b2000.esdhc] using A
[ 1.522330] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.536733] usbcore: registered new interface driver usbhid
[ 1.551245] usbhid: USB HID core driver
[ 1.617382] wm97xx-ts 0-0:wm9712-codec: detected a wm9712 codec
[ 1.634725] input: wm97xx touchscreen as /devices/platform/sound/0-0:wm9712-0
[ 1.663832] fsl-sai-ac97-dt-driver sound: wm9712-hifi <-> 40031000.sai mappik
[ 1.693566] Netfilter messages via NETLINK v0.30.
[ 1.707534] nfnl_acct: registering with nfnetlink.
[ 1.721352] nf_conntrack version 0.5.0 (3887 buckets, 15548 max)
[ 1.737412] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[ 1.753976] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.769450] NET: Registered protocol family 10
[ 1.784738] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 1.799126] sit: IPv6 over IPv4 tunneling driver
[ 1.813832] NET: Registered protocol family 17
[ 1.827055] bridge: automatic filtering via arp/ip/ip6tables has been deprec.
[ 1.857492] Bridge firewalling registered
[ 1.870337] 8021q: 802.1Q VLAN Support v1.8
[ 1.883438] Key type dns_resolver registered
[ 1.896894] Registering SWP/SWPB emulation handler
[ 1.911725] registered taskstats version 1
[ 1.928477] 40034000.usb supply vbus not found, using dummy regulator
[ 1.948658] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 1.962251] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 1.996210] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 2.011831] hub 1-0:1.0: USB hub found
[ 2.024072] hub 1-0:1.0: 1 port detected
[ 2.037495] VCC_USB[1-4]: supplied by 5V
[ 2.053355] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 2.065972] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[ 2.096202] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 2.110622] hub 2-0:1.0: USB hub found
[ 2.121974] hub 2-0:1.0: 1 port detected
[ 2.135150] ubi0: default fastmap pool size: 200
[ 2.147199] ubi0: default fastmap WL pool size: 100
[ 2.159310] ubi0: attaching mtd3
[ 2.375861] ubi0: attached by fastmap
[ 2.386556] ubi0: fastmap pool size: 200
[ 2.397342] ubi0: fastmap WL pool size: 100
[ 2.422135] ubi0: attached mtd3 (name "ubi", size 510 MiB)
[ 2.434284] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.447744] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.461256] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.475089] ubi0: good PEBs: 4075, bad PEBs: 5, corrupted PEBs: 0
[ 2.488088] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 18
[ 2.509062] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image seq0
[ 2.531641] ubi0: available PEBs: 0, total reserved PEBs: 4075, PEBs reserve5
[ 2.555919] usb 2-1: new high-speed USB device number 2 using ci_hdrc
[ 2.570381] ubi0: background thread "ubi_bgt0d" started, PID 58
[ 2.586508] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 2.603088] rtc-ds1307 0-0068: setting system clock to 2001-01-01 01:01:30 U)
[ 2.641305] ALSA device list:
[ 2.652657] #0: Colibri VF61 AC97 Audio
[ 2.695634] UBIFS (ubi0:2): recovery needed
[ 2.738464] hub 2-1:1.0: USB hub found
[ 2.751094] hub 2-1:1.0: 4 ports detected
[ 2.964860] UBIFS (ubi0:2): recovery deferred
[ 2.977981] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rooe
[ 3.003668] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O s
[ 3.031835] UBIFS (ubi0:2): FS size: 496984064 bytes (473 MiB, 3914 LEBs), j)
[ 3.061193] UBIFS (ubi0:2): reserved for root: 0 bytes (0 KiB)
[ 3.076506] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID D03Cl
[ 3.107120] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[ 3.124102] devtmpfs: mounted
[ 3.137297] Freeing unused kernel memory: 232K (8080e000 - 80848000)
[ 3.324400] random: systemd urandom read with 58 bits of entropy available
[ 3.353906] systemd[1]: systemd 226 running in system mode. (+PAM -AUDIT -SE)
[ 3.401375] systemd[1]: Detected architecture arm.
[ 3.437312] systemd[1]: Set hostname to <colibri-vf>.
[ 4.014779] systemd[1]: Started Forward Password Requests to Wall Directory .
[ 4.068875] systemd[1]: Listening on Journal Socket (/dev/log).
[ 4.106834] systemd[1]: Listening on Journal Socket.
[ 4.136877] systemd[1]: Started Dispatch Password Requests to Console Direct.
[ 4.213519] systemd[1]: Set up automount Arbitrary Executable File Formats F.
[ 4.266561] systemd[1]: Reached target Swap.
[ 4.296468] systemd[1]: Reached target Paths.
[ 4.326820] systemd[1]: Listening on udev Control Socket.
[ 4.367507] systemd[1]: Created slice System Slice.
[ 4.401445] systemd[1]: Starting Create list of required static device nodes.
[ 4.459835] systemd[1]: Starting File System Check on Root Device...
[ 4.509965] systemd[1]: Mounting Debug File System...
[ 4.542499] systemd[1]: Mounting Temporary Directory...
[ 4.627137] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 4.669451] systemd[1]: Starting Setup Virtual Console...
[ 4.695376] systemd[1]: Created slice system-getty.slice.
[ 4.742286] systemd[1]: Starting Journal Service...
[ 4.774213] systemd[1]: Starting Load Kernel Modules...
[ 4.803834] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 4.849668] systemd[1]: Starting (null)...
[ 4.875825] systemd[1]: Created slice User and Session Slice.
[ 4.916906] systemd[1]: Reached target Slices.
[ 4.950580] systemd[1]: Listening on networkd rtnetlink socket.
[ 4.978415] systemd[1]: Listening on udev Kernel Socket.
[ 5.049731] systemd[1]: Mounted Debug File System.
[ 5.082910] systemd[1]: Mounted Temporary Directory.
[ 5.127645] systemd[1]: Started Create list of required static device nodes .
[ 5.218201] systemd[1]: Started File System Check on Root Device.
[ 5.259168] systemd[1]: Started Setup Virtual Console.
[ 5.278334] systemd[1]: Started Load Kernel Modules.
[ 5.309050] systemd[1]: Started (null).
[ 5.337386] systemd[1]: Started Journal Service.
[ 5.755083] UBIFS (ubi0:2): completing deferred recovery
[ 5.880094] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 97
[ 5.917532] UBIFS (ubi0:2): deferred recovery completed
[ 6.181886] systemd-journald[80]: Received request to flush runtime journal 1
[ 6.588294] random: nonblocking pool is initialized
[ 9.287974] CAN device driver interface
[ 9.981465] wm97xx-ts 0-0:wm9712-codec: No IRQ specified
[ 11.125164] using random self ethernet address
[ 11.137389] using random host ethernet address
[ 12.625856] usb0: HOST MAC 00:14:2d:ff:ff:fe
[ 12.672968] usb0: MAC 00:14:2d:ff:ff:ff
[ 13.076862] fec 400d1000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ)
[ 13.133463] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.002394] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 15.425513] wm97xx-ts 0-0:wm9712-codec: No IRQ specified
root@colibri-vf:~#
it seems that m4boot is not started. Can you give the output of print
in uboot environment? Thanks.
Hi @jaski.tx
The output of printenv in uboot is given in the log file here. Please do find the attachment.
your uboot environment is still missing the m4boot in the bootcommand.
The command is not automatically executed. You need to add it to the boot command bootcmd:
-
setenv bootcmd 'run m4Boot && run ubiboot; run sdboot; run nfsboot'
and then for saving the variables, write the command:
saveenv
Hi @jaski.tx
I had added the boot command and then rebooted the processor. But again there is some error which is shown below:
U-Boot 2015.04+fslc+g10bc451 (Jan 25 2018 - 02:35:41)
CPU: Freescale Vybrid VF610 at 500 MHz
Reset cause: POWER ON RESET
DRAM: 256 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
In: serial
Out: serial
Err: serial
Model: Toradex Colibri VF61 256MB IT V1.2A, Serial# 02904656
Net: FEC
Hit any key to stop autoboot: 0
Error, no UBI device/partition selected!
Booting from MMC/SD card…
Card did not respond to voltage select!
** Bad device mmc 0 **
Booting from NFS…
FEC Waiting for PHY auto negotiation to complete… done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17
Retry time exceeded; starting again
The printenv is shown in the attachment below:
Probably because m4Boot
failed. Does run m4Boot
manually works?