From 6b1a2e0561871064a07ef9ca95c37abe48bae0cb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 5 Jan 2015 16:12:39 +0100 Subject: fix config.txt to use different bootloaders --- package/bcm2835-bootloader/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'package') 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 -- cgit v1.2.3