Porting ofw to custom board

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? Is there a porting guide? Thank you, Max -- Max Ruttenberg, Member of the Technical Staff Emu Technology 270 W 39th St. #1302 New York, NY 10018

On Wed, Nov 29, 2017 at 2:56 PM, Max Ruttenberg <mruttenberg@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
participants (2)
-
Artyom Tarasenko
-
Max Ruttenberg