commit bcd30f48845f703778a9a7bf5b1e58d768fb4ad8
parent 0415ef05abb1b53482a2be14bb0bb20b09704955
Author: oblique <psyberbits@gmail.com>
Date: Fri, 24 May 2013 02:41:02 +0300
Add u-boot-linaro-stable as submodule
Diffstat:
5 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -9,3 +9,4 @@
/kernel.syms
/uImage
/voron.tar.gz
+/boot/boot.scr
diff --git a/.gitmodules b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "boot/omap4boot"]
path = boot/omap4boot
url = git://github.com/swetland/omap4boot.git
+[submodule "boot/u-boot-linaro-stable"]
+ path = boot/u-boot-linaro-stable
+ url = git://git.linaro.org/boot/u-boot-linaro-stable.git
diff --git a/Makefile b/Makefile
@@ -43,6 +43,13 @@ uImage: kernel.bin
@echo -e " AS\t$<"
@$(CC) $(ASFLAGS) -c -o $@ $<
+bootloader:
+ git submodule init
+ git submodule update
+ make -C boot/u-boot-linaro-stable CROSS_COMPILE=$(CROSS_COMPILE) omap4_panda_config
+ make -C boot/u-boot-linaro-stable CROSS_COMPILE=$(CROSS_COMPILE)
+ cd boot && mkimage -A arm -T script -C none -a 0 -e 0 -n "Panda SD Boot" -d boot_sd.conf boot.scr
+
clean:
@rm -f $(KERNEL_OBJS) kernel.elf kernel.bin kernel.syms uImage voron.tar.gz
diff --git a/boot/boot_sd.conf b/boot/boot_sd.conf
@@ -0,0 +1,2 @@
+fatload mmc 0 80000000 uImage
+bootm 80000000
diff --git a/boot/u-boot-linaro-stable b/boot/u-boot-linaro-stable
@@ -0,0 +1 @@
+Subproject commit 30dd996a40c7673258bd5743c0813230d92abc7c