Skip to content
Browse files

archos A32: add rudimentary support

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent 413933f commit 4b689944d968b0ef4d0e9928e76c54f8a76a919a @koenkooi committed Jun 29, 2011
View
41 conf/machine/archosa32.conf
@@ -0,0 +1,41 @@
+#@TYPE: Machine
+#@NAME: OMAP3 based Archos A32
+#@DESCRIPTION: Machine configuration for the Archos A32 (Gen8)
+
+TARGET_ARCH = "arm"
+require conf/machine/include/omap3.inc
+
+ASSUME_PROVIDED += "u-boot x-load"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
+XSERVER = "xserver-xorg \
+ xf86-input-evdev \
+ xf86-input-mouse \
+ xf86-input-tslib \
+ xf86-video-omapfb \
+ xf86-input-keyboard"
+
+#What is the correct one, both seem in use?
+MACHINE_GUI_CLASS = "bigscreen"
+GUI_MACHINE_CLASS = "bigscreen"
+
+#800 * 480 Widescreen
+MACHINE_DISPLAY_WIDTH_PIXELS = "240"
+MACHINE_DISPLAY_HEIGHT_PIXELS = "320"
+
+KERNEL_IMAGETYPE = "zImage"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-omap-archos"
+
+# Ship all kernel modules
+MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
+
+IMAGE_FSTYPES += "tar.bz2"
+EXTRA_IMAGECMD_jffs2 = "-lnp "
+
+SERIAL_CONSOLE = "115200 ttyS2"
+
+CMDLINE = "console=ttyS2,115200n8 androidboot.console=ttyS2 extrabaud=1000000 init=/linuxrc debug omapdss.debug=0 vram=4915200 omapfb.vram=0:4915200 omapfb.debug=0"
+
+MACHINE_FEATURES = "kernel26 apm usbgadget usbhost keyboard vfat ext2 screen touchscreen wifi"
+
View
26 recipes-kernel/linux/linux-omap-archos-2.6.29/0001-archos_hdd-fix-include-path.patch
@@ -0,0 +1,26 @@
+From 6ea8806389f51e1f9dca66c2f65dc09d763136e9 Mon Sep 17 00:00:00 2001
+From: Koen Kooi <koen@dominion.thruhere.net>
+Date: Wed, 29 Jun 2011 16:27:46 +0200
+Subject: [PATCH] archos_hdd: fix include path
+
+Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
+---
+ drivers/usb/storage/archos_hdd.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/usb/storage/archos_hdd.c b/drivers/usb/storage/archos_hdd.c
+index b389d1f..d9d0d45 100644
+--- a/drivers/usb/storage/archos_hdd.c
++++ b/drivers/usb/storage/archos_hdd.c
+@@ -27,7 +27,7 @@
+ #include <scsi/scsi.h>
+ #include <scsi/scsi_cmnd.h>
+ #include <scsi/scsi_device.h>
+-#include <../../scsi/sd.h>
++#include "../../scsi/sd.h"
+
+ #include <mach/board-archos.h>
+
+--
+1.6.6.1
+
View
2,058 recipes-kernel/linux/linux-omap-archos-2.6.29/archosa32/defconfig
2,058 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
25 recipes-kernel/linux/linux-omap-archos_2.6.29.bb
@@ -0,0 +1,25 @@
+require linux.inc
+
+DESCRIPTION = "Archos gen8 Linux kernel for OMAP processors"
+KERNEL_IMAGETYPE = "zImage"
+
+COMPATIBLE_MACHINE = "archosa32"
+
+PV = "2.6.29"
+
+SRCREV = "7e17e8438403a01bcbdb3bc707cf73c7fa896ab6"
+SRC_URI = "git://gitorious.org/archos/archos-gpl-gen8-kernel.git;protocol=git \
+ file://0001-archos_hdd-fix-include-path.patch \
+ file://defconfig"
+
+S = "${WORKDIR}/git"
+
+# disable perf, it doesn't build
+do_compile_perf() {
+ :
+}
+
+do_install_perf() {
+ :
+}
+

0 comments on commit 4b68994

Please sign in to comment.
Something went wrong with that request. Please try again.