no serial, no network, bricked? led flashes...

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: no serial, no network, bricked? led flashes...

Postby enki » Tue Feb 01, 2011 2:11 pm

Unfortunately, I do not see anything on network from GoFlex Net. I have opened the box and here is the picture. I got a CA-42 cable. I saw 10 pins connection but which are the TX, RX and GND pins in there ? Can anyone help me, please?
Attachments
20110130_001b.JPG
GoFlex Net
20110130_001b.JPG (131.53 KiB) Viewed 8494 times
enki
 
Posts: 10
Joined: Sat Jan 22, 2011 12:29 pm


Re: no serial, no network, bricked? led flashes...

Postby enki » Wed Feb 02, 2011 12:13 am

Peaslaker,
Thank you for clear details on the serial connection for GoFlex Net.

Here is the code I have when the unit is powered up with the USB DISK in (green led blinking for 20sec. and off after):

$this->bbcode_second_pass_code('', '
U-Boot 2010.09 (Oct 23 2010 - 11:53:10)
Marvell-GoflexNet by Jeff Doozan, Peter Carmichael

SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Hit any key to stop autoboot: 3  2  1  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... 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: 1748
UBI: number of bad PEBs: 4
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: 1727
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'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2747528 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
** File not found /boot/uInitrd
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-2.6.34.2-00162-g8346349-di
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2747464 Bytes = 2.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
')

and a snapshot for the 'printenv' directly from unit's console:

$this->bbcode_second_pass_code('', '
Marvell>> printenv
ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
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
partition=nand0,2
rescue_installed=0
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_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
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
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
ethaddr=00:FF:FF:AA:AA:FF
arcNumber=3089
stdin=serial
stdout=serial
stderr=serial

Environment size: 2261/131068 bytes
Marvell>>

')

What would be the next step to fix it? :idea:
Probably to give some boot args to bring it again over ssh?

Much obliged,
enki
 
Posts: 10
Joined: Sat Jan 22, 2011 12:29 pm

Re: no serial, no network, bricked? led flashes...

Postby peaslaker » Wed Feb 02, 2011 1:44 am

The problem is probably that the kernel you are booting doesn't include the Goflex Net initialisation against arcNumber 3089. You need to change the arcNumber to one supported by the kernel. 2097 for Sheevaplug is probably a good start for the default Arch Linux ARM install Kernel, but the SATA drives won't work.

There is a bit of a gap in the install instructions and distribution for supporting different machine types because Arch Linux ARM install just started out supporting one machine type.

An alternative at this stage is that you could set up a UBIT install disk (which is built from the ground up with different machine types in mind): $this->bbcode_second_pass_code('', '
#Copy the kernel and ramdisk files to the install disk:
wget http://jeff.doozan.com/debian/goflex/v0.5/v2.6.37/boot.tar.gz
wget http://jeff.doozan.com/debian/goflex/v0.5/v2.6.37/modules.tar.gz
wget http://jeff.doozan.com/debian/goflex/v0.5/uInitrd
tar -xzf boot.tar.gz
mv uInitrd boot/uInitrd
')

This will boot with the U-Boot image you already have, but also includes the installer for getting a fully up to date UBIT install. The supplied kernel does work with arcNumber 3089. If you can get this to boot you get a load of features that are tested on the GoFlex Net.

Once it has booted 'ssh' in...
$this->bbcode_second_pass_code('', '
uboot_install goflexnet # this replaces the U-Boot with the UBIT version
uboot_chain goflexnet # this puts a copy of the OE U-Boot onto unused space at the end
# of /dev/mtd1. You can revert to OE Pogoplug functionality by running:
# chain_revert
on /dev/sda1 kernel # this prepares flashable images of the kernel and modules
on /dev/sda1 ready_prepared # this prepares a flashable version of the ramdisk
ubiformat_mtd3 # this prepares /dev/mtd3 to contain UBI partitions
on /dev/sda1 install # this installs the prepared images for the kernel and ramdisk to
# UBI partitions on /dev/mtd3

# unplug your installer drive and plug-in the drive where you untarred the Arch Linux ARM install Linux
# root filesystem tarball

tune2fs -L "rootfs" /dev/sda1 # this labels the drive as the rootfs of the system
on /dev/sda1 mv boot/uImage boot/olduimage
on /dev/sda1 wget http://jeff.doozan.com/debian/goflex/v0.5/v2.6.37/modules.tar.gz
on /dev/sda1 tar -xzf modules.tar.gz
')

That should be it. Be aware that your ethernet address will have changed on the next reboot. While you still have the serial cable plugged in, interrupt U-Boot and do:
$this->bbcode_second_pass_code('', '
setenv ethaddr <your MAC address>
saveenv
')

Alternatively you can do this as a UBIT maintenance action.
peaslaker
 
Posts: 101
Joined: Tue Sep 07, 2010 10:40 pm

Re: no serial, no network, bricked? led flashes...

Postby enki » Fri Feb 04, 2011 3:44 am

Peaslaker,

I prepared the new USB disk as you said, I have managed to boot from it and ssh in and replace Uboot with Ubit but
I got an error at this step. Should we be concerned for this?

$this->bbcode_second_pass_code('', '
ubit0-5:~# uboot_chain goflexnet
UBIT.CHAIN:goflexnet
UBIT.CHAIN:/usr/share/ubit/original/goflexnet.kwb writing to 0x380000 of /dev/mtd1
1+0 records in
1+0 records out
UBIT:bl: /usr/share/ubit/original/goflexnet.kwb checksum 5cbbbca7693c5939836349bbd7f270e8 -
Erase Total 4 Units
Performing Flash Erase of length 131072 at offset 0x3c0000
MTD Erase failure: Input/output error
Writing data to block 28 at offset 0x380000
Writing data to block 29 at offset 0x3a0000
Writing data to block 30 at offset 0x3c0000
Bad block at 3c0000, 1 block(s) from 3c0000 will be skipped
Writing data to block 31 at offset 0x3e0000
UBIT:bl: u-boot checksum did not match.
ubit0-5:~#
')

I went trough all the rest of the steps (I remember few errors here but I didn't saved them to reproduce them here) and setup the ethaddr straight after the first boot. The unit is booting up but stops as you can see:

$this->bbcode_second_pass_code('', '
U-Boot 2010.09 (Feb 01 2011 - 02:45:30)
UBIT v0.5 for Seagate GoFlex Net by Peter Carmichael

SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
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: 1748
UBI: number of bad PEBs: 4
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 3
UBI: available PEBs: 1570
UBI: total number of reserved PEBs: 178
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 11/2
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
** Block device usb 0 not supported
** Block device usb 0 not supported

** Invalid boot device **

** Invalid boot device **

Reset IDE: Bus 0: not available Bus 1: not available
** Bad partition 1 **
** Bad partition 1 **
UBIFS: mounted UBI device 0, volume 2, name "ramdisk"
UBIFS: mounted read-only
UBIFS: file system size: 2967552 bytes (2898 KiB, 2 MiB, 23 LEBs)
UBIFS: journal size: 1161217 bytes (1134 KiB, 1 MiB, 8 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 0 bytes (0 KiB)
Loading file '/uInitrd' to addr 0x01100000 with size 2629550 (0x00281fae)...
Done
UBIFS: mounted UBI device 0, volume 1, name "boot"
UBIFS: mounted read-only
UBIFS: file system size: 3354624 bytes (3276 KiB, 3 MiB, 26 LEBs)
UBIFS: journal size: 1161217 bytes (1134 KiB, 1 MiB, 8 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 0 bytes (0 KiB)
Loading file '/boot/uImage' to addr 0x00680000 with size 2940876 (0x002cdfcc)...

Done
## Booting kernel from Legacy Image at 00680000 ...
Image Name: Linux-2.6.37-ubit-01711-g50c16ad
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2940812 Bytes = 2.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: UBIT-2010.11-00080-g45d63a5
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2629486 Bytes = 2.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37-ubit-01711-g50c16ad (root@vmdebian-cli) (gcc version 4.3.5
(Buildroot 2010.11-00070-g82ec21e) ) #1 Tue Feb 1 14:11:22 GMT 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Seagate GoFlex Net
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),4M(uIma
ge),32M(pogoplug),-(root) ubi.mtd=root netconsole=@10.10.10.6/eth0,@10.10.10.4/
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 120676k/120676k available, 10396k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc8800000 - 0xfe800000 ( 864 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0031000 ( 164 kB)
.text : 0xc0031000 - 0xc057d9b4 (5427 kB)
.data : 0xc057e000 - 0xc05b66a0 ( 226 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A0, TCLK=200000000.
Feroceon L2: Cache support initialised.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 2564K
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
aufs 2.1-37
msgmni has been set to 240
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
ata2: SATA max UDMA/133 irq 21
ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit
)
Scanning device for bad blocks
Bad eraseblock 38 at 0x0000004c0000
Bad eraseblock 246 at 0x000001ec0000
Bad eraseblock 269 at 0x0000021a0000
Bad eraseblock 480 at 0x000003c00000
Bad eraseblock 521 at 0x000004120000
Bad eraseblock 543 at 0x0000043e0000
Bad eraseblock 1916 at 0x00000ef80000
4 cmdlinepart partitions found on MTD device orion_nand
Creating 4 MTD partitions on "orion_nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000002500000 : "pogoplug"
0x000002500000-0x000010000000 : "root"
UBI: attaching mtd3 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
ata1: SATA link down (SStatus 0 SControl F300)
UBI: max. sequence number: 157
UBI: attached mtd3 to ubi0
UBI: MTD device name: "root"
UBI: MTD device size: 219 MiB
UBI: number of good PEBs: 1748
UBI: number of bad PEBs: 4
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 128
UBI: number of internal volumes: 1
UBI: number of user volumes: 3
UBI: available PEBs: 1570
UBI: total number of reserved PEBs: 178
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 11/2
UBI: image sequence number: 159331193
UBI: background thread "ubi_bgt0d" started, PID 508
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:FF:FF:FF:FF:FF
netconsole: local port 6665
netconsole: local IP 10.10.10.6
netconsole: interface 'eth0'
netconsole: remote port 6666
netconsole: remote IP 10.10.10.4
netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
netconsole: device eth0 not up yet, forcing it
ata2: SATA link down (SStatus 0 SControl F300)
eth0: link up, 100 Mb/s, full duplex, flow control disabled
Linux version 2.6.37-ubit-01711-g50c16ad (root@vmdebian-cli) (gcc version 4.3.5
(Buildroot 2010.11-00070-g82ec21e) ) #1 Tue Feb 1 14:11:22 GMT 2011
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Seagate GoFlex Net
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),4M(uIma
ge),32M(pogoplug),-(root) ubi.mtd=root netconsole=@10.10.10.6/eth0,@10.10.10.4/
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 120676k/120676k available, 10396k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
vmalloc : 0xc8800000 - 0xfe800000 ( 864 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.init : 0xc0008000 - 0xc0031000 ( 164 kB)
.text : 0xc0031000 - 0xc057d9b4 (5427 kB)
.data : 0xc057e000 - 0xc05b66a0 ( 226 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A0, TCLK=200000000.
Feroceon L2: Cache support initialised.
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 2564K
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
aufs 2.1-37
msgmni has been set to 240
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 21
ata2: SATA max UDMA/133 irq 21
ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit
)
Scanning device for bad blocks
Bad eraseblock 38 at 0x0000004c0000
Bad eraseblock 246 at 0x000001ec0000
Bad eraseblock 269 at 0x0000021a0000
Bad eraseblock 480 at 0x000003c00000
Bad eraseblock 521 at 0x000004120000
Bad eraseblock 543 at 0x0000043e0000
Bad eraseblock 1916 at 0x00000ef80000
4 cmdlinepart partitions found on MTD device orion_nand
Creating 4 MTD partitions on "orion_nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000002500000 : "pogoplug"
0x000002500000-0x000010000000 : "root"
UBI: attaching mtd3 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
ata1: SATA link down (SStatus 0 SControl F300)
UBI: max. sequence number: 157
UBI: attached mtd3 to ubi0
UBI: MTD device name: "root"
UBI: MTD device size: 219 MiB
UBI: number of good PEBs: 1748
UBI: number of bad PEBs: 4
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 128
UBI: number of internal volumes: 1
UBI: number of user volumes: 3
UBI: available PEBs: 1570
UBI: total number of reserved PEBs: 178
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 11/2
UBI: image sequence number: 159331193
UBI: background thread "ubi_bgt0d" started, PID 508
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:FF:FF:FF:FF:FF
netconsole: local port 6665
netconsole: local IP 10.10.10.6
netconsole: interface 'eth0'
netconsole: remote port 6666
netconsole: remote IP 10.10.10.4
netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
netconsole: device eth0 not up yet, forcing it
ata2: SATA link down (SStatus 0 SControl F300)
eth0: link up, 100 Mb/s, full duplex, flow control disabled
console [netcon0] enabled
netconsole: network logging started
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: internal RTC not ticking
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
registered taskstats version 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing init memory: 164K
[b]mount: mounting ubi:rw on rw failed: No such device
mount: mounting /dev/sda1 on rw failed: No such file or directory
mount: mounting /dev/sda1 on rw failed: No such file or directory[/b]
Thu Jan 1 00:00:00 UTC 1970
UBIFS: mounted UBI device 0, volume 0, name "modules"
UBIFS: mounted read-only
UBIFS: file system size: 10063872 bytes (9828 KiB, 9 MiB, 78 LEBs)
UBIFS: journal size: 1806336 bytes (1764 KiB, 1 MiB, 14 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
[b]mount: mounting ubi:rootfs on ../rootfs failed: aufs test_add:261:mount[719]: ui
d/gid/perm ../modules 0/0/0755, 0/0/01777
No such device
mount: mounting ../rootfs on .aufs/rootfs failed: Invalid argument[/b]
Executing switch_root and spawning init
switch_root: can't execute '/sbin/init': No such file or directory
Kernel panic - not syncing: Attempted to kill init!
[<c00366c0>] (unwind_backtrace+0x0/0xec) from [<c0433258>] (panic+0x4c/0x180)
[<c0433258>] (panic+0x4c/0x180) from [<c00486fc>] (do_exit+0x6c/0x658)
[<c00486fc>] (do_exit+0x6c/0x658) from [<c0048ddc>] (sys_exit+0x14/0x18)
[<c0048ddc>] (sys_exit+0x14/0x18) from [<c0031ac0>] (ret_fast_syscall+0x0/0x2c)
')

I have tried to boot using the new UBIT USB DISK but the same error:

$this->bbcode_second_pass_code('', '
sd 2:0:0:0: [sda] Assuming drive cache: write through
sd 2:0:0:0: [sda] Attached SCSI removable disk
EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 8:1.
Freeing init memory: 164K
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
See Linux Documentation/init.txt for guidance.
[<c00366c0>] (unwind_backtrace+0x0/0xec) from [<c0433258>] (panic+0x4c/0x180)
[<c0433258>] (panic+0x4c/0x180) from [<c00315e0>] (init_post+0x108/0x138)
[<c00315e0>] (init_post+0x108/0x138) from [<c0008454>] (kernel_init+0x110/0x150)

[<c0008454>] (kernel_init+0x110/0x150) from [<c0032484>] (kernel_thread_exit+0x0
/0x8)
')

Please help.
enki
 
Posts: 10
Joined: Sat Jan 22, 2011 12:29 pm

Re: no serial, no network, bricked? led flashes...

Postby peaslaker » Fri Feb 04, 2011 8:27 am

There is lots of stuff that is working right in your setup. We are close.

It looks like the step to label the root filesystem has been skipped or was ineffective. Because of that it doesn't have the right partition set up and it doesn't find /sbin/init...
$this->bbcode_second_pass_code('', 'tune2fs -L "rootfs" /dev/sda1 # replacing /dev/sda1 with wherever the root filesystem has been unpacked.')

You also need to make sure it is the only partition marked as "rootfs".
$this->bbcode_second_pass_code('', 'blkid')

If there are multiple incorrect labellings of "rootfs" delete the inappropriate ones with:$this->bbcode_second_pass_code('', 'tune2fs -L "" /dev/sda1 #replacing /dev/sda1 with whichever partitions are causing the problem')

The failure of "uboot_chain" is unfortunate. It means that you don't have as easy a path back to OE functionality as is possible. Not the biggest worry in all of this.
peaslaker
 
Posts: 101
Joined: Tue Sep 07, 2010 10:40 pm

Re: no serial, no network, bricked? led flashes...

Postby peaslaker » Fri Feb 04, 2011 8:29 am

Does the UBIT installer disk still boot? It should do.
peaslaker
 
Posts: 101
Joined: Tue Sep 07, 2010 10:40 pm

Re: no serial, no network, bricked? led flashes...

Postby enki » Fri Feb 04, 2011 8:54 am

$this->bbcode_second_pass_quote('peaslaker', 'D')oes the UBIT installer disk still boot? It should do.


Like I said in the last post the UBIT USB DISK created with UBIT 0.5 is not booting anymore. see above, I get the same error from kernel ...as booting without it. Strange. Much obliged.
enki
 
Posts: 10
Joined: Sat Jan 22, 2011 12:29 pm

Re: no serial, no network, bricked? led flashes...

Postby peaslaker » Fri Feb 04, 2011 9:12 am

Just remembered that I gave you this instruction when setting up the UBIT installer disk:
$this->bbcode_second_pass_code('', '
mv uInitrd boot/uInitrd
')
This was to make it compatible with the original modified U-Boot environment. Now we are in a UBIT world, we need to put it back.

The map of boot paths for UBIT and for the other U-Boot are documented here: http://Arch Linux ARM.com/index.php5?title=Pl ... ex_Home.29
peaslaker
 
Posts: 101
Joined: Tue Sep 07, 2010 10:40 pm

Re: no serial, no network, bricked? led flashes...

Postby peaslaker » Fri Feb 04, 2011 10:00 am

If you are struggling for working boot options because of the mis-positioned UBIT ramdisk, you can edit the boot parameter on a one time basis and it will get you back to the UBIT environment. Once there you can verify the partition labels using the 'blkid' and 'tune2fs' commands as described and also move the ramdisk on the installer.

Just for the one time boot, interrupt U-Boot with the UBIT installer plugged in and set the parameter:
$this->bbcode_second_pass_code('', '
setenv ext2_rd 'ext2load $boot_dev $addr_rd /boot/uInitrd'
# DO NOT RUN saveenv
boot
')
peaslaker
 
Posts: 101
Joined: Tue Sep 07, 2010 10:40 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests