Patchwork [meta-fsl-arm,4/4] pcm052: Add machine definition

login
register
mail settings
Submitter Tony Felice
Date Feb. 27, 2014, 6:47 p.m.
Message ID <1393526867-18490-5-git-send-email-tony.felice@timesys.com>
Download mbox | patch
Permalink /patch/67631/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Tony Felice - Feb. 27, 2014, 6:47 p.m.
Add machine definition for the Phytec phyCORE Vybrid board.

Signed-off-by: Anthony Felice <tony.felice@timesys.com>
---
 conf/machine/pcm052.conf                           |  22 +++
 .../linux/linux-timesys-3.0.15/pcm052/defconfig    | 163 +++++++++++++++++++++
 recipes-kernel/linux/linux-timesys_3.0.15.bb       |   2 +
 3 files changed, 187 insertions(+)
 create mode 100644 conf/machine/pcm052.conf
 create mode 100644 recipes-kernel/linux/linux-timesys-3.0.15/pcm052/defconfig
Daiane Angolini - Feb. 27, 2014, 7:44 p.m.
> -----Original Message-----
> From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-
> bounces@yoctoproject.org] On Behalf Of Anthony Felice
> Sent: Thursday, February 27, 2014 3:48 PM
> To: meta-freescale@yoctoproject.org
> Subject: [meta-freescale] [meta-fsl-arm][PATCH 4/4] pcm052: Add machine
> definition
> 
> Add machine definition for the Phytec phyCORE Vybrid board.

Reviewed-by,
Daiane

