Add Freescale i.MX25 3stack support
PATCH 1/1 Add Freescale i.MX25 3stack support
This patch adds support for the i.MX25 3Stack platform.
It is based on the patches released by Freescale as part of LTIB.
--- conf/machine/mx25-3stack.conf | 23 + recipes/linux/linux-2.6.28/mx25-3stack/defconfig | 1725 ++++++++++++++++++++++ recipes/linux/linux_2.6.28.bb | 8 + recipes/u-boot/u-boot_2009.01.bb | 6 + 4 files changed, 1762 insertions(+), 0 deletions(-) create mode 100644 conf/machine/mx25-3stack.conf create mode 100644 recipes/linux/linux-2.6.28/mx25-3stack/defconfig
conf/machine/mx25-3stack.conf new file +23 -0
@@ -0,0 +1,23 @@ +#@TYPE: Machine +#@Name: Freescale i.MX25_3stack +#@DESCRIPTION: Machine configuration for Freescale i.MX25_3stack +#@Homepage: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX25PDK&fsrch=1 + +TARGET_ARCH = "arm" + +MACHINE_FEATURES = "kernel26 apm alsa ext2 usbhost usbgadget touchscreen" + +GUI_MACHINE_CLASS = "smallscreen" + +PREFERRED_PROVIDER_virtual/kernel = "linux" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot" +UBOOT_MACHINE="mx25_3stack_config" + +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" +KERNEL_IMAGETYPE = "uImage" + +require conf/machine/include/tune-arm926ejs.inc + +SERIAL_CONSOLE = "115200 ttymxc0" +
recipes/linux/linux-2.6.28/mx25-3stack/defconfig new file +1725 -0
1,725 lines not on this page · raw message
recipes/linux/linux_2.6.28.bb +8 -0
@@ -14,6 +14,7 @@ DEFAULT_PREFERENCE_wrap = "1" DEFAULT_PREFERENCE_tx27 = "1" DEFAULT_PREFERENCE_nokia900 = "1" DEFAULT_PREFERENCE_mh355 = "1" +DEFAULT_PREFERENCE_mx25-3stack = "1" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2 \ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.10.bz2;patch=1 \
@@ -81,4 +82,11 @@ SRC_URI_nokia900 = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.b http://repository.maemo.org/pool/maemo5.0/free/k/kernel/kernel_2.6.28-20094803.3+0m5.diff.gz;patch=1 \ file://defconfig" +SRC_URI_mx25-3stack = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2 \ + http://download.berlios.de/mx25patches/linux-2.6.28-imx_4.5.1.patch.bz2;patch=1;name=patchmx25\ + file://defconfig" + +SRC_URI[patchmx25.md5sum] = "7d8de4524713fce3124162fae7a20503" +SRC_URI[patchmx25.sha256] = "fa3caff8d5def01c668dba441bfde577b7e3c1975773cb42f9313a14b662b0d3" + S = "${WORKDIR}/linux-2.6.28/"
recipes/u-boot/u-boot_2009.01.bb +6 -0
@@ -13,6 +13,7 @@ DEFAULT_PREFERENCE_at91sam9263ek = "1" DEFAULT_PREFERENCE_at91cap9adk = "1" DEFAULT_PREFERENCE_atngw100 = "1" DEFAULT_PREFERENCE_atstk1000 = "1" +DEFAULT_PREFERENCE_mx25-3stack = "1" PR = "r1"
@@ -28,4 +29,9 @@ SRC_URI_append_at91sam9g20ek = "\ file://u-boot-2009.01-exp-003-drivers-net-macb.c.patch;patch=1 \ file://at91sam9g20-fix-config.patch;patch=1 \ " +SRC_URI_append_mx25-3stack ="\ + http://download.berlios.de/mx25patches/u-boot-v2009.01-imx_4.5.1.patch.bz2;patch=1;name=ubootmx25patch \ + " +SRC_URI[ubootmx25patch.md5sum] = "32cac5f5241c6eb8ce716f3e0e05de0a" +SRC_URI[ubootmx25patch.sha256sum] = "c3ec96dc0f5e9213d20e9e0865a896eb61feed0033d93fd04dcc378b75cf59e7"
Signature · 1 line
1.6.3.3
Quoted 12 lines · Mickaël CHAZAUX
This patch adds support for the i.MX25 3Stack platform.
It is based on the patches released by Freescale as part of LTIB.--- conf/machine/mx25-3stack.conf | 23 + recipes/linux/linux-2.6.28/mx25-3stack/defconfig | 1725 ++++++++++++++++++++++ recipes/linux/linux_2.6.28.bb | 8 + recipes/u-boot/u-boot_2009.01.bb | 6 + 4 files changed, 1762 insertions(+), 0 deletions(-) create mode 100644 conf/machine/mx25-3stack.conf create mode 100644 recipes/linux/linux-2.6.28/mx25-3stack/defconfig
Thanks for the patch.
<snip>
Quoted 13 lines
recipes/linux/linux_2.6.28.bb +1
-0@@ -14,6 +14,7 @@ DEFAULT_PREFERENCE_wrap = "1" DEFAULT_PREFERENCE_tx27 = "1" DEFAULT_PREFERENCE_nokia900 = "1" DEFAULT_PREFERENCE_mh355 = "1" +DEFAULT_PREFERENCE_mx25-3stack = "1" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2 \ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.10.bz2;patch=1 \
recipes/linux/linux_2.6.28.bb SRC_URI_nokia900 = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.b · line 88
Quoted 7 lines
recipes/linux/linux_2.6.28.bb +4
-0@@ -81,4 +82,11 @@ SRC_URI_nokia900 = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.b http://repository.maemo.org/pool/maemo5.0/free/k/kernel/kernel_2.6.28-20094803.3+0m5.diff.gz;patch=1 \ file://defconfig" +SRC_URI_mx25-3stack = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2 \ + http://download.berlios.de/mx25patches/linux-2.6.28-imx_4.5.1.patch.bz2;patch=1;name=patchmx25\ + file://defconfig" +
We also have the latest minor patch on top of stock 2.6.28 as well which brings it to 2.6.28.10. Can you
try to check if you can build on top of that ?
Just SRC_URI_append_mx25-3stack = "http://download.berlios.de/mx25patches/linux-2.6.28-imx_4.5.1.patch.bz2;patch=1;name=patchmx25"
Quoted 34 lines
recipes/linux/linux_2.6.28.bb +3
-0+SRC_URI[patchmx25.md5sum] = "7d8de4524713fce3124162fae7a20503" +SRC_URI[patchmx25.sha256] = "fa3caff8d5def01c668dba441bfde577b7e3c1975773cb42f9313a14b662b0d3" + S = "${WORKDIR}/linux-2.6.28/"recipes/u-boot/u-boot_2009.01.bb +6
-0@@ -13,6 +13,7 @@ DEFAULT_PREFERENCE_at91sam9263ek = "1" DEFAULT_PREFERENCE_at91cap9adk = "1" DEFAULT_PREFERENCE_atngw100 = "1" DEFAULT_PREFERENCE_atstk1000 = "1" +DEFAULT_PREFERENCE_mx25-3stack = "1" PR = "r1"@@ -28,4 +29,9 @@ SRC_URI_append_at91sam9g20ek = "\ file://u-boot-2009.01-exp-003-drivers-net-macb.c.patch;patch=1 \ file://at91sam9g20-fix-config.patch;patch=1 \ " +SRC_URI_append_mx25-3stack ="\ + http://download.berlios.de/mx25patches/u-boot-v2009.01-imx_4.5.1.patch.bz2;patch=1;name=ubootmx25patch \ + " +SRC_URI[ubootmx25patch.md5sum] = "32cac5f5241c6eb8ce716f3e0e05de0a" +SRC_URI[ubootmx25patch.sha256sum] = "c3ec96dc0f5e9213d20e9e0865a896eb61feed0033d93fd04dcc378b75cf59e7"Signature · 7 lines
1.6.3.3 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Thanks for patch! I will try it.
Just a comment: Any reason for not using last Freescale Linux version? (2.6.31)
Quoted 91 lines · Khem Raj
Quoted 13 lines · Mickaël CHAZAUX
This patch adds support for the i.MX25 3Stack platform.
It is based on the patches released by Freescale as part of LTIB.--- conf/machine/mx25-3stack.conf | 23 + recipes/linux/linux-2.6.28/mx25-3stack/defconfig | 1725 ++++++++++++++++++++++ recipes/linux/linux_2.6.28.bb | 8 + recipes/u-boot/u-boot_2009.01.bb | 6 + 4 files changed, 1762 insertions(+), 0 deletions(-) create mode 100644 conf/machine/mx25-3stack.conf create mode 100644 recipes/linux/linux-2.6.28/mx25-3stack/defconfigThanks for the patch.
<snip>
Quoted 13 lines
recipes/linux/linux_2.6.28.bb +1
-0@@ -14,6 +14,7 @@ DEFAULT_PREFERENCE_wrap = "1" DEFAULT_PREFERENCE_tx27 = "1" DEFAULT_PREFERENCE_nokia900 = "1" DEFAULT_PREFERENCE_mh355 = "1" +DEFAULT_PREFERENCE_mx25-3stack = "1" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2 \ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.10.bz2;patch=1 \recipes/linux/linux_2.6.28.bb SRC_URI_nokia900 = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.b · line 89
Quoted 8 lines
recipes/linux/linux_2.6.28.bb +4
-0@@ -81,4 +82,11 @@ SRC_URI_nokia900 = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.b http://repository.maemo.org/pool/maemo5.0/free/k/kernel/kernel_2.6.28-20094803.3+0m5.diff.gz;patch=1 \ file://defconfig" +SRC_URI_mx25-3stack = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2 \ + http://download.berlios.de/mx25patches/linux-2.6.28-imx_4.5.1.patch.bz2;patch=1;name=patchmx25\ + file://defconfig" +We also have the latest minor patch on top of stock 2.6.28 as well which brings it to 2.6.28.10. Can you
try to check if you can build on top of that ?Just SRC_URI_append_mx25-3stack = "http://download.berlios.de/mx25patches/linux-2.6.28-imx_4.5.1.patch.bz2;patch=1;name=patchmx25"
Quoted 35 lines
recipes/linux/linux_2.6.28.bb +3
-0+SRC_URI[patchmx25.md5sum] = "7d8de4524713fce3124162fae7a20503" +SRC_URI[patchmx25.sha256] = "fa3caff8d5def01c668dba441bfde577b7e3c1975773cb42f9313a14b662b0d3" +S = "${WORKDIR}/linux-2.6.28/"
recipes/u-boot/u-boot_2009.01.bb +6
-0@@ -13,6 +13,7 @@ DEFAULT_PREFERENCE_at91sam9263ek = "1" DEFAULT_PREFERENCE_at91cap9adk = "1" DEFAULT_PREFERENCE_atngw100 = "1" DEFAULT_PREFERENCE_atstk1000 = "1" +DEFAULT_PREFERENCE_mx25-3stack = "1" PR = "r1"@@ -28,4 +29,9 @@ SRC_URI_append_at91sam9g20ek = "\ file://u-boot-2009.01-exp-003-drivers-net-macb.c.patch;patch=1 \ file://at91sam9g20-fix-config.patch;patch=1 \ " +SRC_URI_append_mx25-3stack ="\ + http://download.berlios.de/mx25patches/u-boot-v2009.01-imx_4.5.1.patch.bz2;patch=1;name=ubootmx25patch \ + " +SRC_URI[ubootmx25patch.md5sum] = "32cac5f5241c6eb8ce716f3e0e05de0a" +SRC_URI[ubootmx25patch.sha256sum] = "c3ec96dc0f5e9213d20e9e0865a896eb61feed0033d93fd04dcc378b75cf59e7"Signature · 7 lines
1.6.3.3 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 12 lines
Jaume Ribot Caner R&D Engineer FQ Ingeniería Electrónica, SA Avda. de les Roquetes, 9 Pol. Industrial Vilanoveta 08812 Sant Pere de Ribes ( SPAIN ) www.fqingenieria.es Tf + 34 93 208 02 58 Fx + 34 93 459 28 93 E-mail: [email protected]
Hi,
2010/4/1 Jaume Ribot <[email protected]>:
Quoted 3 lines
Thanks for patch! I will try it.
Just a comment: Any reason for not using last Freescale Linux version? (2.6.31)
Could you please provide a link?
Regards,
Mickael CHAZAUX
Adeneo Embedded - Adetel Group
2, chemin du Ruisseau
69134 ECULLY - FRANCE
Tél. : +33 (0)4 72 18 08 40 - Fax : +33 (0)4 72 18 08 41
Hi,
2010/4/1 Jaume Ribot <[email protected]>:
Quoted 3 lines
Thanks for patch! I will try it.
Just a comment: Any reason for not using last Freescale Linux version? (2.6.31)
I will resubmit a patch using this version.
Regards,
Mickael CHAZAUX
Adeneo Embedded - Adetel Group
2, chemin du Ruisseau
69134 ECULLY - FRANCE
Tél. : +33 (0)4 72 18 08 40 - Fax : +33 (0)4 72 18 08 41
Hi,
2010/3/31 Khem Raj <[email protected]>:
Quoted 11 lines · Mickaël CHAZAUX
Quoted 3 lines
This patch adds support for the i.MX25 3Stack platform.
It is based on the patches released by Freescale as part of LTIB.We also have the latest minor patch on top of stock 2.6.28 as well which brings it to 2.6.28.10. Can you
try to check if you can build on top of that ?Just SRC_URI_append_mx25-3stack = "http://download.berlios.de/mx25patches/linux-2.6.28-imx_4.5.1.patch.bz2;patch=1;name=patchmx25"
Using the patch command, the LTIB patches did not apply on top of 2.6.28.10. That is why I used 2.6.28. But I just tested and the patches seems to apply cleanly using git. I'll test
this a bit more and let you know.
Regards,
Mickael CHAZAUX
Adeneo Embedded - Adetel Group
2, chemin du Ruisseau
69134 ECULLY - FRANCE
Tél. : +33 (0)4 72 18 08 40 - Fax : +33 (0)4 72 18 08 41
Quoted 5 lines · Mickael Chazaux
Using the patch command, the LTIB patches did not apply on top of 2.6.28.10. That is why I used 2.6.28. But I just tested and the patches seems to apply cleanly using git. I'll test
this a bit more and let you know.
you just need to use git am to apply all the LTIB patch serie and this works fine.
Eric