Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 46958

Re: Attempt to restore Pink Pogoplug e02 to factory corrupt uboot. Where to go from here?

$
0
0
Guess i spoke too soon. So things went fine installing arch to a second flash drive, then during the update process of arch it stopped being able to boot. So reflashing a flash drive to your rootfs, i attempted to boot, no go. So i used Davygravys tftp method to reflash uboot and again reflashing the drive to your rootfs. I get this error
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2010224 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
6514910 bytes read
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.9.11-kirkwood-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2010160 Bytes = 1.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.9.11-kirkwood-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6514846 Bytes = 6.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
Using machid 0xdd6 from environment

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] Linux version 3.9.11-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-1) ) #1 PREEMPT Tue Jul 23 01:14:09 PDT 2013
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Pogoplug E02
[    0.000000] Memory policy: ECC disabled, 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=/dev/sda1 rootdelay=10 rootfstype=ext3 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] __ex_table already sorted, skipping sort
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 247568k/247568k available, 14576k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc04ef160   (5021 kB)
[    0.000000]       .init : 0xc04f0000 - 0xc051764c   ( 158 kB)
[    0.000000]       .data : 0xc0518000 - 0xc0561bc8   ( 295 kB)
[    0.000000]        .bss : 0xc0561bc8 - 0xc05c8f84   ( 413 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[    8.340929] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    8.430750] pid_max: default: 32768 minimum: 301
[    8.430854] Security Framework initialized
[    8.430918] Mount-cache hash table entries: 512
[    8.431522] Initializing cgroup subsys cpuacct
[    8.431542] Initializing cgroup subsys devices
[    8.431553] Initializing cgroup subsys freezer
[    8.431562] Initializing cgroup subsys net_cls
[    8.431570] Initializing cgroup subsys blkio
[    8.431656] CPU: Testing write buffer coherency: ok
[    8.432047] Setting up static identity map for 0xc0398858 - 0xc0398894
[    8.433950] devtmpfs: initialized
[    8.435738] pinctrl core: initialized pinctrl subsystem
[    8.436079] regulator-dummy: no parameters
[    8.436389] NET: Registered protocol family 16
[    8.437529] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    8.438208] Kirkwood: MV88F6281-A0, TCLK=200000000.
[    8.438226] Feroceon L2: Enabling L2
[    8.438264] Feroceon L2: Cache support initialised.
[    8.441540] bio: create slab <bio-0> at 0
[    8.441864] vgaarb: loaded
[    8.442435] Switching to clocksource orion_clocksource
[    8.456310] NET: Registered protocol family 2
[    8.456956] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    8.457014] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    8.457045] TCP: Hash tables configured (established 2048 bind 2048)
[    8.457108] TCP: reno registered
[    8.457121] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    8.457143] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    8.457325] NET: Registered protocol family 1
[    8.457609] RPC: Registered named UNIX socket transport module.
[    8.457620] RPC: Registered udp transport module.
[    8.457626] RPC: Registered tcp transport module.
[    8.457633] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    8.457851] Unpacking initramfs...
[    9.002296] Freeing initrd memory: 6360K
[    9.002389] NetWinder Floating Point Emulator V0.97 (double precision)
[    9.002969] audit: initializing netlink socket (disabled)
[    9.003014] type=2000 audit(0.660:1): initialized
[    9.003839] VFS: Disk quotas dquot_6.5.2
[    9.003889] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    9.004230] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    9.004390] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    9.004597] msgmni has been set to 495
[    9.006430] alg: No test for stdrng (krng)
[    9.006522] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    9.006532] io scheduler noop registered
[    9.006540] io scheduler deadline registered
[    9.006559] io scheduler cfq registered (default)
[    9.006670] mv_xor mv_xor.0: Marvell shared XOR driver
[    9.042521] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    9.082515] mv_xor mv_xor.0: Marvell XOR: ( xor fill cpy )
[    9.082612] mv_xor mv_xor.1: Marvell shared XOR driver
[    9.122510] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[    9.162510] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    9.162753] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    9.183302] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    9.653343] console [ttyS0] enabled
[    9.657699] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64
[    9.669605] Scanning device for bad blocks
[    9.780874] 4 cmdlinepart partitions found on MTD device orion_nand
[    9.787185] Creating 4 MTD partitions on "orion_nand":
[    9.792346] 0x000000000000-0x000000100000 : "u-boot"
[    9.797566] 0x000000100000-0x000000500000 : "uImage"
[    9.802766] 0x000000500000-0x000002500000 : "rootfs"
[    9.807994] 0x000002500000-0x000008000000 : "data"
[    9.813392] mousedev: PS/2 mouse device common for all mice
[   10.822561] rtc-mv rtc-mv: internal RTC not ticking
[   10.827555] i2c /dev entries driver
[   10.831152] cpuidle: using governor ladder
[   10.835285] cpuidle: using governor menu
[   10.839386] leds-gpio leds-gpio: pins are not configured from the driver
[   10.846356] drop_monitor: Initializing network drop monitor service
[   10.852953] TCP: cubic registered
[   10.856287] NET: Registered protocol family 17
[   10.860846] Key type dns_resolver registered
[   10.865546] registered taskstats version 1
[   10.870468] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   10.877541] Freeing init memory: 156K
Loading, please wait...
[   10.953181] udevd[51]: starting version 175
[   11.045600] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   11.093443] usbcore: registered new interface driver usbfs
[   11.099015] usbcore: registered new interface driver hub
[   11.113865] libphy: mv643xx_eth smi: probed
[   11.148165] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:25:31:00:a2:3a
[   11.172845] usbcore: registered new device driver usb
[   11.197054] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.232535] orion-ehci orion-ehci.0: Marvell Orion EHCI
[   11.237811] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   11.285322] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   11.302512] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   11.308548] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   11.315395] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.322667] usb usb1: Product: Marvell Orion EHCI
[   11.327395] usb usb1: Manufacturer: Linux 3.9.11-kirkwood-tld-1 ehci_hcd
[   11.334141] usb usb1: SerialNumber: orion-ehci.0
[   11.339689] hub 1-0:1.0: USB hub found
[   11.343527] hub 1-0:1.0: 1 port detected
[   11.662497] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   11.813953] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[   11.820698] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   11.827896] usb 1-1: Product: USB2.0 Hub
[   11.834978] hub 1-1:1.0: USB hub found
[   11.846278] hub 1-1:1.0: 4 ports detected
[   12.132830] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[   12.245449] usb 1-1.1: New USB device found, idVendor=0951, idProduct=1653
[   12.252372] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   12.259740] usb 1-1.1: Product: DT 100 G2
[   12.263781] usb 1-1.1: Manufacturer: Kingston
[   12.268161] usb 1-1.1: SerialNumber: 001CC0EC32F6FBA0A5ED23E3
[   12.294114] SCSI subsystem initialized
[   12.302176] Initializing USB Mass Storage driver...
[   12.307555] scsi0 : usb-storage 1-1.1:1.0
[   12.313135] usbcore: registered new interface driver usb-storage
[   12.319170] USB Mass Storage support registered.
[   13.375681] scsi 0:0:0:0: Direct-Access     Kingston DT 100 G2        1.00 PQ: 0 ANSI: 2
[   13.399140] sd 0:0:0:0: [sda] 31324160 512-byte logical blocks: (16.0 GB/14.9 GiB)
[   13.407865] sd 0:0:0:0: [sda] Write Protect is off
[   13.413229] sd 0:0:0:0: [sda] No Caching mode page present
[   13.418752] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.428476] sd 0:0:0:0: [sda] No Caching mode page present
[   13.434048] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.441106]  sda: sda1
[   13.446102] sd 0:0:0:0: [sda] No Caching mode page present
[   13.451635] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.457826] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.473594] 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.
mount: mounting /dev/sda1 on /root failed: Invalid argument
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
modprobe: module i8042 not found in modules.dep
[   21.505392] uhci_hcd: USB Universal Host Controller Interface driver
[   21.518661] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   21.534674] hidraw: raw HID events driver (C) Jiri Kosina
[   21.542431] usbcore: registered new interface driver usbhid
[   21.548174] usbhid: USB HID core driver


BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs)
I officially don't know what to do from here? I don't know enough linux commands to understand what is happening. Thank you for your help, at this point my pogoplug has really become a way for me to learn debian code haha!

Viewing all articles
Browse latest Browse all 46958

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>