> 
> Signed-off-by: Anthony Felice <tony.felice@timesys.com>
> ---
>  conf/machine/pcm052.conf                           |  22 +++
>  .../linux/linux-timesys-3.0.15/pcm052/defconfig    | 163
> +++++++++++++++++++++
>  recipes-kernel/linux/linux-timesys_3.0.15.bb       |   2 +
>  3 files changed, 187 insertions(+)
>  create mode 100644 conf/machine/pcm052.conf  create mode 100644 recipes-
> kernel/linux/linux-timesys-3.0.15/pcm052/defconfig
> 
> diff --git a/conf/machine/pcm052.conf b/conf/machine/pcm052.conf new file
> mode 100644 index 0000000..d86fdb0
> --- /dev/null
> +++ b/conf/machine/pcm052.conf
> @@ -0,0 +1,22 @@
> +#@TYPE: Machine
> +#@NAME: Phytec phyCORE Vybrid Development Kit
> +#@SOC: vf60
> +#@DESCRIPTION: Machine configuration for Phytec phyCORE Vybrid
> +Development Kit
> +#@MAINTAINER: Anthony Felice <tony.felice@timesys.com>
> +
> +include conf/machine/include/imx-base.inc include
> +conf/machine/include/tune-cortexa5.inc
> +
> +SOC_FAMILY = "vf60"
> +
> +PREFERRED_PROVIDER_virtual/kernel = "linux-timesys"
> +PREFERRED_PROVIDER_u-boot = "u-boot-timesys"
> +
> +UBOOT_MACHINE = "pcm052_config"
> +
> +SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
> +IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard"
> +
> +SERIAL_CONSOLE = "115200 ttymxc1"
> +
> +MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
> diff --git a/recipes-kernel/linux/linux-timesys-3.0.15/pcm052/defconfig
> b/recipes-kernel/linux/linux-timesys-3.0.15/pcm052/defconfig
> new file mode 100644
> index 0000000..cb6419a
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-timesys-3.0.15/pcm052/defconfig
> @@ -0,0 +1,163 @@
> +CONFIG_EXPERIMENTAL=y
> +CONFIG_SYSVIPC=y
> +CONFIG_IKCONFIG=y
> +CONFIG_IKCONFIG_PROC=y
> +CONFIG_LOG_BUF_SHIFT=14
> +CONFIG_EMBEDDED=y
> +# CONFIG_PERF_EVENTS is not set
> +CONFIG_PROFILING=y
> +CONFIG_MODULES=y
> +CONFIG_MODULE_UNLOAD=y
> +CONFIG_MODULE_FORCE_UNLOAD=y
> +CONFIG_MODVERSIONS=y
> +# CONFIG_BLK_DEV_BSG is not set
> +CONFIG_ARCH_MXC=y
> +CONFIG_ARCH_MVF=y
> +CONFIG_MACH_PCM052=y
> +CONFIG_MXC_PWM=y
> +CONFIG_MXC_USE_PIT=y
> +CONFIG_DMA_ZONE_SIZE=16
> +# CONFIG_CACHE_L2X0 is not set
> +CONFIG_ARM_ERRATA_743622=y
> +CONFIG_ARM_ERRATA_754322=y
> +CONFIG_HIGH_RES_TIMERS=y
> +CONFIG_VMSPLIT_2G=y
> +CONFIG_AEABI=y
> +# CONFIG_OABI_COMPAT is not set
> +CONFIG_COMPACTION=y
> +CONFIG_KSM=y
> +CONFIG_ZBOOT_ROM_TEXT=0x0
> +CONFIG_ZBOOT_ROM_BSS=0x0
> +CONFIG_CMDLINE="root=/dev/nfs rw
> nfsroot=10.193.20.106:/tftpboot/10.193.20.115
> ip=10.193.20.115:10.193.20.106:10.193.20.254:255.255.255.0::eth0:off
> console=ttymxc1,115200 mem=128M"
> +CONFIG_VFP=y
> +CONFIG_NEON=y
> +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set # CONFIG_SUSPEND is
> +not set CONFIG_PM_RUNTIME=y CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y
> +CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_PNP=y
> +CONFIG_IP_PNP_DHCP=y CONFIG_IP_PNP_BOOTP=y # CONFIG_INET_LRO is not set
> +# CONFIG_IPV6 is not set CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
> +CONFIG_DEVTMPFS=y
> +CONFIG_DEVTMPFS_MOUNT=y
> +CONFIG_MTD=y
> +CONFIG_MTD_CMDLINE_PARTS=y
> +CONFIG_MTD_CHAR=y
> +CONFIG_MTD_BLOCK=y
> +CONFIG_MTD_M25P80=y
> +# CONFIG_M25PXX_USE_FAST_READ is not set CONFIG_MTD_NAND=y
> +CONFIG_MTD_NAND_FSL_NFC=y CONFIG_MTD_NAND_FSL_NFC_SWECC=y
> +CONFIG_BLK_DEV_RAM=y CONFIG_MISC_DEVICES=y CONFIG_MVF_ADC=y
> +CONFIG_EEPROM_AT24=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y
> +CONFIG_SCSI_MULTI_LUN=y # CONFIG_SCSI_LOWLEVEL is not set
> +CONFIG_NETDEVICES=y CONFIG_MICREL_PHY=y CONFIG_NET_ETHERNET=y
> +CONFIG_FEC1=y # CONFIG_NETDEV_1000 is not set # CONFIG_NETDEV_10000 is
> +not set CONFIG_INPUT_POLLDEV=y CONFIG_INPUT_EVDEV=y
> +CONFIG_KEYBOARD_GPIO=y # CONFIG_INPUT_MOUSE is not set
> +CONFIG_INPUT_TOUCHSCREEN=y CONFIG_TOUCHSCREEN_STMPE=y
> +CONFIG_INPUT_MISC=y CONFIG_INPUT_UINPUT=y # CONFIG_CONSOLE_TRANSLATIONS
> +is not set # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_IMX=y
> +CONFIG_SERIAL_IMX_CONSOLE=y CONFIG_HW_RANDOM=y CONFIG_I2C=y
> +CONFIG_I2C_CHARDEV=y CONFIG_I2C_IMX=y CONFIG_SPI=y
> +CONFIG_SPI_MVF_QSPI=y CONFIG_SPI_SPIDEV=y CONFIG_GPIO_SYSFS=y #
> +CONFIG_HWMON is not set CONFIG_WATCHDOG=y CONFIG_IMX2_WDT=y
> +CONFIG_MFD_STMPE=y # CONFIG_MFD_MXC_HDMI is not set CONFIG_FB=y
> +CONFIG_FB_MVF_DCU=y CONFIG_BACKLIGHT_LCD_SUPPORT=y
> +CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_GENERIC=m
> +CONFIG_BACKLIGHT_PWM=y CONFIG_FRAMEBUFFER_CONSOLE=y
> +CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
> +CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
> +CONFIG_FONTS=y
> +CONFIG_FONT_8x8=y
> +CONFIG_FONT_8x16=y
> +CONFIG_LOGO=y
> +CONFIG_SOUND=y
> +# CONFIG_SOUND_OSS_CORE_PRECLAIM is not set CONFIG_SND=y
> +CONFIG_SND_PCM_OSS=y CONFIG_SND_SOC=y # CONFIG_HID_SUPPORT is not set
> +CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_ARC=y
> +CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_STORAGE=y CONFIG_USB_GADGET=y
> +CONFIG_USB_ETH=m CONFIG_MMC=y CONFIG_MMC_SDHCI=y
> +CONFIG_MMC_SDHCI_PLTFM=y CONFIG_MMC_SDHCI_ESDHC_IMX=y
> +CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_SNVS=y CONFIG_DMADEVICES=y #
> +CONFIG_MXC_HMP4E is not set # CONFIG_MXC_HWEVENT is not set
> +CONFIG_EXT2_FS=y CONFIG_EXT3_FS=y # CONFIG_EXT3_DEFAULTS_TO_ORDERED is
> +not set CONFIG_EXT4_FS=y CONFIG_AUTOFS4_FS=y CONFIG_MSDOS_FS=y
> +CONFIG_VFAT_FS=y CONFIG_TMPFS=y CONFIG_JFFS2_FS=y CONFIG_CRAMFS=y
> +CONFIG_NFS_FS=y CONFIG_NFS_V3=y CONFIG_ROOT_NFS=y
> +CONFIG_PARTITION_ADVANCED=y CONFIG_EFI_PARTITION=y
> +CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ASCII=m CONFIG_NLS_ISO8859_1=y
> +CONFIG_NLS_UTF8=m CONFIG_FTRACE=y CONFIG_ENABLE_DEFAULT_TRACERS=y
> +CONFIG_CRYPTO_TEST=m CONFIG_CRYPTO_CBC=y CONFIG_CRYPTO_ECB=y
> +CONFIG_CRYPTO_MICHAEL_MIC=y CONFIG_CRYPTO_AES=y CONFIG_CRYPTO_ARC4=y
> +CONFIG_CRYPTO_DEFLATE=y CONFIG_CRYPTO_LZO=y # CONFIG_CRYPTO_ANSI_CPRNG
> +is not set CONFIG_CRC_CCITT=m
> diff --git a/recipes-kernel/linux/linux-timesys_3.0.15.bb b/recipes-
> kernel/linux/linux-timesys_3.0.15.bb
> index bc8b077..c0784c0 100644
> --- a/recipes-kernel/linux/linux-timesys_3.0.15.bb
> +++ b/recipes-kernel/linux/linux-timesys_3.0.15.bb
> @@ -15,6 +15,8 @@ SRCBRANCH_twr-vf65gs10 = "3.0.15_vybrid-twr"
>  SRCREV_twr-vf65gs10 = "50c4c848d6b8743894cfcec166db475ef6140504"
>  SRCBRANCH_pcl052 = "3.0-pcl052"
>  SRCREV_pcl052 = "655f7949b5fd0b66bde03fc3c63c7a436353b1e1"
> +SRCBRANCH_pcm052 = "3.0-pcm052"
> +SRCREV_pcm052 = "7a27fd26d2b5b732e12ecea13a846679cbafe9a9"
>  LOCALVERSION = "-3.0-mvf+yocto"
> 
>  COMPATIBLE_MACHINE = "(vf60)"
> --
> 1.9.0
> 
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
Otavio Salvador - Feb. 27, 2014, 8:39 p.m.
On Thu, Feb 27, 2014 at 3:47 PM, Anthony Felice <tony.felice@timesys.com> wrote:
> Add machine definition for the Phytec phyCORE Vybrid board.
>
> Signed-off-by: Anthony Felice <tony.felice@timesys.com>

