From 935a9b24cfccebe01de66fb8d2544b6d0ae5daaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 11 May 2012 02:24:52 +0200 Subject: [PATCH] Add board definition for ACube Sam460ex * It's a PowerPC embedded board that uses U-Boot. * We don't want an SD image (yet?) * tune for the ppc440 with soft-float for now. --- build/jam/board/sam460ex/BoardSetup | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 build/jam/board/sam460ex/BoardSetup diff --git a/build/jam/board/sam460ex/BoardSetup b/build/jam/board/sam460ex/BoardSetup new file mode 100644 index 0000000000..01bc72d220 --- /dev/null +++ b/build/jam/board/sam460ex/BoardSetup @@ -0,0 +1,34 @@ +# ACube SAM460ex board-specific definitions + +HAIKU_BOARD_DESCRIPTION = "ACube Sam460ex" ; + +# must force both since they are set before this file is read. +HAIKU_BOOT_PLATFORM = u-boot ; +TARGET_BOOT_PLATFORM = u-boot ; + +#FIXME!!!!!!!!!!!!!!! +# +# Various hardcoded addresses +# + +# load address for haiku_loader +HAIKU_BOARD_LOADER_BASE = 0x00000000 ; +# entry points (raw binary, and netbsd loader emulation) +HAIKU_BOARD_LOADER_ENTRY_RAW = 0x00000000 ; +HAIKU_BOARD_LOADER_ENTRY_NBSD = 0x00000008 ; + +# load address for haiku_loader uimage +# (must be different than real load address) +HAIKU_BOARD_LOADER_UIBASE = 0x02000000 ; + +HAIKU_BOARD_LOADER_STACK_BASE = 0x02000000 ; + +# +# gcc flags for the specific cpu +# + +TARGET_KERNEL_CCFLAGS += -mtune=440 -msoft-float ; +TARGET_KERNEL_C++FLAGS += -mtune=440 -msoft-float ; +TARGET_CCFLAGS += -mtune=440 -msoft-float ; +TARGET_C++FLAGS += -mtune=440 -msoft-float ; +