2010-06-30 21:24:11 +04:00
|
|
|
# BeagleBoard board-specific definitions
|
|
|
|
|
|
|
|
HAIKU_BOARD_DESCRIPTION = "BeagleBoard" ;
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Various hardcoded addresses
|
|
|
|
#
|
|
|
|
|
|
|
|
# load address for haiku_loader
|
|
|
|
HAIKU_BOARD_LOADER_BASE = 0x80008000 ;
|
|
|
|
# entry points (raw binary, and netbsd loader emulation)
|
|
|
|
HAIKU_BOARD_LOADER_ENTRY_RAW = 0x80008000 ;
|
|
|
|
HAIKU_BOARD_LOADER_ENTRY_NBSD = 0x80008008 ;
|
|
|
|
|
2012-05-18 02:39:37 +04:00
|
|
|
HAIKU_BOARD_LOADER_ENTRY = $(HAIKU_BOARD_LOADER_ENTRY_NBSD) ;
|
|
|
|
HAIKU_BOARD_LOADER_FAKE_OS = netbsd ;
|
|
|
|
|
2010-06-30 21:24:11 +04:00
|
|
|
# load address for haiku_loader uimage
|
|
|
|
# (must be different than real load address)
|
|
|
|
HAIKU_BOARD_LOADER_UIBASE = 0x84000000 ;
|
|
|
|
|
|
|
|
HAIKU_BOARD_LOADER_STACK_BASE = 0x84000000 ;
|
|
|
|
|
|
|
|
#
|
|
|
|
# Flash image
|
|
|
|
#
|
|
|
|
|
|
|
|
# OMAP x-loader image, must be first file on FAT partition
|
|
|
|
HAIKU_BOARD_MLO_IMAGE ?= MLO ;
|
2014-05-01 14:50:11 +04:00
|
|
|
HAIKU_BOARD_MLO_IMAGE_URL =
|
2014-06-13 19:15:24 +04:00
|
|
|
http://downloads.angstrom-distribution.org/demo/beagleboard/MLO ;
|
2010-06-30 21:24:11 +04:00
|
|
|
|
|
|
|
# u-boot binary image filename, to build the flash image
|
|
|
|
# XXX: Locate it somehow (for now just put it in generated/)
|
2014-06-13 19:15:24 +04:00
|
|
|
HAIKU_BOARD_UBOOT_IMAGE ?= u-boot.img ;
|
2014-05-01 14:50:11 +04:00
|
|
|
HAIKU_BOARD_UBOOT_IMAGE_URL =
|
2014-06-13 19:15:24 +04:00
|
|
|
http://downloads.angstrom-distribution.org/demo/beagleboard/u-boot.img ;
|
2010-06-30 21:24:11 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# mmc/SD image
|
|
|
|
#
|
|
|
|
|
|
|
|
# in MB
|
|
|
|
HAIKU_BOARD_SDIMAGE_SIZE = 64 ;
|
|
|
|
|
|
|
|
# in MB
|
|
|
|
HAIKU_BOARD_SDIMAGE_FAT_SIZE = 32 ;
|
|
|
|
|
2014-06-13 19:15:24 +04:00
|
|
|
mloFile = [ DownloadFile $(HAIKU_BOARD_MLO_IMAGE)
|
|
|
|
: $(HAIKU_BOARD_MLO_IMAGE_URL) ] ;
|
|
|
|
|
|
|
|
ubootFile = [ DownloadFile $(HAIKU_BOARD_UBOOT_IMAGE)
|
|
|
|
: $(HAIKU_BOARD_UBOOT_IMAGE_URL) ] ;
|
2010-06-30 21:24:11 +04:00
|
|
|
|
|
|
|
HAIKU_BOARD_SDIMAGE_FILES =
|
2014-06-13 19:15:24 +04:00
|
|
|
$(mloFile)
|
|
|
|
$(ubootFile)
|
2010-06-30 21:24:11 +04:00
|
|
|
haiku_loader_nbsd.ub
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# gcc flags for the specific cpu
|
|
|
|
#
|
|
|
|
|
2014-02-23 18:44:14 +04:00
|
|
|
HAIKU_ASFLAGS_$(HAIKU_PACKAGING_ARCH)
|
2014-04-22 11:49:32 +04:00
|
|
|
+= -mcpu=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard ;
|
2013-08-01 10:51:16 +04:00
|
|
|
HAIKU_CCFLAGS_$(HAIKU_PACKAGING_ARCH)
|
2014-04-22 11:49:32 +04:00
|
|
|
+= -mcpu=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard ;
|
2013-08-01 10:51:16 +04:00
|
|
|
HAIKU_C++FLAGS_$(HAIKU_PACKAGING_ARCH)
|
2014-04-22 11:49:32 +04:00
|
|
|
+= -mcpu=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard ;
|