annotate sources/targets/powerpc-440fp/settings @ 1401:f1d2afdf2034

Add base_architecture, make base architectures and extra targets work, and move i586 virtio stuff to new i686-kvm target.
author Rob Landley <rob@landley.net>
date Mon, 27 Jun 2011 06:40:25 -0500
parents 609ef233c55e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1371
6d0b8eacd14e Merge description files into settings files as $DESCRIPTION entry.
Rob Landley <rob@landley.net>
parents: 871
diff changeset
1 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
2
1401
f1d2afdf2034 Add base_architecture, make base architectures and extra targets work, and move i586 virtio stuff to new i686-kvm target.
Rob Landley <rob@landley.net>
parents: 1383
diff changeset
3 base_architecture powerpc
f1d2afdf2034 Add base_architecture, make base architectures and extra targets work, and move i586 virtio stuff to new i686-kvm target.
Rob Landley <rob@landley.net>
parents: 1383
diff changeset
4
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
5 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
6 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
7
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
8 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
9 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
10 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
11 "
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
1383
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
13 # 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
14 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
15 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
16
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
17 LINUX_CONFIG="
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
18 CONFIG_ALTIVEC=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
19 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
20 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
21 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
22 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
23 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
24 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
25 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
26 CONFIG_ADB=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_CUDA=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
28 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
29 CONFIG_SERIO=y
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
30 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
31 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
32 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
33 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
34 "
609ef233c55e Make ppc440 less wrong. Still need a proper bamboo board setup.
Rob Landley <rob@landley.net>
parents: 1371
diff changeset
35
692
e6eccf8454ea Build for the PowerPC 440. (Someday, I may be able to test this...)
Rob Landley <rob@landley.net>
parents:
diff changeset
36 emulator_command()
e6eccf8454ea Build for the PowerPC 440. (Someday, I may be able to test this...)
Rob Landley <rob@landley.net>
parents:
diff changeset
37 {
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
38 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
39 }