]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
u-boot: update to 2011.12 and build MLO + bin for pandaboard.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 14 Mar 2012 15:45:07 +0000 (16:45 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 14 Mar 2012 15:45:07 +0000 (16:45 +0100)
config/rootfiles/common/armv5tel/u-boot [new file with mode: 0644]
config/rootfiles/common/armv5tel/uboot [deleted file]
config/u-boot/boot.scr [new file with mode: 0755]
config/u-boot/boot.script [new file with mode: 0755]
config/u-boot/convert_bootscript [new file with mode: 0755]
lfs/u-boot

diff --git a/config/rootfiles/common/armv5tel/u-boot b/config/rootfiles/common/armv5tel/u-boot
new file mode 100644 (file)
index 0000000..759d41d
--- /dev/null
@@ -0,0 +1,6 @@
+#boot/MLO
+#boot/u-boot.bin
+usr/bin/mkimage
+boot/boot.scr
+boot/boot.script
+boot/convert_bootscript
diff --git a/config/rootfiles/common/armv5tel/uboot b/config/rootfiles/common/armv5tel/uboot
deleted file mode 100644 (file)
index 80864b7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/bin/mkimage
diff --git a/config/u-boot/boot.scr b/config/u-boot/boot.scr
new file mode 100755 (executable)
index 0000000..bdc4267
Binary files /dev/null and b/config/u-boot/boot.scr differ
diff --git a/config/u-boot/boot.script b/config/u-boot/boot.script
new file mode 100755 (executable)
index 0000000..e30615f
--- /dev/null
@@ -0,0 +1,4 @@
+fatload mmc 0:1 0x80000000 uImage-ipfire-omap
+fatload mmc 0:1 0x81600000 uInit-ipfire-omap
+setenv bootargs vram=32M console=ttyO2,115200n8 rootwait smsc95xx.macaddr=$usbethaddr root=/dev/mmcblk0p3 rw
+bootm 0x80000000 0x81600000
diff --git a/config/u-boot/convert_bootscript b/config/u-boot/convert_bootscript
new file mode 100755 (executable)
index 0000000..962191f
--- /dev/null
@@ -0,0 +1 @@
+mkimage -A arm -T script -C none -d boot.script boot.scr
index 6fbd888ebc991342cd856cbee40605190240e485..551fea5269d536970e432df50266cc97f300df90 100644 (file)
 
 include Config
 
-VER        = 2011.06
+VER        = 2011.12
+# Linare version: git clone git://git.linaro.org/boot/u-boot-linaro-stable.git
+# Branch: origin/Linaro-u-boot-2011.12
 
-THISAPP    = u-boot-$(VER)
-DL_FILE    = $(THISAPP).tar.bz2
+THISAPP    = uboot-panda-$(VER)
+DL_FILE    = $(THISAPP).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -41,7 +43,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 0cc5026aad02f218a9b9ac56b301c97a
+$(DL_FILE)_MD5 = 19975e9bb4b10d8e67db84e51fcaa43b
 
 install : $(TARGET)
 
@@ -73,8 +75,13 @@ dist:
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && make tools $(MAKETUNING)
        cd $(DIR_APP) && install tools/mkimage /usr/bin/
+       cd $(DIR_APP) && make omap4_panda_config
+       cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && install MLO /boot/
+       cd $(DIR_APP) && install u-boot.bin /boot/
+       cp -vf $(DIR_SRC)/config/u-boot/* /boot/
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)