2012-03-04 17:43:13 +04:00
|
|
|
# Raspberry Pi board-specific definitions
|
|
|
|
|
|
|
|
HAIKU_BOARD_DESCRIPTION = "Raspberry Pi" ;
|
2015-03-06 07:41:27 +03:00
|
|
|
HAIKU_BOOT_PLATFORM = u-boot ;
|
2012-05-11 04:17:38 +04:00
|
|
|
|
2012-03-04 17:43:13 +04:00
|
|
|
#
|
|
|
|
# Various hardcoded addresses
|
|
|
|
#
|
|
|
|
|
2012-09-10 05:53:54 +04:00
|
|
|
HAIKU_BOARD_LOADER_BASE = 0x0 ;
|
2012-03-04 17:43:13 +04:00
|
|
|
|
2012-11-28 05:00:00 +04:00
|
|
|
HAIKU_BOARD_BOOT_ARCHIVE_BASE = 0x04000000 ;
|
|
|
|
HAIKU_BOARD_BOOT_ARCHIVE_SIZE = 0x00400000 ;
|
|
|
|
# TODO: needs to be configured in the config.txt
|
|
|
|
# ramfsfile=haiku-floppyboot.tgz and ramfsaddr=x
|
|
|
|
|
2012-03-04 17:43:13 +04:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
#
|
|
|
|
|
2013-08-01 10:51:16 +04:00
|
|
|
HAIKU_CCFLAGS_$(HAIKU_PACKAGING_ARCH) += -mtune=arm1176jzf-s ;
|
|
|
|
HAIKU_C++FLAGS_$(HAIKU_PACKAGING_ARCH) += -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 ;
|
2013-08-01 10:51:16 +04:00
|
|
|
HAIKU_LINKFLAGS_$(HAIKU_PACKAGING_ARCH) +=
|
2012-03-04 17:43:13 +04:00
|
|
|
-Wl,-z -Wl,max-page-size=0x1000
|
|
|
|
-Wl,-z -Wl,common-page-size=0x1000 ;
|
|
|
|
|