u-boot: update to 2011.12 and build MLO + bin for pandaboard.

This commit is contained in:
Arne Fitzenreiter
2012-03-14 16:45:07 +01:00
parent 13dcb4ee03
commit 34d94c7c0e
6 changed files with 23 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
#boot/MLO
#boot/u-boot.bin
usr/bin/mkimage
boot/boot.scr
boot/boot.script
boot/convert_bootscript

View File

@@ -1 +0,0 @@
usr/bin/mkimage

BIN
config/u-boot/boot.scr Executable file

Binary file not shown.

4
config/u-boot/boot.script Executable file
View File

@@ -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

View File

@@ -0,0 +1 @@
mkimage -A arm -T script -C none -d boot.script boot.scr

View File

@@ -24,10 +24,12 @@
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)