view sources/targets/powerpc @ 1728:b89324905ca2 draft

Giant redo to put simple-root-filesystem in initmpfs. NO_NATIVE_COMPILER and NO_ROOTDIRS went away, kernel built moved back into system-image.sh, old root-filesystem.sh and root-image.sh are no longer used, I need to fix up several things (chroot-splice.sh, the lfs-bootstrap build is breaking in mpfr, haven't tested this on all targets yet... but the basics are in.
author Rob Landley <rob@landley.net>
date Fri, 06 Feb 2015 01:51:54 -0600
parents e74afb9aac72
children 4927c8b8de1b
line wrap: on
line source

DESCRIPTION="
Power PC, 32 bit

Generic Power PC system, a basic unoptimized instruction set which
just about any powerpc should be able to run.

The main exceptions are the 440 and 880 lines, which were stripped down
versions of the powerpc (created by IBM and Motorola, respectively) targetted
at battery powered devices such as cell phones.  They do not support the
entire powerpc instruction set.  (Alas, the two chose _different_ subsets, so
they don't run each other's code either.  These days the 880 is known as
PowerQuic.)
"

KARCH=powerpc
KERNEL_PATH=vmlinux
GCC_FLAGS=--enable-secureplt # --with-long-double-64 (default on 4.2.1)
BINUTILS_FLAGS=
QEMU_TEST=ppc

CONSOLE=ttyS0

UCLIBC_CONFIG="
TARGET_powerpc=y
UCLIBC_HAS_FPU=y
"

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_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()
{
  echo qemu-system-ppc -M g3beige $(qemu_defaults "$@")
}