[U-Boot] Dreamplug v10 uboot
Steven McGrath
steve at cugnet.net
Wed Jul 11 01:15:05 CEST 2012
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.
--
Steven McGrath
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, July 10, 2012 at 11:51 AM, Luka Perkov wrote:
> 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
>
>
More information about the U-Boot
mailing list