Skip to contentSkip to conversation

ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig

PATCH New Vladimir Zapolskiy 1 participant 7 messages Jan 25, 2019

Subsystems (2)
lore
Share & tools
lore

Vladimir Zapolskiy

author maintainer
#0 lore raw

cover ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig

The changeset improves the default defconfig file used to build the kernel images for NXP LPC32xx powered boards.

Now Linux kernel images built from lpc32xx_defconfig will contain generic wide-spread debugging options, and it will support mounting of NFSv4 shares.

Vladimir Zapolskiy (6):
ARM: defconfig: lpc32xx: enable NFSv4 support
ARM: defconfig: lpc32xx: enable build options for basic debugging
ARM: defconfig: lpc32xx: enable panic on oops option
ARM: defconfig: lpc32xx: enable serial console on HS UART
ARM: defconfig: lpc32xx: enable generic SRAM driver
ARM: defconfig: lpc32xx: disable superfluous GPIO controllers

 arch/arm/configs/lpc32xx_defconfig | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#1 lore raw

PATCH 1/6 ARM: defconfig: lpc32xx: enable NFSv4 support

The change allows to mount rootfs shared on an NFSv4 server.

---
 arch/arm/configs/lpc32xx_defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/configs/lpc32xx_defconfig +3 -0
index 6cf9ebb17274..2e1611578c61 100644
@@ -177,6 +177,9 @@ CONFIG_JFFS2_FS_WBUF_VERIFY=y
 CONFIG_UBIFS_FS=y
 CONFIG_CRAMFS=y
 CONFIG_NFS_FS=y
+CONFIG_NFS_V4=y
+CONFIG_NFS_V4_1=y
+CONFIG_NFS_V4_2=y
 CONFIG_ROOT_NFS=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ASCII=y
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#2 lore raw

PATCH 2/6 ARM: defconfig: lpc32xx: enable build options for basic debugging

In reply to Vladimir Zapolskiy

To make a default built kernel image more advanced include support of sysrq, dynamic debug, GDB scripts and printed timestamps in kernel log buffer by default.

---
 arch/arm/configs/lpc32xx_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/configs/lpc32xx_defconfig +4 -0
index 2e1611578c61..4649cb04dec7 100644
@@ -188,8 +188,12 @@ CONFIG_NLS_UTF8=y
 CONFIG_CRYPTO_ANSI_CPRNG=y
 # CONFIG_CRYPTO_HW is not set
 CONFIG_CRC_CCITT=y
+CONFIG_PRINTK_TIME=y
+CONFIG_DYNAMIC_DEBUG=y
 CONFIG_DEBUG_INFO=y
+CONFIG_GDB_SCRIPTS=y
 CONFIG_DEBUG_FS=y
+CONFIG_MAGIC_SYSRQ=y
 # CONFIG_SCHED_DEBUG is not set
 # CONFIG_DEBUG_PREEMPT is not set
 # CONFIG_FTRACE is not set
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#3 lore raw

PATCH 3/6 ARM: defconfig: lpc32xx: enable panic on oops option

In reply to Vladimir Zapolskiy

Panic on oops option enabled by by default makes great sense both for debugging and production.

---
 arch/arm/configs/lpc32xx_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/lpc32xx_defconfig +2 -0
index 4649cb04dec7..0504eee8632c 100644
@@ -194,6 +194,8 @@ CONFIG_DEBUG_INFO=y
 CONFIG_GDB_SCRIPTS=y
 CONFIG_DEBUG_FS=y
 CONFIG_MAGIC_SYSRQ=y
+CONFIG_PANIC_ON_OOPS=y
+CONFIG_PANIC_TIMEOUT=5
 # CONFIG_SCHED_DEBUG is not set
 # CONFIG_DEBUG_PREEMPT is not set
 # CONFIG_FTRACE is not set
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#4 lore raw

PATCH 4/6 ARM: defconfig: lpc32xx: enable serial console on HS UART

In reply to Vladimir Zapolskiy

It is possible to configure NXP LPC32xx powered boards to have serial consoles on HS UARTs, enable this option by default.

---
 arch/arm/configs/lpc32xx_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/lpc32xx_defconfig +1 -0
index 0504eee8632c..b7aeef246134 100644
@@ -89,6 +89,7 @@ CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_SERIAL_HS_LPC32XX=y
+CONFIG_SERIAL_HS_LPC32XX_CONSOLE=y
 # CONFIG_HW_RANDOM is not set
 CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_PNX=y
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#5 lore raw

PATCH 5/6 ARM: defconfig: lpc32xx: enable generic SRAM driver

In reply to Vladimir Zapolskiy

NXP LPC32xx SoCs contain an IRAM area, which is supported by the generic MMIO SRAM driver, enable the driver to be built by default.

---
 arch/arm/configs/lpc32xx_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/lpc32xx_defconfig +1 -0
index b7aeef246134..154bdeefa1a9 100644
@@ -56,6 +56,7 @@ CONFIG_BLK_DEV_CRYPTOLOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=1
 CONFIG_BLK_DEV_RAM_SIZE=16384
+CONFIG_SRAM=y
 CONFIG_EEPROM_AT24=y
 CONFIG_EEPROM_AT25=y
 CONFIG_SCSI=y
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#6 lore raw

PATCH 6/6 ARM: defconfig: lpc32xx: disable superfluous GPIO controllers

In reply to Vladimir Zapolskiy

The change disables a list of GPIO controllers, which to the best knowledge are not found on any supported NXP LPC32xx powered board.

---
 arch/arm/configs/lpc32xx_defconfig | 8 --------
 1 file changed, 8 deletions(-)
arch/arm/configs/lpc32xx_defconfig +0 -8
index 154bdeefa1a9..19a5e5e742d4 100644
@@ -98,16 +98,8 @@ CONFIG_SPI=y
 CONFIG_SPI_PL022=y
 CONFIG_GPIO_SYSFS=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
-CONFIG_GPIO_PL061=y
-CONFIG_GPIO_ADP5588=y
-CONFIG_GPIO_ADNP=y
-CONFIG_GPIO_MAX7300=y
-CONFIG_GPIO_MAX732X=y
 CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_PCF857X=y
-CONFIG_GPIO_74X164=y
-CONFIG_GPIO_MAX7301=y
-CONFIG_GPIO_MC33880=y
 CONFIG_SENSORS_DS620=y
 CONFIG_SENSORS_MAX6639=y
 CONFIG_WATCHDOG=y
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel