ここ数日間でKOZOSのPowerPCへの移植を進めていたのだけど、本日無事動作した。
まあ一度移植したことあるので移植作業自体はとくに難しくはないのだが、ちょっとソースがぐちゃぐちゃになってしまったので、いったん整理してから公開します。
やっぱり実ハードウエアの上で動くと、FreeBSD上で動かすのとはまた違った新たな感動があるね。
以下、ブートメッセージ。
# bootm 80000
## Booting image at 00080000 ...
Image Name: smplimg
Created: 2009-03-04 14:36:55 UTC
Image Type: PowerPC U-Boot Standalone Program (uncompressed)
Data Size: 17712 Bytes = 17.3 kB
Load Address: 00040000
Entry Point: 00040000
OK
puts ok
printf ok
PVR = 80822014
MSR = 0000b002
MSR = 00003002
MBAR (from SPR) = f0000000
MBAR (from MBAR) = 0000f000
MBAR (from bd) = f0000000
IBPclock = 66000000
baudrate = 115200
MSR = 00003002
MSR_EE set OK
> echo test
test
OK
> echo testtesttest
testtesttest
OK
>