annotate sources/targets/powerpc-440fp/settings @ 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 6d0b8eacd14e
children f1d2afdf2034
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
705
04109e3f877e Rename "details" to "settings" in sources/targets.
Rob Landley <rob@landley.net>
parents: 701
diff changeset
1 source "$CONFIG_DIR/powerpc/settings"
692
e6eccf8454ea Build for the PowerPC 440. (Someday, I may be able to test this...)
Rob Landley <rob@landley.net>
parents:
diff changeset
2
1371
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 871
diff changeset
3 DESCRIPTION="Power PC 440, with hardware floating point."
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 871
diff changeset
4
692
e6eccf8454ea Build for the PowerPC 440. (Someday, I may be able to test this...)
Rob Landley <rob@landley.net>
parents:
diff changeset
5 CROSS_TARGET=powerpc-unknown-linux
701
b4a9c0084f2f Converted ARMV5L from OABI to EABI with VFP support. Added patches for uClibc and uClibc++ to deal with Unwind Exception handling, made uClibc++ pull in libgcc_eh for this as well, and disabled SJLJ exceptions for ARMV5L EABI, which is apparently required, so --enable-sjlj-exceptions was added to the details file for all the other arches. Also correct the GENTOO_CHOST variable for armeb.
Mark Miller <mark@mirell.org>
parents: 692
diff changeset
6 GCC_FLAGS="--with-cpu=440fp --with-tune=440fp ${GCC_FLAGS}"
692
e6eccf8454ea Build for the PowerPC 440. (Someday, I may be able to test this...)
Rob Landley <rob@landley.net>
parents:
diff changeset
7 BINUTILS_FLAGS="--with-cpu=440fp --with-tune=440fp"
e6eccf8454ea Build for the PowerPC 440. (Someday, I may be able to test this...)
Rob Landley <rob@landley.net>
parents:
diff changeset
8
871
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 804
diff changeset
9 UCLIBC_CONFIG="
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 804
diff changeset
10 TARGET_powerpc=y
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 804
diff changeset
11 UCLIBC_HAS_FPU=y
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 804
diff changeset
12 "
b274eb556b50 Merge common uclibc miniconfig stuff into baseconfig-uClibc, and add the few lines that vary per target to each target's settings file.
Rob Landley <rob@landley.net>
parents: 804
diff changeset
13
1383
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
14 # This isn't correct, qemu should use -M bamboo and the kernel config
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
15 a variant of 44x/bamboo_defconfig, but building that wants uboot and
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
16 the vmlinux won't boot without a device tree binary. TODO item.
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
17
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
18 LINUX_CONFIG="
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
19 CONFIG_ALTIVEC=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
20 CONFIG_PPC_PMAC=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
21 CONFIG_PPC_OF_BOOT_TRAMPOLINE=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
22 CONFIG_PPC601_SYNC_FIX=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
23 CONFIG_PROC_DEVICETREE=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
24 CONFIG_BLK_DEV_CMD64X=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
25 CONFIG_BLK_DEV_IDE_PMAC=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
26 CONFIG_MACINTOSH_DRIVERS=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
27 CONFIG_ADB=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
28 CONFIG_ADB_CUDA=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
29 CONFIG_NE2K_PCI=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
30 CONFIG_SERIO=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
31 CONFIG_SERIAL_PMACZILOG=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
32 CONFIG_SERIAL_PMACZILOG_TTYS=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
33 CONFIG_SERIAL_PMACZILOG_CONSOLE=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
34 CONFIG_BOOTX_TEXT=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
35 "
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
36
692
e6eccf8454ea Build for the PowerPC 440. (Someday, I may be able to test this...)
Rob Landley <rob@landley.net>
parents:
diff changeset
37 emulator_command()
e6eccf8454ea Build for the PowerPC 440. (Someday, I may be able to test this...)
Rob Landley <rob@landley.net>
parents:
diff changeset
38 {
804
14ebb6e13ce2 Use the powerpc kernel config for powerpc-440fp, since the 440 instruction set is more or less a subset of powerpc, and qemu can't emulate the processor for a bamboo board yet. (So the toolchain and root filesystem is 440, and we boot with full powerpc kernel and qemu to test it.)
Rob Landley <rob@landley.net>
parents: 706
diff changeset
39 echo qemu-system-ppc -M g3beige $(qemu_defaults "$@")
692
e6eccf8454ea Build for the PowerPC 440. (Someday, I may be able to test this...)
Rob Landley <rob@landley.net>
parents:
diff changeset
40 }