[SOLVED] Only able to boot with ext3

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

[SOLVED] Only able to boot with ext3

Postby maxim » Sat Oct 27, 2012 12:23 am

When I decided to do a fresh install on a bigger usb stick, I noticed that I was only able to boot the system with ext3. When I formatted it to ext2, I was unable to ssh in to it.

I went back and checked my old usb stick I noticed that it also had ext3.. and I always thought I was using ext2 :) . So I don't know if I ever been able to boot from ext2.

This isn't any big problem, I'm quite happy with ext3 (as long as it works of course :) ) , never had any problems with my old stick. I'm just curious why it isn't working with ext2..

I'm by the way running the newest uBoot.
Last edited by maxim on Sat Oct 27, 2012 9:43 pm, edited 1 time in total.
PogoPlug v2 Pink, w/ transmission, flexget, nfs, owncloud..
maxim
 
Posts: 9
Joined: Sun Jun 19, 2011 7:25 pm

Re: Only able to boot with ext3

Postby moonman » Sat Oct 27, 2012 12:28 am

Run fw_printenv

see if uboot environment variabe usb_rootfstype is set to ext3. It probably is since ext2 doesn't work. This variable gets passed as kernel boot param. so it tells kernel that the frootfs fylesystem is ext3. ext2 would work on ext3 fs, but ext3 on ext2 won't find the journal so it will fail.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Only able to boot with ext3

Postby maxim » Sat Oct 27, 2012 9:41 pm

Excellent! It was just that. thanks!
PogoPlug v2 Pink, w/ transmission, flexget, nfs, owncloud..
maxim
 
Posts: 9
Joined: Sun Jun 19, 2011 7:25 pm

Re: [SOLVED] Only able to boot with ext3

Postby bluechalk2 » Thu Nov 01, 2012 3:05 am

I would like to make this change on my black Pogoplug Pro P01, but I'm having trouble with fw_printenv. What are the correct values for fw_env.config?
bluechalk2
 
Posts: 14
Joined: Fri Jul 09, 2010 12:39 pm

Re: [SOLVED] Only able to boot with ext3

Postby moonman » Thu Nov 01, 2012 3:28 am

I believe you need to comment out the one for dockstar:
$this->bbcode_second_pass_quote('', '/')dev/mtd0 0xc0000 0x20000 0x20000
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [SOLVED] Only able to boot with ext3

Postby bluechalk2 » Thu Nov 01, 2012 1:22 pm

I tried:
/dev/mtd0 0xc0000 0x20000 0x20000

That doesn't work. I get:

# fw_printenv
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200

I copied the executable for fw_printenv from my dockstar. Could that be a problem? If so, where do I get the executable?
bluechalk2
 
Posts: 14
Joined: Fri Jul 09, 2010 12:39 pm

Re: [SOLVED] Only able to boot with ext3

Postby moonman » Thu Nov 01, 2012 1:42 pm

I just realized p01 is pp pro whoch is armv6. It is not the same as dockstar with a completely different cpu. You should ask in pp pro forum unless anybody in this section knows...
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [SOLVED] Only able to boot with ext3

Postby pepedog » Thu Nov 01, 2012 2:04 pm

uboot-env is the package, p01 uses v5 repo
With the cubox fw_printenv is not affected by addresses, they directly access the SPI flash where the parameters are stored
Just experiment with /etc/fw_env.config, try different /dev/mtd numbers
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [SOLVED] Only able to boot with ext3

Postby WarheadsSE » Thu Nov 01, 2012 2:39 pm

Actually, the oxnas line that was used by CE used a modified checksum that uboot-env doesn't work with.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [SOLVED] Only able to boot with ext3

Postby bluechalk2 » Thu Nov 01, 2012 7:45 pm

For the Pro, the solution to this problem is to use blparam.

See viewtopic.php?f=29&t=2764
bluechalk2
 
Posts: 14
Joined: Fri Jul 09, 2010 12:39 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests