Re: kwuartboot on DreamPlug success
[Moving this discussion to debian-arm to keep others in the loop,
this is regarding booting a DreamPlug from UART using Leigh's kwuartboot
which you can find at http://www.solinno.co.uk/public/kwuartboot/]
> On Fri, 30 Sep 2011 17:47:54 +0200, Martin Lucina wrote:
> >firstname.lastname@example.org said:
> >>AFAICS there's an extra 0x200 byte header in the .kwb, do I just
> >>need to
> >>copy this onto the front of my u-boot.bin?
> >Seems to work:
> >[nodbug:kwuartboot-0.1]$ cat kwb-header u-boot.bin > new-boot.kwb
> >[nodbug:kwuartboot-0.1]$ ./kwuartboot /dev/ttyUSB0 ./new-boot.kwb
> >Sending boot pattern: power on or reset now...done
> >Sending file...|
> >Marvell>> ver
> >U-Boot 2011.09-rc2-00003-g279bbbc-dirty (Sep 28 2011 - 10:04:28)
> >arm-linux-gnueabi-gcc (Debian 4.4.5-8) 4.4.5
> >GNU ld (GNU Binutils for Debian) 220.127.116.1100303
> >Yoohoo. Leigh can you confirm that this is the right thing to do
> >and that's
> >just a verbatim magic header?
> Probably safer to configure the image to boot from UART.
> In board/Marvell/dreamplug/kwbimage.cfg (assuming you are using
> Jason's patches)
> BOOT_FROM spi
> BOOT_FROM uart
> and rebuild.
OK, I've done that. However, I still need to tack the magic header on to
u-boot.bin to get it to recognise the image. So, what is this magic header,
and shouldn't kwuartboot be doing that for me?
FYI, I've updated my U-boot tree to the 2011.09 release, it seems Jason's
DreamPlug patches haven't made it in there yet.