BoardSetup revision f5e19a38
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
23HAIKU_BOARD_LOADER_STACK_BASE = 0x84000000 ;
24
25
26#
27# mmc/SD image
28#
29
30# in MB
31HAIKU_BOARD_SDIMAGE_SIZE = 256 ;
32
33# in MB
34HAIKU_BOARD_SDIMAGE_FAT_SIZE = 32 ;
35
36# offset in blocks XXX: FIXME
37# (autodetect from sfdisk or use cylinder count for fat size)
38HAIKU_BOARD_SDIMAGE_BFS_OFFSET = ;
39
40# autoboot script
41HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME = gumstix-factory.script ;
42HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT = "\
43setenv bootargs debug_screen true; \
44if mmcinit; then \
45	fatload mmc 0 $(HAIKU_BOARD_LOADER_UIBASE) haiku_loader.ub; \
46	bootm $(HAIKU_BOARD_LOADER_UIBASE); \
47fi" ;
48
49HAIKU_BOARD_SDIMAGE_FILES =
50	haiku_loader
51	haiku_loader.ub
52	haiku_loader_nbsd.ub
53	$(HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME)
54;
55
56
57#
58# gcc flags for the specific cpu
59#
60
61HAIKU_CCFLAGS_$(HAIKU_PACKAGING_ARCH)
62	+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
63HAIKU_C++FLAGS_$(HAIKU_PACKAGING_ARCH)
64	+= -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=soft ;
65