- don't clobber the parameter regs in the entry point,
- fix entry point address for netbsd loader emulation,
- added a gUImage global to point to the uimage blob with the tgz,
- added tgz info to platform stage2 args,
- add simple uimage support, just dumps the header and gets the nth blob in the image, (seems we have a bug in the math code, some infos don't print),
- made devices.cpp use them to publish the MemoryDisk,
- add an haiku_loader_nbsd.ub target which puts both the loader and kernel_arm for now (need to replace with the tgz).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32295 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2009-08-13 05:28:30 +00:00
parent f4e0ad68b3
commit 01c8294cc7
9 changed files with 171 additions and 21 deletions
+5 -2
View File
@@ -11,7 +11,7 @@ HAIKU_BOARD_DESCRIPTION = "Gumstix Overo" ;
HAIKU_BOARD_LOADER_BASE = 0x80008000 ;
# entry points (raw binary, and netbsd loader emulation)
HAIKU_BOARD_LOADER_ENTRY_RAW = 0x80008000 ;
HAIKU_BOARD_LOADER_ENTRY_NBSD = 0x80008004 ;
HAIKU_BOARD_LOADER_ENTRY_NBSD = 0x80008008 ;
# load address for haiku_loader uimage
# (must be different than real load address)
@@ -36,7 +36,9 @@ HAIKU_BOARD_SDIMAGE_BFS_OFFSET = ;
# autoboot script
HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME = gumstix-factory.script ;
HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT = "if mmcinit; then \
HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT = "\
setenv bootargs debug_screen true; \
if mmcinit; then \
fatload mmc 0 $(HAIKU_BOARD_LOADER_UIBASE) haiku_loader.ub; \
bootm $(HAIKU_BOARD_LOADER_UIBASE); \
fi" ;
@@ -44,6 +46,7 @@ fi" ;
HAIKU_BOARD_SDIMAGE_FILES =
haiku_loader
haiku_loader.ub
haiku_loader_nbsd.ub
$(HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME)
;
+7 -4
View File
@@ -10,7 +10,7 @@ HAIKU_BOARD_DESCRIPTION = "Gumstix Verdex" ;
HAIKU_BOARD_LOADER_BASE = 0xa2000000 ;
# entry points (raw binary, and netbsd loader emulation)
HAIKU_BOARD_LOADER_ENTRY_RAW = 0xa2000000 ;
HAIKU_BOARD_LOADER_ENTRY_NBSD = 0xa2000004 ;
HAIKU_BOARD_LOADER_ENTRY_NBSD = 0xa2000008 ;
# load address for haiku_loader uimage
# (must be different than real load address)
@@ -46,14 +46,17 @@ HAIKU_BOARD_SDIMAGE_FAT_SIZE = 32 ;
# autoboot script
HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME = gumstix-factory.script ;
HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT = "if mmcinit; then \
fatload mmc 0 $(HAIKU_BOARD_LOADER_UIBASE) haiku_loader.ub; \
HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT = "\
setenv bootargs debug_screen true; \
if mmcinit; then \
fatload mmc 0 $(HAIKU_BOARD_LOADER_UIBASE) haiku_loader_nbsd.ub; \
bootm $(HAIKU_BOARD_LOADER_UIBASE); \
fi" ;
HAIKU_BOARD_SDIMAGE_FILES =
haiku_loader
haiku_loader.ub
haiku_loader.ub
haiku_loader_nbsd.ub
$(HAIKU_BOARD_SDIMAGE_UBOOT_SCRIPT_NAME)
;