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/checksums.ini | 8 + conf/machine/mx25-3stack.conf | 25 + recipes/linux/linux-mx25-3stack/defconfig | 1725 +++++++++++++++++++++++++++++ recipes/linux/linux-mx25-3stack_2.6.28.bb | 18 + recipes/u-boot/u-boot_2009.01.bb | 5 +- 5 files changed, 1780 insertions(+), 1 deletions(-) create mode 100644 conf/machine/mx25-3stack.conf create mode 100644 recipes/linux/linux-mx25-3stack/defconfig create mode 100644 recipes/linux/linux-mx25-3stack_2.6.28.bb
conf/checksums.ini +8 -0
@@ -17558,6 +17558,10 @@ sha256=330aa3059309c589c3abb2d743e5f391dac6671b75004dccde32b54ade17f05d md5=b3e78977aa79d3754cb7f8143d7ddabd sha256=0e99bf9e83f4d1ae0c656741a84dfddfa9c4d2469cf35475f5939d02dc3e4393 +[http://download.berlios.de/mx25patches/linux-2.6.28-imx_4.5.1.patch.bz2] +md5=7d8de4524713fce3124162fae7a20503 +sha256=fa3caff8d5def01c668dba441bfde577b7e3c1975773cb42f9313a14b662b0d3 + [http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.28-rc7.tar.bz2] md5=58aa3b21a7fee1fa39f2c011922522eb sha256=5c7226b4c65b8420960eea372547b29236df3757d005bc1d7912b44b978d5669
@@ -26830,6 +26834,10 @@ sha256=858fd04efd5b98e99fd1a074998b1a8ac5fbd07b176de1d20d8eb148492d949d md5=49c07dec9e1be69fd01d46f47ec03731 sha256=a090786113b02647413ebc15888af269f2e6d50f73cbb94b0619cc1702911dae +[http://download.berlios.de/mx25patches/u-boot-v2009.01-imx_4.5.1.patch.bz2] +md5=32cac5f5241c6eb8ce716f3e0e05de0a +sha256=c3ec96dc0f5e9213d20e9e0865a896eb61feed0033d93fd04dcc378b75cf59e7 + [http://www.reitwiessner.de/programs/u2nl-1.3.tar.gz] md5=d97a16d8b2231501ba418b5f1ffe018a sha256=7e1d8239a5bd43c50f6091b484acbc8a7c5886cd4523f1e369504266cbaca50d
conf/machine/mx25-3stack.conf new file +25 -0
@@ -0,0 +1,25 @@ +#@TYPE: Machine +#@Name: Freescale i.MX25_3stack +#@DESCRIPTION: Machine configuration for Freescale i.MX25_3stack + +TARGET_ARCH = "arm" + +MACHINE_FEATURES = "kernel26 apm alsa ext2 usbhost usbgadget touchscreen" + +GUI_MACHINE_CLASS = "smallscreen" + +PREFERRED_PROVIDER_virtual/kernel = "linux-mx25-3stack" +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 + +# used by sysvinit_2 +SERIAL_CONSOLE = "115200 ttymxc0" + +# used by opie-collections.inc +#ROOT_FLASH_SIZE = "1024"
recipes/linux/linux-mx25-3stack/defconfig new file +1725 -0
1,725 lines not on this page · raw message
recipes/linux/linux-mx25-3stack_2.6.28.bb new file +18 -0
@@ -0,0 +1,18 @@ +require linux.inc + +# Mark archs/machines that this kernel supports +DEFAULT_PREFERENCE = "-1" +DEFAULT_PREFERENCE_mx25-3stack = "1" + +COMPATIBLE_MACHINE="mx25-3stack" + +PR = "r0" + +SRC_URI = "${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 \ + file://defconfig" + +S = "${WORKDIR}/linux-2.6.28" + + +
recipes/u-boot/u-boot_2009.01.bb +4 -1
@@ -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,6 @@ 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 \ +"
Signature · 1 line
1.6.3.3
Dnia poniedziałek, 29 marca 2010 o 14:15:30 Mickaël CHAZAUX napisał(a):
Quoted 5 lines
This patch adds support for the i.MX25 3Stack platform. It is based on the patches released by Freescale as part of LTIB.
+++ b/conf/checksums.ini
Move checksums into recipe which uses it please.
conf/machine/mx25-3stack.conf line 3
Quoted 5 lines
+++
b/conf/machine/mx25-3stack.confconf/machine/mx25-3stack.conf new file +3
-0@@ -0,0 +1,25 @@ +#@TYPE: Machine +#@Name: Freescale i.MX25_3stack +#@DESCRIPTION: Machine configuration for Freescale i.MX25_3stack
Can you add URL to website of board?
conf/machine/mx25-3stack.conf line 12
Quoted 3 lines
conf/machine/mx25-3stack.conf new file +2
-0+PREFERRED_PROVIDER_virtual/kernel = "linux-mx25-3stack" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
Do we have virtual/bootloader? First heard of it.
Quoted 1 line
+++ b/recipes/linux/linux-mx25-3stack_2.6.28.bb
Merge it into linux/linux_2.6.28.bb
Regards,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
Hi,
Quoted 1 line
Do we have virtual/bootloader? First heard of it.
BB>> build virtual/bootloader
SHELL: Building virtual/bootloader
NOTE: multiple providers are available for virtual/bootloader (u-boot-omap3beagleboard, u-boot-omap2430sdp, ezx-gen-blob, qi-ubi, u-boot-openmoko, u-boot-omap3, u-boot, lowlevel-topas910, barebox, qi);
NOTE: consider defining PREFERRED_PROVIDER_virtual/bootloader
The answer appears to be yes... Shall I leave it this way?
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