barebox 2016.06.0-EAG_2.02-g22d8bbf #1 Wed May 15 12:46:58 CEST 2019 Board: Eckelmann AG ECU01 __IMX25_EAG_ECU01_MOTOR_BRIDGE__ mdio_bus: miibus0: probed nand: ONFI flash detected nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron MT29F1G16ABBEAH4), 128MiB, page size: 2048, OOB size: 64 Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 imx-usb 53ff4400.usb: USB EHCI 1.00 imxfb imxfb: i.MX Framebuffer driver malloc space: 0x83efdf80 -> 0x87dfbeff (size 63 MiB) running /env/bin/init... Check if Memory is flashbased ... __PASS__ Hit CTRL-C to stop autoboot: 1 __DEVELOPER_MODE__ENABLED__ USB: scanning bus for devices... Bus 001 Device 001: ID 0000:0000 EHCI Host Controller Bus 001 Device 002: ID 148f:3070 802.11 n WLAN 2 USB Device(s) found USB: scanning bus for devices... 2 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... 2 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... 2 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 blspec: blspec_scan_directory: nand loader/entries USB: scanning bus for devices... 2 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... 2 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 UBI: scanning is finished UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 6, 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): UBIFS: mounted UBI device 0, volume 0, name "root", R/O mode UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes UBIFS (ubi0:0): FS size: 78344192 bytes (74 MiB, 617 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs) UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB) UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 83f00bc4, small LPT model Loading ARM Linux zImage '/mnt/nand0-root/boot/zImage' commandline: console=ttymxc4,115200n lpj=995328 mtdparts=mxc_nand:1024k(barebox),1024k(bareboxenv),2432k(history),80M(root),-(var) vt.global_cursor_default=0 ro root=ubi0_0 rootfstype=ubifs ubi.mtd=3,2048 arch_number: 8017 Booting Linux on physical CPU 0x0 Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Initializing cgroup subsys cpuacct Linux version 3.10.22-rt20-g2d3219f (rmainz@vm) (gcc version 4.7.2 (OSELAS.Toolchain-2012.12.0) ) #1 PREEMPT RT Wed May 15 11:20:40 CEST 2019 CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: Eckelmann ECU01 Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 Kernel command line: console=ttymxc4,115200n lpj=995328 mtdparts=mxc_nand:1024k(barebox),1024k(bareboxenv),2432k(history),80M(root),-(var) vt.global_cursor_default=0 ro root=ubi0_0 rootfstype=ubifs ubi.mtd=3,2048 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: 123552k/123552k available, 7520k 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 - 0xc058cec4 (5652 kB) .init : 0xc058d000 - 0xc05c61c4 ( 229 kB) .data : 0xc05c8000 - 0xc0602200 ( 233 kB) .bss : 0xc0602200 - 0xc0633bd0 ( 199 kB) SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Preemptible hierarchical RCU implementation. Dump stacks of tasks blocking RCU-preempt GP. 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 Setting up static identity map for 0xc0444a40 - 0xc0444a98 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 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: 2, 24576 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP: reno registered UDP hash table entries: 256 (order: 2, 16384 bytes) UDP-Lite hash table entries: 256 (order: 2, 16384 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 241 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) io scheduler noop registered io scheduler cfq registered (default) imx-fb imx21-fb.0: i.MX Framebuffer driver Console: switching to colour frame buffer device 40x30 imx-sdma imx35-sdma: initialized Serial: IMX driver imx21-uart.1: ttymxc1 at MMIO 0x43f94000 (irq = 48) is a IMX imx21-uart.4: ttymxc4 at MMIO 0x5002c000 (irq = 56) is a IMX console [ttymxc4] enabled 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 Bad eraseblock 10 at 0x000000140000 Bad eraseblock 1022 at 0x000007fc0000 Bad eraseblock 1023 at 0x000007fe0000 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 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: c2:a9:6f:86:5a:67 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-rt20-g2d3219f 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 input: imx-keypad as /devices/platform/imx-keypad/input/input0 rtc-pcf2123 spi1.0: chip found, driver version 0.6 rtc-pcf2123 spi1.0: spiclk 4000 KHz. rtc-pcf2123 spi1.0: rtc core: registered rtc-pcf2123 as rtc0 i2c /dev entries driver cpuidle: using governor ladder sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper 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 Key type dns_resolver registered UBI: attaching mtd3 to ubi0 usb 1-1: new full-speed USB device number 2 using mxc-ehci usb 1-1: not running at top speed; connect to a high speed hub usb 1-1: New USB device found, idVendor=148f, idProduct=3070 usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1: Product: 802.11 n WLAN usb 1-1: Manufacturer: Ralink usb 1-1: SerialNumber: 1.0 usb 1-1: reset full-speed USB device number 2 using mxc-ehci UBI: scanning is finished ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 8, need 20 UBI: attached mtd3 (name "root", size 80 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 512 UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 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: 95/51, WL threshold: 4096, image sequence number: 28602 UBI: available PEBs: 0, total reserved PEBs: 640, PEBs reserved for bad PEB handling: 8 UBI: background thread "ubi_bgt0d" started, PID 554 rtc-pcf2123 spi1.0: setting system clock to 2019-05-22 11:50:11 UTC (1558525811) ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected UBIFS: mounted UBI device 0, volume 0, name "root", R/O mode UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes UBIFS: FS size: 78344192 bytes (74 MiB, 617 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs) UBIFS: reserved for root: 0 bytes (0 KiB) UBIFS: media format: w4/r0 (latest is w4/r0), UUID CC7D4B71-B972-4675-BF26-4E9D68603011, small LPT model VFS: Mounted root (ubifs filesystem) readonly on device 0:12. devtmpfs: mounted Freeing unused kernel memory: 228K (c058d000 - c05c6000) systemd[1]: systemd 204 running in system mode. (-PAM +LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT -LIBCRYPTSETUP -GCRYPT -ACL -XZ) Welcome to PTXdist / EAG-ecu01! systemd[1]: Set hostname to . systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details. systemd[1]: Cannot add dependency job for unit ubi-data.mount, ignoring: Unit ubi-data.mount failed to load: No such file or directory. See system logs and 'systemctl status ubi-data.mount' for details. systemd[1]: Starting Forward Password Requests to Wall Directory Watch. systemd[1]: Started Forward Password Requests to Wall Directory Watch. systemd[1]: Expecting device dev-ttymxc4.device... Expecting device dev-ttymxc4.device... systemd[1]: Starting Remote File Systems. [ OK ] Reached target Remote File Systems. systemd[1]: Reached target Remote File Systems. systemd[1]: Starting Timers. [ OK ] Reached target Timers. systemd[1]: Reached target Timers. systemd[1]: Starting Delayed Shutdown Socket. [ OK ] Listening on Delayed Shutdown Socket. systemd[1]: Listening on Delayed Shutdown Socket. systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. systemd[1]: Starting Dispatch Password Requests to Console Directory Watch. systemd[1]: Started Dispatch Password Requests to Console Directory Watch. systemd[1]: Starting Paths. [ OK ] Reached target Paths. systemd[1]: Reached target Paths. 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]: Starting udev Coldplug TTY Devices for Getty... Starting udev Coldplug TTY Devices for Getty... 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]: Starting Load Kernel Modules... Starting Load Kernel Modules... 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]: 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 ] Started Apply Kernel Variables. UBI: attaching mtd4 to ubi1 [ OK ] Started File System Check on Root Device. Starting Remount Root and Kernel File Systems... systemd-journald[583]: Failed to resolve 'systemd-journal' group: No such process [ OK ] Started udev Coldplug TTY Devices for Getty. ads7953_init [ OK ] Started Create static device nodes in /dev. Starting udev Kernel Device Manager... mmc_init() called qa_driver_init() called systemd-modules-load[586]: Inserted module 'qadriver' [ OK ] Started Load Kernel Modules. [ OK ] Started udev Kernel Device Manasystemd-udevd[618]: starting version 204 ger. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Reached target Local File Systems (Pre). Mounting /var/tmp... Mounting /var/lock... UBI: scanning is finished Mounting /var/run... Mounting /var/log... Mounting /var/lib... Mounting /media... Mounting /tmp... UBI: attached mtd4 (name "var", size 43 MiB) to ubi1 UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512 [ OK ] Mounted /var/tmp. UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 [ OK ] Mounted /var/lock. [ OK ] Mounted /var/run. UBI: good PEBs: 347, bad PEBs: 2, corrupted PEBs: 0 UBI: user volume: 2, internal volumes: 1, max. volumes count: 128 UBI: max/mean erase counter: 78/40, WL threshold: 4096, image sequence number: 22633 [ OK UBI: available PEBs: 87, total reserved PEBs: 260, PEBs reserved for bad PEB handling: 18 ] Mounted /var/log. UBI: background thread "ubi_bgt1d" started, PID 659 [ OK ] Mounted /var/lib. [ OK ] Mounted /media. [ OK ] Mounted /tmp. [ OK ] Started Attach data ubi partition. Starting Check and create ubi partitions... [ OK ] Found device /dev/ttymxc4. [ 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 690 UBIFS: background thread "ubifs_bgt1_0" started, PID 692 UBIFS: mounted UBI device 1, volume 1, name "stat" UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes UBIFS: FS size: 13840384 bytes (13 MiB, 109 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs) UBIFS: reserved for root: 653715 bytes (638 KiB) UBIFS: media format: w4/r0 (latest is w4/r0), UUID 60DE9B53-3598-455A-9D47-16DF83A21088, small LPT model UBIFS: mounted UBI device 1, volume 0, name "dyn" [ OK ] Mounted Mount /var/stat partition. UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes UBIFS: FS size: 13840384 bytes (13 MiB, 109 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs) UBIFS: reserved for root: 653715 bytes (638 KiB) UBIFS: media format: w4/r0 (latest is w4/r0), UUID CF1AD484-262D-439D-9FB3-B208D935F5A6, small LPT model [ OK ] Mounted Mount /var/dyn partition. [ OK ] Reached target Local File Systems. Starting Recreate Volatile Files and Directories... [ OK ] Started Recreate Volatile Files and Directories. [ OK ] Reached target System Initialization. [ OK ] Listening on sshd.socket. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting Backup service for configuration in /etc... [ OK ] Started Backup service for configuration in /etc. Starting Mark kernel activated network interfaces as up... Starting Serial Getty on ttymxc4... [ OK ] Started Serial Getty on ttymxc4. [ OK ] Reached target Login Prompts. Starting D-Bus System Message Bus... [ OK ] Started D-Bus System Message Bus. Starting udev Trigger all Massstorage Devices... [ OK ] Started udev Trigger all Massstorage Devices. imx-sdma imx35-sdma: firmware not found [ OK ] Started Mark kernel activated network interfaces as up. Starting Handle network interface with ifup/ifdown... fec imx25-fec.0 eth0: no PHY, assuming direct connection to switch libphy: PHY fixed-0:00 not found fec imx25-fec.0 eth0: could not attach to PHY [FAILED] Failed to start Handle network interface with ifup/ifdown. See 'systemctl status ifupdown.service' for details. [ OK ] Reached target Network. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Say Goodbye to user at Shutdown... Starting CoDeSys 3 runtime... [ OK ] Started Say Goodbye to user at Shutdown. _____ _ ____ | ____| / ` / ___| | _| / _ `| | _ | |___ / ___ ` |_| | |_____/_/ `_`____| ___ _ ___ ___ _ _ / _ `/ | / _ `/ __| | | | | | | | | __/ (__| |_| | |_| | | `___|`___|`__,_|`___/|_| OSELAS(R)-ecu01-V3.1.7 / ecu01-2012.10.0 ptxdist-2012.10.0/2019-05-15T11:29:00+0200 ecu01 login: [ OK ] Started CoDeSys 3 runtime. [ OK ] Reached target Application Mode. qa_mmc_open() qa_mmc_release() qa_mmc_open() UBIFS: background thread "ubifs_bgt0_0" started, PID 811 UBIFS: background thread "ubifs_bgt0_0" stops _____ _ ____ | ____| / ` / ___| | _| / _ `| | _ | |___ / ___ ` |_| | |_____/_/ `_`____| ___ _ ___ ___ _ _ / _ `/ | / _ `/ __| | | | | | | | | __/ (__| |_| | |_| | | `___|`___|`__,_|`___/|_| OSELAS(R)-ecu01-V3.1.7 / ecu01-2012.10.0 ptxdist-2012.10.0/2019-05-15T11:29:00+0200 ecu01 login: root Password: running /etc/profile.local Loading /usr/share/keymaps/i386/qwertz/de.map.gz root 11:50:51 : ~ # ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:628 (628.0 B) TX bytes:628 (628.0 B) root 11:50:56 : ~ # ifup wlan0 ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin' ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29 IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready UBIFS: background thread "ubifs_bgt0_0" started, PID 839 IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready root 11:51:23 : ~ # IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready root 11:51:34 : ~ #