[U-Boot-Board-Maintainers] Update U-Boot 2009 project source code

Marek Vasut marex at denx.de
Sun Jun 16 20:33:01 UTC 2019


On 6/16/19 6:49 PM, MLX JJey wrote:
> Hi all!

Hi,

> I have a pocket pc board with an Marvell PXA310 (basically an iPAQ
> 214), and find that someone did a U-Boot port long ago.
> The port is based on U-Boot 2009.01-rc1, and because of that it has
> some functions missing.
> The question is: how can I update this project to a newer U-Boot? or I
> need to re-port this board to a newer version?

You probably need to convert the whole thing to DM and add DT probing.
A lot of that was done for PXA2xx, which is rather similar to PXA3xx.
The PXA3xx (monahans) platform code was probably removed from mainline
U-Boot, so you would have to re-add that. The good thing is, you can dig
it out from the git history.

And then there's the PXA3xx SPL, which I think never made it mainline.
I had an out-of-tree implementation [1], but it's old and crappy, so you
would have to take it and convert it to U-Boot SPL framework.

I recall using this weird marvell xdb with blackstone2 debug probe to
reload the SPL, however I think you should be able to make do with an
openocd and reflash the SPL and U-Boot from U-Boot started over JTAG.
Note that since you are messing with a bootloader, having JTAG access
is critical for restoring the system.

[1] https://sourceforge.net/p/openpxa/code/ci/master/tree/

> I'm a begineer on all of this (C Programming), but i have experience
> in C# and a little experiencie in C++ so I can read some of the code.
> _______________________________________________
> U-Boot-Board-Maintainers mailing list
> U-Boot-Board-Maintainers at lists.denx.de
> https://lists.denx.de/listinfo/u-boot-board-maintainers
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot-Board-Maintainers mailing list