Kirkwood in DTocalypse Land

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

Re: Kirkwood in DTocalypse Land

Postby ebbix » Sat Apr 13, 2013 9:40 am

Bad eraseblocks errors should be fixed on GoFlex Net by mainstream kernel 3.8.6, 3.9-rc6 and 3.6.11-2 (not out yet) as a fix has been mainstreamed.
ebbix
 
Posts: 48
Joined: Fri Aug 10, 2012 1:55 pm

Re: Kirkwood in DTocalypse Land

Postby bodhi » Fri Apr 26, 2013 9:42 pm

@Kurlon,

I'm looking for the normal dtb load addr for kirkwoods. Appreciate to know if you've already found this.
http://forum.doozan.com/read.php?2,8177,9074#msg-9074

Thanks,
- bodhi
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: Kirkwood in DTocalypse Land

Postby pepedog » Fri Apr 26, 2013 11:02 pm

Maybe how it's done on cubox might help?
http://www.solid-run.com/phpbb/viewtopi ... 1109#p6344
Why would a uImage and zimage be required?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Kirkwood in DTocalypse Land

Postby bodhi » Sat Apr 27, 2013 3:14 am

Thanks pepedog!
I was guessing to load the dtb to higher address such as 0x1900000 (somewhere after uInitrd) but there might be a preferred location for Kirkwood. Looks like Cubox guy load it at 0x1c00000. For now I'll use that, and see what happen.
I think either uImage or zimage will work with new uBoot.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: Kirkwood in DTocalypse Land

Postby moonman » Sat Apr 27, 2013 5:47 am

zimage is not supported by u-boot AFAIK, that's why there's a uimage with a modified header for uboot. I don't know if current u-boot supports loading dtb's like that. Kurlon specifically said it needs to be appended to the kernel image and that was the main concern because if U-boot doesn't support it then EVERY kirkwood device would have to have a separate kernel.
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: Kirkwood in DTocalypse Land

Postby bodhi » Sat Apr 27, 2013 6:17 am

$this->bbcode_second_pass_quote('moonman', 'z')image is not supported by u-boot AFAIK, that's why there's a uimage with a modified header for uboot. I don't know if current u-boot supports loading dtb's like that. Kurlon specifically said it needs to be appended to the kernel image and that was the main concern because if U-boot doesn't support it then EVERY kirkwood device would have to have a separate kernel.


moonman,
Newer uBoot version does support it. What Kurlon said about appending the dtb to the kernel is so that it will work with older uBoot (we are using the older version in the installation). I've compiled a new uBoot version and hoping to test kernel 3.6.11 with it.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: Kirkwood in DTocalypse Land

Postby moonman » Sat Apr 27, 2013 7:10 am

Sweet. Wasn't aware there was even a newer U-Boot. 8-) What's the link? Or it isn't for public yet?
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: Kirkwood in DTocalypse Land

Postby bodhi » Sat Apr 27, 2013 7:25 am

I'm testing the GoFlex Net version right now, works fine with the non-FDT kernel 3.6.11. I'm still testing the FDT kernel. Will post it soon.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

Re: Kirkwood in DTocalypse Land

Postby moonman » Sat Apr 27, 2013 7:51 am

Well its nice to know somebody is working on it. It will definitely be easier to have dtb than update the support patch with every major kernel release.
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: Kirkwood in DTocalypse Land

Postby bodhi » Sat Apr 27, 2013 9:30 am

@moonman, definitely, I thought the same thing.
Status: I got it booted kernel 3.6.11 until the point where initrd (Debian) try to mount rootfs :) and it can't mount /dev/root. But it looks like the DTB was loaded correctly. So the problem I'm having is with the initrd.
bodhi
 
Posts: 225
Joined: Sat Aug 13, 2011 10:06 am

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 18 guests