Status of Haiku on Sam460ex

Nov 4, 2012 - QEMU Sam460ex Target. ○ Didn't exist. – CPU is only partially emulated. – Other similar targets only support direct linux boot. ○ For now ...
106KB taille 46 téléchargements 383 vues
Status of Haiku on Sam460ex

François Revol

2012-11-04 1/6

Status of Haiku on Sam460

026

Hardware ●

Sam460ex board from ACube



Applied Micro PPC460EX SoC



PCI Express + SATA



USB2, Gbit Ethernet, SD



Silicon Motion SM502 gfx



U-Boot as firmware



Runs Linux, AmigaOS, AROS

2012-11-04 2/6

Status of Haiku on Sam460

026

QEMU Sam460ex Target ●

Didn't exist –

CPU is only partially emulated



Other similar targets only support direct linux boot



For now starts haiku_loader as a linux kernel



Also starts U-Boot but fails enumerating RAM

2012-11-04 3/6

Status of Haiku on Sam460

026

Haiku port ●

Branch on github –





Sam460 U-Boot has custom API for AmigaOS –

Ugly functions export to a 2nd stage loader



Instead of compiling in the official U-Boot API...

We fake linux, using the new FDT boot method –

U-Boot passes a Flattened Device Tree



Similar to OpenFirmware device tree, but as data

2012-11-04 4/6

https://github.com/mmuman/haiku/tree/sam460ex

Status of Haiku on Sam460

026

AMCC PPC460EX SoC ●

Book-E embedded PPC CPU



36 bit addressing –



The MMU is just a TLB –



You're on your own.

Took some time to port to Linux –

2012-11-04 5/6

Including for Memory Mapped I/O...

Several ways explored

Status of Haiku on Sam460

026

Demo... ●

With QEMU

2012-11-04 6/6

Status of Haiku on Sam460

026