public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 6cda03e8316751061b64ba9f1c39f72a13e78818
@ 2014-12-22 11:38 git
  0 siblings, 0 replies; only message in thread
From: git @ 2014-12-22 11:38 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 3915 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, master has been updated
       via  6cda03e8316751061b64ba9f1c39f72a13e78818 (commit)
       via  15094e71e68dd3f96d61bf62aa9c0f7d170bf787 (commit)
      from  56e211f66eda13d263a9aa4e2aa81c2cfd1bb50f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6cda03e8316751061b64ba9f1c39f72a13e78818
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Sun Dec 21 12:43:45 2014 +0100

    u-boot: auto patch kernel version and change panda dtb in uEnv.txt.

commit 15094e71e68dd3f96d61bf62aa9c0f7d170bf787
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Sun Dec 21 12:17:04 2014 +0100

    flash-images: u-boot dtb folder work around.
    
    u-boot cannot find folders that are created later...

-----------------------------------------------------------------------

Summary of changes:
 config/u-boot/uEnv.txt | 5 +++--
 lfs/flash-images       | 3 +++
 lfs/u-boot             | 2 ++
 3 files changed, 8 insertions(+), 2 deletions(-)
 mode change 100644 => 100755 config/u-boot/uEnv.txt

Difference in files:
diff --git a/config/u-boot/uEnv.txt b/config/u-boot/uEnv.txt
old mode 100644
new mode 100755
index b3bfb47..bc3facc
--- a/config/u-boot/uEnv.txt
+++ b/config/u-boot/uEnv.txt
@@ -1,3 +1,4 @@
 uenvcmd=if test "$board" = "panda" ;then run bootpanda; else run bootbananapi; fi;
-bootpanda=setenv initrd_high 90000000; fatload mmc 0:1 0x82000000 zImage-ipfire-multi; fatload mmc 0:1 ${fdtaddr} omap4-${board_name}.dtb; setenv bootargs video=800x600 console=tty1 rootwait smsc95xx.macaddr=$usbethaddr root=/dev/mmcblk0p3 ro; bootz 0x82000000 - ${fdtaddr};
-bootbananapi=setenv fdt_high ffffffff; fatload mmc 0:1 0x46000000 zImage-ipfire-multi; fatload mmc 0:1 0x49000000 sun7i-a20-bananapi.dtb;  setenv bootargs console=ttyS0,115200n8 rootwait root=/dev/mmcblk0p3 rootwait;                            bootz 0x46000000 - 0x49000000;
+KVER=xxxKVERxxx
+bootpanda=setenv initrd_high 90000000; fatload mmc 0:1 0x82000000 zImage-ipfire-multi; fatload mmc 0:1 ${fdtaddr} dtb-${KVER}-ipfire-multi/${fdtfile};              setenv bootargs video=800x600 console=tty1 rootwait smsc95xx.macaddr=$usbethaddr root=/dev/mmcblk0p3 ro;           bootz 0x82000000 - ${fdtaddr};
+bootbananapi=setenv fdt_high ffffffff; fatload mmc 0:1 0x46000000 zImage-ipfire-multi; fatload mmc 0:1 0x49000000 dtb-${KVER}-ipfire-multi/sun7i-a20-bananapi.dtb;  setenv bootargs console=ttyS0,115200n8 rootwait root=/dev/mmcblk0p3 rootwait;                                      bootz 0x46000000 - 0x49000000;
diff --git a/lfs/flash-images b/lfs/flash-images
index e92a506..f213476 100644
--- a/lfs/flash-images
+++ b/lfs/flash-images
@@ -121,6 +121,9 @@ ifeq "$(MACHINE_TYPE)" "arm"
 	cp -v /boot/MLO $(MNThdd)/boot/
 	cp -v /boot/u-boot.img $(MNThdd)/boot/
 	cp -v /boot/zImage-ipfire-multi $(MNThdd)/boot/
+	# work around a u-boot bug not find the folders sometimes
+	mkdir -pv $(MNThdd)/boot/dtb-$(KVER)-ipfire-multi
+	mkdir -pv $(MNThdd)/boot/dtb-$(KVER)-ipfire-kirkwood
 	sync
 	umount $(MNThdd)/boot
 	mount $(PART_BOOT) $(MNThdd)/boot
diff --git a/lfs/u-boot b/lfs/u-boot
index 1552566..28f6508 100644
--- a/lfs/u-boot
+++ b/lfs/u-boot
@@ -126,6 +126,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
 	# config (uEnv.txt)
 	cp -vf $(DIR_SRC)/config/u-boot/* /boot/
+	# patch real Kernel version to uEnv.txt
+	sed -e "s/xxxKVERxxx/$(KVER)/g" -i /boot/uEnv.txt
 
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-22 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-22 11:38 [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 6cda03e8316751061b64ba9f1c39f72a13e78818 git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox