Re: [U-Boot] Dreamplug v10 uboot

Jason,
These instructions are great, however they don't work for the newer v10 Dreamplugs. I would be happy to lend my v10 Dreamplug to the cause to get a workable U-Boot for it.

Hi Steven,
On Tue, Jul 10, 2012 at 10:57:53AM -0500, Steven McGrath wrote:
These instructions are great, however they don't work for the newer v10 Dreamplugs. I would be happy to lend my v10 Dreamplug to the cause to get a workable U-Boot for it.
Can you please try with kwboot? It's in mainline now, look at commit:
d131ad68c6566749df10154d2a6fa93df5865495
Regards, Luka

Luka,
Working on it. Trying to get a workable build environment at the moment. I have been using binary u-boot images and do not have a build environment for u-boot. Trying to build one on Fedora, however not seeing any good docs on how to do it >.<

I have everything working via openocd I compiled a U-Boot for Dreamplug on a Raspberry Pi and noticed that it isn't configured to support the V10 Dreamplugs. I'm compiling another version as we speak for the guru plug board and will report back on that one.
The V10s don't have SPI/NOR flash anymore, they have 512MB NAND and I think this is causing all of the problems.

-----Original Message----- From: u-boot-bounces@lists.denx.de [mailto:u-boot- bounces@lists.denx.de] On Behalf Of Steven McGrath Sent: 11 July 2012 01:28 To: Jason; u-boot@lists.denx.de Subject: Re: [U-Boot] Dreamplug v10 uboot
I have everything working via openocd I compiled a U-Boot for Dreamplug on a Raspberry Pi and noticed that it isn't configured to support the V10 Dreamplugs. I'm compiling another version as we speak for the guru plug board and will report back on that one.
The V10s don't have SPI/NOR flash anymore, they have 512MB NAND and I think this is causing all of the problems.
May be, modifying the board configuration for this change and mpp settings to use NAND interface may help to bring this board up. So you need to build the code.
Regards... Prafulla . . .

Below is my current progress, as I'm not any kind of a programmer (I hack in Python a bit) this is where I hit a brick wall.
I compiled U-Boot with both Guruplug and Dreamplug configurations. The Dreamplug configuration I cannot flash as it will want to boot from SPI, which isn't on the V10s, however this is how it looks:
U-Boot 2012.07-rc1 (Jul 10 2012 - 23:45:01) Marvell-DreamPlug
SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled SF: Unsupported manufacturer 00 *** Warning - spi_flash_probe() failed, using default environment
In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1116 Initialized on egiga0 88E1116 Initialized on egiga1 Hit any key to stop autoboot: 0 Marvell>>
The Guruplug configuration on the other hand I can flash, however causes random kernel panics when I start loading up memory. For example, when I try to run through the pip installation process I get "BUG: soft lockup - CPU#0 stuck for 22s! [python:439]" when I know this works fine on my Raspberry Pis. Here is how it looks:
U-Boot 2012.07-rc1 (Jul 10 2012 - 23:23:24) Marvell-GuruPlug
SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 512 MiB In: serial Out: serial Err: serial Net: egiga0, egiga1 88E1121 Initialized on egiga0 88E1121 Initialized on egiga1 Hit any key to stop autoboot: 0 Marvell>>
Also here is my environment that I am booting with:
baudrate=115200 boot_memory=bootm 0x6400000 0x7400000 bootargs=console=ttyS0,115200 root=/dev/sda2 rootwait bootcmd=${usb_start}; ${load_image}; ${load_initrd}; ${boot_memory} bootdelay=3 eth1addr=f0:ad:4e:01:15:32 ethact=egiga0 ethaddr=f0:ad:4e:01:15:31 load_image=fatload usb 0:1 0x6400000 uImage-kirkwood load_initrd=fatload usb 0:1 0x7400000 uInitrd-kirkwood stderr=serial stdin=serial stdout=serial usb_start=usb start;usb start
USB is started twice, this was to get around a bug in 2012.04 where USB wouldn't always come up.
#To build I just followed the instructions: make clean make BOARD_config make all make u-boot.kwb
# Then I copy the files into where I start OpenOCD cp u-boot /srv/openocd/uboot.elf cp u-boot.kwb /srv/openocd/uboot.bin
# Then in OpenOCD, I run the sheevaplug_load_uboot script to load boot.elf onto the plug and start it up.
participants (3)
-
Luka Perkov
-
Prafulla Wadaskar
-
Steven McGrath