Can't boot into debian after powerfail September 25, 2010 12:10PM |
Registered: 12 years ago Posts: 34 |
Quote
U-Boot 2010.06-00695-gbd23130-dirty (Aug 30 2010 - 23:04:56)
Marvell-Dockstar/Pogoplug by Jeff Doozan
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 1 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt
** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=3"
UBI: MTD device size: 219 MiB
UBI: number of good PEBs: 1751
UBI: number of bad PEBs: 1
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 1730
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 3 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
** Block device usb 0 not supported
** Block device usb 1 not supported
** Block device usb 2 not supported
** Block device usb 3 not supported
** Block device usb 0 not supported
** Block device usb 0 not supported
Wrong Image Format for bootm command
ERROR: can't get kernel image!
stopping USB..
NAND read: device 0 offset 0x100000, size 0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-2.6.32.18-dockstar
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3175992 Bytes = 3 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Re: Can't boot into debian after powerfail September 25, 2010 09:18PM |
Registered: 12 years ago Posts: 34 |
Re: Can't boot into debian after powerfail September 28, 2010 10:53AM |
Registered: 12 years ago Posts: 54 |
Unbricking the Dockstar with CA-42 serial cable. September 26, 2010 08:36PM |
Registered: 12 years ago Posts: 34 |
Quote
U-Boot 2010.06-00695-gbd23130-dirty (Aug 30 2010 - 23:04:56)
Marvell-Dockstar/Pogoplug by Jeff Doozan
SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Using egiga0 device
ping failed; host 192.168.2.3 is not alive
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
** Block device usb 0 not supported
** Block device usb 0 not supported
Wrong Image Format for bootm command
ERROR: can't get kernel image!
resetting ...
Re: Unbricking the Dockstar with CA-42 serial cable. September 26, 2010 10:05PM |
Registered: 12 years ago Posts: 34 |
Re: Unbricking the Dockstar with CA-42 serial cable. September 27, 2010 04:50AM |
Registered: 12 years ago Posts: 31 |
Re: Unbricking the Dockstar with CA-42 serial cable. September 27, 2010 04:55AM |
Registered: 12 years ago Posts: 34 |
Re: Unbricking the Dockstar with CA-42 serial cable. September 27, 2010 09:58AM |
Registered: 12 years ago Posts: 34 |
Quote
ethact=egiga0
bootdelay=3
baudrate=115200
arcNumber=2097
mainlineLinux=yes
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_device=0:1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot;
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi;
rescue_installed=1
if_netconsole=ping $serverip
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
preboot=run if_netconsole start_netconsole
usb_start=usb start
usb_stop=setenv usb_device 0:1
usb_root=setenv usb_rootdelay 10
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
bootcmd_usb=run usb_load_uimage; run set_bootargs_usb; run usb_boot
usb_load_uboot=ext2load usb $usb_device 0x800000 uboot-original-mtd0.kwb
usb_uboot_boot=go 0x800200
bootcmd_usb_pogo=run usb_load_uboot; run usb_uboot_boot
linux_partition=setenv partition nand0,3
linux_root=/dev/mtdblock3
linux_rootdelay=1
linux_rootfstype=jffs2
linux_load_uimage=fsload 0x800000 /boot/uImage
set_bootargs_linux=setenv bootargs console=$console root=$linux_root rootdelay=$linux_rootdelay rootfstype=$linux_rootfstype
bootcmd_linux=run linux_partition; run linux_load_uimage; run set_bootargs_linux; run linux_boot
pogo_partition=setenv partition nand0,2
pogo_load=fsload uboot-original-mtd0.kwb
pogo_boot=go 0x800200
bootcmd_pogo=run pogo_partition; run pogo_load; run pogo_boot
ipaddr=192.168.2.5
serverip=192.168.2.4
ethaddr=00:10:75:1A:XX:XX
cesvcid=6A9K57SP3XZDAPC2YJEBA7XXXX
bootargs_root=root=/dev/mtdblock2 ro
bootcmd=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
console=console=ttyUSB0,115200
server=192.198.2.4
stdin=serial
stdout=serial
stderr=serial
bootargs=$(console) $(bootargs_root)
Environment size: 3072/131068 bytes
Re: Unbricking the Dockstar with CA-42 serial cable. September 27, 2010 10:06AM |
Registered: 12 years ago Posts: 34 |
Quote
U-Boot 2010.06-00695-gbd23130-dirty (Aug 30 2010 - 23:04:56)
Marvell-Dockstar/Pogoplug by Jeff Doozan
SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Using egiga0 device
ping failed; host 192.168.2.4 is not alive
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x100000, size 0x300000
3145728 bytes read: OK
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Re: Unbricking the Dockstar with CA-42 serial cable. September 27, 2010 11:59AM |
Registered: 12 years ago Posts: 31 |
Re: Unbricking the Dockstar with CA-42 serial cable. September 27, 2010 12:03PM |
Registered: 12 years ago Posts: 34 |
Re: Unbricking the Dockstar with CA-42 serial cable. September 27, 2010 02:22PM |
Registered: 12 years ago Posts: 31 |
Re: Unbricking the Dockstar with CA-42 serial cable. September 27, 2010 04:23PM |
Registered: 12 years ago Posts: 38 |
Re: Unbricking the Dockstar with CA-42 serial cable. September 28, 2010 08:47AM |
Admin Registered: 12 years ago Posts: 304 |
setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)' setenv mtdids 'nand0=orion_nand' setenv partition 'nand0,2' setenv bootcmd 'fsload uboot-original-mtd0.kwb; go 0x800200' boot
Re: Unbricking the Dockstar with CA-42 serial cable. September 28, 2010 09:55AM |
Registered: 12 years ago Posts: 34 |
Quote
### JFFS2 loading 'uboot-original-mtd0.kwb' to 0x800000
Scanning JFFS2 FS: read_nand_cached: error reading nand off 0x24dfe00 size 8192 bytes
read_nand_cached: error reading nand off 0x24e1e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24e3e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24e5e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24e7e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24e9e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24ebe00 size 8192 bytes
read_nand_cached: error reading nand off 0x24ede00 size 8192 bytes
read_nand_cached: error reading nand off 0x24efe00 size 8192 bytes
read_nand_cached: error reading nand off 0x24f1e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24f3e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24f5e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24f7e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24f9e00 size 8192 bytes
read_nand_cached: error reading nand off 0x24fbe00 size 8192 bytes
read_nand_cached: error reading nand off 0x24fde00 size 8192 bytes
read_nand_cached: error reading nand off 0x24ffe00 size 8192 bytes done.
find_inode failed for name=uboot-original-mtd0.kwb
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for uboot-original-mtd0.kwb!
## Starting application at 0x00800200 ...
Re: Unbricking the Dockstar with CA-42 serial cable. September 28, 2010 10:10AM |
Admin Registered: 12 years ago Posts: 304 |
tftp 0x800000 uboot-original-mtd0.kwb go 0x800200
Re: Unbricking the Dockstar with CA-42 serial cable. September 28, 2010 11:38AM |
Registered: 12 years ago Posts: 34 |
Quote
SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Using egiga0 device
host 192.168.2.4 is alive
Re: Unbricking the Dockstar with CA-42 serial cable. September 28, 2010 11:42AM |
Admin Registered: 12 years ago Posts: 304 |
Re: Unbricking the Dockstar with CA-42 serial cable. September 28, 2010 12:04PM |
Registered: 12 years ago Posts: 34 |
Quote
Marvel>> tftp 0x800000 uboot-original-mtd0.kwb
Using egiga0 device
TFTP from server 192.168.2.4; our IP address is 192.168.2.6
Filename 'uboot-original-mtd0.kwb'.
Load address: 0x800000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
Re: Unbricking the Dockstar with CA-42 serial cable. September 28, 2010 03:54PM |
Admin Registered: 12 years ago Posts: 304 |
usb start ext2load usb 0:1 0x800000 /uboot-original-mtd0.kwb go 0x800200
Re: Can't boot into debian after powerfail September 28, 2010 11:38PM |
Registered: 12 years ago Posts: 34 |
Quote
Marvell>> go 0x800200
## Starting application at 0x00800200 ...
U-Boot 1.1.4 (Jul 16 2009 - 21:02:16) Cloud Engines (3.4.16)
U-Boot code: 00600000 -> 0067FFF0 BSS: -> 00690D60
Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 128MB
DRAM Total size 128MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:256 MB
CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: REDSTONE:1.0
Streaming disabled
Write allocate disabled
USB 0: host mode
PEX 0: interface detected no Link.
Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x100000, size 0x300000
Reading data from 0x3ff800 -- 100% complete.
3145728 bytes read: OK
## Booting image at 00800000 ...
Bad Magic Number
CE>>
Re: Can't boot into debian after powerfail September 29, 2010 10:11AM |
Admin Registered: 12 years ago Posts: 304 |
printenv ethaddr
usb start ext2load usb 0:1 0x800000 /uboot.environment
nand erase 0xC0000 0x20000 nand write 0x800000 0xC0000 0x20000 reset
setenv ethaddr 'the ethaddr value that you got earlier' setenv rescue_installed 1 saveenv usb start ext2load usb 0:1 0x800000 /uImage-mtd1.img
nand erase 0x100000 0x400000 nand write 0x800000 0x100000 0x380000 ext2load usb 0:1 0x800000 /rootfs-mtd2.img
nand erase 0x500000 0x2000000 nand write 0x800000 0x500000 0x1980000 run rescue_bootcmd
Re: Can't boot into debian after powerfail September 29, 2010 11:57AM |
Registered: 12 years ago Posts: 34 |
Re: Can't boot into debian after powerfail September 29, 2010 12:33PM |
Admin Registered: 12 years ago Posts: 304 |
Re: Can't boot into debian after powerfail September 29, 2010 12:50PM |
Registered: 12 years ago Posts: 34 |
Re: Can't boot into debian after powerfail September 30, 2010 10:41PM |
Registered: 12 years ago Posts: 34 |
Re: Can't boot into debian after powerfail October 01, 2010 03:45AM |
Registered: 12 years ago Posts: 34 |
Re: Can't boot into debian after powerfail October 01, 2010 08:00AM |
Admin Registered: 12 years ago Posts: 304 |
Re: Can't boot into debian after powerfail October 01, 2010 09:50AM |
Registered: 12 years ago Posts: 34 |
Re: Can't boot into debian after powerfail October 01, 2010 09:51AM |
Registered: 12 years ago Posts: 34 |