Add basic support for i.MX27ADS board
PATCH v2 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
@@ -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
@@ -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..16b1dc9
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
@@ -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
Dnia czwartek, 18 czerwca 2009 o 14:11:58 Alan Carvalho de Assis napisał(a):
recipes/linux/linux-2.6.30/mx27ads/defconfig line 65
Quoted 2 lines
recipes/linux/linux-2.6.30/mx27ads/defconfig new file +2
-0+CONFIG_SYSFS_DEPRECATED=y +CONFIG_SYSFS_DEPRECATED_V2=y
Removal of those two would be handly but linux.inc takes care of it anyway.
Regards,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
Quoted 10 lines · Marcin Juszkiewicz
Dnia czwartek, 18 czerwca 2009 o 14:11:58 Alan Carvalho de Assis napisał(a):
recipes/linux/linux-2.6.30/mx27ads/defconfig line 65
Quoted 2 lines
recipes/linux/linux-2.6.30/mx27ads/defconfig new file +2
-0+CONFIG_SYSFS_DEPRECATED=y +CONFIG_SYSFS_DEPRECATED_V2=yRemoval of those two would be handly but linux.inc takes care of it anyway.
Thank you Marcin.
I will fix it and send again as PATCH v3
Regards,
Alan