2012-03-04 17:43:13 +04:00
|
|
|
# Raspberry Pi board-specific definitions
|
|
|
|
|
|
|
|
HAIKU_BOARD_DESCRIPTION = "Raspberry Pi" ;
|
2012-05-11 04:17:38 +04:00
|
|
|
HAIKU_BOOT_PLATFORM = raspberrypi_arm ;
|
|
|
|
|
2012-03-04 17:43:13 +04:00
|
|
|
#
|
|
|
|
# Various hardcoded addresses
|
|
|
|
#
|
|
|
|
|
|
|
|
HAIKU_BOARD_LOADER_BASE = 0x32000000 ;
|
|
|
|
|
|
|
|
#
|
|
|
|
# Flash image
|
|
|
|
#
|
|
|
|
|
2012-05-16 17:03:35 +04:00
|
|
|
# N/A for Raspberry Pi
|
2012-03-04 17:43:13 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# mmc/SD image
|
|
|
|
#
|
|
|
|
|
2012-05-16 17:03:35 +04:00
|
|
|
HAIKU_BOARD_FIRMWARE_URL = http://github.com/raspberrypi/firmware/raw/master/boot/ ;
|
|
|
|
HAIKU_BOARD_FIRMWARE_FILES =
|
|
|
|
bootcode.bin
|
|
|
|
loader.bin
|
|
|
|
arm224_start.elf # start.elf
|
|
|
|
LICENSE.broadcom
|
|
|
|
;
|
2012-03-04 17:43:13 +04:00
|
|
|
|
|
|
|
# in MB
|
|
|
|
HAIKU_BOARD_SDIMAGE_FAT_SIZE = 32 ;
|
2012-05-16 17:03:35 +04:00
|
|
|
HAIKU_BOARD_SDIMAGE_FAT_FILES =
|
|
|
|
$(HAIKU_BOARD_FIRMWARE_FILES)
|
2012-03-04 17:43:13 +04:00
|
|
|
haiku_loader
|
|
|
|
;
|
|
|
|
|
2012-05-16 17:03:35 +04:00
|
|
|
# in MB
|
|
|
|
HAIKU_BOARD_SDIMAGE_SIZE = 256 ;
|
2012-03-04 17:43:13 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# gcc flags for the specific cpu
|
|
|
|
#
|
|
|
|
|
2012-05-18 13:05:33 +04:00
|
|
|
HAIKU_KERNEL_CCFLAGS += -mtune=arm1176jzf-s ;
|
|
|
|
HAIKU_KERNEL_C++FLAGS += -mtune=arm1176jzf-s ;
|
|
|
|
HAIKU_CCFLAGS += -mtune=arm1176jzf-s ;
|
|
|
|
HAIKU_C++FLAGS += -mtune=arm1176jzf-s ;
|
2012-03-04 17:43:13 +04:00
|
|
|
|
|
|
|
# Workaround for ld using 32k for alignment despite forcing it in the config...
|
|
|
|
# should definitely not be needed!
|
2012-05-18 02:39:37 +04:00
|
|
|
HAIKU_KERNEL_LINKFLAGS +=
|
2012-03-04 17:43:13 +04:00
|
|
|
-Wl,-z -Wl,max-page-size=0x1000
|
|
|
|
-Wl,-z -Wl,common-page-size=0x1000 ;
|
2012-05-18 02:39:37 +04:00
|
|
|
HAIKU_LINKFLAGS +=
|
2012-03-04 17:43:13 +04:00
|
|
|
-Wl,-z -Wl,max-page-size=0x1000
|
|
|
|
-Wl,-z -Wl,common-page-size=0x1000 ;
|
|
|
|
|