Skip to contentSkip to conversation

ARM: stm32: do not try to use a ramdisk in defconfig

PATCH New Arnd Bergmann 2 participants 3 messages May 18, 2015 – May 20, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: stm32: do not try to use a ramdisk in defconfig

The original stm32 defconfig file looks for a ./rootfs.cpio file, but that breaks with

../scripts/gen_initramfs_list.sh: Cannot open './rootfs.cpio'

when trying to build this kernel. Anybody who relies on the current behavior should change their build scripts to append the initramfs manually, as this patch removes that default in order to help autmatic testing.

---
I'm applying this to the next/defconfig branch directly, to get the kernelci builder to succeed on this config.

arch/arm/configs/stm32_defconfig +0 -1
index af757925d0ae..fab9cf9bff02 100644
@@ -2,7 +2,6 @@ CONFIG_NO_HZ_IDLE=y
 CONFIG_HIGH_RES_TIMERS=y
 CONFIG_LOG_BUF_SHIFT=16
 CONFIG_BLK_DEV_INITRD=y
-CONFIG_INITRAMFS_SOURCE="./rootfs.cpio"
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 # CONFIG_UID16 is not set
 # CONFIG_BASE_FULL is not set
#1 lore raw

PATCH 1/1 ARM: stm32: do not try to use a ramdisk in defconfig

Hi Arnd,

Quoted 21 lines · Arnd Bergmann

The original stm32 defconfig file looks for a ./rootfs.cpio file, but that breaks with

../scripts/gen_initramfs_list.sh: Cannot open './rootfs.cpio'

when trying to build this kernel. Anybody who relies on the current behavior should change their build scripts to append the initramfs manually, as this patch removes that default in order to help autmatic testing.

---
I'm applying this to the next/defconfig branch directly, to get the kernelci builder to succeed on this config.

arch/arm/configs/stm32_defconfig +0 -0
index af757925d0ae..fab9cf9bff02 100644

arch/arm/configs/stm32_defconfig CONFIG_NO_HZ_IDLE=y · line 7

Quoted 7 lines
arch/arm/configs/stm32_defconfig +0 -1
@@ -2,7 +2,6 @@ CONFIG_NO_HZ_IDLE=y
  CONFIG_HIGH_RES_TIMERS=y
  CONFIG_LOG_BUF_SHIFT=16
  CONFIG_BLK_DEV_INITRD=y
-CONFIG_INITRAMFS_SOURCE="./rootfs.cpio"
  CONFIG_CC_OPTIMIZE_FOR_SIZE=y
  # CONFIG_UID16 is not set
  # CONFIG_BASE_FULL is not set

Sorry, I forgot to remove it.

Thanks for fixing the issue:

Kind regards,
Maxime

author Applied
#2 lore raw

PATCH 1/1 ARM: stm32: do not try to use a ramdisk in defconfig

Quoted 33 lines · On Monday 18 May 2015 17:29:09 Maxime Coquelin wrote:
Quoted 21 lines · Arnd Bergmann

The original stm32 defconfig file looks for a ./rootfs.cpio file, but that breaks with

../scripts/gen_initramfs_list.sh: Cannot open './rootfs.cpio'

when trying to build this kernel. Anybody who relies on the current behavior should change their build scripts to append the initramfs manually, as this patch removes that default in order to help autmatic testing.

---
I'm applying this to the next/defconfig branch directly, to get the kernelci builder to succeed on this config.

arch/arm/configs/stm32_defconfig +0 -0
index af757925d0ae..fab9cf9bff02 100644

arch/arm/configs/stm32_defconfig CONFIG_NO_HZ_IDLE=y · line 7

Quoted 7 lines
arch/arm/configs/stm32_defconfig +0 -1
@@ -2,7 +2,6 @@ CONFIG_NO_HZ_IDLE=y
  CONFIG_HIGH_RES_TIMERS=y
  CONFIG_LOG_BUF_SHIFT=16
  CONFIG_BLK_DEV_INITRD=y
-CONFIG_INITRAMFS_SOURCE="./rootfs.cpio"
  CONFIG_CC_OPTIMIZE_FOR_SIZE=y
  # CONFIG_UID16 is not set
  # CONFIG_BASE_FULL is not set

Sorry, I forgot to remove it.

Quoted 3 lines

Thanks for fixing the issue:

Applied the patch now, thanks!

Arnd