summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-01-05 16:12:39 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-01-05 16:12:39 +0100
commit6b1a2e0561871064a07ef9ca95c37abe48bae0cb (patch)
treeaa025320df5167317b26e193a5567ca23a655d8c
parent5cae74e26f3802a7680350547eaf96980bfe1020 (diff)
fix config.txt to use different bootloaders
-rw-r--r--package/bcm2835-bootloader/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/bcm2835-bootloader/Makefile b/package/bcm2835-bootloader/Makefile
index 421c5701c..42db6521f 100644
--- a/package/bcm2835-bootloader/Makefile
+++ b/package/bcm2835-bootloader/Makefile
@@ -29,16 +29,21 @@ INSTALL_STYLE:= manual
do-install:
$(INSTALL_DIR) $(IDIR_BCM2835_BOOTLOADER)/boot
$(CP) $(WRKBUILD)/boot/bootcode.bin $(IDIR_BCM2835_BOOTLOADER)/boot/
+ printf "kernel=kernel\n" > $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt
ifeq ($(ADK_PACKAGE_BCM2835_BOOTLOADER_DEFAULT),y)
$(CP) $(WRKBUILD)/boot/{start.elf,fixup.dat} $(IDIR_BCM2835_BOOTLOADER)/boot/
+ printf "start_file=start.elf\n" >> $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt
+ printf "fixup_file=fixup.dat\n" >> $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt
endif
ifeq ($(ADK_PACKAGE_BCM2835_BOOTLOADER_EXTRA),y)
$(CP) $(WRKBUILD)/boot/{start_x.elf,fixup_x.dat} $(IDIR_BCM2835_BOOTLOADER)/boot/
- printf "start_x=1\n" >> $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt
+ printf "start_file=start_x.elf\n" >> $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt
+ printf "fixup_file=fixup_x.dat\n" >> $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt
endif
ifeq ($(ADK_PACKAGE_BCM2835_BOOTLOADER_CUTDOWN),y)
$(CP) $(WRKBUILD)/boot/{start_cd.elf,fixup_cd.dat} $(IDIR_BCM2835_BOOTLOADER)/boot/
- printf "start_cd=1\n" >> $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt
+ printf "start_file=start_cd.elf\n" >> $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt
+ printf "fixup_file=fixup_cd.dat\n" >> $(IDIR_BCM2835_BOOTLOADER)/boot/config.txt
endif
printf "gpu_mem=$(ADK_TARGET_GPU_MEM)\n" >> \
$(IDIR_BCM2835_BOOTLOADER)/boot/config.txt