mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
u-boot: update to 2011.12 and build MLO + bin for pandaboard.
This commit is contained in:
6
config/rootfiles/common/armv5tel/u-boot
Normal file
6
config/rootfiles/common/armv5tel/u-boot
Normal file
@@ -0,0 +1,6 @@
|
||||
#boot/MLO
|
||||
#boot/u-boot.bin
|
||||
usr/bin/mkimage
|
||||
boot/boot.scr
|
||||
boot/boot.script
|
||||
boot/convert_bootscript
|
||||
@@ -1 +0,0 @@
|
||||
usr/bin/mkimage
|
||||
BIN
config/u-boot/boot.scr
Executable file
BIN
config/u-boot/boot.scr
Executable file
Binary file not shown.
4
config/u-boot/boot.script
Executable file
4
config/u-boot/boot.script
Executable 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
|
||||
1
config/u-boot/convert_bootscript
Executable file
1
config/u-boot/convert_bootscript
Executable file
@@ -0,0 +1 @@
|
||||
mkimage -A arm -T script -C none -d boot.script boot.scr
|
||||
17
lfs/u-boot
17
lfs/u-boot
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user