BoardSetup revision 0a163b65
1# Gumstix Overo board-specific definitions
2
3HAIKU_BOARD_DESCRIPTION = "Gumstix Overo" ;
4
5
6#
7# Various hardcoded addresses
8#
9
10# load address for haiku_loader
11HAIKU_BOARD_LOADER_BASE = 0x80008000 ;
12# entry points (raw binary, and netbsd loader emulation)
13HAIKU_BOARD_LOADER_ENTRY_RAW = 0x80008000 ;
14HAIKU_BOARD_LOADER_ENTRY_NBSD = 0x80008008 ;
15
16HAIKU_BOARD_LOADER_ENTRY = $(HAIKU_BOARD_LOADER_ENTRY_NBSD) ;
17HAIKU_BOARD_LOADER_FAKE_OS = netbsd ;
18
19# load address for haiku_loader uimage
20# (must be different than real load address)
21HAIKU_BOARD_LOADER_UIBASE = 0x84000000 ;
22
23#
24# mmc/SD image
25#
26
27# in MB
28HAIKU_BOARD_SDIMAGE_SIZE = 256 ;
29
30# in MB
31HAIKU_BOARD_SDIMAGE_FAT_SIZE = 32 ;
32
33# autoboot script
34HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME = gumstix-factory.script ;
35HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT = "\
36setenv bootargs debug_screen true; \
37if mmcinit; then \
38	fatload mmc 0 $(HAIKU_BOARD_LOADER_UIBASE) haiku_loader.ub; \
39	bootm $(HAIKU_BOARD_LOADER_UIBASE); \
40fi" ;
41
42HAIKU_BOARD_SDIMAGE_FILES =
43	haiku_loader
44	haiku_loader.ub
45	haiku_loader_nbsd.ub
46	$(HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME)
47;
48
49
50#
51# gcc flags for the specific cpu
52#
53
54HAIKU_CCFLAGS_$(HAIKU_PACKAGING_ARCH)
55	+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
56HAIKU_C++FLAGS_$(HAIKU_PACKAGING_ARCH)
57	+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
58