Same comments as for the other Phytec board.

Patch

diff --git a/conf/machine/pcm052.conf b/conf/machine/pcm052.conf
new file mode 100644
index 0000000..d86fdb0
--- /dev/null
+++ b/conf/machine/pcm052.conf
@@ -0,0 +1,22 @@ 
+#@TYPE: Machine
+#@NAME: Phytec phyCORE Vybrid Development Kit
+#@SOC: vf60
+#@DESCRIPTION: Machine configuration for Phytec phyCORE Vybrid Development Kit
+#@MAINTAINER: Anthony Felice <tony.felice@timesys.com>
+
+include conf/machine/include/imx-base.inc
+include conf/machine/include/tune-cortexa5.inc
+
+SOC_FAMILY = "vf60"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-timesys"
+PREFERRED_PROVIDER_u-boot = "u-boot-timesys"
+
+UBOOT_MACHINE = "pcm052_config"
+
+SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
+IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard"
+
+SERIAL_CONSOLE = "115200 ttymxc1"
+
+MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
diff --git a/recipes-kernel/linux/linux-timesys-3.0.15/pcm052/defconfig b/recipes-kernel/linux/linux-timesys-3.0.15/pcm052/defconfig
new file mode 100644
index 0000000..cb6419a
--- /dev/null
+++ b/recipes-kernel/linux/linux-timesys-3.0.15/pcm052/defconfig
@@ -0,0 +1,163 @@ 
+CONFIG_EXPERIMENTAL=y
+CONFIG_SYSVIPC=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=14
+CONFIG_EMBEDDED=y
+# CONFIG_PERF_EVENTS is not set
+CONFIG_PROFILING=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_MODULE_FORCE_UNLOAD=y
+CONFIG_MODVERSIONS=y
+# CONFIG_BLK_DEV_BSG is not set
+CONFIG_ARCH_MXC=y
+CONFIG_ARCH_MVF=y
+CONFIG_MACH_PCM052=y
+CONFIG_MXC_PWM=y
+CONFIG_MXC_USE_PIT=y
+CONFIG_DMA_ZONE_SIZE=16
+# CONFIG_CACHE_L2X0 is not set
+CONFIG_ARM_ERRATA_743622=y
+CONFIG_ARM_ERRATA_754322=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_AEABI=y
+# CONFIG_OABI_COMPAT is not set
+CONFIG_COMPACTION=y
+CONFIG_KSM=y
+CONFIG_ZBOOT_ROM_TEXT=0x0
+CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_CMDLINE="root=/dev/nfs rw nfsroot=10.193.20.106:/tftpboot/10.193.20.115 ip=10.193.20.115:10.193.20.106:10.193.20.254:255.255.255.0::eth0:off console=ttymxc1,115200 mem=128M"
+CONFIG_VFP=y
+CONFIG_NEON=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+# CONFIG_SUSPEND is not set
+CONFIG_PM_RUNTIME=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_INET_LRO is not set
+# CONFIG_IPV6 is not set
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_M25P80=y
+# CONFIG_M25PXX_USE_FAST_READ is not set
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_FSL_NFC=y
+CONFIG_MTD_NAND_FSL_NFC_SWECC=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_MISC_DEVICES=y
+CONFIG_MVF_ADC=y
+CONFIG_EEPROM_AT24=y
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_SCSI_MULTI_LUN=y
+# CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_NETDEVICES=y
+CONFIG_MICREL_PHY=y
+CONFIG_NET_ETHERNET=y
+CONFIG_FEC1=y
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+CONFIG_INPUT_POLLDEV=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_KEYBOARD_GPIO=y
+# CONFIG_INPUT_MOUSE is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_STMPE=y
+CONFIG_INPUT_MISC=y
+CONFIG_INPUT_UINPUT=y
+# CONFIG_CONSOLE_TRANSLATIONS is not set
+# CONFIG_LEGACY_PTYS is not set
+CONFIG_SERIAL_IMX=y
+CONFIG_SERIAL_IMX_CONSOLE=y
+CONFIG_HW_RANDOM=y
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_IMX=y
+CONFIG_SPI=y
+CONFIG_SPI_MVF_QSPI=y
+CONFIG_SPI_SPIDEV=y
+CONFIG_GPIO_SYSFS=y
+# CONFIG_HWMON is not set
+CONFIG_WATCHDOG=y
+CONFIG_IMX2_WDT=y
+CONFIG_MFD_STMPE=y
+# CONFIG_MFD_MXC_HDMI is not set
+CONFIG_FB=y
+CONFIG_FB_MVF_DCU=y
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_GENERIC=m
+CONFIG_BACKLIGHT_PWM=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
+CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
+CONFIG_FONTS=y
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE_PRECLAIM is not set
+CONFIG_SND=y
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_SOC=y
+# CONFIG_HID_SUPPORT is not set
+CONFIG_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_ARC=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_ETH=m
+CONFIG_MMC=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SDHCI_ESDHC_IMX=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_SNVS=y
+CONFIG_DMADEVICES=y
+# CONFIG_MXC_HMP4E is not set
+# CONFIG_MXC_HWEVENT is not set
+CONFIG_EXT2_FS=y
+CONFIG_EXT3_FS=y
+# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
+CONFIG_EXT4_FS=y
+CONFIG_AUTOFS4_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_TMPFS=y
+CONFIG_JFFS2_FS=y
+CONFIG_CRAMFS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_ROOT_NFS=y
+CONFIG_PARTITION_ADVANCED=y
+CONFIG_EFI_PARTITION=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ASCII=m
+CONFIG_NLS_ISO8859_1=y
+CONFIG_NLS_UTF8=m
+CONFIG_FTRACE=y
+CONFIG_ENABLE_DEFAULT_TRACERS=y
+CONFIG_CRYPTO_TEST=m
+CONFIG_CRYPTO_CBC=y
+CONFIG_CRYPTO_ECB=y
+CONFIG_CRYPTO_MICHAEL_MIC=y
+CONFIG_CRYPTO_AES=y
+CONFIG_CRYPTO_ARC4=y
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRC_CCITT=m
diff --git a/recipes-kernel/linux/linux-timesys_3.0.15.bb b/recipes-kernel/linux/linux-timesys_3.0.15.bb
index bc8b077..c0784c0 100644
--- a/recipes-kernel/linux/linux-timesys_3.0.15.bb
+++ b/recipes-kernel/linux/linux-timesys_3.0.15.bb
@@ -15,6 +15,8 @@  SRCBRANCH_twr-vf65gs10 = "3.0.15_vybrid-twr"
 SRCREV_twr-vf65gs10 = "50c4c848d6b8743894cfcec166db475ef6140504"
 SRCBRANCH_pcl052 = "3.0-pcl052"
 SRCREV_pcl052 = "655f7949b5fd0b66bde03fc3c63c7a436353b1e1"
+SRCBRANCH_pcm052 = "3.0-pcm052"
+SRCREV_pcm052 = "7a27fd26d2b5b732e12ecea13a846679cbafe9a9"
 LOCALVERSION = "-3.0-mvf+yocto"
 
 COMPATIBLE_MACHINE = "(vf60)"