On Wed, Nov 29, 2017 at 2:56 PM, Max Ruttenberg email@example.com wrote:
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.