2014-02-11 19:44:31

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH 0/3] arm: at91: update defconfigs

A few at91 defconfigs where not updated in a long time, refresh the configs for
at91sam9rl and at91sam9260/at91sam9g20.

Alexandre Belloni (3):
arm: at91sam9rl: refresh defconfig
arm: at91sam9260_9g20: remove useless configuration
arm: at91sam9260_9g20: refresh configuration

arch/arm/configs/at91sam9260_9g20_defconfig | 9 ++-------
arch/arm/configs/at91sam9rl_defconfig | 10 +++++++---
2 files changed, 9 insertions(+), 10 deletions(-)

--
1.8.3.2


2014-02-11 19:45:08

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH 3/3] arm: at91sam9260_9g20: refresh configuration

Select CONFIG_EMBEDDED as it it useful for that board.

Also select CONFIG_MTD_UBI to really enable UBIfs (CONFIG_FS_UBIFS depends on
it).

Signed-off-by: Alexandre Belloni <[email protected]>
---
arch/arm/configs/at91sam9260_9g20_defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/at91sam9260_9g20_defconfig b/arch/arm/configs/at91sam9260_9g20_defconfig
index 2c879bc29f86..9d35cb2ddceb 100644
--- a/arch/arm/configs/at91sam9260_9g20_defconfig
+++ b/arch/arm/configs/at91sam9260_9g20_defconfig
@@ -3,6 +3,7 @@
CONFIG_SYSVIPC=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_BLK_DEV_INITRD=y
+CONFIG_EMBEDDED=y
CONFIG_SLAB=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
@@ -60,6 +61,7 @@ CONFIG_MTD_BLOCK=y
CONFIG_MTD_DATAFLASH=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_ATMEL=y
+CONFIG_MTD_UBI=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=8192
--
1.8.3.2

2014-02-11 19:46:40

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH 2/3] arm: at91sam9260_9g20: remove useless configuration

A few configuration symbols are deprecated and disappeared a few versions ago,
remove them.

CONFIG_FPE_NWFPE depends on OABI_COMPAT which was not selected.

Signed-off-by: Alexandre Belloni <[email protected]>
---
arch/arm/configs/at91sam9260_9g20_defconfig | 7 -------
1 file changed, 7 deletions(-)

diff --git a/arch/arm/configs/at91sam9260_9g20_defconfig b/arch/arm/configs/at91sam9260_9g20_defconfig
index 69b6928d3d9d..2c879bc29f86 100644
--- a/arch/arm/configs/at91sam9260_9g20_defconfig
+++ b/arch/arm/configs/at91sam9260_9g20_defconfig
@@ -32,15 +32,12 @@ CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
CONFIG_AT91_SLOW_CLOCK=y
# CONFIG_ARM_THUMB is not set
CONFIG_AEABI=y
-CONFIG_LEDS=y
-CONFIG_LEDS_CPU=y
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_CMDLINE="mem=64M console=ttyS0,115200 initrd=0x21100000,3145728 root=/dev/ram0 rw"
CONFIG_AUTO_ZRELADDR=y
-CONFIG_FPE_NWFPE=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
@@ -59,7 +56,6 @@ CONFIG_DEVTMPFS_MOUNT=y
CONFIG_MTD=y
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_OF_PARTS=y
-CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_DATAFLASH=y
CONFIG_MTD_NAND=y
@@ -67,7 +63,6 @@ CONFIG_MTD_NAND_ATMEL=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=8192
-CONFIG_MISC_DEVICES=y
CONFIG_EEPROM_AT25=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
@@ -114,8 +109,6 @@ CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_VERBOSE_PROCFS is not set
CONFIG_USB=y
-CONFIG_USB_DEVICEFS=y
-# CONFIG_USB_DEVICE_CLASS is not set
CONFIG_USB_MON=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_STORAGE=y
--
1.8.3.2

2014-02-11 19:46:59

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH 1/3] arm: at91sam9rl: refresh defconfig

The defconfig for the at91sam9rl is quite old, refresh it:
- now uses EABI instead of OABI
- add devtmpfs support
- add UBI/UBIfs support
- remove a few config symbols that disappeared

Signed-off-by: Alexandre Belloni <[email protected]>
---
arch/arm/configs/at91sam9rl_defconfig | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/arch/arm/configs/at91sam9rl_defconfig b/arch/arm/configs/at91sam9rl_defconfig
index 7cf87856d63c..e60f51afcf6a 100644
--- a/arch/arm/configs/at91sam9rl_defconfig
+++ b/arch/arm/configs/at91sam9rl_defconfig
@@ -1,8 +1,8 @@
-CONFIG_EXPERIMENTAL=y
# CONFIG_LOCALVERSION_AUTO is not set
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
CONFIG_LOG_BUF_SHIFT=14
+CONFIG_EMBEDDED=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_SLAB=y
CONFIG_MODULES=y
@@ -15,20 +15,23 @@ CONFIG_ARCH_AT91SAM9RL=y
CONFIG_MACH_AT91SAM9RLEK=y
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
# CONFIG_ARM_THUMB is not set
+CONFIG_AEABI=y
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_CMDLINE="mem=64M console=ttyS0,115200 initrd=0x21100000,17105363 root=/dev/ram0 rw"
-CONFIG_FPE_NWFPE=y
+CONFIG_AUTO_ZRELADDR=y
CONFIG_NET=y
CONFIG_UNIX=y
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_DATAFLASH=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_ATMEL=y
+CONFIG_MTD_UBI=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=4
@@ -67,6 +70,7 @@ CONFIG_EXT2_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_TMPFS=y
+CONFIG_UBIFS_FS=y
CONFIG_CRAMFS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_850=y
--
1.8.3.2

2014-02-14 09:51:42

by Nicolas Ferre

[permalink] [raw]
Subject: Re: [PATCH 0/3] arm: at91: update defconfigs

On 11/02/2014 20:43, Alexandre Belloni :
> A few at91 defconfigs where not updated in a long time, refresh the configs for
> at91sam9rl and at91sam9260/at91sam9g20.
>
> Alexandre Belloni (3):
> arm: at91sam9rl: refresh defconfig
> arm: at91sam9260_9g20: remove useless configuration
> arm: at91sam9260_9g20: refresh configuration
>
> arch/arm/configs/at91sam9260_9g20_defconfig | 9 ++-------
> arch/arm/configs/at91sam9rl_defconfig | 10 +++++++---
> 2 files changed, 9 insertions(+), 10 deletions(-)


Acked-by: Nicolas Ferre <[email protected]>

stacked in at91-3.15-cleanup

Thanks, bye,
--
Nicolas Ferre