Skip to contentSkip to conversation

Add basic support for i.MX27ADS board

PATCH In review Alan Carvalho de Assis 3 participants 5 messages Jun 18, 2009 – Jun 22, 2009

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 Add basic support for i.MX27ADS board

This patch adds basic support on OpenEmbedded for i.MX27ADS board.

It uses the mainline kernel instead Freescale one. The mainline doesn't have support for USB, Camera, etc.

---
 conf/machine/mx27ads.conf                    |   19 +
 contrib/angstrom/sort.sh                     |    2 +-
 recipes/linux/linux-2.6.30/mx27ads/defconfig | 1105 ++++++++++++++++++++++++++
 recipes/linux/linux_2.6.30.bb                |    3 +-
 4 files changed, 1127 insertions(+), 2 deletions(-)
 create mode 100644 conf/machine/mx27ads.conf
 create mode 100644 recipes/linux/linux-2.6.30/mx27ads/defconfig
conf/machine/mx27ads.conf new file +19 -0
new file mode 100644
index 0000000..f0aebca
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@Name: Freescale MX27ADS
+#@DESCRIPTION: Machine configuration for Freescale MX27ADS
+
+TARGET_ARCH = "arm"
+
+MACHINE_FEATURES = "kernel26 apm alsa ext2 pcmcia usbhost usbgadget"
+
+GUI_MACHINE_CLASS = "smallscreen"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+
+require conf/machine/include/tune-arm926ejs.inc
+
+# used by sysvinit_2
+SERIAL_CONSOLE = "115200 ttymxc0"
+
+# used by opie-collections.inc
+ROOT_FLASH_SIZE = "32"
contrib/angstrom/sort.sh +0 -1
index 9fcd411..bc5c88e 100755
@@ -48,7 +48,7 @@ case "$arch" in
 	"armv4t")
 			machines="micro2440 ep93xx h6300 om-gta01 om-gta02 fic-gta01 fic-gta02" ;;
 	"armv5te")
-			machines="htcalpine dm6446-evm dm6467-evm dm355-evm dm365-evm

dm357-evm topas910 sheevaplug dm355-leopard n2100 dns323 mv2120 kuropro lspro tsx09 ts409 davinci-dvevm davinci-sffsdr neuros-osd neuros-osd2 gumstix-connex gumstix-verdex gumstix e680 a780 a1200 at91sam9263ek rokre6 rokre2 rokr-e2 akita c7x0 h2200 h3900 h4000 h5000 htcapache htctornado htcblueangel htcuniversal hx4700 nslu2le hx2000 ixp4xxle magician netbook-pro nokia770 palmt650 palmt680 palmld palmtx palmtt3 palmz72 qemuarm omap5912osk poodle spitz tosa" ;;
+ machines="htcalpine dm6446-evm dm6467-evm dm355-evm dm365-evm
dm357-evm topas910 sheevaplug dm355-leopard n2100 dns323 mv2120 kuropro lspro tsx09 ts409 davinci-dvevm davinci-sffsdr neuros-osd neuros-osd2 gumstix-connex gumstix-verdex gumstix e680 a780 a1200 at91sam9263ek rokre6 rokre2 rokr-e2 akita c7x0 h2200 h3900 h4000 h5000 htcapache htctornado htcblueangel htcuniversal hx4700 nslu2le hx2000 ixp4xxle magician netbook-pro nokia770 palmt650 palmt680 palmld palmtx palmtt3 palmz72 qemuarm omap5912osk poodle spitz tosa mx27ads" ;;
"armv5teb")
machines="ixp4xxbe nslu2be" ;;
"armv6-novfp")

(quoted diff) +0 -0

b/recipes/linux/linux-2.6.30/mx27ads/defconfig
new file mode 100644
index 0000000..600655a

recipes/linux/linux-2.6.30/mx27ads/defconfig new file +1105 -0

1,105 lines not on this page · raw message

recipes/linux/linux_2.6.30.bb +2 -1
index 577b915..af5a590 100644
@@ -7,8 +7,9 @@ S = "${WORKDIR}/linux-${PV}"
 # Mark archs/machines that this kernel supports
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_mpc8315e-rdb = "1"
+DEFAULT_PREFERENCE_mx27ads = "1"
 
-COMPATIBLE_MACHINE = "mpc8315e-rdb"
+COMPATIBLE_MACHINE = '(mpc8315e-rdb|mx27ads)'
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://defconfig"
Signature · 1 line
1.6.0.4
#1 lore raw
Quoted 9 lines · Alan Carvalho de Assis

This patch adds basic support on OpenEmbedded for i.MX27ADS board.

It uses the mainline kernel instead Freescale one. The mainline doesn't have support for USB, Camera, etc.

---

  contrib/angstrom/sort.sh                     |    2 +-

Awesome! Save's me from having to update it :)

#3 lore raw

Dnia poniedziałek, 22 czerwca 2009 o 14:07:20 Alan Carvalho de Assis napisał(a):

Quoted 1 line

BTW, Could someone apply it?

pushed

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
Acked-by on v3 1/1
#4 lore raw
In reply to Alan Carvalho de Assis

Dnia czwartek, 18 czerwca 2009 o 21:19:52 Alan Carvalho de Assis napisał(a):

Quoted 6 lines

This patch adds basic support on OpenEmbedded for i.MX27ADS board.

It uses the mainline kernel instead Freescale one. The mainline doesn't have support for USB, Camera, etc.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz