Welcome! Log In Create A New Profile

Advanced

BootLoop after fresh install on Pogoplug E02

Posted by droidbox 
BootLoop after fresh install on Pogoplug E02
April 28, 2023 04:04PM
Hello, I got a new pogoplug.
Installed after "Basic Debian bullseye Kirkwood rootfs for most Kirwood plugs / Updated 26 Sept 2021" and created uImage after "Stock u-boot only".

Now it unfortunately sticks after boot.
U-Boot 1.1.4 (Sep 28 2009 - 11:55:23) Cloud Engines v2.0 (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 256MB 
DRAM Total size 256MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:128 MB

CPU : Marvell Feroceon (Rev 1)
CLOUD ENGINES BOARD: PPV2

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 
Unknown command 'usb' - try 'help'

** Block device usb 0 not supported

** Block device usb 0 not supported
## Booting image at 00800000 ...
Bad Magic Number
Unknown command 'usb' - try 'help'
CE>> printenv 
baudrate=115200
loads_echo=0
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
bootargs=console=ttyS0,115200 root=/dev/mtdblock2 ro
serverip=169.254.254.252
ipaddr=169.254.254.253
ethaddr=00:25:31:04:8B:59
cesvcid=66NAJX6ZSUBL36X7VKZ5H5VBMS
ceboardver=PPV2
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
load_uimage=ext2load usb 0:1 0x800000 /boot/uImage
load_uinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd
usb_boot=mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000
usb_bootcmd=run usb_set_bootargs; run usb_boot
bootcmd=usb reset; run usb_bootcmd; usb stop; reset
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

Environment size: 1073/131068 bytes

Does anyone have a tip for me?
Re: BootLoop after fresh install on Pogoplug E02
April 28, 2023 04:11PM
droidbox,

Look likes this stock u-boot version does not have usb command. At serial console prompt

help
usb

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: BootLoop after fresh install on Pogoplug E02
April 28, 2023 04:12PM
Oh shit, this is right.
CE>> usb
Unknown command 'usb' - try 'help'
And now? Brick for ever ;-)
Re: BootLoop after fresh install on Pogoplug E02
April 28, 2023 04:26PM
Do help:
help
And if tftpboot is in the list of commands, then load the 2kernel files over tftp, boot into the USB rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 04/28/2023 04:42PM by bodhi.
Re: BootLoop after fresh install on Pogoplug E02
April 28, 2023 05:35PM
Okay, the tftp runs fine
CE>> tftpboot 0x800000 uImage
Using egiga0 device
TFTP from server 10.10.172.223; our IP address is 10.10.172.10
Filename 'uImage'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########################
done
Bytes transferred = 5446002 (531972 hex)

and
CE>> tftpboot 0x2100000 uInitrd
Using egiga0 device
TFTP from server 10.10.172.223; our IP address is 10.10.172.10
Filename 'uInitrd'.
Load address: 0x2100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####
done
Bytes transferred = 9671091 (9391b3 hex)

But unfortunately I do not know now!
Re: BootLoop after fresh install on Pogoplug E02
April 28, 2023 05:44PM
Okay, one step more
bootm 0x800000 0x2100000

but
Loading, please wait...
Starting version 247.3-6
[   13.685807][    T7] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.26 PQ: 0 ANSI: 5
[   13.713615][   T58] sd 0:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
[   13.740484][   T58] sd 0:0:0:0: [sda] Write Protect is off
[   13.754730][   T58] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   13.791979][   T58]  sda: sda1 sda2
[   13.804858][   T58] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.941886][  T140] usbcore: registered new interface driver uas
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.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/mtdblock2 does not exist.  Dropping to a shell!


BusyBox v1.30.1 (Debian 1:1.30.1-6+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.


Re: BootLoop after fresh install on Pogoplug E02
April 28, 2023 05:46PM
droidbox,

Cool!

After those 2 tftpboot commands, you can boot into USB Debian rootfs:
run usb_set_bootargs
bootm 0x800000 0x2100000

After you loged into Debian, you can proceed to install new u-boot.
https://forum.doozan.com/read.php?3,12381

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: BootLoop after fresh install on Pogoplug E02
April 28, 2023 05:47PM
See what I just posted above. Bootargs is needed.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: BootLoop after fresh install on Pogoplug E02
April 28, 2023 06:09PM
Machine is back in life. Thanks for your help.
Author:

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: