Patchwork Add basic at91 image with Wi-Fi support

login
register
mail settings
Submitter Ulf Samuelsson
Date Jan. 31, 2011, 8:34 p.m.
Message ID <1296506049-4653-1-git-send-email-ulf.samuelsson@atmel.com>
Download mbox | patch
Permalink /patch/426/
State Superseded
Headers show

Comments

Ulf Samuelsson - Jan. 31, 2011, 8:34 p.m.
---
 recipes/images/console-at91sam9-image.bb |   35 ++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 recipes/images/console-at91sam9-image.bb

Patch

diff --git a/recipes/images/console-at91sam9-image.bb b/recipes/images/console-at91sam9-image.bb
new file mode 100644
index 0000000..8b066e2
--- /dev/null
+++ b/recipes/images/console-at91sam9-image.bb
@@ -0,0 +1,35 @@ 
+#Angstrom bootstrap at91sam9 image
+
+IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
+
+ANGSTROM_EXTRA_INSTALL += " \
+	alsa-utils-amixer \
+	alsa-utils-aplay \
+	dosfstools \
+	iperf \
+	madplay \
+	mplayer \
+	mtd-utils \
+#	nbench-byte \
+	owl-wifi \
+	thttpd \
+	usbview \
+	"
+
+DEPENDS = "task-base-extended \
+           ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
+	   "
+
+IMAGE_INSTALL = "task-base-extended \
+	    ${ANGSTROM_EXTRA_INSTALL} \
+	    ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \
+	   "
+
+export IMAGE_BASENAME = "console-at91sam9-image"
+IMAGE_LINGUAS = ""
+
+#we dont need the kernel in the image
+ROOTFS_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/*Image*; "
+
+inherit image
+