CE>> setenv mtdids 'nand0=orion_nand' CE>> setenv partition 'nand0,2' CE>> setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)' CE>> setenv ipaddr 192.168.0.1 CE>> setenv serverip 192.168.0.2 CE>> printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ netmask=255.255.0.0 run_diag=yes console=console=ttyS0,115200 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_root=root=/dev/mtdblock2 ro ethmtu=1500 usb0Mode=host nandEcc=1bit ethact=egiga0 ethaddr=aa:bb:cc:dd:ee:ff cesvcid=A1B2C3D4E5F6G7 ceboardver=PPV2 bootcmd=nand read.e 0x800000 0x100000 0x200000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000 stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=3 disaMvPnp=no mtdids=nand0=orion_nand partition=nand0,2 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) ipaddr=192.168.0.1 serverip=192.168.0.2 Environment size: 912/131068 bytes CE>> tftp 0x800000 uImage Using egiga0 device TFTP from server 192.168.0.2; our IP address is 192.168.0.1 Filename 'uImage'. Load address: 0x800000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################## done Bytes transferred = 3165320 (304c88 hex) CE>> tftp 0x1100000 uInitrd Using egiga0 device TFTP from server 192.168.0.2; our IP address is 192.168.0.1 Filename 'uInitrd'. Load address: 0x1100000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ###################################### done Bytes transferred = 7179935 (6d8e9f hex) CE>> bootm 0x800000 0x1100000 ## Booting image at 00800000 ... Image Name: Linux-4.6.0-kirkwood-tld-1 Created: 2016-08-14 2:22:10 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3165256 Bytes = 3 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK ## Loading Ramdisk Image at 01100000 ... Image Name: initramfs-4.4.0-kirkwood-tld-1 Created: 2016-02-19 7:33:04 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7179871 Bytes = 6.8 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005317f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine model: CloudEngines Pogoplug E02 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) [ 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: 243580K/262144K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 18564K reserved, 0K 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 : 0xd0800000 - 0xff800000 ( 752 MB) [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc07d7ef4 (8000 kB) [ 0.000000] .init : 0xc07d8000 - 0xc0822000 ( 296 kB) [ 0.000000] .data : 0xc0822000 - 0xc08b169c ( 574 kB) [ 0.000000] .bss : 0xc08b169c - 0xc08ff9d0 ( 313 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns [ 0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns [ 0.008180] Console: colour dummy device 80x30 [ 0.012711] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) [ 0.100818] pid_max: default: 32768 minimum: 301 [ 0.105596] Security Framework initialized [ 0.109868] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.116547] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.124470] Initializing cgroup subsys io [ 0.128611] Initializing cgroup subsys devices [ 0.133134] Initializing cgroup subsys freezer [ 0.137669] Initializing cgroup subsys net_cls [ 0.142289] CPU: Testing write buffer coherency: ok [ 0.147656] Setting up static identity map for 0x8200 - 0x8258 [ 0.153866] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2 [ 0.162746] devtmpfs: initialized [ 0.171001] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.181370] prandom: seed boundary self test passed [ 0.190128] prandom: 100 self tests passed [ 0.194312] pinctrl core: initialized pinctrl subsystem [ 0.200996] NET: Registered protocol family 16 [ 0.205955] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.237965] cpuidle: using governor ladder [ 0.267960] cpuidle: using governor menu [ 0.272364] Feroceon L2: Enabling L2 [ 0.276045] Feroceon L2: Cache support initialised. [ 0.281391] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.296948] No ATAGs? [ 0.329469] vgaarb: loaded [ 0.332884] usbcore: registered new interface driver usbfs [ 0.338566] usbcore: registered new interface driver hub [ 0.344009] usbcore: registered new device driver usb [ 0.350276] clocksource: Switched to clocksource orion_clocksource [ 0.416097] NET: Registered protocol family 2 [ 0.421378] TCP established hash table entries: 2048 (order: 1, 8192 bytes) [ 0.428419] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.434971] TCP: Hash tables configured (established 2048 bind 2048) [ 0.441464] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.447371] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.453918] NET: Registered protocol family 1 [ 0.458696] RPC: Registered named UNIX socket transport module. [ 0.464723] RPC: Registered udp transport module. [ 0.469491] RPC: Registered tcp transport module. [ 0.474274] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.481073] Unpacking initramfs... [ 1.129617] Freeing initrd memory: 7012K (c1100000 - c17d9000) [ 1.135685] NetWinder Floating Point Emulator V0.97 (double precision) [ 1.143420] futex hash table entries: 256 (order: -1, 3072 bytes) [ 1.149633] audit: initializing netlink subsys (disabled) [ 1.155174] audit: type=2000 audit(1.140:1): initialized [ 1.160932] Initialise system trusted keyring [ 1.165756] zbud: loaded [ 1.168657] VFS: Disk quotas dquot_6.6.0 [ 1.172756] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.180357] NFS: Registering the id_resolver key type [ 1.185507] Key type id_resolver registered [ 1.189756] Key type id_legacy registered [ 1.193892] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.200672] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.207304] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.214959] Key type big_key registered [ 1.239372] Key type asymmetric registered [ 1.243780] Asymmetric key parser 'x509' registered [ 1.248812] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) [ 1.256408] io scheduler noop registered [ 1.260475] io scheduler deadline registered [ 1.264869] io scheduler cfq registered (default) [ 1.271079] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 1.279115] irq: Cannot allocate irq_descs @ IRQ32, assuming pre-allocated [ 1.286549] irq: Cannot allocate irq_descs @ IRQ64, assuming pre-allocated [ 1.294059] mv_xor f1060800.xor: Marvell shared XOR driver [ 1.341019] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 1.348610] mv_xor f1060900.xor: Marvell shared XOR driver [ 1.390999] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 1.398859] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 1.406760] console [ttyS0] disabled [ 1.410518] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A [ 1.419558] console [ttyS0] enabled [ 1.419558] console [ttyS0] enabled [ 1.426696] bootconsole [earlycon0] disabled [ 1.426696] bootconsole [earlycon0] disabled [ 1.436788] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1 [ 1.443206] nand: Samsung NAND 128MiB 3,3V 8-bit [ 1.447847] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 1.455475] Scanning device for bad blocks [ 1.568763] 4 cmdlinepart partitions found on MTD device orion_nand [ 1.575081] Creating 4 MTD partitions on "orion_nand": [ 1.580253] 0x000000000000-0x000000100000 : "u-boot" [ 1.586627] 0x000000100000-0x000000500000 : "uImage" [ 1.592927] 0x000000500000-0x000002500000 : "rootfs" [ 1.599201] 0x000002500000-0x000008000000 : "data" [ 1.606536] libphy: Fixed MDIO Bus: probed [ 1.611060] libphy: orion_mdio_bus: probed [ 1.619998] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 2.701091] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address aa:bb:cc:dd:ee:ff [ 2.709973] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.716595] ehci-pci: EHCI PCI platform driver [ 2.721164] ehci-orion: EHCI orion driver [ 2.725373] orion-ehci f1050000.ehci: EHCI Host Controller [ 2.730945] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 2.738801] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000 [ 2.760312] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 2.766560] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.773411] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.780693] usb usb1: Product: EHCI Host Controller [ 2.785591] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd [ 2.792255] usb usb1: SerialNumber: f1050000.ehci [ 2.797760] hub 1-0:1.0: USB hub found [ 2.801616] hub 1-0:1.0: 1 port detected [ 2.806587] mousedev: PS/2 mouse device common for all mice [ 3.120313] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 3.271935] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 [ 3.278686] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 3.285893] usb 1-1: Product: USB2.0 Hub [ 3.290803] hub 1-1:1.0: USB hub found [ 3.294935] hub 1-1:1.0: 4 ports detected [ 3.580306] usb 1-1.4: new high-speed USB device number 3 using orion-ehci [ 3.691306] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5571 [ 3.698231] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 3.705615] usb 1-1.4: Product: Cruzer Fit [ 3.709736] usb 1-1.4: Manufacturer: SanDisk [ 3.714047] usb 1-1.4: SerialNumber: 12345678 [ 3.820309] rtc-mv f1010300.rtc: internal RTC not ticking [ 3.825946] i2c /dev entries driver [ 3.830781] hidraw: raw HID events driver (C) Jiri Kosina [ 3.836603] drop_monitor: Initializing network drop monitor service [ 3.843189] NET: Registered protocol family 17 [ 3.847921] Key type dns_resolver registered [ 3.853142] registered taskstats version 1 [ 3.857305] Loading compiled-in X.509 certificates [ 3.862212] zswap: loaded using pool lzo/zbud [ 3.875420] Key type encrypted registered [ 3.879981] hctosys: unable to open rtc device (rtc0) [ 3.887473] Freeing unused kernel memory: 296K (c07d8000 - c0822000) Loading, please wait... [ 3.964898] systemd-udevd[83]: starting version 215 [ 3.982048] random: systemd-udevd urandom read with 7 bits of entropy available [ 4.138390] SCSI subsystem initialized [ 4.184428] usb-storage 1-1.4:1.0: USB Mass Storage device detected [ 4.234597] scsi host0: usb-storage 1-1.4:1.0 [ 4.247827] usbcore: registered new interface driver usb-storage [ 4.275813] usbcore: registered new interface driver uas [ 5.231783] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Fit 1.26 PQ: 0 ANSI: 5 [ 5.249131] sd 0:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB) [ 5.258727] sd 0:0:0:0: [sda] Write Protect is off [ 5.264346] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 5.293581] sda: sda1 [ 5.299722] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 5.309471] sd 0:0:0:0: Attached scsi generic sg0 type 0 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... done. modprobe: module ext3 not found in modules.dep Begin: Checking root file system ... fsck from util-linux 2.25.2 fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1 fsck exited with status code 8 done. Warning: File system check failed but did not detect errors [ 19.531139] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem [ 19.550161] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [....] Using makefile-style concurrent boot in runlevel S. [....] Starting the hotplug events dispatcher: udevd [ 20.877931] systemd-udevd[290]: starting version 215 [....] Synthesizing the initial hotplug events... [....] Waiting for /dev to be fully populated... [ 21.378481] orion_wdt: Initial timeout 21 sec [ 21.425024] marvell-cesa: probe of f1030000.crypto failed with error -524 [ 22.052736] random: nonblocking pool is initialized [....] Activating swap... [ 22.332538] EXT4-fs (sda1): re-mounted. Opts: (null) [....] Checking root file system...fsck from util-linux 2.25.2 rootfs: clean, 14632/488640 files, 178903/1953792 blocks [ 22.547409] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [....] Activating lvm and md swap... [....] Checking file systems...fsck from util-linux 2.25.2 [....] Loading kernel modules... [....] Cleaning up temporary files... /tmp [....] Mounting local filesystems... [....] Activating swapfile swap... [....] Cleaning up temporary files... [....] Setting kernel variables ... [ 25.113594] NET: Registered protocol family 10 [ 26.294920] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/aa:bb:cc:dd:ee:ff Sending on LPF/eth0/aa:bb:cc:dd:ee:ff Sending on Socket/fallback DHCPREQUEST on eth0 to 255.255.255.255 port 67 [ 28.908969] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled [ 28.918894] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 192.168.0.2 bound to 192.168.0.1 -- renewal in 82535 seconds. [....] Starting rpcbind daemon... [....] Starting NFS common utilities: statd idmapd [....] Cleaning up temporary files... INIT: Entering runlevel: 2 [....] Using makefile-style concurrent boot in runlevel 2. [....] Starting busybox' syslogd implementation : syslogd Starting /sbin/syslogd... 1277 (syslogd) [....] Starting system message bus: dbus [....] Starting NFS common utilities: statd idmapd [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [....] Not starting NFS kernel daemon: no exports. ... [....] Starting NTP server: ntpd [....] Starting OpenBSD Secure Shell server: sshd [....] Starting busybox' klogd implementation : klogd Starting /sbin/klogd... 1275 (klogd) Debian GNU/Linux 8 debian ttyS0 debian login: root Password: Last login: Mon Aug 15 05:57:26 PDT 2016 on ttyS0 Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 05b00000 00020000 "data" root@debian:~# dmesg|grep -i mtd [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) [ 1.568763] 4 cmdlinepart partitions found on MTD device orion_nand [ 1.575081] Creating 4 MTD partitions on "orion_nand":