[openfirmware] Porting ofw to custom board

Artyom Tarasenko atar4qemu at gmail.com
Thu Nov 30 11:34:56 CET 2017


On Wed, Nov 29, 2017 at 2:56 PM, Max Ruttenberg
<mruttenberg at emutechnology.com> wrote:
> Hi all,
>
> I'm interested in porting ofw to a board with QorIQ ppce5500
> processor. The board currently uses U-Boot as its primary and
> secondary boot loader.
>
> Is it possible to boot into an ofw image from U-Boot?

Looks like it should work:
cpu/ppc/ppcboot.fth has some references:
[ifdef] uboot-entry
...

Also there is an utility to create U-Boot-format images:
cpu/ppc/olpc/fwuboot.bth

> Is there a porting guide?

Sort of:
http://wiki.laptop.org/go/Cross_Compiling_Open_Firmware

Note that for PPC-based platforms it's a bit easier as there is a
cross-platform wrapper ppcforth,
so you don't have to mess with qemu user mode emulation.


-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu



More information about the openfirmware mailing list