diff options
author | Leon Woestenberg <leon@sidebranch.com> | 2010-09-04 20:30:01 +0200 |
---|---|---|
committer | Leon Woestenberg <leon@sidebranch.com> | 2010-09-04 20:35:31 +0200 |
commit | 72fed19769b30515c18636acf30426b5d834fcaf (patch) | |
tree | ff6886cf7c648e5f7bcaa51201efd5baaefbf93b /conf | |
parent | f27f8ee50852b8f9bfa0707fbfa8c3f7511bb721 (diff) | |
download | openembedded-72fed19769b30515c18636acf30426b5d834fcaf.tar.gz |
Added Freescale P1020RDB machine and linux-powerpc-fsl-2.6.35.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/include/angstrom-eglibc.inc | 7 | ||||
-rw-r--r-- | conf/machine/p1020rdb.conf | 30 |
2 files changed, 34 insertions, 3 deletions
diff --git a/conf/distro/include/angstrom-eglibc.inc b/conf/distro/include/angstrom-eglibc.inc index 6c504b4c82..f38837d12b 100644 --- a/conf/distro/include/angstrom-eglibc.inc +++ b/conf/distro/include/angstrom-eglibc.inc @@ -5,10 +5,11 @@ ANGSTROM_BLACKLIST_pn-libiconv = "the glibc builtin iconv replacement is used" TARGET_OS = "linux" -TARGET_OS .= "${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" -TARGET_OS .= "${@['','-gnuspe'][bb.data.getVar('TARGET_ARCH',d,1) in ['ppc', 'powerpc'] and bb.data.getVar('MACHINE',d) in ['calamari']]}" +# sane-toolchain.inc has this, and explains the GNU and ABI suffices: +#TARGET_OS = "${@compute_os_portion_of_target_triplet(d)}" -#TARGET_OS = "linux-gnuspe" +TARGET_OS .= "${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" +TARGET_OS .= "${@['','-gnuspe'][bb.data.getVar('TARGET_ARCH',d,1) in ['ppc', 'powerpc'] and bb.data.getVar('MACHINE',d) in ['calamari','p1020rdb','p2020rdb']]}" # perl has some problems, see http://bugs.openembedded.net/show_bug.cgi?id=1616 # [23:00] oxo: glibc (any version) on sparc does not like (repeat me) "-Os" diff --git a/conf/machine/p1020rdb.conf b/conf/machine/p1020rdb.conf new file mode 100644 index 0000000000..1e9c7032e9 --- /dev/null +++ b/conf/machine/p1020rdb.conf @@ -0,0 +1,30 @@ +#@TYPE: Machine +#@Name: Freescale P1020RDB +#@DESCRIPTION: Machine configuration for the Freescale P1020RDB Reference Design Board + +# Development board with a PowerPC SoC with MMU/FPU and PCI, PCI Express, SATA, etc. + +TARGET_ARCH = "powerpc" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux" + +MACHINE_FEATURES = "kernel26 usbhost pci ext2 uboot" + +KERNEL_IMAGETYPE = "uImage" + +PREFERRED_VERSION_u-boot ?= "git" +UBOOT_MACHINE = "P1020RDB_config" +UBOOT_ENTRYPOINT = "0" +UBOOT_LOADADDRESS = "0" + +# rootfs on NAND flash -- possibly incorrect, not tested yet, for this machine +EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x4000 --no-cleanmarkers" + +#don't try to access tty1 +USE_VT = "0" + +SERIAL_CONSOLE = "115200 ttyS0" + +#tune for the e500v2 core +require conf/machine/include/tune-ppce500v2.inc + |