barebox 2016.06.0-EAG_2.02-gf82aa8b #1 Fri Feb 16 15:08:52 CET 2018 Board: Eckelmann AG ECU02 mdio_bus: miibus0: probed nand: ONFI flash detected nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron MT29F1G16ABBDAH4), 128MiB, page size: 2048, OOB size: 64 Bad block table not found for chip 0 Bad block table not found for chip 0 imx_nand bb000000.nand: no BBT found. create one using the imx_nand_bbm command m25p80 m25p80@20: mr25h256 (32 Kbytes) imx-usb 53ff4400.usb: USB EHCI 1.00 netconsole: registered as netconsole-1 malloc space: 0x83efde40 -> 0x87dfbc7f (size 63 MiB) envfs: wrong magic running /env/bin/init... Check if Memory is flashbased ... __FAIL__ ==> Saving Defaultenv ... saving environment USB: scanning bus for devices... Bus 001 Device 001: ID 0000:0000 EHCI Host Controller 1 USB Device(s) found USB: scanning bus for devices... 1 USB Device(s) found running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed USB: scanning bus for devices... 1 USB Device(s) found running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed USB: scanning bus for devices... 1 USB Device(s) found running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed Hit m for menu or any other key to stop autoboot: 0 blspec: blspec_scan_directory: nand loader/entries USB: scanning bus for devices... 1 USB Device(s) found USB: scanning bus for devices... 1 USB Device(s) found running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed USB: scanning bus for devices... 1 USB Device(s) found running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed Could not find Imagefile: /mnt/usbstorage/ecu02/root.ubi UBI: scanning is finished UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 16, need 20 UBI: registering /dev/nand0.root.ubi UBI: registering root as /dev/nand0.root.ubi.root UBI: attached mtd0 (name "nand0.root", size 80 MiB) to ubi0 UBIFS (ubi0:0): recovery needed UBIFS (ubi0:0): recovery deferred UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "root", R/O mode UBIFS (ubi0:0): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes UBIFS (ubi0:0): FS size: 78317568 bytes (74 MiB, 607 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs) UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB) UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 83effab4, small LPT model Loading ARM Linux zImage '/mnt/nand0-root/boot/zImage' commandline: console=ttymxc0,115200n8 lpj=995328 mtdparts=mxc_nand:1024k(barebox),1024k(bareboxenv),2432k(history),80M(root),-(var) console=null ro root=ubi0_0 rootfstype=ubifs ubi.mtd=3 arch_number: 8016 Booting Linux on physical CPU 0x0 Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Initializing cgroup subsys cpuacct Linux version 3.10.22-gd329fbd (rmainz@vm) (gcc version 4.7.2 (OSELAS.Toolchain-2012.12.0) ) #1 PREEMPT Wed Apr 18 12:46:00 CEST 2018 CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Eckelmann ECU02 Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttymxc0,115200n8 lpj=995328 mtdparts=mxc_nand:1024k(barebox),1024k(bareboxenv),2432k(history),80M(root),-(var) console=null ro root=ubi0_0 rootfstype=ubifs ubi.mtd=3 PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 128MB = 128MB total Memory: 122376k/122376k available, 8696k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc8800000 - 0xff000000 ( 872 MB) lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc066dec0 (6552 kB) .init : 0xc066e000 - 0xc06be95c ( 323 kB) .data : 0xc06c0000 - 0xc0704bb0 ( 275 kB) .bss : 0xc0704bb0 - 0xc0759e10 ( 341 kB) NR_IRQS:16 nr_irqs:16 16 MXC IRQ initialized sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 64585ms Console: colour dummy device 80x30 Calibrating delay loop (skipped) preset value.. 398.13 BogoMIPS (lpj=995328) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 Initializing cgroup subsys freezer Initializing cgroup subsys blkio CPU: Testing write buffer coherency: ok ftrace: allocating 17141 entries in 51 pages Setting up static identity map for 0xc04b4700 - 0xc04b473c devtmpfs: initialized NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations bio: create slab at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb i2c i2c-0: IMX I2C adapter registered i2c i2c-2: IMX I2C adapter registered pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti PTP clock support registered cfg80211: Calling CRDA to update world regulatory domain Switching to clocksource mxc_timer1 NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP: reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 239 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) io scheduler noop registered io scheduler cfq registered (default) imx-sdma imx35-sdma: initialized Serial: IMX driver imx21-uart.0: ttymxc0 at MMIO 0x43f90000 (irq = 61) is a IMX console [ttymxc0] enabled imx21-uart.1: ttymxc1 at MMIO 0x43f94000 (irq = 48) is a IMX imx21-uart.3: ttymxc3 at MMIO 0x50008000 (irq = 21) is a IMX loop: module loaded Trying ONFI probe in 16 bits mode, aborting ! NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron NAND 128MiB 1,8V 16-bit), 128MiB, page size: 2048, OOB size: 64 Scanning device for bad blocks 5 cmdlinepart partitions found on MTD device mxc_nand Creating 5 MTD partitions on "mxc_nand": 0x000000000000-0x000000100000 : "barebox" 0x000000100000-0x000000200000 : "bareboxenv" 0x000000200000-0x000000460000 : "history" 0x000000460000-0x000005460000 : "root" 0x000005460000-0x000008000000 : "var" spi_imx imx35-cspi.0: master is unqueued, this is deprecated spi_imx imx35-cspi.0: probed spi_imx imx35-cspi.1: master is unqueued, this is deprecated spi_imx imx35-cspi.1: probed spi_imx imx35-cspi.2: master is unqueued, this is deprecated spi_imx imx35-cspi.2: probed CAN device driver interface flexcan flexcan.0: device registered (reg_base=c88e8000, irq=59) flexcan flexcan.1: device registered (reg_base=c88f0000, irq=60) fec imx25-fec.0 (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00 fec imx25-fec.0 (unregistered net_device): Using random MAC address: 0e:66:3a:63:cf:d9 libphy: fec_enet_mii_bus: probed usbcore: registered new interface driver rtl8192cu usbcore: registered new interface driver rt2800usb ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-mxc: Freescale On-Chip EHCI Host driver mxc-ehci mxc-ehci.1: EHCI Host Controller mxc-ehci mxc-ehci.1: new USB bus registered, assigned bus number 1 mxc-ehci mxc-ehci.1: irq 51, io mem 0x53ff4400 mxc-ehci mxc-ehci.1: USB 2.0 started, EHCI 1.00 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: EHCI Host Controller usb usb1: Manufacturer: Linux 3.10.22-gd329fbd ehci_hcd usb usb1: SerialNumber: mxc-ehci.1 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usbcore: registered new interface driver usb-storage rtc-pcf2123 spi0.3: chip found, driver version 0.6 rtc-pcf2123 spi0.3: spiclk 1039 KHz. rtc-pcf2123 spi0.3: rtc core: registered rtc-pcf2123 as rtc0 i2c /dev entries driver ad7414 0-0049: chip found cpuidle: using governor ladder sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper mmc0: SDHCI controller on sdhci-esdhc-imx25.1 [sdhci-esdhc-imx25.1] using DMA usbcore: registered new interface driver usbhid usbhid: USB HID core driver TCP: cubic registered NET: Registered protocol family 10 sit: IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 can: controller area network core (rev 20120528 abi 9) NET: Registered protocol family 29 Key type dns_resolver registered VFP support v0.3: not present UBI: attaching mtd3 to ubi0 UBI: scanning is finished UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 18, need 20 UBI: attached mtd3 (name "root", size 80 MiB) to ubi0 UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512 UBI: VID header offset: 512 (aligned 512), data offset: 2048 UBI: good PEBs: 640, bad PEBs: 0, corrupted PEBs: 0 UBI: user volume: 1, internal volumes: 1, max. volumes count: 128 UBI: max/mean erase counter: 43/21, WL threshold: 4096, image sequence number: 26795 UBI: available PEBs: 0, total reserved PEBs: 640, PEBs reserved for bad PEB handling: 18 UBI: background thread "ubi_bgt0d" started, PID 484 rtc-pcf2123 spi0.3: setting system clock to 2017-12-27 19:05:44 UTC (1514401544) UBIFS: recovery needed UBIFS: recovery deferred UBIFS: mounted UBI device 0, volume 0, name "root", R/O mode UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes UBIFS: FS size: 78317568 bytes (74 MiB, 607 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs) UBIFS: reserved for root: 0 bytes (0 KiB) UBIFS: media format: w4/r0 (latest is w4/r0), UUID CAB7B21F-1C9A-4AFE-9578-044714EF5598, small LPT model VFS: Mounted root (ubifs filesystem) readonly on device 0:12. devtmpfs: mounted Freeing unused kernel memory: 320K (c066e000 - c06be000) systemd[1]: systemd 204 running in system mode. (-PAM +LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT -LIBCRYPTSETUP -GCRYPT -ACL -XZ) Welcome to PTXdist / EAG-ecu02! systemd[1]: Set hostname to . systemd[1]: Initializing machine ID from random generator. systemd[1]: Installed transient /etc/machine-id file. systemd[1]: /etc/mtab is not a symlink or not pointing to /proc/self/mounts. This is not supported anymore. Please make sure to replace this file by a symlink to avoid incorrect or misleading mount(8) output. systemd[1]: Hardware watchdog 'GPIO Watchdog', version 0 systemd[1]: Set hardware watchdog to 10s. systemd[1]: Starting Dispatch Password Requests to Console Directory Watch. systemd[1]: Started Dispatch Password Requests to Console Directory Watch. systemd[1]: Starting udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. systemd[1]: Listening on udev Kernel Socket. systemd[1]: Starting udev Control Socket. [ OK ] Listening on udev Control Socket. systemd[1]: Listening on udev Control Socket. systemd[1]: Starting Journal Socket. [ OK ] Listening on Journal Socket. systemd[1]: Listening on Journal Socket. systemd[1]: Mounting Debug File System... Mounting Debug File System... systemd[1]: Mounted Huge Pages File System. systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... systemd[1]: Starting Journal Service... Starting Journal Service... [ OK ] Started Journal Service. systemd[1]: Started Journal Service. systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. systemd[1]: Started Set Up Additional Binary Formats. systemd[1]: Starting Create static device nodes in /dev... Starting Create static device nodes in /dev... systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... systemd[1]: Starting Swap. [ OK ] Reached target Swap. systemd[1]: Reached target Swap. systemd[1]: Starting Attach data ubi partition... Starting Attach data ubi partition... systemd[1]: Starting File System Check on Root Device... Starting File System Check on Root Device... [ OK ] Mounted Debug File System. [ OK ] Started Apply Kernel Variables. [ OK ] Mounted POSIX Message Queue File System. UBI: attaching mtd4 to ubi1 [ OK ] Started File System Check on Root Device. Starting Remount Root and Kernel File Systems... [ OK ] Started Create static device nodes in /dev. Starting udev Kernel Device Manager... ### Flush-Cache module - Apr 18 2018 12:46:22 ### systemd-journald[492]: Failed to resolve 'systemd-journal' group: No such process [ OK ] Started Load Kernel Modules. [ OK ] Started udev Kernel Device Manager. systemd-udevd[508]: starting version 204 UBIFS assert failed in ubifs_remount_fs at 1879 (pid 505) CPU: 0 PID: 505 Comm: mount Tainted: G O 3.10.22-gd329fbd #1 [] (unwind_backtrace+0x0/0xfc) from [] (show_stack+0x20/0x24) [] (show_stack+0x20/0x24) from [] (dump_stack+0x20/0x28) UBI: scanning is finished [] (dump_stack+0x20/0x28) from [] (ubifs_remount_fs+0x65c/0x79c) [] (ubifs_remount_fs+0x65c/0x79c) from [] (do_remount_sb+0xac/0x140) [] (do_remount_sb+0xac/0x140) from [] (do_mount+0x578/0x83c) [] (do_mount+0x578/0x83c) from [] (SyS_mount+0x94/0xc8) UBI: attached mtd4 (name "var", size 43 MiB) to ubi1 UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes [] (SyS_mount+0x94/0xc8) from [] (ret_fast_syscall+0x0/0x44) UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512 UBI: VID header offset: 512 (aligned 512), data offset: 2048 [ OK ] Started Remount Root and Kernel File Systems. UBI: good PEBs: 349, bad PEBs: 0, corrupted PEBs: 0 UBI: user volume: 2, internal volumes: 1, max. volumes count: 128 [ OK ] Reached target Local File Systems (Pre). Mounting /var/tmp... Mounting /var/lock... UBI: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 3356684198 Mounting /var/run... Mounting /var/log... UBI: available PEBs: 13, total reserved PEBs: 336, PEBs reserved for bad PEB handling: 20 Mounting /var/lib... Mounting /media... Mounting /tmp... UBI: background thread "ubi_bgt1d" started, PID 517 [ OK ] Mounted /var/run. [ OK ] Mounted /var/tmp. [ OK ] Mounted /var/lib. [ OK ] Mounted /var/log. [ OK ] Mounted /var/lock. systemd-udevd[508]: IMPORT{builtin}: 'uaccess' unknown /lib/udev/rules.d/73-seat-late.rules:15 [ OK ] Started Attach data ubi partition. Starting Check and create ubi partitions... [ OK ] Mounted /media. [ OK ] Mounted /tmp. [ OK ] Started Check and create ubi partitions. Mounting Mount /var/stat partition... Mounting Mount /var/dyn partition... UBIFS: background thread "ubifs_bgt1_1" started, PID 543 UBIFS: background thread "ubifs_bgt1_0" started, PID 545 UBIFS: recovery needed UBIFS: recovery needed UBIFS: recovery completed UBIFS: mounted UBI device 1, volume 1, name "stat" UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes UBIFS: FS size: 18837504 bytes (17 MiB, 146 LEBs), journal size 1032193 bytes (0 MiB, 7 LEBs) UBIFS: reserved for root: 889741 bytes (868 KiB) UBIFS: media format: w4/r0 (latest is w4/r0), UUID E9C427EE-6A3A-453E-81C4-C1719C9AB063, small LPT model [ OK ] Mounted Mount /var/stat partition. UBIFS: recovery completed UBIFS: mounted UBI device 1, volume 0, name "dyn" UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes UBIFS: FS size: 18837504 bytes (17 MiB, 146 LEBs), journal size 1032193 bytes (0 MiB, 7 LEBs) UBIFS: reserved for root: 889741 bytes (868 KiB) UBIFS: media format: w4/r0 (latest is w4/r0), UUID AE0DF495-AAC9-4C69-9E41-527A80E237E7, small LPT model [ OK ] Mounted Mount /var/dyn partition. [ OK ] Reached target Local File Systems. Starting Recreate Volatile Files and Directories... Starting Trigger Flushing of Journal to Persistent Storage... [ OK ] Started Recreate Volatile Files and Directories. [ OK ] Reached target System Initialization. [ OK ] Reached target System Update. systemd-rc-once[551]: remounting root rw...mounting rootfs writable UBIFS: completing deferred recovery UBIFS: background thread "ubifs_bgt0_0" started, PID 556 UBIFS: deferred recovery completed systemd-rc-once[551]: done systemd-rc-once[551]: running rc.once.d services... systemd-rc-once[551]: chmod: /etc/machine-id: Read-only file system systemd-rc-once[551]: running dbus failed. systemd-rc-once[551]: remounting root ro...mounting rootfs readonly UBIFS: background thread "ubifs_bgt0_0" stops systemd-rc-once[551]: done Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode. Type "journalctl -xb" to view system logs. Type "systemctl reboot" to reboot. Give root password for system maintenance