Add Freescale MX53 support
PATCH 1/1 Add Freescale MX53 support
Buildroot config and Linux Kernel config.
Binaries blob not supported yet
--- board/freescale/mx53/linux.config | 175 +++++++++++++++++++++++++++++++++++++ configs/freescale_mx53_defconfig | 19 ++++ 2 files changed, 194 insertions(+), 0 deletions(-) create mode 100644 board/freescale/mx53/linux.config create mode 100644 configs/freescale_mx53_defconfig
board/freescale/mx53/linux.config new file +175 -0
@@ -0,0 +1,175 @@ +CONFIG_EXPERIMENTAL=y +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_KERNEL_LZO=y +CONFIG_SYSVIPC=y +CONFIG_LOG_BUF_SHIFT=18 +CONFIG_RELAY=y +CONFIG_EXPERT=y +# CONFIG_SLUB_DEBUG is not set +# CONFIG_COMPAT_BRK is not set +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODVERSIONS=y +CONFIG_MODULE_SRCVERSION_ALL=y +# CONFIG_LBDAF is not set +# CONFIG_BLK_DEV_BSG is not set +CONFIG_ARCH_MXC=y +CONFIG_ARCH_MX5=y +CONFIG_MACH_MX53_LOCO=y +CONFIG_MXC_PWM=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_VMSPLIT_2G=y +CONFIG_PREEMPT_VOLUNTARY=y +CONFIG_AEABI=y +# CONFIG_OABI_COMPAT is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 +CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" +CONFIG_VFP=y +CONFIG_NEON=y +CONFIG_BINFMT_MISC=m +CONFIG_PM_DEBUG=y +CONFIG_PM_TEST_SUSPEND=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +# CONFIG_INET_XFRM_MODE_TRANSPORT is not set +# CONFIG_INET_XFRM_MODE_TUNNEL is not set +# CONFIG_INET_XFRM_MODE_BEET is not set +# CONFIG_INET_LRO is not set +# CONFIG_IPV6 is not set +# CONFIG_WIRELESS is not set +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +# CONFIG_STANDALONE is not set +CONFIG_CONNECTOR=y +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=65536 +# CONFIG_SCSI_PROC_FS is not set +CONFIG_BLK_DEV_SD=y +CONFIG_SCSI_MULTI_LUN=y +CONFIG_SCSI_CONSTANTS=y +CONFIG_SCSI_LOGGING=y +CONFIG_SCSI_SCAN_ASYNC=y +# CONFIG_SCSI_LOWLEVEL is not set +CONFIG_ATA=y +CONFIG_PATA_IMX=y +CONFIG_NETDEVICES=y +CONFIG_MII=m +CONFIG_MARVELL_PHY=y +CONFIG_DAVICOM_PHY=y +CONFIG_QSEMI_PHY=y +CONFIG_LXT_PHY=y +CONFIG_CICADA_PHY=y +CONFIG_VITESSE_PHY=y +CONFIG_SMSC_PHY=y +CONFIG_BROADCOM_PHY=y +CONFIG_ICPLUS_PHY=y +CONFIG_REALTEK_PHY=y +CONFIG_NATIONAL_PHY=y +CONFIG_STE10XP=y +CONFIG_LSI_ET1011C_PHY=y +CONFIG_MICREL_PHY=y +CONFIG_NET_ETHERNET=y +# CONFIG_NETDEV_1000 is not set +# CONFIG_NETDEV_10000 is not set +# CONFIG_WLAN is not set +# CONFIG_INPUT_MOUSEDEV_PSAUX is not set +CONFIG_INPUT_EVDEV=y +CONFIG_INPUT_EVBUG=m +CONFIG_KEYBOARD_GPIO=y +CONFIG_MOUSE_PS2=m +CONFIG_MOUSE_PS2_ELANTECH=y +CONFIG_INPUT_MISC=y +CONFIG_INPUT_MMA8450=y +CONFIG_SERIO_SERPORT=m +CONFIG_VT_HW_CONSOLE_BINDING=y +# CONFIG_LEGACY_PTYS is not set +# CONFIG_DEVKMEM is not set +CONFIG_SERIAL_IMX=y +CONFIG_SERIAL_IMX_CONSOLE=y +CONFIG_HW_RANDOM=y +CONFIG_I2C=y +# CONFIG_I2C_COMPAT is not set +CONFIG_I2C_CHARDEV=y +# CONFIG_I2C_HELPER_AUTO is not set +CONFIG_I2C_ALGOBIT=m +CONFIG_I2C_ALGOPCF=m +CONFIG_I2C_ALGOPCA=m +CONFIG_I2C_IMX=y +CONFIG_SPI=y +CONFIG_SPI_IMX=y +CONFIG_GPIO_SYSFS=y +# CONFIG_HWMON is not set +CONFIG_WATCHDOG=y +CONFIG_IMX2_WDT=y +CONFIG_MFD_MC13XXX=y +CONFIG_REGULATOR=y +CONFIG_REGULATOR_MC13892=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_MXC=y +CONFIG_USB_STORAGE=y +CONFIG_MMC=y +CONFIG_MMC_BLOCK=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_ESDHC_IMX=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_INTF_DEV_UIE_EMUL=y +CONFIG_RTC_MXC=y +CONFIG_EXT2_FS=y +CONFIG_EXT2_FS_XATTR=y +CONFIG_EXT2_FS_POSIX_ACL=y +CONFIG_EXT2_FS_SECURITY=y +CONFIG_EXT3_FS=y +CONFIG_EXT3_FS_POSIX_ACL=y +CONFIG_EXT3_FS_SECURITY=y +CONFIG_EXT4_FS=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_EXT4_FS_SECURITY=y +CONFIG_QUOTA=y +CONFIG_QUOTA_NETLINK_INTERFACE=y +# CONFIG_PRINT_QUOTA_WARNING is not set +CONFIG_AUTOFS4_FS=y +CONFIG_FUSE_FS=y +CONFIG_ISO9660_FS=m +CONFIG_JOLIET=y +CONFIG_ZISOFS=y +CONFIG_UDF_FS=m +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=y +CONFIG_TMPFS=y +CONFIG_CONFIGFS_FS=m +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +CONFIG_NFS_V3_ACL=y +CONFIG_NFS_V4=y +CONFIG_ROOT_NFS=y +CONFIG_NLS_DEFAULT="cp437" +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_ASCII=y +CONFIG_NLS_ISO8859_1=y +CONFIG_NLS_ISO8859_15=m +CONFIG_NLS_UTF8=y +CONFIG_MAGIC_SYSRQ=y +CONFIG_DEBUG_FS=y +# CONFIG_SCHED_DEBUG is not set +# CONFIG_DEBUG_BUGVERBOSE is not set +# CONFIG_FTRACE is not set +# CONFIG_ARM_UNWIND is not set +CONFIG_SECURITYFS=y +CONFIG_CRYPTO_DEFLATE=m +CONFIG_CRYPTO_LZO=m +# CONFIG_CRYPTO_ANSI_CPRNG is not set +# CONFIG_CRYPTO_HW is not set +CONFIG_CRC_CCITT=m +CONFIG_CRC_T10DIF=y +CONFIG_CRC7=m +CONFIG_LIBCRC32C=m
configs/freescale_mx53_defconfig new file +19 -0
@@ -0,0 +1,19 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx53loco" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/uboot-imx.git" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/mx53/linux.config"
Signature · 1 line
1.7.5.4
PATCH 1/1 Add Freescale MX53 support
Buildroot config and Linux Kernel config.
Binaries blob not supported yet.
--- board/freescale/mx53loco/linux.config | 175 +++++++++++++++++++++++++++++++++ configs/freescale_mx53loco_defconfig | 19 ++++ 2 files changed, 194 insertions(+), 0 deletions(-) create mode 100644 board/freescale/mx53loco/linux.config create mode 100644 configs/freescale_mx53loco_defconfig
board/freescale/mx53loco/linux.config new file +175 -0
@@ -0,0 +1,175 @@ +CONFIG_EXPERIMENTAL=y +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_KERNEL_LZO=y +CONFIG_SYSVIPC=y +CONFIG_LOG_BUF_SHIFT=18 +CONFIG_RELAY=y +CONFIG_EXPERT=y +# CONFIG_SLUB_DEBUG is not set +# CONFIG_COMPAT_BRK is not set +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODVERSIONS=y +CONFIG_MODULE_SRCVERSION_ALL=y +# CONFIG_LBDAF is not set +# CONFIG_BLK_DEV_BSG is not set +CONFIG_ARCH_MXC=y +CONFIG_ARCH_MX5=y +CONFIG_MACH_MX53_LOCO=y +CONFIG_MXC_PWM=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_VMSPLIT_2G=y +CONFIG_PREEMPT_VOLUNTARY=y +CONFIG_AEABI=y +# CONFIG_OABI_COMPAT is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 +CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" +CONFIG_VFP=y +CONFIG_NEON=y +CONFIG_BINFMT_MISC=m +CONFIG_PM_DEBUG=y +CONFIG_PM_TEST_SUSPEND=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +# CONFIG_INET_XFRM_MODE_TRANSPORT is not set +# CONFIG_INET_XFRM_MODE_TUNNEL is not set +# CONFIG_INET_XFRM_MODE_BEET is not set +# CONFIG_INET_LRO is not set +# CONFIG_IPV6 is not set +# CONFIG_WIRELESS is not set +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +# CONFIG_STANDALONE is not set +CONFIG_CONNECTOR=y +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=65536 +# CONFIG_SCSI_PROC_FS is not set +CONFIG_BLK_DEV_SD=y +CONFIG_SCSI_MULTI_LUN=y +CONFIG_SCSI_CONSTANTS=y +CONFIG_SCSI_LOGGING=y +CONFIG_SCSI_SCAN_ASYNC=y +# CONFIG_SCSI_LOWLEVEL is not set +CONFIG_ATA=y +CONFIG_PATA_IMX=y +CONFIG_NETDEVICES=y +CONFIG_MII=m +CONFIG_MARVELL_PHY=y +CONFIG_DAVICOM_PHY=y +CONFIG_QSEMI_PHY=y +CONFIG_LXT_PHY=y +CONFIG_CICADA_PHY=y +CONFIG_VITESSE_PHY=y +CONFIG_SMSC_PHY=y +CONFIG_BROADCOM_PHY=y +CONFIG_ICPLUS_PHY=y +CONFIG_REALTEK_PHY=y +CONFIG_NATIONAL_PHY=y +CONFIG_STE10XP=y +CONFIG_LSI_ET1011C_PHY=y +CONFIG_MICREL_PHY=y +CONFIG_NET_ETHERNET=y +# CONFIG_NETDEV_1000 is not set +# CONFIG_NETDEV_10000 is not set +# CONFIG_WLAN is not set +# CONFIG_INPUT_MOUSEDEV_PSAUX is not set +CONFIG_INPUT_EVDEV=y +CONFIG_INPUT_EVBUG=m +CONFIG_KEYBOARD_GPIO=y +CONFIG_MOUSE_PS2=m +CONFIG_MOUSE_PS2_ELANTECH=y +CONFIG_INPUT_MISC=y +CONFIG_INPUT_MMA8450=y +CONFIG_SERIO_SERPORT=m +CONFIG_VT_HW_CONSOLE_BINDING=y +# CONFIG_LEGACY_PTYS is not set +# CONFIG_DEVKMEM is not set +CONFIG_SERIAL_IMX=y +CONFIG_SERIAL_IMX_CONSOLE=y +CONFIG_HW_RANDOM=y +CONFIG_I2C=y +# CONFIG_I2C_COMPAT is not set +CONFIG_I2C_CHARDEV=y +# CONFIG_I2C_HELPER_AUTO is not set +CONFIG_I2C_ALGOBIT=m +CONFIG_I2C_ALGOPCF=m +CONFIG_I2C_ALGOPCA=m +CONFIG_I2C_IMX=y +CONFIG_SPI=y +CONFIG_SPI_IMX=y +CONFIG_GPIO_SYSFS=y +# CONFIG_HWMON is not set +CONFIG_WATCHDOG=y +CONFIG_IMX2_WDT=y +CONFIG_MFD_MC13XXX=y +CONFIG_REGULATOR=y +CONFIG_REGULATOR_MC13892=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_MXC=y +CONFIG_USB_STORAGE=y +CONFIG_MMC=y +CONFIG_MMC_BLOCK=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_ESDHC_IMX=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_INTF_DEV_UIE_EMUL=y +CONFIG_RTC_MXC=y +CONFIG_EXT2_FS=y +CONFIG_EXT2_FS_XATTR=y +CONFIG_EXT2_FS_POSIX_ACL=y +CONFIG_EXT2_FS_SECURITY=y +CONFIG_EXT3_FS=y +CONFIG_EXT3_FS_POSIX_ACL=y +CONFIG_EXT3_FS_SECURITY=y +CONFIG_EXT4_FS=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_EXT4_FS_SECURITY=y +CONFIG_QUOTA=y +CONFIG_QUOTA_NETLINK_INTERFACE=y +# CONFIG_PRINT_QUOTA_WARNING is not set +CONFIG_AUTOFS4_FS=y +CONFIG_FUSE_FS=y +CONFIG_ISO9660_FS=m +CONFIG_JOLIET=y +CONFIG_ZISOFS=y +CONFIG_UDF_FS=m +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=y +CONFIG_TMPFS=y +CONFIG_CONFIGFS_FS=m +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +CONFIG_NFS_V3_ACL=y +CONFIG_NFS_V4=y +CONFIG_ROOT_NFS=y +CONFIG_NLS_DEFAULT="cp437" +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_ASCII=y +CONFIG_NLS_ISO8859_1=y +CONFIG_NLS_ISO8859_15=m +CONFIG_NLS_UTF8=y +CONFIG_MAGIC_SYSRQ=y +CONFIG_DEBUG_FS=y +# CONFIG_SCHED_DEBUG is not set +# CONFIG_DEBUG_BUGVERBOSE is not set +# CONFIG_FTRACE is not set +# CONFIG_ARM_UNWIND is not set +CONFIG_SECURITYFS=y +CONFIG_CRYPTO_DEFLATE=m +CONFIG_CRYPTO_LZO=m +# CONFIG_CRYPTO_ANSI_CPRNG is not set +# CONFIG_CRYPTO_HW is not set +CONFIG_CRC_CCITT=m +CONFIG_CRC_T10DIF=y +CONFIG_CRC7=m +CONFIG_LIBCRC32C=m
configs/freescale_mx53loco_defconfig new file +19 -0
@@ -0,0 +1,19 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx53loco" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/uboot-imx.git" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/mx53loco/linux.config"
Signature · 1 line
1.7.5.4
PATCH 1/1 Add Freescale MX53 support
Thank you for this contribution! We certainly need more defconfigs.
Below are a few comments on your patch. Please consider them and if
necessary re-post it. If you will not be able to re-post it, let us know so someone else can adopt it.
We will certainly need a Signed-off-by tag on your patch, i.e. a line saying
This is a short way for you to assert that you are entitled to contribute the patch under buildroot's GPL license. See
http://kerneltrap.org/files/Jeremy/DCO.txt for more details.
Quoted 2 lines · On Friday 03 February 2012 14:56:10 Mathieu Briand wrote:
Buildroot config and Linux Kernel config.
Binaries blob not supported yet.
What does 'Binaries blob' mean?
Quoted 6 lines
--- board/freescale/mx53loco/linux.config | 175 +++++++++++++++++++++++++++++++++ configs/freescale_mx53loco_defconfig | 19 ++++ 2 files changed, 194 insertions(+), 0 deletions(-) create mode 100644 board/freescale/mx53loco/linux.config create mode 100644 configs/freescale_mx53loco_defconfig
The processor is called "i.MX53", I believe. We also usually don't
include the vendor name in the processor identification. So something like configs/imx53loco_defconfig is probably more appropriate. OTOH, Freescale themselves seem to call i.MX3x processors "imx" and i.MX5x processors "mx5"...
board/freescale/mx53loco/linux.config
Quoted 1 line
board/freescale/mx53loco/linux.config +0
-0
Personally I'd prefer to use a kernel defconfig (mx5_defconfig), but
perhaps this one is more appropriate.
[snip]
Quoted 13 lines
configs/freescale_mx53loco_defconfig new file +7
-0@@ -0,0 +1,19 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_TARGET_UBOOT=y
configs/freescale_mx53loco_defconfig line 17
Quoted 10 lines
configs/freescale_mx53loco_defconfig new file +10
-0+BR2_TARGET_UBOOT_BOARDNAME="mx53loco" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/uboot-imx.git" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master"
I think it is better (more predictable) to specify an exact version instead
of the latest HEAD. Either a git sha or a tarball, e.g.
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/snapshot/rel_imx_2.6.38_12.01.01.tar.gz
(if that is a relevant snapshot at all).
configs/freescale_mx53loco_defconfig line 19
Quoted 3 lines
configs/freescale_mx53loco_defconfig new file +2
-0+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/mx53loco/linux.config"
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 Add Freescale MX53 support
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Hi,
Quoted 1 line
Quoted 1 line
create mode 100644 configs/freescale_mx53loco_defconfig
Arnout> The processor is called "i.MX53", I believe. We also usually don't Arnout> include the vendor name in the processor identification. So something Arnout> like configs/imx53loco_defconfig is probably more appropriate. OTOH, Arnout> Freescale themselves seem to call i.MX3x processors "imx" and i.MX5x Arnout> processors "mx5"...
mx53loco was afaik the internal code name for the board. Officially it's called the i.MX53 Quick Start Board
(http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB),
but the mx53loco name is also used other places, like E.G. the kernel.
I don't really feel strongly about mx53loco vs imx53qsb though.
Quoted 1 line
board/freescale/mx53loco/linux.config
Quoted 1 line
board/freescale/mx53loco/linux.config +0
-0
Arnout> Personally I'd prefer to use a kernel defconfig (mx5_defconfig), but Arnout> perhaps this one is more appropriate.
I agree if possible, as that's one thing less to maintain.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 Add Freescale MX53 support
Quoted 5 lines · On Tuesday 07 February 2012 10:27:28 Peter Korsgaard wrote:
Quoted 1 line
board/freescale/mx53loco/linux.config
Quoted 1 line
board/freescale/mx53loco/linux.config +0
-0Arnout> Personally I'd prefer to use a kernel defconfig (
mx5_defconfig), but Arnout> perhaps this one is more appropriate.I agree if possible, as that's one thing less to maintain.
I think the main difference is that the mx5_defconfig includes several
BSPs, not just the loco. So this custom one will probably result in a (slightly) smaller kernel.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 Add Freescale MX53 support
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Hi,
Quoted 1 line
Quoted 1 line
I agree if possible, as that's one thing less to maintain.
Arnout> I think the main difference is that the mx5_defconfig includes Arnout> several BSPs, not just the loco. So this custom one will Arnout> probably result in a (slightly) smaller kernel.
Which imho isn't a big priority for a defconfig (compared to the other issues for maintenance overhead, platform/driver support included, ..)
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 Add Freescale MX53 support
In reply to Peter KorsgaardQuoted 8 lines · Peter Korsgaard
Quoted 3 lines
board/freescale/mx53loco/linux.config
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
board/freescale/mx53loco/linux.config +0
-0Arnout> Personally I'd prefer to use a kernel defconfig (
mx5_defconfig), but Arnout> perhaps this one is more appropriate.I agree if possible, as that's one thing less to maintain.
There are two differences between mx5_defconfig and this defconfig :
- mx5_defconfig include several BSPs which result in a failure in uImage building (multiple load addresses).
- CONFIG_MMC_BLOCK is set as module in mx5_defconfig. Since mx53 has no nand memory, this seemed relevant.
PATCH 1/1 Add Freescale MX53 support
Quoted 7 lines · On Tuesday 07 February 2012 11:06:46 Mathieu wrote:
Quoted 6 lines · Peter Korsgaard
Quoted 3 lines
board/freescale/mx53loco/linux.config
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
board/freescale/mx53loco/linux.config +0
-0Arnout> Personally I'd prefer to use a kernel defconfig (
mx5_defconfig), but Arnout> perhaps this one is more appropriate.
Quoted 8 lines
Quoted 2 lines
I agree if possible, as that's one thing less to maintain.
There are two differences between
mx5_defconfigand this defconfig :
-mx5_defconfiginclude several BSPs which result in a failure in uImage building (multiple load addresses).
-CONFIG_MMC_BLOCKis set as module inmx5_defconfig. Since mx53 has no nand memory, this seemed relevant.
Fair enough. It would be good to document this in the log message.
Regards,
Arnout
Signature · 9 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120207/6553fcb0/attachment-0001.html>
PATCH 1/1 Add Freescale MX53 support
In reply to Arnout VandecappelleOn Tue, 2012-02-07 at 00:00 +0100, Arnout Vandecappelle wrote:
Thank you for this contribution! We certainly need more defconfigs.
Quoted 3 lines
Below are a few comments on your patch. Please consider them and if
necessary re-post it. If you will not be able to re-post it, let us
know
Quoted 3 lines
so someone else can adopt it.
We will certainly need a Signed-off-by tag on your patch, i.e. a line
saying
Quoted 4 lines
Signed-off-by Your Name <[email protected]>This is a short way for you to assert that you are entitled to
contribute
Quoted 2 lines
the patch under buildroot's GPL license. See
http://kerneltrap.org/files/Jeremy/DCO.txt for more details.
Ok
Quoted 7 lines · On Friday 03 February 2012 14:56:10 Mathieu Briand wrote:
Quoted 2 lines
Buildroot config and Linux Kernel config.
Binaries blob not supported yet.What does 'Binaries blob' mean?
By 'Binaries blob' I mean Freescale Multimedia Codecs. Current buildroot configuration will probably not allow users to use them.
Quoted 8 lines
Quoted 7 lines
--- board/freescale/mx53loco/linux.config | 175 +++++++++++++++++++++++++++++++++ configs/freescale_mx53loco_defconfig | 19 ++++ 2 files changed, 194 insertions(+), 0 deletions(-) create mode 100644 board/freescale/mx53loco/linux.config create mode 100644 configs/freescale_mx53loco_defconfig
Quoted 6 lines
The processor is called "i.MX53", I believe. We also usually don't
include the vendor name in the processor identification. So something like configs/imx53loco_defconfig is probably more appropriate. OTOH, Freescale themselves seem to call i.MX3x processors "imx" and i.MX5x processors "mx5"...
Ok for the vendor name.
For imx53/mx53 it seemed appropriate to name it mx53 since it's the name in kernel and u-boot.
Quoted 26 lines
board/freescale/mx53loco/linux.config
Quoted 2 lines
board/freescale/mx53loco/linux.config +0
-0Personally I'd prefer to use a kernel defconfig (
mx5_defconfig), but
perhaps this one is more appropriate.[snip]
Quoted 20 lines
configs/freescale_mx53loco_defconfig new file +14
-0@@ -0,0 +1,19 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx53loco" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/uboot-imx.git" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="master" + +# Kernel +BR2_LINUX_KERNEL=y
Quoted 8 lines
configs/freescale_mx53loco_defconfig line 17
Quoted 3 lines
configs/freescale_mx53loco_defconfig new file +3
-0+BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="master"I think it is better (more predictable) to specify an exact version instead
of the latest HEAD. Either a git sha or a tarball, e.g.
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/snapshot/rel_imx_2.6.38_12.01.01.tar.gz
(if that is a relevant snapshot at all).
Ok
Quoted 8 lines
configs/freescale_mx53loco_defconfig line 19
Quoted 4 lines
configs/freescale_mx53loco_defconfig new file +2
-0+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/freescale/mx53loco/linux.config"Regards,
Arnout
PATCH 1/1 Add Freescale MX53 support
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Mathieu" == Mathieu <[email protected]> writes:
Hi,
Quoted 4 lines
Quoted 4 lines
I think it is better (more predictable) to specify an exact version instead of the latest HEAD. Either a git sha or a tarball, e.g.
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/snapshot/rel_imx_2.6.38_12.01.01.tar.gz
(if that is a relevant snapshot at all).
Mathieu> Ok
Will you send an updated patch, please?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 Add Freescale MX53 support
In reply to Mathieu BriandBuildroot config and Linux Kernel config.
Freescale binaries (xf86 video driver and multimedia codecs) not supported yet.
--- configs/mx53loco_defconfig | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) create mode 100644 configs/mx53loco_defconfig
configs/mx53loco_defconfig new file +18 -0
@@ -0,0 +1,18 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx53_loco" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/uboot-imx.git" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="rel_imx_2.6.35_11.09.01" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="rel_imx_2.6.35_11.09.01" +BR2_LINUX_KERNEL_DEFCONFIG="imx5"
Signature · 1 line
1.7.5.4
PATCH 1/1 Add Freescale MX53 support
Hi,
So, finally, I realized there IS a good kernel defconfig in freescale git, I just had to look in the right branch, not in master... sorry.
I hope I fixed all your comments about my patch (except maybe about mx53/imx53 name, I'm still not shure what is better). If some changes are still needed, please say so.
Quoted 33 lines · Mathieu Briand
Buildroot config and Linux Kernel config.
Freescale binaries (xf86 video driver and multimedia codecs) not supported yet.Signed-off-by Mathieu Briand <[email protected]>--- configs/mx53loco_defconfig | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) create mode 100644 configs/mx53loco_defconfigconfigs/mx53loco_defconfig new file +18
-0@@ -0,0 +1,18 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx53_loco" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/uboot-imx.git" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="rel_imx_2.6.35_11.09.01" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="rel_imx_2.6.35_11.09.01" +BR2_LINUX_KERNEL_DEFCONFIG="imx5"
PATCH 1/1 Add Freescale MX53 support
In reply to Mathieu BriandQuoted 4 lines · On Monday 13 February 2012 10:43:46 Mathieu Briand wrote:
Buildroot config and Linux Kernel config.
Freescale binaries (xf86 video driver and multimedia codecs) not supported yet.Signed-off-by Mathieu Briand <[email protected]>
[snip]
Quoted 1 line
+BR2_TARGET_UBOOT_BOARDNAME="mx53_loco"
Given that this is the u-boot board name, I think mx53loco_defconfig is
indeed a good name.
configs/mx53loco_defconfig line 18
Quoted 10 lines
configs/mx53loco_defconfig new file +10
-0+BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/uboot-imx.git" +BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION="rel_imx_2.6.35_11.09.01" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL="http://opensource.freescale.com/pub/scm/imx/linux-2.6-imx.git" +BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="rel_imx_2.6.35_11.09.01" +BR2_LINUX_KERNEL_DEFCONFIG="imx5"
I haven't looked at it, but isn't this a defconfig that requires a
device tree blob? Or is it just one that includes a number of devboard BSPs?
Regards,
Arnout
Signature · 9 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120213/453ad31f/attachment.html>
A message that is not in the archive (sent off-list or not yet received): 28624_1329161809_q1DJaj6E025889_201202132036.29563.arnout@mind.be
Quoted 9 lines · Arnout Vandecappelle
On Monday 13 February 2012 10:43:46 Mathieu Briand wrote:
I haven't looked at it, but isn't this a defconfig that requires a
device tree blob? Or is it just one that includes a number of
devboard BSPs?
It just include several BSP.
Mathieu
Quoted 1 line
PATCH 1/1 Add Freescale MX53 support
In reply to Mathieu BriandQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Mathieu" == Mathieu Briand <[email protected]> writes:
Mathieu> Buildroot config and Linux Kernel config.
Mathieu> Freescale binaries (xf86 video driver and multimedia codecs) Mathieu> not supported yet.
Committed to next, thanks.
The freescale git-over-http is horribly slow though :/
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 Add Freescale MX53 support
Le Fri, 17 Feb 2012 22:02:40 +0100,
Peter Korsgaard <[email protected]> a ?crit :
Quoted 2 lines
The freescale git-over-http is horribly slow though :/
the git server is reachable here :git://git.freescale.com/imx/linux-2.6-imx.git
Eric
Signature · 1 line
http://eukrea.com/en/news/104-2012
PATCH 1/1 Add Freescale MX53 support
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Eric" == Eric B?nard <[email protected]> writes:
Eric> Le Fri, 17 Feb 2012 22:02:40 +0100, Eric> Peter Korsgaard <[email protected]> a ?crit :
Quoted 2 lines
Quoted 2 lines
The freescale git-over-http is horribly slow though :/
Eric> the git server is reachable here :
Eric> git://git.freescale.com/imx/linux-2.6-imx.git
Ahh, thanks. Then it imho makes sense to use the git:// url instead. Will change.
Signature · 1 line
Bye, Peter Korsgaard