[oe-commits] org.oe.dev uboot-utils: Update to include configs specific to fic-gta01 and turbostation

nail commit openembedded-commits at lists.openembedded.org
Sun Mar 11 03:51:29 UTC 2007


uboot-utils: Update to include configs specific to fic-gta01 and turbostation

Author: nail at nslu2-linux.org
Branch: org.openembedded.dev
Revision: 32536525315e3cb31c5dd980b055f0ecb13acead
ViewMTN: http://monotone.openembedded.org/revision.psp?id=32536525315e3cb31c5dd980b055f0ecb13acead
Files:
1
packages/uboot-utils/files/fic-gta01
packages/uboot-utils/files/turbostation
packages/uboot-utils/files/fic-gta01/fw_env.config
packages/uboot-utils/files/turbostation/fw_env.config
packages/uboot-utils/uboot-utils_1.1.2.bb
Diffs:

#
# mt diff -r0895611809bccee9fc39b9e09fdcd228c56813b7 -r32536525315e3cb31c5dd980b055f0ecb13acead
#
# 
# 
# add_dir "packages/uboot-utils/files/fic-gta01"
# 
# add_dir "packages/uboot-utils/files/turbostation"
# 
# add_file "packages/uboot-utils/files/fic-gta01/fw_env.config"
#  content [43d22d3cac7c0fc5e16f0cf64bf5faaf64bb3299]
# 
# add_file "packages/uboot-utils/files/turbostation/fw_env.config"
#  content [efee16915344f6b0a7900e6d47864e0f6a86ef36]
# 
# patch "packages/uboot-utils/uboot-utils_1.1.2.bb"
#  from [271b5d27f7360952b52b2b153e16681365aa7676]
#    to [b869bc6c7b34055de125ea85e56803eb993ab1ad]
# 
============================================================
--- packages/uboot-utils/files/fic-gta01/fw_env.config	43d22d3cac7c0fc5e16f0cf64bf5faaf64bb3299
+++ packages/uboot-utils/files/fic-gta01/fw_env.config	43d22d3cac7c0fc5e16f0cf64bf5faaf64bb3299
@@ -0,0 +1,6 @@
+# Configuration file for fw_(printenv/saveenv) utility.
+# Up to two entries are valid, in this case the redundand
+# environment sector is assumed present.
+
+# MTD device name	Device offset	Env. size	Flash sector size
+/dev/mtd1		0x0000		0x4000		0x4000
============================================================
--- packages/uboot-utils/files/turbostation/fw_env.config	efee16915344f6b0a7900e6d47864e0f6a86ef36
+++ packages/uboot-utils/files/turbostation/fw_env.config	efee16915344f6b0a7900e6d47864e0f6a86ef36
@@ -0,0 +1,15 @@
+# Configuration file for fw_(printenv/saveenv) utility.
+# Up to two entries are valid, in this case the redundand
+# environment sector is assumed present.
+
+# MTD device name       Device offset   Env. size       Flash sector size
+
+# Primary U-Boot environment. You shouldn't need to touch this. If you touch this,
+# you should be *very* sure about what you're doing if you don't have a serial 
+# cable attached!
+# /dev/mtd4               0x00000          0x20000         0x20000
+
+# Secondary U-Boot environment. This is a *bit* more safe to modify, but can easily
+# render your turbostation unbootable! 
+
+/dev/mtd5		0x00000		0x20000		0x20000
============================================================
--- packages/uboot-utils/uboot-utils_1.1.2.bb	271b5d27f7360952b52b2b153e16681365aa7676
+++ packages/uboot-utils/uboot-utils_1.1.2.bb	b869bc6c7b34055de125ea85e56803eb993ab1ad
@@ -1,14 +1,15 @@ DEPENDS = "mtd-utils"
 DESCRIPTION = "U-boot bootloader OS env. access tools for PPC"
 SECTION = "bootloaders"
 PRIORITY = "optional"
 LICENSE = "GPL"
 DEPENDS = "mtd-utils"
-PR = "2"
+PR = "r3"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/u-boot/u-boot-${PV}.tar.bz2 \
 	 file://fw_env.c.patch;patch=1 \
 	 file://tools-Makefile.patch;patch=1 \
-	 file://env-Makefile.patch;patch=1 "
+	 file://env-Makefile.patch;patch=1 \
+	 file://fw_env.config"
 
 S = "${WORKDIR}/u-boot-${PV}"
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
@@ -35,7 +36,7 @@ do_install () {
 do_install () {
 	install -d	${D}/sbin
 	install -d	${D}${sysconfdir}
+	install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
 	install -m 755 ${S}/tools/env/fw_printenv ${D}/sbin/fw_printenv
 	install -m 755 ${S}/tools/env/fw_printenv ${D}/sbin/fw_setenv
-	install -m 644 ${S}/tools/env/fw_env.config ${D}${sysconfdir}/fw_env.config
 }






More information about the Openembedded-commits mailing list