Skip to contentSkip to conversation

arm: configs: Add Freescale LS1021A defconfig

PATCH New Haikun Wang 2 participants 4 messages May 18, 2015 – Jun 25, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: configs: Add Freescale LS1021A defconfig

Add Freescale LS1021A initial defconfig file. Enable I2C, LPUART, eDMA, WDT default. LS1021AQDS and LS1021ATWR boot successfully with patch. Above IPs also been verified successfully.

---
 arch/arm/configs/ls1021a_defconfig | 140 +++++++++++++++++++++++++++++++++++++
 1 file changed, 140 insertions(+)
 create mode 100644 arch/arm/configs/ls1021a_defconfig
arch/arm/configs/ls1021a_defconfig new file +140 -0
new file mode 100644
index 0000000..3c893c8
@@ -0,0 +1,140 @@
+CONFIG_SYSVIPC=y
+CONFIG_POSIX_MQUEUE=y
+CONFIG_NO_HZ_IDLE=y
+CONFIG_HIGH_RES_TIMERS=y
+CONFIG_LOG_BUF_SHIFT=16
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS_ALL=y
+CONFIG_EMBEDDED=y
+CONFIG_PROFILING=y
+CONFIG_OPROFILE=y
+CONFIG_KPROBES=y
+CONFIG_JUMP_LABEL=y
+CONFIG_MODULES=y
+CONFIG_MODULE_FORCE_LOAD=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_BLK_CMDLINE_PARSER=y
+CONFIG_ARCH_MXC=y
+CONFIG_SOC_LS1021A=y
+CONFIG_ARM_LPAE=y
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_PREEMPT_VOLUNTARY=y
+CONFIG_THUMB2_KERNEL=y
+CONFIG_HIGHMEM=y
+CONFIG_CLEANCACHE=y
+CONFIG_FRONTSWAP=y
+CONFIG_CMDLINE="console=ttyS0,115200"
+CONFIG_VFP=y
+CONFIG_NEON=y
+CONFIG_KERNEL_MODE_NEON=y
+CONFIG_BINFMT_MISC=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_UNIX_DIAG=y
+CONFIG_XFRM_USER=y
+CONFIG_NET_KEY=y
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+CONFIG_IP_ADVANCED_ROUTER=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_MROUTE=y
+CONFIG_INET_AH=y
+CONFIG_INET_ESP=y
+CONFIG_INET_IPCOMP=y
+CONFIG_INET_UDP_DIAG=y
+CONFIG_NETFILTER=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_ADV_OPTIONS=y
+CONFIG_MTD_CFI_BE_BYTE_SWAP=y
+CONFIG_MTD_CFI_GEOMETRY=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_CFI_STAA=y
+CONFIG_MTD_PHYSMAP_OF=y
+CONFIG_MTD_SST25L=y
+CONFIG_MTD_NAND=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=256000
+CONFIG_SRAM=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_CHR_DEV_SG=y
+CONFIG_ATA=y
+CONFIG_NETDEVICES=y
+CONFIG_VITESSE_PHY=y
+CONFIG_BROADCOM_PHY=y
+CONFIG_REALTEK_PHY=y
+CONFIG_NATIONAL_PHY=y
+CONFIG_MICREL_PHY=y
+CONFIG_MDIO_BUS_MUX_MMIOREG=y
+CONFIG_INPUT_EVDEV=y
+CONFIG_SERIO_SERPORT=m
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_EXTENDED=y
+CONFIG_SERIAL_8250_SHARE_IRQ=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_FSL_LPUART=y
+CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
+CONFIG_HW_RANDOM=y
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_MUX_PCA954x=y
+CONFIG_I2C_IMX=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_SENSORS_LM90=y
+CONFIG_SENSORS_INA2XX=y
+CONFIG_WATCHDOG=y
+CONFIG_IMX2_WDT=y
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_DS3232=y
+CONFIG_DMADEVICES=y
+CONFIG_FSL_EDMA=y
+CONFIG_CLK_QORIQ=y
+CONFIG_MEMORY=y
+CONFIG_EXT2_FS=y
+CONFIG_EXT2_FS_XATTR=y
+CONFIG_EXT3_FS=y
+CONFIG_EXT4_FS=y
+CONFIG_FANOTIFY=y
+CONFIG_ISO9660_FS=m
+CONFIG_JOLIET=y
+CONFIG_ZISOFS=y
+CONFIG_UDF_FS=m
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_NTFS_FS=m
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+CONFIG_JFFS2_FS=y
+CONFIG_NFS_FS=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_2=y
+CONFIG_NLS_ISO8859_15=y
+CONFIG_NLS_UTF8=y
+CONFIG_DEBUG_SECTION_MISMATCH=y
+CONFIG_MAGIC_SYSRQ=y
+CONFIG_CRYPTO_LZO=y
+CONFIG_CRC_CCITT=m
+CONFIG_CRC_T10DIF=y
+CONFIG_CRC7=m
+CONFIG_LIBCRC32C=m
Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH 1/1 arm: configs: Add Freescale LS1021A defconfig

Quoted 7 lines · On Monday 18 May 2015 20:22:06 Haikun Wang wrote:

Add Freescale LS1021A initial defconfig file. Enable I2C, LPUART, eDMA, WDT default. LS1021AQDS and LS1021ATWR boot successfully with patch. Above IPs also been verified successfully.

Can you explain why you need a separate defconfig, aside from imx_v6_v7_defconfig and multi_v7_defconfig? Please put a reason into the description above, as we normally try to have only one defconfig per machine directory.

Does this machine require LPAE to function correctly?

Arnd

#2 lore raw

PATCH 1/1 arm: configs: Add Freescale LS1021A defconfig

Quoted 10 lines · Arnd Bergmann
Quoted 7 lines · On Monday 18 May 2015 20:22:06 Haikun Wang wrote:

Add Freescale LS1021A initial defconfig file. Enable I2C, LPUART, eDMA, WDT default. LS1021AQDS and LS1021ATWR boot successfully with patch. Above IPs also been verified successfully.

Can you explain why you need a separate defconfig, aside from imx_v6_v7_defconfig

LS1021A is different from I.MX. Also it has some special configure options. So it needs a separate defconfig.

Quoted 4 lines

and multi_v7_defconfig? Please put a reason into the description above, as we normally try to have only one defconfig per machine directory.

Does this machine require LPAE to function correctly?

Yes, we need it to access 40-bit address space, such as PCIE.

Best regards,
Wang Haikun

Quoted 3 lines

Arnd

#3 lore raw

PATCH 1/1 arm: configs: Add Freescale LS1021A defconfig

In reply to Arnd Bergmann
Quoted 11 lines · Arnd Bergmann
Quoted 7 lines · On Monday 18 May 2015 20:22:06 Haikun Wang wrote:

Add Freescale LS1021A initial defconfig file. Enable I2C, LPUART, eDMA, WDT default. LS1021AQDS and LS1021ATWR boot successfully with patch. Above IPs also been verified successfully.

Can you explain why you need a separate defconfig, aside from imx_v6_v7_defconfig and multi_v7_defconfig? Please put a reason into the description above,

Hi Arnd,

I have verified that if we want to use multi_v7_defconfig to boot LS1021A up, we need add below configurations:
+CONFIG_THUMB2_KERNEL=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_VFP=y.

If we add those to multi_v7_defconfig, it may destroy other platforms.

Best Regards
Wang Haikun

Quoted 6 lines

as we normally try to have only one defconfig per machine directory.

Does this machine require LPAE to function correctly?

Arnd