[oe-commits] Ulf Samuelsson : Add at91bootstrap-2.13-rc4 which enables external reset

git version control git at git.openembedded.org
Sat Aug 22 14:56:03 UTC 2009


Module: openembedded.git
Branch: ulf/linux-2.6.30.2
Commit: cd5512fb786c93e8424dc8284e98a94e60c50382
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cd5512fb786c93e8424dc8284e98a94e60c50382

Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date:   Sat Aug 22 16:12:54 2009 +0200

Add at91bootstrap-2.13-rc4 which enables external reset

---

 recipes/at91bootstrap/at91bootstrap.inc            |   16 ++++++++++------
 recipes/at91bootstrap/at91bootstrap_2.13-rc4.bb    |   14 ++++++++++++++
 .../AT91SAM9G45_RomCode_Replacement_13.bin         |  Bin 25804 -> 25804 bytes
 .../AT91SAM9G45_RomCode_Replacement_13.bin.zip     |  Bin 14868 -> 14868 bytes
 .../at91sam9g45ekes/README.TXT                     |    0 
 .../files/Makefile.jffs2                           |    0 
 .../NAND-empty-1MB.jffs2.bz2                       |  Bin 45 -> 45 bytes
 .../SD-card-tools.tar.bz2                          |  Bin 1140 -> 1140 bytes
 .../fixboot.py.tar.bz2                             |  Bin 304 -> 304 bytes
 9 files changed, 24 insertions(+), 6 deletions(-)

diff --git a/recipes/at91bootstrap/at91bootstrap.inc b/recipes/at91bootstrap/at91bootstrap.inc
index 0434544..f7e48a2 100644
--- a/recipes/at91bootstrap/at91bootstrap.inc
+++ b/recipes/at91bootstrap/at91bootstrap.inc
@@ -45,13 +45,17 @@ copy_file () {
 		rm -f ${dst}/${file}
 		install -m 755 ${src}/${file}	 ${dst}/${file}
 		echo "AT91BOOTSTRAP: copied ${file} to ${dst}"
+	elif test -e ${S}/files/${file} ; then
+		rm -f ${dst}/${file}
+		install -m 755 ${S}/files/${file}	 ${dst}/${file}
+		echo "AT91BOOTSTRAP: copied ${file} to ${dst}"
 	else
 		echo "AT91BOOTSTRAP.do_install: ${src}/${file} did not exist"
 	fi
 }
 
 do_install() {
-	install -d ${DEPLOY_DIR_IMAGE}
+	install -d ${DEPLOY_DIR_IMAGE}/Utilities
 
 	oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" install
 
@@ -59,12 +63,12 @@ do_install() {
 		copy_file	AT91SAM9G45_RomCode_Replacement.bin	${WORKDIR}	${DEPLOY_DIR_IMAGE}
 		copy_file	README.txt				${WORKDIR}	${DEPLOY_DIR_IMAGE}
 	fi
-	copy_file	NAND-empty-1MB.jffs2			${WORKDIR}	${DEPLOY_DIR_IMAGE}
-	copy_file	mk-sd-card.sh				${WORKDIR}	${DEPLOY_DIR_IMAGE}
-	copy_file	write-to-SD-card.sh			${WORKDIR}	${DEPLOY_DIR_IMAGE}
-	copy_file	fixboot.py				${WORKDIR}	${DEPLOY_DIR_IMAGE}
+	copy_file	NAND-empty-1MB.jffs2			${WORKDIR}	${DEPLOY_DIR_IMAGE}/Utilities
+	copy_file	mk-sd-card.sh				${WORKDIR}	${DEPLOY_DIR_IMAGE}/Utilities
+	copy_file	write-to-SD-card.sh			${WORKDIR}	${DEPLOY_DIR_IMAGE}/Utilities
+	copy_file	fixboot.py				${WORKDIR}	${DEPLOY_DIR_IMAGE}/Utilities
 #	copy_file						${WORKDIR}	${DEPLOY_DIR_IMAGE}
 
 	install		-d 	${D}/home/root
-	copy_file	mk-sd-card.sh				${D}/home/root	${DEPLOY_DIR_IMAGE}
+	copy_file	mk-sd-card.sh				${WORKDIR}	${D}/home/root
 }
diff --git a/recipes/at91bootstrap/at91bootstrap_2.13-rc4.bb b/recipes/at91bootstrap/at91bootstrap_2.13-rc4.bb
new file mode 100644
index 0000000..20da481
--- /dev/null
+++ b/recipes/at91bootstrap/at91bootstrap_2.13-rc4.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "at91bootstrap: loaded into internal SRAM by AT91 BootROM"
+SECTION = "bootloaders"
+
+PR = "r0"
+
+SRC_URI = "ftp://www.at91.com/pub/buildroot/${PN}-${PV}.tar.bz2 \
+	"
+
+# This is the way to add a custom defconfig
+SRC_URI_append_at91customek = \
+	file://defconfig \
+	#
+
+require at91bootstrap.inc
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin b/recipes/at91bootstrap/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin
similarity index 100%
rename from recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin
rename to recipes/at91bootstrap/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin.zip b/recipes/at91bootstrap/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin.zip
similarity index 100%
rename from recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin.zip
rename to recipes/at91bootstrap/at91sam9g45ekes/AT91SAM9G45_RomCode_Replacement_13.bin.zip
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/README.TXT b/recipes/at91bootstrap/at91sam9g45ekes/README.TXT
similarity index 100%
rename from recipes/at91bootstrap/at91bootstrap-2.13-rc1/at91sam9g45ekes/README.TXT
rename to recipes/at91bootstrap/at91sam9g45ekes/README.TXT
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/files/Makefile.jffs2 b/recipes/at91bootstrap/files/Makefile.jffs2
similarity index 100%
rename from recipes/at91bootstrap/at91bootstrap-2.13-rc1/files/Makefile.jffs2
rename to recipes/at91bootstrap/files/Makefile.jffs2
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/NAND-empty-1MB.jffs2.bz2 b/recipes/at91bootstrap/files/NAND-empty-1MB.jffs2.bz2
similarity index 100%
rename from recipes/at91bootstrap/at91bootstrap-2.13-rc1/NAND-empty-1MB.jffs2.bz2
rename to recipes/at91bootstrap/files/NAND-empty-1MB.jffs2.bz2
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/SD-card-tools.tar.bz2 b/recipes/at91bootstrap/files/SD-card-tools.tar.bz2
similarity index 100%
rename from recipes/at91bootstrap/at91bootstrap-2.13-rc1/SD-card-tools.tar.bz2
rename to recipes/at91bootstrap/files/SD-card-tools.tar.bz2
diff --git a/recipes/at91bootstrap/at91bootstrap-2.13-rc1/fixboot.py.tar.bz2 b/recipes/at91bootstrap/files/fixboot.py.tar.bz2
similarity index 100%
rename from recipes/at91bootstrap/at91bootstrap-2.13-rc1/fixboot.py.tar.bz2
rename to recipes/at91bootstrap/files/fixboot.py.tar.bz2





More information about the Openembedded-commits mailing list