linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig
@ 2019-01-25 22:03 Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 1/6] ARM: defconfig: lpc32xx: enable NFSv4 support Vladimir Zapolskiy
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Vladimir Zapolskiy @ 2019-01-25 22:03 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Sylvain Lemieux

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(-)

-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/6] ARM: defconfig: lpc32xx: enable NFSv4 support
  2019-01-25 22:03 [PATCH 0/6] ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig Vladimir Zapolskiy
@ 2019-01-25 22:03 ` Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 2/6] ARM: defconfig: lpc32xx: enable build options for basic debugging Vladimir Zapolskiy
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Vladimir Zapolskiy @ 2019-01-25 22:03 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Sylvain Lemieux

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

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
 arch/arm/configs/lpc32xx_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/configs/lpc32xx_defconfig b/arch/arm/configs/lpc32xx_defconfig
index 6cf9ebb17274..2e1611578c61 100644
--- a/arch/arm/configs/lpc32xx_defconfig
+++ b/arch/arm/configs/lpc32xx_defconfig
@@ -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
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/6] ARM: defconfig: lpc32xx: enable build options for basic debugging
  2019-01-25 22:03 [PATCH 0/6] ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 1/6] ARM: defconfig: lpc32xx: enable NFSv4 support Vladimir Zapolskiy
@ 2019-01-25 22:03 ` Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 3/6] ARM: defconfig: lpc32xx: enable panic on oops option Vladimir Zapolskiy
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Vladimir Zapolskiy @ 2019-01-25 22:03 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Sylvain Lemieux

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.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
 arch/arm/configs/lpc32xx_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/configs/lpc32xx_defconfig b/arch/arm/configs/lpc32xx_defconfig
index 2e1611578c61..4649cb04dec7 100644
--- a/arch/arm/configs/lpc32xx_defconfig
+++ b/arch/arm/configs/lpc32xx_defconfig
@@ -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
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/6] ARM: defconfig: lpc32xx: enable panic on oops option
  2019-01-25 22:03 [PATCH 0/6] ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 1/6] ARM: defconfig: lpc32xx: enable NFSv4 support Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 2/6] ARM: defconfig: lpc32xx: enable build options for basic debugging Vladimir Zapolskiy
@ 2019-01-25 22:03 ` Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 4/6] ARM: defconfig: lpc32xx: enable serial console on HS UART Vladimir Zapolskiy
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Vladimir Zapolskiy @ 2019-01-25 22:03 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Sylvain Lemieux

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

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
 arch/arm/configs/lpc32xx_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/lpc32xx_defconfig b/arch/arm/configs/lpc32xx_defconfig
index 4649cb04dec7..0504eee8632c 100644
--- a/arch/arm/configs/lpc32xx_defconfig
+++ b/arch/arm/configs/lpc32xx_defconfig
@@ -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
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 4/6] ARM: defconfig: lpc32xx: enable serial console on HS UART
  2019-01-25 22:03 [PATCH 0/6] ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig Vladimir Zapolskiy
                   ` (2 preceding siblings ...)
  2019-01-25 22:03 ` [PATCH 3/6] ARM: defconfig: lpc32xx: enable panic on oops option Vladimir Zapolskiy
@ 2019-01-25 22:03 ` Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 5/6] ARM: defconfig: lpc32xx: enable generic SRAM driver Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 6/6] ARM: defconfig: lpc32xx: disable superfluous GPIO controllers Vladimir Zapolskiy
  5 siblings, 0 replies; 7+ messages in thread
From: Vladimir Zapolskiy @ 2019-01-25 22:03 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Sylvain Lemieux

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

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
 arch/arm/configs/lpc32xx_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/lpc32xx_defconfig b/arch/arm/configs/lpc32xx_defconfig
index 0504eee8632c..b7aeef246134 100644
--- a/arch/arm/configs/lpc32xx_defconfig
+++ b/arch/arm/configs/lpc32xx_defconfig
@@ -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
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 5/6] ARM: defconfig: lpc32xx: enable generic SRAM driver
  2019-01-25 22:03 [PATCH 0/6] ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig Vladimir Zapolskiy
                   ` (3 preceding siblings ...)
  2019-01-25 22:03 ` [PATCH 4/6] ARM: defconfig: lpc32xx: enable serial console on HS UART Vladimir Zapolskiy
@ 2019-01-25 22:03 ` Vladimir Zapolskiy
  2019-01-25 22:03 ` [PATCH 6/6] ARM: defconfig: lpc32xx: disable superfluous GPIO controllers Vladimir Zapolskiy
  5 siblings, 0 replies; 7+ messages in thread
From: Vladimir Zapolskiy @ 2019-01-25 22:03 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Sylvain Lemieux

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

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
 arch/arm/configs/lpc32xx_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/lpc32xx_defconfig b/arch/arm/configs/lpc32xx_defconfig
index b7aeef246134..154bdeefa1a9 100644
--- a/arch/arm/configs/lpc32xx_defconfig
+++ b/arch/arm/configs/lpc32xx_defconfig
@@ -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
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 6/6] ARM: defconfig: lpc32xx: disable superfluous GPIO controllers
  2019-01-25 22:03 [PATCH 0/6] ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig Vladimir Zapolskiy
                   ` (4 preceding siblings ...)
  2019-01-25 22:03 ` [PATCH 5/6] ARM: defconfig: lpc32xx: enable generic SRAM driver Vladimir Zapolskiy
@ 2019-01-25 22:03 ` Vladimir Zapolskiy
  5 siblings, 0 replies; 7+ messages in thread
From: Vladimir Zapolskiy @ 2019-01-25 22:03 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Sylvain Lemieux

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

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
 arch/arm/configs/lpc32xx_defconfig | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/arm/configs/lpc32xx_defconfig b/arch/arm/configs/lpc32xx_defconfig
index 154bdeefa1a9..19a5e5e742d4 100644
--- a/arch/arm/configs/lpc32xx_defconfig
+++ b/arch/arm/configs/lpc32xx_defconfig
@@ -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
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-01-25 22:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-25 22:03 [PATCH 0/6] ARM: defconfig: lpc32xx: update NXP LPC32xx defconfig Vladimir Zapolskiy
2019-01-25 22:03 ` [PATCH 1/6] ARM: defconfig: lpc32xx: enable NFSv4 support Vladimir Zapolskiy
2019-01-25 22:03 ` [PATCH 2/6] ARM: defconfig: lpc32xx: enable build options for basic debugging Vladimir Zapolskiy
2019-01-25 22:03 ` [PATCH 3/6] ARM: defconfig: lpc32xx: enable panic on oops option Vladimir Zapolskiy
2019-01-25 22:03 ` [PATCH 4/6] ARM: defconfig: lpc32xx: enable serial console on HS UART Vladimir Zapolskiy
2019-01-25 22:03 ` [PATCH 5/6] ARM: defconfig: lpc32xx: enable generic SRAM driver Vladimir Zapolskiy
2019-01-25 22:03 ` [PATCH 6/6] ARM: defconfig: lpc32xx: disable superfluous GPIO controllers Vladimir Zapolskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).