[ 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: 0xff ffffff, max_idle_ns: 11467562657 ns [ 0.000015] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884 901885ns [ 0.000809] Console: colour dummy device 80x30 [ 0.000863] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216) [ 0.090136] pid_max: default: 32768 minimum: 301 [ 0.090452] Security Framework initialized [ 0.090692] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090724] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.092427] CPU: Testing write buffer coherency: ok [ 0.093097] Setting up static identity map for 0x8200 - 0x8258 [ 0.093493] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.099723] devtmpfs: initialized [ 0.107856] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns [ 0.108273] prandom: seed boundary self test passed [ 0.113963] prandom: 100 self tests passed [ 0.113991] pinctrl core: initialized pinctrl subsystem [ 0.115943] NET: Registered protocol family 16 [ 0.116678] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.140170] cpuidle: using governor ladder [ 0.170165] cpuidle: using governor menu [ 0.170814] Feroceon L2: Enabling L2 [ 0.170881] Feroceon L2: Cache support initialised. [ 0.171521] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet 0-port@0: local-mac-address is not set [ 0.178964] No ATAGs? [ 0.212324] vgaarb: loaded [ 0.212846] usbcore: registered new interface driver usbfs [ 0.212992] usbcore: registered new interface driver hub [ 0.213115] usbcore: registered new device driver usb [ 0.214753] clocksource: Switched to clocksource orion_clocksource [ 0.283467] VFS: Disk quotas dquot_6.6.0 [ 0.283587] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.300845] NET: Registered protocol family 2 [ 0.302111] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.302154] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.302186] TCP: Hash tables configured (established 1024 bind 1024) [ 0.302284] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.302319] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.302581] NET: Registered protocol family 1 [ 0.303333] RPC: Registered named UNIX socket transport module. [ 0.303350] RPC: Registered udp transport module. [ 0.303362] RPC: Registered tcp transport module. [ 0.303373] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.303746] Unpacking initramfs... [ 1.164414] Freeing initrd memory: 6380K (c74de000 - c7b19000) [ 1.164620] NetWinder Floating Point Emulator V0.97 (double precision) [ 1.166204] futex hash table entries: 256 (order: -1, 3072 bytes) [ 1.166274] audit: initializing netlink subsys (disabled) [ 1.166351] audit: type=2000 audit(1.160:1): initialized [ 1.166825] Initialise system trusted keyrings [ 1.167125] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 1.167256] zbud: loaded [ 1.168612] NFS: Registering the id_resolver key type [ 1.168650] Key type id_resolver registered [ 1.168664] Key type id_legacy registered [ 1.168689] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.168703] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.169094] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.169506] orangefs_init: called with debug mask: :none: :0: [ 1.170074] orangefs: module version upstream loaded [ 1.170452] Key type big_key registered [ 2.554763] random: fast init done [ 7.312838] Key type asymmetric registered [ 7.312864] Asymmetric key parser 'x509' registered [ 7.312988] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 49) [ 7.313006] io scheduler noop registered [ 7.313019] io scheduler deadline registered [ 7.313067] io scheduler cfq registered (default) [ 7.314351] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 4 7 [ 7.314377] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 4 9 [ 7.315159] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driv er [ 7.316551] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated [ 7.317514] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated [ 7.318714] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridg e to bus 0000:00 [ 7.318744] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 7.318764] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 7.318785] pci_bus 0000:00: root bus resource [bus 00-ff] [ 7.319347] PCI: bus0: Fast back to back transfers disabled [ 7.319382] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec onfiguring [ 7.319738] PCI: bus1: Fast back to back transfers enabled [ 7.319850] pci 0000:00:01.0: PCI bridge to [bus 01] [ 7.320308] mv_xor f1060800.xor: Marvell shared XOR driver [ 7.375859] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 7.376207] mv_xor f1060900.xor: Marvell shared XOR driver [ 7.435821] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 7.436552] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 7.438700] console [ttyS0] disabled [ 7.438794] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 10416666) is a 16550A [ 8.092285] console [ttyS0] enabled [ 8.097666] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 8.103999] nand: Hynix H27U1G8F2BTR-BC [ 8.107872] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz e: 64 [ 8.115455] Scanning device for bad blocks [ 8.125254] Bad eraseblock 68 at 0x000000880000 [ 8.208898] 5 cmdlinepart partitions found on MTD device orion_nand [ 8.215171] Creating 5 MTD partitions on "orion_nand": [ 8.220302] 0x000000000000-0x000000200000 : "u-boot" [ 8.227352] 0x000000200000-0x000000500000 : "uImage" [ 8.234302] 0x000000500000-0x000000800000 : "uImage2" [ 8.241411] 0x000000800000-0x000001000000 : "failsafe" [ 8.248680] 0x000001000000-0x000008000000 : "root" [ 8.258810] libphy: Fixed MDIO Bus: probed [ 8.263095] libphy: mdio_driver_register: mv88e6085 [ 8.268566] libphy: orion_mdio_bus: probed [ 8.281700] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 9.382968] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:05:ca:0a [ 9.391860] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.398430] ehci-pci: EHCI PCI platform driver [ 9.402950] ehci-orion: EHCI orion driver [ 9.407224] orion-ehci f1050000.ehci: EHCI Host Controller [ 9.412733] orion-ehci f1050000.ehci: new USB bus registered, assigned bus nu mber 1 [ 9.420638] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000 [ 9.454801] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 9.461098] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 9.467900] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 9.475119] usb usb1: Product: EHCI Host Controller [ 9.479984] usb usb1: Manufacturer: Linux 4.8.3-kirkwood-tld-1 ehci_hcd [ 9.486600] usb usb1: SerialNumber: f1050000.ehci [ 9.492396] hub 1-0:1.0: USB hub found [ 9.496277] hub 1-0:1.0: 1 port detected [ 9.501576] mousedev: PS/2 mouse device common for all mice [ 10.564792] rtc-mv f1010300.rtc: internal RTC not ticking [ 10.570463] i2c /dev entries driver [ 10.575643] hidraw: raw HID events driver (C) Jiri Kosina [ 10.581689] drop_monitor: Initializing network drop monitor service [ 10.588323] NET: Registered protocol family 17 [ 10.593046] Key type dns_resolver registered [ 10.598588] registered taskstats version 1 [ 10.602673] Loading compiled-in X.509 certificates [ 10.607558] zswap: loaded using pool lzo/zbud [ 10.646382] Key type encrypted registered [ 10.651122] hctosys: unable to open rtc device (rtc0) [ 10.659687] Freeing unused kernel memory: 308K (c07dd000 - c082a000) [ 10.666195] This architecture does not have kernel memory protection. Loading, please wait... [ 10.776137] udevd[91]: starting version 175 [ 11.356068] SCSI subsystem initialized [ 11.402943] mvsdio f1090000.mvsdio: Got CD GPIO [ 11.495358] sata_mv f1080000.sata: slots 32 ports 1 [ 11.529670] scsi host0: sata_mv [ 11.533401] ata1: SATA max UDMA/133 irq 32 [ 11.545738] mmc0: host does not support reading read-only switch, assuming wr ite-enable [ 11.545830] mmc0: new SD card at address bc6a [ 11.619246] mmcblk0: mmc0:bc6a SU02G 1.84 GiB [ 11.629069] mmcblk0: p1 [ 11.936586] ata1: SATA link down (SStatus 0 SControl F300) 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 [ 22.097911] EXT4-fs (mmcblk0p1): mounting ext3 file system using the ext4 sub system [ 22.107902] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesyst em [ 22.115331] EXT4-fs (mmcblk0p1): write access will be enabled during recovery [ 34.377015] EXT4-fs (mmcblk0p1): recovery complete [ 34.391946] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. O pts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [....] Starting the hotplug events dispatcher: udevd[ 36.156271] udevd[293]: s tarting version 175 . ok [ ok ] Synthesizing the initial hotplug events...done. [ 36.710869] input: gpio_keys as /devices/platform/gpio_keys/input/input0 [....] Waiting for /dev to be fully populated...[ 37.396535] orion_wdt: Initia l timeout 25 sec [ 37.494649] marvell-cesa f1030000.crypto: CESA device successfully registered done. [ ok ] Activating swap...done. [ 39.087658] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null) [....] Checking root file system...fsck from util-linux 2.20.1 rootfs: clean, 16747/120720 files, 150671/482670 blocks done. [ 39.440306] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro [ ok ] Loading kernel modules...done. [ ok ] Cleaning up temporary files... /tmp /lib/init/rw. [ ok ] Activating lvm and md swap...done. [....] Checking file systems...fsck from util-linux 2.20.1 done. [ ok ] Mounting local filesystems...done. [ ok ] Activating swapfile swap...done. [ ok ] Cleaning up temporary files.... [ ok ] Setting kernel variables ...done. [....] Configuring network interfaces...[ 46.518259] NET: Registered protocol family 10 Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ run-parts: failed to stat component /etc/dhcp/dhclient-enter-hooks.d/samba: No s uch file or directory [ 47.856371] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Listening on LPF/eth0/00:25:31:05:ca:0a Sending on LPF/eth0/00:25:31:05:ca:0a Sending on Socket/fallback DHCPREQUEST on eth0 to 255.255.255.255 port 67 [ 49.500844] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled [ 49.510644] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 192.168.0.1 run-parts: failed to stat component /etc/dhcp/dhclient-enter-hooks.d/samba: No s uch file or directory bound to 192.168.0.107 -- renewal in 234203 seconds. done. [ ok ] Starting rpcbind daemon.... [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Cleaning up temporary files.... INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd. .. 1761 (syslogd) . ok [ ok ] Starting system message bus: dbus. [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Starting rpcbind daemon...[....] Already running.. [ ok ] Starting NTP server: ntpd. 1760 (klogd) . ok [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting OpenBSD Secure Shell server: sshd. Debian GNU/Linux 7 debian ttyS0 debian login: root Password: Last login: Sat Nov 26 22:15:07 PST 2016 on ttyS0 Linux debian 4.8.3-kirkwood-tld-1 #1 PREEMPT Thu Oct 20 23:33:18 PDT 2016 armv5t el 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:~# apt-get install samba E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. root@debian:~# dpkg --configure -a Processing triggers for man-db ... Setting up libwbclient0:armel (2:3.6.6-6+deb7u10) ... dpkg: dependency problems prevent configuration of libswitch-perl: libswitch-perl depends on perl-modules; however: Package perl-modules is not installed. dpkg: error processing libswitch-perl (--configure): dependency problems - leaving unconfigured Setting up libtdb1:armel (1.2.10-2) ... Setting up libclass-isa-perl (0.36-3) ... Setting up samba-common (2:3.6.6-6+deb7u10) ... Creating config file /etc/samba/smb.conf with new version dpkg: dependency problems prevent configuration of perl: perl depends on perl-modules (>= 5.14.2-21+deb7u4); however: Package perl-modules is not installed. dpkg: error processing perl (--configure): dependency problems - leaving unconfigured Setting up libavahi-client3:armel (0.6.31-2) ... Setting up libtalloc2:armel (2.0.7+git20120207-1) ... Setting up libcups2:armel (1.5.3-5+deb7u6) ... Errors were encountered while processing: libswitch-perl perl root@debian:~# apt-get install samba [ 116.953268] random: crng init done Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libfile-copy-recursive-perl perl-modules update-inetd Suggested packages: libpod-plainer-perl openbsd-inetd inet-superserver smbldap-tools ldb-tools ctdb Recommended packages: logrotate tdb-tools The following NEW packages will be installed: libfile-copy-recursive-perl samba update-inetd The following packages will be upgraded: perl-modules 1 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0 B/6851 kB of archives. After this operation, 35.0 MB of additional disk space will be used. Do you want to continue [Y/n]? y Preconfiguring packages ... (Reading database ... 14967 files and directories currently installed.) Preparing to replace perl-modules 5.14.2-21+deb7u4 (using .../perl-modules_5.14. 2-21+deb7u4_all.deb) ... Unpacking replacement perl-modules ... Selecting previously unselected package libfile-copy-recursive-perl. Unpacking libfile-copy-recursive-perl (from .../libfile-copy-recursive-perl_0.38 -1_all.deb) ... Selecting previously unselected package update-inetd. Unpacking update-inetd (from .../update-inetd_4.43_all.deb) ... Selecting previously unselected package samba. Unpacking samba (from .../samba_2%3a3.6.6-6+deb7u10_armel.deb) ... Processing triggers for man-db ... Setting up perl-modules (5.14.2-21+deb7u4) ... Setting up perl (5.14.2-21+deb7u4) ... update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode Setting up libfile-copy-recursive-perl (0.38-1) ... Setting up update-inetd (4.43) ... Setting up samba (2:3.6.6-6+deb7u10) ... Generating /etc/default/samba... Adding group `sambashare' (GID 107) ... Done. update-alternatives: using /usr/bin/smbstatus.samba3 to provide /usr/bin/smbstat us (smbstatus) in auto mode [ ok ] Starting Samba daemons: nmbd smbd. Setting up libswitch-perl (2.16-2) ... root@debian:~# [ 277.194803] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 277.391523] usb 1-1: New USB device found, idVendor=13fe, idProduct=3600 [ 277.398247] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 277.405766] usb 1-1: Product: Patriot Memory [ 277.410024] usb 1-1: Manufacturer: [ 277.414197] usb 1-1: SerialNumber: 07B901018CD50406 [ 277.635391] usb-storage 1-1:1.0: USB Mass Storage device detected [ 277.641942] usb-storage 1-1:1.0: Quirks match for vid 13fe pid 3600: 4000 [ 277.649397] scsi host1: usb-storage 1-1:1.0 [ 277.656616] usbcore: registered new interface driver usb-storage [ 277.671212] usbcore: registered new interface driver uas [ 278.757542] scsi 1:0:0:0: Direct-Access Patriot Memory PMAP PQ : 0 ANSI: 0 CCS [ 280.036092] sd 1:0:0:0: [sda] 7811072 512-byte logical blocks: (4.00 GB/3.72 GiB) [ 280.044059] sd 1:0:0:0: [sda] Write Protect is off [ 280.049819] sd 1:0:0:0: [sda] No Caching mode page found [ 280.055534] sd 1:0:0:0: [sda] Assuming drive cache: write through [ 280.098307] sda: sda1 [ 280.105949] sd 1:0:0:0: [sda] Attached SCSI removable disk [ 280.134507] sd 1:0:0:0: Attached scsi generic sg0 type 0 mkdir -p /media/usb/share root@debian:~# mkdir -p /media/usb/share root@debian:~# mount /dev/sda1 /media/usb/share [ 302.405432] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT files ystems, filesystem will be case sensitive! root@debian:~# wget --no-check-certificate https://dl.dropboxusercontent.com/u/4 2238/pogoplug/debian/smb.conf --2016-11-26 22:29:59-- https://dl.dropboxusercontent.com/u/42238/pogoplug/debi an/smb.conf Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 199.47.217.37 Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|199.47.217.3 7|:443... connected. WARNING: The certificate of `dl.dropboxusercontent.com' is not trusted. WARNING: The certificate of `dl.dropboxusercontent.com' hasn't got a known issue r. HTTP request sent, awaiting response... 200 OK Length: 674 [text/plain] Saving to: `smb.conf' 100%[======================================>] 674 --.-K/s in 0s 2016-11-26 22:29:59 (1.71 MB/s) - `smb.conf' saved [674/674] root@debian:~# /etc/init.d/samba restart [ ok ] Stopping Samba daemons: nmbd smbd. [ ok ] Starting Samba daemons: nmbd smbd. root@debian:~# echo "/dev/sda1 /media/usb ext3 rw,noatime,nofail 0 0" >> /etc/fs tab root@debian:~# reboot Broadcast message from root@debian (ttyS0) (Sat Nov 26 22:30:51 2016): The system is going down for reboot NOW! INIT: Switching to runlevel: 6 INIT: Sending p[info] Using makefile-style concurrent boot in runlevel 6. [ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon. [....] Stopping busybox' syslogd implementation: syslogd1761 (syslogd) . ok [....] Stopping busybox' klogd implementation: klogd1760 (klogd) Stopped klogd (pid 1760). . ok [ ok ] Stopping NFS kernel daemon: mountd nfsd. [ ok ] Unexporting directories for NFS kernel daemon.... [ ok ] Stopping Samba daemons: nmbd smbd. [ ok ] Asking all remaining processes to terminate...done. [ ok ] All processes ended within 1 seconds...done. rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w" [ ok ] Stopping rpcbind daemon.... [ ok ] Stopping NFS common utilities: idmapd statd. [....] Deconfiguring network interfaces...Internet Systems Consortium DHCP Clien t 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:25:31:05:ca:0a Sending on LPF/eth0/00:25:31:05:ca:0a Sending on Socket/fallback DHCPRELEASE on eth0 to 192.168.0.1 port 67 invoke-rc.d: ----------------------------------------------------- invoke-rc.d: WARNING: 'invoke-rc.d samba reload' called invoke-rc.d: during shutdown sequence. invoke-rc.d: enabling safe mode: initscript policy layer disabled invoke-rc.d: ----------------------------------------------------- Reloading /etc/samba/smb.conf: smbd only. done. [ ok ] Unmounting temporary filesystems...done. [ ok ] Deactivating swap...done. [ ok ] Unmounting local filesystems...done. [ 381.689596] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null) [info] Will now restart. [ 383.799595] reboot: Restarting system U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:59:45) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 MMC rescan: current device # 0 initialized OK 3232368 bytes read in 1409 ms (2.2 MiB/s) 10266 bytes read in 4527 ms (2 KiB/s) 6531090 bytes read in 2121 ms (2.9 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.8.3-kirkwood-tld-1 Created: 2016-11-26 23:57:49 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3232304 Bytes = 3.1 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.8.3-kirkwood-tld-1 Created: 2016-11-26 23:58:20 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6531026 Bytes = 6.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 074de000, end 07b187d2 ... OK Loading Device Tree to 074d8000, end 074dd819 ... OK Using machid 0xf78 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.8.3-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Thu Oct 20 23:33:18 PDT 2016 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397 f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt:Machine model: Pogoplug v4 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 roo tdelay=10 rootfstype=ext3 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2), 8M(failsafe),112M(root) [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 114180K/131072K available (6149K kernel code, 614K rwdata , 1664K rodata, 308K init, 318K bss, 16892K 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 : 0xc8800000 - 0xff800000 ( 880 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0609718 (6150 kB) [ 0.000000] .init : 0xc07dd000 - 0xc082a000 ( 308 kB) [ 0.000000] .data : 0xc082a000 - 0xc08c391c ( 615 kB) [ 0.000000] .bss : 0xc08c391c - 0xc0913170 ( 319 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: 0xff ffffff, max_idle_ns: 11467562657 ns [ 0.000015] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884 901885ns [ 0.000810] Console: colour dummy device 80x30 [ 0.000863] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216) [ 0.090137] pid_max: default: 32768 minimum: 301 [ 0.090455] Security Framework initialized [ 0.090694] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090728] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.092422] CPU: Testing write buffer coherency: ok [ 0.093092] Setting up static identity map for 0x8200 - 0x8258 [ 0.093488] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.099713] devtmpfs: initialized [ 0.107861] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 19112604462750000 ns [ 0.108275] prandom: seed boundary self test passed [ 0.113965] prandom: 100 self tests passed [ 0.113994] pinctrl core: initialized pinctrl subsystem [ 0.115941] NET: Registered protocol family 16 [ 0.116675] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.140171] cpuidle: using governor ladder [ 0.170166] cpuidle: using governor menu [ 0.170814] Feroceon L2: Enabling L2 [ 0.170881] Feroceon L2: Cache support initialised. [ 0.171520] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet 0-port@0: local-mac-address is not set [ 0.178965] No ATAGs? [ 0.212324] vgaarb: loaded [ 0.212848] usbcore: registered new interface driver usbfs [ 0.212993] usbcore: registered new interface driver hub [ 0.213114] usbcore: registered new device driver usb [ 0.214755] clocksource: Switched to clocksource orion_clocksource [ 0.283496] VFS: Disk quotas dquot_6.6.0 [ 0.283616] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.300868] NET: Registered protocol family 2 [ 0.302135] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.302180] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.302211] TCP: Hash tables configured (established 1024 bind 1024) [ 0.302309] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.302342] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.302608] NET: Registered protocol family 1 [ 0.303364] RPC: Registered named UNIX socket transport module. [ 0.303382] RPC: Registered udp transport module. [ 0.303393] RPC: Registered tcp transport module. [ 0.303404] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.303774] Unpacking initramfs... [ 1.164373] Freeing initrd memory: 6380K (c74de000 - c7b19000) [ 1.164578] NetWinder Floating Point Emulator V0.97 (double precision) [ 1.166175] futex hash table entries: 256 (order: -1, 3072 bytes) [ 1.166244] audit: initializing netlink subsys (disabled) [ 1.166319] audit: type=2000 audit(1.160:1): initialized [ 1.166791] Initialise system trusted keyrings [ 1.167086] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 1.167218] zbud: loaded [ 1.168573] NFS: Registering the id_resolver key type [ 1.168612] Key type id_resolver registered [ 1.168625] Key type id_legacy registered [ 1.168650] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.168665] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.169055] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.169469] orangefs_init: called with debug mask: :none: :0: [ 1.170036] orangefs: module version upstream loaded [ 1.170413] Key type big_key registered [ 2.554765] random: fast init done [ 7.312753] Key type asymmetric registered [ 7.312779] Asymmetric key parser 'x509' registered [ 7.312902] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 49) [ 7.312920] io scheduler noop registered [ 7.312933] io scheduler deadline registered [ 7.312982] io scheduler cfq registered (default) [ 7.314270] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 4 7 [ 7.314295] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 4 9 [ 7.315083] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driv er [ 7.316431] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated [ 7.317382] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated [ 7.318578] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridg e to bus 0000:00 [ 7.318607] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 7.318627] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 7.318647] pci_bus 0000:00: root bus resource [bus 00-ff] [ 7.319211] PCI: bus0: Fast back to back transfers disabled [ 7.319246] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), rec onfiguring [ 7.319603] PCI: bus1: Fast back to back transfers enabled [ 7.319712] pci 0000:00:01.0: PCI bridge to [bus 01] [ 7.320168] mv_xor f1060800.xor: Marvell shared XOR driver [ 7.375849] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 7.376194] mv_xor f1060900.xor: Marvell shared XOR driver [ 7.435827] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 7.436555] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 7.438693] console [ttyS0] disabled [ 7.438787] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 10416666) is a 16550A [ 8.092284] console [ttyS0] enabled [ 8.097654] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 8.103989] nand: Hynix H27U1G8F2BTR-BC [ 8.107861] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB siz e: 64 [ 8.115442] Scanning device for bad blocks [ 8.125225] Bad eraseblock 68 at 0x000000880000 [ 8.208855] 5 cmdlinepart partitions found on MTD device orion_nand [ 8.215125] Creating 5 MTD partitions on "orion_nand": [ 8.220249] 0x000000000000-0x000000200000 : "u-boot" [ 8.227296] 0x000000200000-0x000000500000 : "uImage" [ 8.234248] 0x000000500000-0x000000800000 : "uImage2" [ 8.241359] 0x000000800000-0x000001000000 : "failsafe" [ 8.248611] 0x000001000000-0x000008000000 : "root" [ 8.258746] libphy: Fixed MDIO Bus: probed [ 8.263034] libphy: mdio_driver_register: mv88e6085 [ 8.268500] libphy: orion_mdio_bus: probed [ 8.281633] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 9.382936] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:05:ca:0a [ 9.391827] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.398393] ehci-pci: EHCI PCI platform driver [ 9.402915] ehci-orion: EHCI orion driver [ 9.407187] orion-ehci f1050000.ehci: EHCI Host Controller [ 9.412697] orion-ehci f1050000.ehci: new USB bus registered, assigned bus nu mber 1 [ 9.420603] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000 [ 9.454803] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 9.461111] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 9.467915] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= 1 [ 9.475134] usb usb1: Product: EHCI Host Controller [ 9.479999] usb usb1: Manufacturer: Linux 4.8.3-kirkwood-tld-1 ehci_hcd [ 9.486615] usb usb1: SerialNumber: f1050000.ehci [ 9.492411] hub 1-0:1.0: USB hub found [ 9.496292] hub 1-0:1.0: 1 port detected [ 9.501615] mousedev: PS/2 mouse device common for all mice [ 9.854801] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 10.051480] usb 1-1: New USB device found, idVendor=13fe, idProduct=3600 [ 10.058202] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 10.065358] usb 1-1: Product: Patriot Memory [ 10.069618] usb 1-1: Manufacturer: [ 10.073790] usb 1-1: SerialNumber: 07B901018CD50406 [ 10.564802] rtc-mv f1010300.rtc: internal RTC not ticking [ 10.570440] i2c /dev entries driver [ 10.575640] hidraw: raw HID events driver (C) Jiri Kosina [ 10.581708] drop_monitor: Initializing network drop monitor service [ 10.588338] NET: Registered protocol family 17 [ 10.593059] Key type dns_resolver registered [ 10.598588] registered taskstats version 1 [ 10.602679] Loading compiled-in X.509 certificates [ 10.607567] zswap: loaded using pool lzo/zbud [ 10.646512] Key type encrypted registered [ 10.651215] hctosys: unable to open rtc device (rtc0) [ 10.659803] Freeing unused kernel memory: 308K (c07dd000 - c082a000) [ 10.666313] This architecture does not have kernel memory protection. Loading, please wait... [ 10.776217] udevd[92]: starting version 175 [ 11.360922] SCSI subsystem initialized [ 11.401243] usb-storage 1-1:1.0: USB Mass Storage device detected [ 11.448216] mvsdio f1090000.mvsdio: Got CD GPIO [ 11.458068] usb-storage 1-1:1.0: Quirks match for vid 13fe pid 3600: 4000 [ 11.490992] scsi host0: usb-storage 1-1:1.0 [ 11.515149] sata_mv f1080000.sata: slots 32 ports 1 [ 11.533825] scsi host1: sata_mv [ 11.534425] ata1: SATA max UDMA/133 irq 32 [ 11.563348] mmc0: host does not support reading read-only switch, assuming wr ite-enable [ 11.563441] mmc0: new SD card at address bc6a [ 11.633182] usbcore: registered new interface driver usb-storage [ 11.657098] usbcore: registered new interface driver uas [ 11.689914] mmcblk0: mmc0:bc6a SU02G 1.84 GiB [ 11.699773] mmcblk0: p1 [ 11.866825] ata1: SATA link down (SStatus 0 SControl F300) [ 12.647129] scsi 0:0:0:0: Direct-Access Patriot Memory PMAP PQ : 0 ANSI: 0 CCS [ 12.680821] sd 0:0:0:0: [sda] 7811072 512-byte logical blocks: (4.00 GB/3.72 GiB) [ 12.689538] sd 0:0:0:0: [sda] Write Protect is off [ 12.694915] sd 0:0:0:0: [sda] No Caching mode page found [ 12.700216] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 12.714738] sda: sda1 [ 12.721780] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 12.745702] 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 [ 22.068419] EXT4-fs (mmcblk0p1): mounting ext3 file system using the ext4 sub system [ 22.094948] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. O pts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [....] Starting the hotplug events dispatcher: udevd[ 23.916205] udevd[303]: s tarting version 175 . ok [ ok ] Synthesizing the initial hotplug events...done. [ 24.518491] input: gpio_keys as /devices/platform/gpio_keys/input/input0 [....] Waiting for /dev to be fully populated...[ 25.045292] orion_wdt: Initia l timeout 25 sec [ 25.190316] marvell-cesa f1030000.crypto: CESA device successfully registered done. [ ok ] Activating swap...done. [ 27.031134] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null) [....] Checking root file system...fsck from util-linux 2.20.1 rootfs: clean, 17642/120720 files, 160268/482670 blocks done. [ 27.402727] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro [ ok ] Loading kernel modules...done. [ ok ] Cleaning up temporary files... /tmp /lib/init/rw. [ ok ] Activating lvm and md swap...done. [....] Checking file systems...fsck from util-linux 2.20.1 done. [....] Mounting local filesystems...[ 32.292105] EXT4-fs (sda1): VFS: Can't fi nd ext4 filesystem mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so failed. [ ok ] Activating swapfile swap...done. [ ok ] Cleaning up temporary files.... [ ok ] Setting kernel variables ...done. [....] Configuring network interfaces...[ 34.499390] NET: Registered protocol family 10 Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ [ 35.856770] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Listening on LPF/eth0/00:25:31:05:ca:0a Sending on LPF/eth0/00:25:31:05:ca:0a Sending on Socket/fallback DHCPREQUEST on eth0 to 255.255.255.255 port 67 [ 37.526312] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled [ 37.536090] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 192.168.0.1 Reloading /etc/samba/smb.conf: smbd only. bound to 192.168.0.107 -- renewal in 264009 seconds. done. [ ok ] Starting rpcbind daemon.... [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Cleaning up temporary files.... INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd. .. 1798 (syslogd) . ok [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... [ ok ] Starting system message bus: dbus. [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Starting NTP server: ntpd. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. 1797 (klogd) . ok [ ok ] Starting rpcbind daemon...[....] Already running.. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting Samba daemons: nmbd smbd. [ ok ] Starting OpenBSD Secure Shell server: sshd. Debian GNU/Linux 7 debian ttyS0 debian login: root Password: Last login: Sat Nov 26 22:25:45 PST 2016 on ttyS0 Linux debian 4.8.3-kirkwood-tld-1 #1 PREEMPT Thu Oct 20 23:33:18 PDT 2016 armv5t el 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:~# [ 84.244860] random: crng init done cat /proc/mtd dev: size erasesize name mtd0: 00200000 00020000 "u-boot" mtd1: 00300000 00020000 "uImage" mtd2: 00300000 00020000 "uImage2" mtd3: 00800000 00020000 "failsafe" mtd4: 07000000 00020000 "root" root@debian:~# ^C root@debian:~# apt-get update Get:1 http://security.debian.org wheezy/updates Release.gpg [1554 B] Hit http://ftp.us.debian.org wheezy Release.gpg Get:2 http://security.debian.org wheezy/updates Release [39.0 kB] Hit http://ftp.us.debian.org wheezy Release Hit http://ftp.us.debian.org wheezy/main armel Packages Hit http://ftp.us.debian.org wheezy/main Translation-en Get:3 http://security.debian.org wheezy/updates/main armel Packages [437 kB] Get:4 http://security.debian.org wheezy/updates/contrib armel Packages [14 B] Get:5 http://security.debian.org wheezy/updates/non-free armel Packages [14 B] Get:6 http://security.debian.org wheezy/updates/contrib Translation-en [14 B] Get:7 http://security.debian.org wheezy/updates/main Translation-en [247 kB] Get:8 http://security.debian.org wheezy/updates/non-free Translation-en [14 B] Fetched 725 kB in 31s (23.2 kB/s) Reading package lists... Done root@debian:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@debian:~# nandwrite -bash: nandwrite: command not found root@debian:~# wget http://forum.doozan.com/file.php?3,file=160,filename=kwboot- tool.tar.gz,download=1 --2016-11-26 22:56:13-- http://forum.doozan.com/file.php?3,file=160,filename=kw boot-tool.tar.gz,download=1 Resolving forum.doozan.com (forum.doozan.com)... 50.116.34.13 Connecting to forum.doozan.com (forum.doozan.com)|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 7319 (7.1K) [application/octet-stream] Saving to: `file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1' 100%[======================================>] 7,319 --.-K/s in 0s 2016-11-26 22:56:13 (63.9 MB/s) - `file.php?3,file=160,filename=kwboot-tool.tar. gz,download=1' saved [7319/7319] root@debian:~# dir current_envs.txt file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1 linux-tools-installation-bodhi.tar.gz mtd0 myip.get smb.conf tools uboot.2016.05-tld-1.pogo_v4.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar.1 root@debian:~# cd tools root@debian:~/tools# dir busybox e2fsck flash_erase fw_env.config fw_printenv nanddump nandwrite root@debian:~/tools# cd root@debian:~# cd kwboot-tool.tar.gz -bash: cd: kwboot-tool.tar.gz: No such file or directory root@debian:~# dir current_envs.txt file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1 linux-tools-installation-bodhi.tar.gz mtd0 myip.get smb.conf tools uboot.2016.05-tld-1.pogo_v4.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar.1 root@debian:~# tar -xfj kwboot-tool.tar.gz tar: j: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@debian:~# dir current_envs.txt file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1 linux-tools-installation-bodhi.tar.gz mtd0 myip.get smb.conf tools uboot.2016.05-tld-1.pogo_v4.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar.1 root@debian:~# wget http://forum.doozan.com/file.php?3,file=160,filename=kwboot- tool.tar.gz,download=1 --2016-11-26 22:58:40-- http://forum.doozan.com/file.php?3,file=160,filename=kw boot-tool.tar.gz,download=1 Resolving forum.doozan.com (forum.doozan.com)... 50.116.34.13 Connecting to forum.doozan.com (forum.doozan.com)|50.116.34.13|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 7319 (7.1K) [application/octet-stream] Saving to: `file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1.1' 100%[======================================>] 7,319 --.-K/s in 0s 2016-11-26 22:58:40 (70.7 MB/s) - `file.php?3,file=160,filename=kwboot-tool.tar. gz,download=1.1' saved [7319/7319] root@debian:~# dir current_envs.txt file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1 file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1.1 linux-tools-installation-bodhi.tar.gz mtd0 myip.get smb.conf tools uboot.2016.05-tld-1.pogo_v4.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar.1 root@debian:~# cd /tmp root@debian:/tmp# dir root@debian:/tmp# cd root@debian:~# dir current_envs.txt file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1 file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1.1 linux-tools-installation-bodhi.tar.gz mtd0 myip.get smb.conf tools uboot.2016.05-tld-1.pogo_v4.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar.1 root@debian:~# tar -xf kwboot-tool.tar.gz tar: kwboot-tool.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@debian:~# dir current_envs.txt file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1 file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1.1 linux-tools-installation-bodhi.tar.gz mtd0 myip.get smb.conf tools uboot.2016.05-tld-1.pogo_v4.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar.1 root@debian:~# is -bash: is: command not found root@debian:~# file -bash: file: command not found root@debian:~# tar kwboot-tool.tar tar: Old option `b' requires an argument. Try `tar --help' or `tar --usage' for more information. root@debian:~# tar --usage Usage: tar [-AcdrtuxGnSkUWOmpsMBiajJzZhPlRvwo?] [-g FILE] [-f ARCHIVE] [-F NAME] [-L NUMBER] [-b BLOCKS] [-H FORMAT] [-V TEXT] [-I PROG] [-C DIR] [-K MEMBER-NAME] [-N DATE-OR-FILE] [-T FILE] [-X FILE] [--catenate] [--concatenate] [--create] [--diff] [--compare] [--delete] [--append] [--list] [--test-label] [--update] [--extract] [--get] [--check-device] [--listed-incremental=FILE] [--incremental] [--ignore-failed-read] [--level=NUMBER] [--seek] [--no-check-device] [--no-seek] [--occurrence[=NUMBER]] [--sparse-version=MAJOR[.MINOR]] [--sparse] [--keep-old-files] [--keep-newer-files] [--no-overwrite-dir] [--overwrite] [--overwrite-dir] [--recursive-unlink] [--remove-files] [--unlink-first] [--verify] [--ignore-command-error] [--no-ignore-command-error] [--to-stdout] [--to-command=COMMAND] [--atime-preserve[=METHOD]] [--delay-directory-restore] [--group=NAME] [--mode=CHANGES] [--mtime=DATE-OR-FILE] [--touch] [--no-delay-directory-restore] [--no-same-owner] [--no-same-permissions] [--numeric-owner] [--owner=NAME] [--preserve-permissions] [--same-permissions] [--preserve] [--same-owner] [--preserve-order] [--same-order] [--file=ARCHIVE] [--force-local] [--info-script=NAME] [--new-volume-script=NAME] [--tape-length=NUMBER] [--multi-volume] [--rmt-command=COMMAND] [--rsh-command=COMMAND] [--volno-file=FILE] [--blocking-factor=BLOCKS] [--read-full-records] [--ignore-zeros] [--record-size=NUMBER] [--format=FORMAT] [--old-archive] [--portability] [--pax-option=keyword[[:]=value][,keyword[[:]=value]]...] [--posix] [--label=TEXT] [--auto-compress] [--use-compress-program=PROG] [--bzip2] [--xz] [--lzip] [--lzma] [--lzop] [--no-auto-compress] [--gzip] [--gunzip] [--ungzip] [--compress] [--uncompress] [--add-file=FILE] [--backup[=CONTROL]] [--directory=DIR] [--exclude=PATTERN] [--exclude-backups] [--exclude-caches] [--exclude-caches-all] [--exclude-caches-under] [--exclude-tag=FILE] [--exclude-tag-all=FILE] [--exclude-tag-under=FILE] [--exclude-vcs] [--dereference] [--hard-dereference] [--starting-file=MEMBER-NAME] [--newer-mtime=DATE] [--no-null] [--no-recursion] [--no-unquote] [--null] [--newer=DATE-OR-FILE] [--after-date=DATE-OR-FILE] [--one-file-system] [--absolute-names] [--recursion] [--suffix=STRING] [--files-from=FILE] [--unquote] [--exclude-from=FILE] [--strip-components=NUMBER] [--transform=EXPRESSION] [--xform=EXPRESSION] [--anchored] [--ignore-case] [--no-anchored] [--no-ignore-case] [--no-wildcards] [--no-wildcards-match-slash] [--wildcards] [--wildcards-match-slash] [--checkpoint[=NUMBER]] [--checkpoint-action=ACTION] [--full-time] [--index-file=FILE] [--check-links] [--no-quote-chars=STRING] [--quote-chars=STRING] [--quoting-style=STYLE] [--block-number] [--show-defaults] [--show-omitted-dirs] [--show-transformed-names] [--show-stored-names] [--totals[=SIGNAL]] [--utc] [--verbose] [--warning=KEYWORD] [--interactive] [--confirmation] [--help] [--restrict] [--usage] [--version] [FILE]... root@debian:~# tar -b kwboot-tool.tar tar: kwboot-tool.tar: Invalid blocking factor Try `tar --help' or `tar --usage' for more information. root@debian:~# tar kwboot-tool.tar.gz tar: Old option `b' requires an argument. Try `tar --help' or `tar --usage' for more information. root@debian:~# tar -b tar: option requires an argument -- 'b' Try `tar --help' or `tar --usage' for more information. root@debian:~# tar -g tar: option requires an argument -- 'g' Try `tar --help' or `tar --usage' for more information. root@debian:~# tar -g kwboot-tools.tar.gz tar: You must specify one of the `-Acdtrux' or `--test-label' options Try `tar --help' or `tar --usage' for more information. root@debian:~# dir current_envs.txt file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1 file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1.1 linux-tools-installation-bodhi.tar.gz mtd0 myip.get smb.conf tools uboot.2016.05-tld-1.pogo_v4.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar.1 root@debian:~# tar -xf linux-tools-installation-bodhi.tar.gz root@debian:~# dir current_envs.txt file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1 file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1.1 linux-tools-installation-bodhi.tar.gz mtd0 myip.get smb.conf tools uboot.2016.05-tld-1.pogo_v4.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar.1 root@debian:~# dir tools busybox e2fsck flash_erase fw_env.config fw_printenv nanddump nandwrite root@debian:~# cd tools root@debian:~/tools# nanddump -bash: nanddump: command not found root@debian:~/tools# nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0 -bash: nanddump: command not found root@debian:~/tools# cd root@debian:~# cd root@debian:~# nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0 -bash: nanddump: command not found root@debian:~# /tools nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0 -bash: /tools: No such file or directory root@debian:~# /tools -bash: /tools: No such file or directory root@debian:~# dir tools busybox e2fsck flash_erase fw_env.config fw_printenv nanddump nandwrite root@debian:~# tools nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0 -bash: tools: command not found root@debian:~# cd tools root@debian:~/tools# nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0 -bash: nanddump: command not found root@debian:~/tools# tar -xf uboot.2016.05-tld-1.pogo_v4.bodhi.tar tar: uboot.2016.05-tld-1.pogo_v4.bodhi.tar: Cannot open: No such file or directo ry tar: Error is not recoverable: exiting now root@debian:~/tools# cd root@debian:~# tar -xf uboot.2016.05-tld-1.pogo_v4.bodhi.tar root@debian:~# flash_erase /dev/mtd0 0 4 -bash: flash_erase: command not found root@debian:~# cd tools root@debian:~/tools# flash_erase /dev/mtd0 0 4 -bash: flash_erase: command not found root@debian:~/tools# cd root@debian:~# dir tools busybox e2fsck flash_erase fw_env.config fw_printenv nanddump nandwrite root@debian:~# nandwrite -bash: nandwrite: command not found root@debian:~# cd tools root@debian:~/tools# nandwrite -bash: nandwrite: command not found root@debian:~/tools# cd root@debian:~# tools/nandwrite Usage: nandwrite [OPTION] MTD_DEVICE [INPUTFILE|-] Writes to the specified MTD device. -a, --autoplace Use auto OOB layout -m, --markbad Mark blocks bad if write fails -n, --noecc Write without ecc -N, --noskipbad Write without bad block skipping -o, --oob Input contains oob data -O, --onlyoob Input contains oob data and only write the oob part -s addr, --start=addr Set output start address (default is 0) -p, --pad Pad writes to page size -b, --blockalign=1|2|4 Set multiple of eraseblocks to align to --input-skip=length Skip |length| bytes of the input file --input-size=length Only read |length| bytes of the input file -q, --quiet Don't display progress messages -h, --help Display this help and exit --version Output version information and exit root@debian:~# tools/flash_erase /dev/mtd0 0 4 Erasing 128 Kibyte @ 60000 -- 100 % complete root@debian:~# tools/nandwrite /dev/mtd0 uboot.2016.05-tld-1.pogo_v4.mtd0.kwb Writing data to block 0 at offset 0x0 Writing data to block 1 at offset 0x20000 Writing data to block 2 at offset 0x40000 Writing data to block 3 at offset 0x60000 root@debian:~# fw_printenv ipaddr=192.168.0.231 serverip=192.168.0.220 baudrate=115200 bootcmd_mmc=run mmc_init; run set_bootargs_mmc; run mmc_boot bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot; bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot; bootdelay=10 console=ttyS0,115200 device=0:1 ethact=egiga0 if_netconsole=ping $serverip led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mmc_init=mmc rescan mmc_load_uimage=ext2load mmc $device 0x800000 /boot/uImage mmc_load_uinitrd=ext2load mmc $device 0x1100000 /boot/uInitrd mmc_root=/dev/mmcblk0p1 mtdids=nand0=orion_nand partition=nand0,2 preboot_nc=run if_netconsole start_netconsole rootdelay=10 rootfstype=ext3 sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi sata_init=ide reset sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd sata_root=/dev/sda1 set_bootargs_mmc=setenv bootargs console=$console root=$mmc_root rootdelay=$root delay rootfstype=$rootfstype $mtdparts set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$ro otdelay rootfstype=$rootfstype $mtdparts set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$root delay rootfstype=$rootfstype $mtdparts start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; se tenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then boo tm 0x800000 0x1100000; else bootm 0x800000; fi usb_init=usb start usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd usb_root=/dev/sda1 ethaddr=00:25:31:05:ca:0a arcNumber=3960 machid=F78 usb_rootfstype=ext3 mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M (root) bootcmd_pogo=if ubi part root 2048 && ubifsmount ubi:rootfs && ubifsload 0x80000 0 uboot.mtd0.dockstar.original.kwb ; then go 0x800200; fi bootcmd=run bootcmd_mmc; run bootcmd_usb; run bootcmd_sata; run bootcmd_pogo; re set usb_load_dtb=ext2load mmc $device 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb mmc_load_dtb=ext2load mmc $device 0x1c00000 /boot/dts/kirkwood-pogoplug_v4.dtb mmc_boot=mw 0x800000 0 1; run mmc_load_uimage; run mmc_load_dtb; if run mmc_loa d_uinitrd; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 - 0x1c00 000; fi root@debian:~# rebootr -bash: rebootr: command not found root@debian:~# reboot Broadcast message from root@debian (ttyS0) (Sat Nov 26 23:09:59 2016): The system is going down for reboot NOW! INIT: Switching to runlevel: 6 INIT: Sending processe[info] Using makefile-style concurrent boot in runlevel 6. [ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon. [....] Stopping busybox' syslogd implementation: syslogd1798 (syslogd) . ok [....] Stopping busybox' klogd implementation: klogd1797 (klogd) Stopped klogd (pid 1797). . ok [ ok ] Stopping NFS kernel daemon: mountd nfsd. [ ok ] Unexporting directories for NFS kernel daemon.... [ ok ] Stopping Samba daemons: nmbd smbd. [ ok ] Asking all remaining processes to terminate...done. [ ok ] All processes ended within 1 seconds...done. rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w" [ ok ] Stopping rpcbind daemon.... [ ok ] Stopping NFS common utilities: idmapd statd. [....] Deconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:25:31:05:ca:0a Sending on LPF/eth0/00:25:31:05:ca:0a Sending on Socket/fallback DHCPRELEASE on eth0 to 192.168.0.1 port 67 invoke-rc.d: ----------------------------------------------------- invoke-rc.d: WARNING: 'invoke-rc.d samba reload' called invoke-rc.d: during shutdown sequence. invoke-rc.d: enabling safe mode: initscript policy layer disabled invoke-rc.d: ----------------------------------------------------- Reloading /etc/samba/smb.conf: smbd only. done. [ ok ] Unmounting temporary filesystems...done. [ ok ] Deactivating swap...done. [ 2316.343629] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null) [info] Will now restart. [ 2318.458295] reboot: Restarting system U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 MMC rescan: current device # 0 initialized OK 3232368 bytes read in 1415 ms (2.2 MiB/s) 10266 bytes read in 4544 ms (2 KiB/s) 6531090 bytes read in 2128 ms (2.9 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.8.3-kirkwood-tld-1 Created: 2016-11-26 23:57:49 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3232304 Bytes = 3.1 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.8.3-kirkwood-tld-1 Created: 2016-11-26 23:58:20 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6531026 Bytes = 6.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01c00000 Booting using the fdt blob at 0x1c00000 Loading Kernel Image ... OK Loading Ramdisk to 074d4000, end 07b0e7d2 ... OK Loading Device Tree to 074ce000, end 074d3819 ... OK Using machid 0xf78 from environment Starting kernel ... Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.8.3-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Thu Oct 20 23:33:18 PDT 2016 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] OF: fdt:Machine model: Pogoplug v4 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root) [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Memory: 114180K/131072K available (6149K kernel code, 614K rwdata, 1664K rodata, 308K init, 318K bss, 16892K 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 : 0xc8800000 - 0xff800000 ( 880 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc0609718 (6150 kB) [ 0.000000] .init : 0xc07dd000 - 0xc082a000 ( 308 kB) [ 0.000000] .data : 0xc082a000 - 0xc08c391c ( 615 kB) [ 0.000000] .bss : 0xc08c391c - 0xc0913170 ( 319 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: 11467562657 ns [ 0.000015] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns [ 0.000808] Console: colour dummy device 80x30 [ 0.000859] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216) [ 0.090138] pid_max: default: 32768 minimum: 301 [ 0.090458] Security Framework initialized [ 0.090699] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.090732] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.092422] CPU: Testing write buffer coherency: ok [ 0.093092] Setting up static identity map for 0x8200 - 0x8258 [ 0.093488] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3 [ 0.099718] devtmpfs: initialized [ 0.107848] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.108261] prandom: seed boundary self test passed [ 0.113952] prandom: 100 self tests passed [ 0.113982] pinctrl core: initialized pinctrl subsystem [ 0.115941] NET: Registered protocol family 16 [ 0.116675] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.140173] cpuidle: using governor ladder [ 0.170168] cpuidle: using governor menu [ 0.170828] Feroceon L2: Enabling L2 [ 0.170895] Feroceon L2: Cache support initialised. [ 0.171535] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.178985] No ATAGs? [ 0.212321] vgaarb: loaded [ 0.212843] usbcore: registered new interface driver usbfs [ 0.212988] usbcore: registered new interface driver hub [ 0.213109] usbcore: registered new device driver usb [ 0.214754] clocksource: Switched to clocksource orion_clocksource [ 0.283458] VFS: Disk quotas dquot_6.6.0 [ 0.283577] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.300821] NET: Registered protocol family 2 [ 0.302093] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.302136] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.302167] TCP: Hash tables configured (established 1024 bind 1024) [ 0.302266] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.302299] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.302561] NET: Registered protocol family 1 [ 0.303318] RPC: Registered named UNIX socket transport module. [ 0.303336] RPC: Registered udp transport module. [ 0.303347] RPC: Registered tcp transport module. [ 0.303358] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.303731] Unpacking initramfs... [ 1.164531] Freeing initrd memory: 6380K (c74d4000 - c7b0f000) [ 1.164735] NetWinder Floating Point Emulator V0.97 (double precision) [ 1.166309] futex hash table entries: 256 (order: -1, 3072 bytes) [ 1.166379] audit: initializing netlink subsys (disabled) [ 1.166456] audit: type=2000 audit(1.160:1): initialized [ 1.166930] Initialise system trusted keyrings [ 1.167236] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 1.167366] zbud: loaded [ 1.168729] NFS: Registering the id_resolver key type [ 1.168768] Key type id_resolver registered [ 1.168781] Key type id_legacy registered [ 1.168807] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.168822] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.169212] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 1.169625] orangefs_init: called with debug mask: :none: :0: [ 1.170192] orangefs: module version upstream loaded [ 1.170568] Key type big_key registered [ 2.554764] random: fast init done [ 7.312977] Key type asymmetric registered [ 7.313002] Asymmetric key parser 'x509' registered [ 7.313128] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 7.313145] io scheduler noop registered [ 7.313158] io scheduler deadline registered [ 7.313207] io scheduler cfq registered (default) [ 7.314490] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 47 [ 7.314516] kirkwood-pinctrl f1010000.pin-controller: unknown pinctrl group 49 [ 7.315306] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver [ 7.316704] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated [ 7.317659] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated [ 7.318863] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00 [ 7.318892] pci_bus 0000:00: root bus resource [io 0x1000-0xfffff] [ 7.318912] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] [ 7.318933] pci_bus 0000:00: root bus resource [bus 00-ff] [ 7.319497] PCI: bus0: Fast back to back transfers disabled [ 7.319533] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 7.319889] PCI: bus1: Fast back to back transfers enabled [ 7.319999] pci 0000:00:01.0: PCI bridge to [bus 01] [ 7.320457] mv_xor f1060800.xor: Marvell shared XOR driver [ 7.375862] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 7.376205] mv_xor f1060900.xor: Marvell shared XOR driver [ 7.435826] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr ) [ 7.436552] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 7.438697] console [ttyS0] disabled [ 7.438789] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 10416666) is a 16550A [ 8.092287] console [ttyS0] enabled [ 8.097662] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1 [ 8.103999] nand: Hynix H27U1G8F2BTR-BC [ 8.107870] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 8.115444] Scanning device for bad blocks [ 8.125227] Bad eraseblock 68 at 0x000000880000 [ 8.208857] 5 cmdlinepart partitions found on MTD device orion_nand [ 8.215126] Creating 5 MTD partitions on "orion_nand": [ 8.220250] 0x000000000000-0x000000200000 : "u-boot" [ 8.227292] 0x000000200000-0x000000500000 : "uImage" [ 8.234235] 0x000000500000-0x000000800000 : "uImage2" [ 8.241335] 0x000000800000-0x000001000000 : "failsafe" [ 8.248585] 0x000001000000-0x000008000000 : "root" [ 8.258701] libphy: Fixed MDIO Bus: probed [ 8.262983] libphy: mdio_driver_register: mv88e6085 [ 8.268455] libphy: orion_mdio_bus: probed [ 8.281572] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 9.382950] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:05:ca:0a [ 9.391839] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.398403] ehci-pci: EHCI PCI platform driver [ 9.402922] ehci-orion: EHCI orion driver [ 9.407199] orion-ehci f1050000.ehci: EHCI Host Controller [ 9.412707] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1 [ 9.420609] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000 [ 9.454800] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00 [ 9.461096] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 9.467900] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.475118] usb usb1: Product: EHCI Host Controller [ 9.479983] usb usb1: Manufacturer: Linux 4.8.3-kirkwood-tld-1 ehci_hcd [ 9.486600] usb usb1: SerialNumber: f1050000.ehci [ 9.492396] hub 1-0:1.0: USB hub found [ 9.496276] hub 1-0:1.0: 1 port detected [ 9.501592] mousedev: PS/2 mouse device common for all mice [ 9.854799] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 10.051490] usb 1-1: New USB device found, idVendor=13fe, idProduct=3600 [ 10.058211] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 10.065361] usb 1-1: Product: Patriot Memory [ 10.069619] usb 1-1: Manufacturer: [ 10.073791] usb 1-1: SerialNumber: 07B901018CD50406 [ 10.564801] rtc-mv f1010300.rtc: internal RTC not ticking [ 10.570440] i2c /dev entries driver [ 10.575647] hidraw: raw HID events driver (C) Jiri Kosina [ 10.581716] drop_monitor: Initializing network drop monitor service [ 10.588350] NET: Registered protocol family 17 [ 10.593068] Key type dns_resolver registered [ 10.598589] registered taskstats version 1 [ 10.602681] Loading compiled-in X.509 certificates [ 10.607566] zswap: loaded using pool lzo/zbud [ 10.646506] Key type encrypted registered [ 10.651211] hctosys: unable to open rtc device (rtc0) [ 10.659785] Freeing unused kernel memory: 308K (c07dd000 - c082a000) [ 10.666288] This architecture does not have kernel memory protection. Loading, please wait... [ 10.776239] udevd[92]: starting version 175 [ 11.373426] mvsdio f1090000.mvsdio: Got CD GPIO [ 11.383420] SCSI subsystem initialized [ 11.394386] usb-storage 1-1:1.0: USB Mass Storage device detected [ 11.423462] usb-storage 1-1:1.0: Quirks match for vid 13fe pid 3600: 4000 [ 11.427611] scsi host0: usb-storage 1-1:1.0 [ 11.428400] usbcore: registered new interface driver usb-storage [ 11.430558] usbcore: registered new interface driver uas [ 11.636966] sata_mv f1080000.sata: slots 32 ports 1 [ 11.655568] scsi host1: sata_mv [ 11.659760] ata1: SATA max UDMA/133 irq 32 [ 11.682786] mmc0: host does not support reading read-only switch, assuming write-enable [ 11.690918] mmc0: new SD card at address bc6a [ 11.713257] mmcblk0: mmc0:bc6a SU02G 1.84 GiB [ 11.723064] mmcblk0: p1 [ 11.996668] ata1: SATA link down (SStatus 0 SControl F300) [ 12.487136] scsi 0:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 0 CCS [ 12.520833] sd 0:0:0:0: [sda] 7811072 512-byte logical blocks: (4.00 GB/3.72 GiB) [ 12.529674] sd 0:0:0:0: [sda] Write Protect is off [ 12.534940] sd 0:0:0:0: [sda] No Caching mode page found [ 12.540241] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 12.554950] sda: sda1 [ 12.561917] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 12.585966] 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 [ 22.158162] EXT4-fs (mmcblk0p1): mounting ext3 file system using the ext4 subsystem [ 22.184587] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) Begin: Running /scripts/local-bottom ... done. done. Begin: Running /scripts/init-bottom ... done. INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [....] Starting the hotplug events dispatcher: udevd[ 23.996145] udevd[304]: starting version 175 . ok [ ok ] Synthesizing the initial hotplug events...done. [ 24.581465] input: gpio_keys as /devices/platform/gpio_keys/input/input0 [....] Waiting for /dev to be fully populated...[ 25.127560] orion_wdt: Initial timeout 25 sec [ 25.275947] marvell-cesa f1030000.crypto: CESA device successfully registered done. [ ok ] Activating swap...done. [ 27.135473] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null) [....] Checking root file system...fsck from util-linux 2.20.1 rootfs: clean, 17644/120720 files, 160377/482670 blocks done. [ 27.575333] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro [ ok ] Cleaning up temporary files... /tmp /lib/init/rw. [ ok ] Loading kernel modules...done. [ ok ] Activating lvm and md swap...done. [....] Checking file systems...fsck from util-linux 2.20.1 done. [....] Mounting local filesystems...[ 32.572113] EXT4-fs (sda1): VFS: Can't find ext4 filesystem mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so failed. [ ok ] Activating swapfile swap...done. [ ok ] Cleaning up temporary files.... [ ok ] Setting kernel variables ...done. [....] Configuring network interfaces...[ 34.622192] NET: Registered protocol family 10 Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ [ 35.996379] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Listening on LPF/eth0/00:25:31:05:ca:0a Sending on LPF/eth0/00:25:31:05:ca:0a Sending on Socket/fallback DHCPREQUEST on eth0 to 255.255.255.255 port 67 [ 37.772303] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled [ 37.782086] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 192.168.0.1 Reloading /etc/samba/smb.conf: smbd only. bound to 192.168.0.107 -- renewal in 262408 seconds. done. [ ok ] Starting rpcbind daemon.... [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Cleaning up temporary files.... INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 1801 (syslogd) . ok [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... [ ok ] Starting system message bus: dbus. [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Starting NTP server: ntpd. [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. 1799 (klogd) . ok [ ok ] Starting rpcbind daemon...[....] Already running.. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting Samba daemons: nmbd smbd. [ ok ] Starting OpenBSD Secure Shell server: sshd. Debian GNU/Linux 7 debian ttyS0 debian login: root Password: Last login: Sat Nov 26 22:32:32 PST 2016 on ttyS0 Linux debian 4.8.3-kirkwood-tld-1 #1 PREEMPT Thu Oct 20 23:33:18 PDT 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:~# [ 85.284848] random: crng init done part -bash: part: command not found root@debian:~# fdisk Usage: fdisk [options] change partition table fdisk [options] -l list partition table(s) fdisk -s give partition size(s) in blocks Options: -b sector size (512, 1024, 2048 or 4096) -c[=] compatible mode: 'dos' or 'nondos' (default) -h print this help text -u[=] display units: 'cylinders' or 'sectors' (default) -v print program version -C specify the number of cylinders -H specify the number of heads -S specify the number of sectors per track root@debian:~# fdisk -1 fdisk: invalid option -- '1' Usage: fdisk [options] change partition table fdisk [options] -l list partition table(s) fdisk -s give partition size(s) in blocks Options: -b sector size (512, 1024, 2048 or 4096) -c[=] compatible mode: 'dos' or 'nondos' (default) -h print this help text -u[=] display units: 'cylinders' or 'sectors' (default) -v print program version -C specify the number of cylinders -H specify the number of heads -S specify the number of sectors per track root@debian:~# fdisk -bash: syntax error near unexpected token `newline' root@debian:~# sfdisk Usage: sfdisk [options] [...] Options: -s, --show-size list size of a partition -c, --id change or print partition Id --change-id change Id --print-id print Id -l, --list list partitions of each device -d, --dump idem, but in a format suitable for later input -i, --increment number cylinders etc. from 1 instead of from 0 -u, --unit units to be used; can be one of S (sectors), C (cylinders), B (blocks), or M (MB) -1, --one-only reserved option that does nothing currently -T, --list-types list the known partition types -D, --DOS for DOS-compatibility: waste a little space -E, --DOS-extended DOS extended partition compatibility -R, --re-read make the kernel reread the partition table -N change only the partition with this -n do not actually write to disk -O save the sectors that will be overwritten to -I restore sectors from -V, --verify check that the listed partitions are reasonable -v, --version display version information and exit -h, --help display this help text and exit Dangerous options: -f, --force disable all consistency checking --no-reread do not check whether the partition is in use -q, --quiet suppress warning messages -L, --Linux do not complain about things irrelevant for Linux -g, --show-geometry print the kernel's idea of the geometry -G, --show-pt-geometry print geometry guessed from the partition table -A, --activate[=] activate bootable flag -U, --unhide[=] set partition unhidden -x, --show-extended also list extended partitions in the output, or expect descriptors for them in the input --leave-last do not allocate the last cylinder --IBM same as --leave-last --in-order partitions are in order --not-in-order partitions are not in order --inside-outer all logicals inside outermost extended --not-inside-outer not all logicals inside outermost extended --nested every partition is disjoint from all others --chained like nested, but extended partitions may lie outside --onesector partitions are mutually disjoint Override the detected geometry using: -C, --cylinders set the number of cylinders to use -H, --heads set the number of heads to use -S, --sectors set the number of sectors to use root@debian:~# sudo sfdisk -1 -uM -bash: sudo: command not found root@debian:~# sfdisk -1 -uM Usage: sfdisk [options] [...] Options: -s, --show-size list size of a partition -c, --id change or print partition Id --change-id change Id --print-id print Id -l, --list list partitions of each device -d, --dump idem, but in a format suitable for later input -i, --increment number cylinders etc. from 1 instead of from 0 -u, --unit units to be used; can be one of S (sectors), C (cylinders), B (blocks), or M (MB) -1, --one-only reserved option that does nothing currently -T, --list-types list the known partition types -D, --DOS for DOS-compatibility: waste a little space -E, --DOS-extended DOS extended partition compatibility -R, --re-read make the kernel reread the partition table -N change only the partition with this -n do not actually write to disk -O save the sectors that will be overwritten to -I restore sectors from -V, --verify check that the listed partitions are reasonable -v, --version display version information and exit -h, --help display this help text and exit Dangerous options: -f, --force disable all consistency checking --no-reread do not check whether the partition is in use -q, --quiet suppress warning messages -L, --Linux do not complain about things irrelevant for Linux -g, --show-geometry print the kernel's idea of the geometry -G, --show-pt-geometry print geometry guessed from the partition table -A, --activate[=] activate bootable flag -U, --unhide[=] set partition unhidden -x, --show-extended also list extended partitions in the output, or expect descriptors for them in the input --leave-last do not allocate the last cylinder --IBM same as --leave-last --in-order partitions are in order --not-in-order partitions are not in order --inside-outer all logicals inside outermost extended --not-inside-outer not all logicals inside outermost extended --nested every partition is disjoint from all others --chained like nested, but extended partitions may lie outside --onesector partitions are mutually disjoint Override the detected geometry using: -C, --cylinders set the number of cylinders to use -H, --heads set the number of heads to use -S, --sectors set the number of sectors to use root@debian:~# cfdisk cfdisk (util-linux 2.20.1) Disk Drive: /dev/sda Size: 3999268864 bytes, 3999 MB Heads: 255 Sectors per Track: 63 Cylinders: 486 Name Flags Part Type FS Type [Label] Size (MB) ------------------------------------------------------------------------------ Pri/Log Free Space 0.07* sda1 Primary vfat 3999.21* Pri/Log Free Space 0.07* sda1 Primary vfat 3999.21* [ Help ] [ New ] [ Print ] [ Quit ] [ Units ] [ Write ] [ Bootable ] [ Delete ] [ Help ] [ Maximize ] [ Print ] [ Quit ] [ Type ] [ Units ] [ Write ] root@debian:~# cfdisk FATAL ERROR: Cannot open disk drive root@debian:~# parted -bash: parted: command not found root@debian:~# df Filesystem 1K-blocks Used Available Use% Mounted on udev 10240 0 10240 0% /dev tmpfs 12088 212 11876 2% /run /dev/mmcblk0p1 1867564 578396 1192636 33% / tmpfs 5120 0 5120 0% /run/lock tmpfs 24160 0 24160 0% /run/shm tmpfs 60432 0 60432 0% /tmp root@debian:~# cd root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# ayz9/uboot.2016.05-tld-1.environment.bodhi.tar#s://www.dropbox.com/s/4smmw2wr4ug --2016-11-26 23:18:35-- https://www.dropbox.com/s/4smmw2wr4ugayz9/uboot.2016.05-tld-1.environment.bodhi.tar Resolving www.dropbox.com (www.dropbox.com)... 162.125.1.1 Connecting to www.dropbox.com (www.dropbox.com)|162.125.1.1|:443... connected. WARNING: The certificate of `www.dropbox.com' is not trusted. WARNING: The certificate of `www.dropbox.com' hasn't got a known issuer. HTTP request sent, awaiting response... 302 Found Location: https://dl.dropboxusercontent.com/content_link/br5EQa82m7RTJKzlBkzA5NGFr0CubvtnpzDlNImkGTSzpf00TLWtuMocFZW5lF5S/file [following] --2016-11-26 23:18:36-- https://dl.dropboxusercontent.com/content_link/br5EQa82m7RTJKzlBkzA5NGFr0CubvtnpzDlNImkGTSzpf00TLWtuMocFZW5lF5S/file Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 199.47.217.37 Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|199.47.217.37|:443... connected. WARNING: The certificate of `dl.dropboxusercontent.com' is not trusted. WARNING: The certificate of `dl.dropboxusercontent.com' hasn't got a known issuer. HTTP request sent, awaiting response... 200 OK Length: 204800 (200K) [application/x-tar] Saving to: `uboot.2016.05-tld-1.environment.bodhi.tar' 100%[======================================>] 204,800 --.-K/s in 0.1s 2016-11-26 23:18:37 (1.72 MB/s) - `uboot.2016.05-tld-1.environment.bodhi.tar' saved [204800/204800] root@debian:~# cd /tmp root@debian:/tmp# tar -xf uboot.2016.05-tld-1.environment.bodhi.tar tar: uboot.2016.05-tld-1.environment.bodhi.tar: Cannot open: No such file or directory tar: Error is not recoverable: exiting now root@debian:/tmp# tar -xf uboot.2016.05-tld-1.environment.bodhi.tar tar: uboot.2016.05-tld-1.environment.bodhi.tar: Cannot open: No such file or directory tar: Error is not recoverable: exiting now 4ugayz9/uboot.2016.05-tld-1.environment.bodhi.tar#s://www.dropbox.com/s/4smmw2wr4 --2016-11-26 23:19:21-- https://www.dropbox.com/s/4smmw2wr4ugayz9/uboot.2016.05-tld-1.environment.bodhi.tar Resolving www.dropbox.com (www.dropbox.com)... 162.125.1.1 Connecting to www.dropbox.com (www.dropbox.com)|162.125.1.1|:443... connected. WARNING: The certificate of `www.dropbox.com' is not trusted. WARNING: The certificate of `www.dropbox.com' hasn't got a known issuer. HTTP request sent, awaiting response... 302 Found Location: https://dl.dropboxusercontent.com/content_link/0wrU2cZ7muOkqGd0zTW3miWXmc2K6rGXERD4SVz2JzWFCBDdxgENB2MHt0D5QhRZ/file [following] --2016-11-26 23:19:21-- https://dl.dropboxusercontent.com/content_link/0wrU2cZ7muOkqGd0zTW3miWXmc2K6rGXERD4SVz2JzWFCBDdxgENB2MHt0D5QhRZ/file Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 199.47.217.101 Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|199.47.217.101|:443... connected. WARNING: The certificate of `dl.dropboxusercontent.com' is not trusted. WARNING: The certificate of `dl.dropboxusercontent.com' hasn't got a known issuer. HTTP request sent, awaiting response... 200 OK Length: 204800 (200K) [application/x-tar] Saving to: `uboot.2016.05-tld-1.environment.bodhi.tar' 100%[======================================>] 204,800 --.-K/s in 0.1s 2016-11-26 23:19:22 (2.00 MB/s) - `uboot.2016.05-tld-1.environment.bodhi.tar' saved [204800/204800] root@debian:/tmp# tar -xf uboot.2016.05-tld-1.environment.bodhi.tar root@debian:/tmp# fw_printenv > current_envs.txt root@debian:/tmp# /usr/sbin/flash_erase /dev/mtd0 0xc0000 -bash: /usr/sbin/flash_erase: No such file or directory root@debian:/tmp# cd root@debian:~# /usr/sbin/flash_erase /dev/mtd0 0xc0000 -bash: /usr/sbin/flash_erase: No such file or directory root@debian:~# cd /tmp root@debian:/tmp# /usr/sbin/tools/flash-erase -bash: /usr/sbin/tools/flash-erase: No such file or directory root@debian:/tmp# tools/usr/sbin/flash_erase /dev/mtd0 0xc0000 -bash: tools/usr/sbin/flash_erase: No such file or directory root@debian:/tmp# /usr/sbin/tools/flash_erase /dev/mtd0 0xc0000 1 -bash: /usr/sbin/tools/flash_erase: No such file or directory root@debian:/tmp# /usr/sbin/flash_erase /dev/mtd0 0xc0000 1 -bash: /usr/sbin/flash_erase: No such file or directory vironment.imgtmp# /usr/sbin/nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.en -bash: /usr/sbin/nandwrite: No such file or directory root@debian:/tmp# tools/ -bash: tools/: No such file or directory root@debian:/tmp# tools/flash_erase /dev/mtd0 0xc0000 1 -bash: tools/flash_erase: No such file or directory root@debian:/tmp# cd root@debian:~# tools/flash_erase /dev/mtd0 0xc0000 1 Erasing 128 Kibyte @ c0000 -- 100 % complete nt.imgebian:~# tools/nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environme uboot.2016.05-tld-1.environment.img: No such file or directory nandwrite: error!: Data was only partially written due to error error 9 (Bad file descriptor) nt.imgebian:~# tools/nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environmen uboot.2016.05-tld-1.environment.img: No such file or directory nandwrite: error!: Data was only partially written due to error error 9 (Bad file descriptor) nt.imgebian:~# tools/nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environmen uboot.2016.05-tld-1.environment.img: No such file or directory nandwrite: error!: Data was only partially written due to error root@debian:~# tools/flash_erase /dev/mtd0 0xc0000 1 Erasing 128 Kibyte @ c0000 -- 100 % complete nt.imgebian:~# tools/nandwrite -s 786432 /dev/mtd0 uboot.2016.05-tld-1.environmen uboot.2016.05-tld-1.environment.img: No such file or directory nandwrite: error!: Data was only partially written due to error error 9 (Bad file descriptor) root@debian:~# dir current_envs.txt file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1 file.php?3,file=160,filename=kwboot-tool.tar.gz,download=1.1 linux-tools-installation-bodhi.tar.gz mtd0 myip.get smb.conf tools uboot.2016.05-tld-1.environment.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar uboot.2016.05-tld-1.pogo_v4.bodhi.tar.1 uboot.2016.05-tld-1.pogo_v4.mtd0.kwb root@debian:~# reboot INIT: S[info] Using makefile-style concurrent boot in runlevel 6. [....] Stopping busybox' klogd implementation: klogd1799 (klogd) Stopped klogd (pid 1799). . ok [....] Stopping busybox' syslogd implementation: syslogd1801 (syslogd) . ok [ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Stopping NFS kernel daemon: mountd nfsd. [ ok ] Unexporting directories for NFS kernel daemon.... [ ok ] Stopping Samba daemons: nmbd smbd. [ ok ] Asking all remaining processes to terminate...done. [ ok ] All processes ended within 1 seconds...done. rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w" [ ok ] Stopping rpcbind daemon.... [ ok ] Stopping NFS common utilities: idmapd statd. [....] Deconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/00:25:31:05:ca:0a Sending on LPF/eth0/00:25:31:05:ca:0a Sending on Socket/fallback DHCPRELEASE on eth0 to 192.168.0.1 port 67 invoke-rc.d: ----------------------------------------------------- invoke-rc.d: WARNING: 'invoke-rc.d samba reload' called invoke-rc.d: during shutdown sequence. invoke-rc.d: enabling safe mode: initscript policy layer disabled invoke-rc.d: ----------------------------------------------------- Reloading /etc/samba/smb.conf: smbd only. done. [ ok ] Unmounting temporary filesystems...done. [ ok ] Deactivating swap...done. [ 777.729687] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null) [info] Will now restart. [ 779.845264] reboot: Restarting system U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found MMC rescan: current device # 0 initialized OK Reset IDE: ide_preinit failed no USB devices available Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 61 3861361 00000000-01 83 loading envs from mmc 0 ... ** File not found /boot/uEnv.txt ** no IDE devices available ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command ERROR: can't get kernel image! resetting ... U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found MMC rescan: current device # 0 initialized OK Reset IDE: ide_preinit failed no USB devices available Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 61 3861361 00000000-01 83 loading envs from mmc 0 ... ** File not found /boot/uEnv.txt ** no IDE devices available ** Bad device usb 0 ** ** Bad device usb 0 ** Wrong Image Format for bootm command ERROR: can't get kernel image! resetting ... U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:41:47 -0700) Pogoplug V4 SoC: Kirkwood 88F6192_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 128 MiB MMC: kwsdio: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 Hit any key to stop autoboot: 0 Pogov4>