Welcome! Log In Create A New Profile

Advanced

Can't boot into Plug OS (Debian works)

Posted by noplan 
Can't boot into Plug OS (Debian works)
September 06, 2010 04:05PM
I've successfully installed Debian Sqeeze (thanks to jeff :) ). But now, Plug OS does not start when the USB stick is removed. The LED flashes a while in green, then a while in orange, then green again an so on (tried it for about 12 hours, nothing happens). When I plug the stick to it and reboot it, it starts Debian.

Whats wrong with it?! Everything works fine except booting into Plug OS :( What can I do to get Plug OS back?

Thanks for help.

blparam:
root@debian:/usr/sbin# blparam
baudrate=115200
loads_echo=0
ipaddr=169.254.254.253
serverip=169.254.254.254
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
run_diag=yes
console=console=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/mtdblock2 ro
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
ethaddr=00:10:75:1A:CA:CE
cesvcid=7J8A3B3MAJGKYT3YCB7KLWHXWN
ceserialno=2GEP1FN9
ceboardver=REDSTONE:1.0
bootcmd_original=nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000
bootcmd=run bootcmd1
root@debian:/usr/sbin#


fv_printenv
root@debian:/usr/sbin# fw_printenv
bootcmd=run bootcmd_usb; usb stop; run bootcmd_pogo; reset
bootdelay=3
baudrate=115200
preboot=
arcNumber=2097
mainlineLinux=yes
console=ttyS0,115200
usb_init=usb start
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
bootcmd_pogo=fsload uboot-original-mtd0.kwb; go 0x800200
usb_load_uimage=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage
usb_boot=if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000;else bootm 0x800000;fi;
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts
bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot;
led_init=green blinking
led_exit=green off
led_error=orange blinking
stdin=serial
stdout=serial
stderr=serial
ethact=egiga0
ethaddr=00:10:75:1A:CA:CE
root@debian:/usr/sbin# fw_printenv

Re: Can't boot into Plug OS (Debian works)
September 07, 2010 10:56AM
Could it be that the PlugOS has a different IP?
Re: Can't boot into Plug OS (Debian works)
September 12, 2010 08:08PM
Hopefully you found an answer to this. On mine, I had one IP for the debian boot and another for the pogo plug boot. This is before I made changes to my network config.

The reason for this (I think) is pogo boots with no hostname and debian boots with "debian" as the host name. My linksys box gave each one a different IP address.

Best bet is to look at what addresses have been assigned by DHCP in your router config (if you can).
Re: Can't boot into Plug OS (Debian works)
September 13, 2010 04:15AM
Thanks for the help. The IP should be the same, I've used the dockstar with the original Pogoplug service/tools before I installed Debian, and my DHCP didn't show a new IP.

In the meantime I have bricked my dockstar. Someone in another forum said, I can copy back my backup-files with "dd if=/dev/mtd0 of=mtd0.img" (for all 4 files). After I did this, the dockstar was dead. No blinking LED, no boot, no nothing :(

It may be, that the NAND-flash was faulty. I had three dockstars, the first one still runs fine, the second one was faulty (did not boot because of NAND-CRC errors) and the third one was the one this thread is about.

Now I've bought a cheap Intel Atom system that works fine.
linuxkasten
Re: Can't boot into Plug OS (Debian works)
September 13, 2010 05:04AM
noplan Wrote:
-------------------------------------------------------
> Someone in another forum said, I can copy back my
> backup-files with "dd if=/dev/mtd0 of=mtd0.img"
> (for all 4 files). After I did this, the dockstar
> was dead. No blinking LED, no boot, no nothing :(

"dd if=/dev/mtd0 of=mtd0.img" would only backup again. If you want to copy back your backups, it should be like that: "dd of=/dev/mtd0 if=mtd0.img" (if and of swapped). I donĀ“t know what went wrong.
Re: Can't boot into Plug OS (Debian works)
September 13, 2010 05:11AM
Sorry, you're right, I did dd if=mtd0.img of=/dev/mtd0
Maybe there was really a problem with the NAND flash...
ecc
Re: Can't boot into Plug OS (Debian works)
September 13, 2010 06:46AM
linuxkasten Wrote:
-------------------------------------------------------
> If you want to copy back your backups, it should be like that:
> "dd of=/dev/mtd0 if=mtd0.img"

You should use "nandwrite" instead of "dd" to write to NAND flash, since it knows how to handle the ECC (no relation :-) and possible bad blocks.
Re: Can't boot into Plug OS (Debian works)
September 13, 2010 10:28AM
Hi noplan

Does the u-Boot still working?
If the u-boot still work then you can try what I did on mine,,
http://forum.doozan.com/read.php?2,519,538#msg-538
Re: Can't boot into Plug OS (Debian works)
September 13, 2010 12:21PM
Hi,

I don't know. After reading tons of hints in the internet, hours and hours in SSH and finally a bricked dockstar, I gave my dockstar away.
The CA-42 costs around 5$, thats half the price of your dockstar :) so I didn't try a serial connection.
Re: Can't boot into Plug OS (Debian works)
September 14, 2010 08:55AM
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: