Mercurial > hg > aboriginal
changeset 1383:609ef233c55e
Make ppc440 less wrong. Still need a proper bamboo board setup.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 16 Jun 2011 13:20:43 -0500 |
parents | 78195b716c3a |
children | 0e1b0c8f33c8 |
files | sources/targets/powerpc-440fp/miniconfig-linux sources/targets/powerpc-440fp/settings |
diffstat | 2 files changed, 23 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/targets/powerpc-440fp/miniconfig-linux Thu Jun 16 13:20:06 2011 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../powerpc/miniconfig-linux \ No newline at end of file
--- a/sources/targets/powerpc-440fp/settings Thu Jun 16 13:20:06 2011 -0500 +++ b/sources/targets/powerpc-440fp/settings Thu Jun 16 13:20:43 2011 -0500 @@ -11,8 +11,30 @@ UCLIBC_HAS_FPU=y " +# This isn't correct, qemu should use -M bamboo and the kernel config +a variant of 44x/bamboo_defconfig, but building that wants uboot and +the vmlinux won't boot without a device tree binary. TODO item. + +LINUX_CONFIG=" +CONFIG_ALTIVEC=y +CONFIG_PPC_PMAC=y +CONFIG_PPC_OF_BOOT_TRAMPOLINE=y +CONFIG_PPC601_SYNC_FIX=y +CONFIG_PROC_DEVICETREE=y +CONFIG_BLK_DEV_CMD64X=y +CONFIG_BLK_DEV_IDE_PMAC=y +CONFIG_MACINTOSH_DRIVERS=y +CONFIG_ADB=y +CONFIG_ADB_CUDA=y +CONFIG_NE2K_PCI=y +CONFIG_SERIO=y +CONFIG_SERIAL_PMACZILOG=y +CONFIG_SERIAL_PMACZILOG_TTYS=y +CONFIG_SERIAL_PMACZILOG_CONSOLE=y +CONFIG_BOOTX_TEXT=y +" + emulator_command() { - # Should be -M bamboo, but that doesn't work in qemu. echo qemu-system-ppc -M g3beige $(qemu_defaults "$@") }