* [PATCH v2 1/2] ARM: boards: kindle mx50/mx6sl: remove bootm -c option
2026-11-10 21:28 [PATCH v2 0/2] Kindle maintenance Alexander Kurz
@ 2026-11-10 21:28 ` Alexander Kurz
2026-11-11 16:53 ` Ahmad Fatoum
2026-11-10 21:28 ` [PATCH v2 2/2] ARM: i.MX: do kindle-mx50 defconfig maintenance Alexander Kurz
2026-11-13 7:26 ` [PATCH v2 0/2] Kindle maintenance Sascha Hauer
2 siblings, 1 reply; 5+ messages in thread
From: Alexander Kurz @ 2026-11-10 21:28 UTC (permalink / raw)
To: Sascha Hauer, barebox; +Cc: Alexander Kurz
Support for the bootm -c option has been dropped with the 2026.10 release.
Remove it in the boot scripts as well.
Fixes: 93e0ed81f13a ("commands: bootm: remove -c and -s options")
Signed-off-by: Alexander Kurz <akurz@blala.de>
---
.../boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel | 2 +-
.../boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel b/arch/arm/boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel
index b8d93be593..3109f137bf 100644
--- a/arch/arm/boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel
+++ b/arch/arm/boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel
@@ -12,4 +12,4 @@ armlinux_system_serial="$global.board.ocotp_serial"
global linux.bootargs.dyn.root="root=/dev/mmcblk0p1 rootwait ro"
-bootm -c /dev/mmc2.kernel
+bootm /dev/mmc2.kernel
diff --git a/arch/arm/boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel b/arch/arm/boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel
index 518110b8fd..5d451276e2 100644
--- a/arch/arm/boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel
+++ b/arch/arm/boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel
@@ -8,4 +8,4 @@ global.bootm.boot_atag=true
global linux.bootargs.dyn.log="log_pos_goal=0x8fff0000"
global linux.bootargs.dyn.root="rootwait root=/dev/mmcblk0p1 ro"
-bootm -c /dev/mmc1.kernel
+bootm /dev/mmc1.kernel
--
2.39.5
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH v2 1/2] ARM: boards: kindle mx50/mx6sl: remove bootm -c option
2026-11-10 21:28 ` [PATCH v2 1/2] ARM: boards: kindle mx50/mx6sl: remove bootm -c option Alexander Kurz
@ 2026-11-11 16:53 ` Ahmad Fatoum
0 siblings, 0 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2026-11-11 16:53 UTC (permalink / raw)
To: Alexander Kurz, Sascha Hauer, barebox
On 11/10/26 10:28 PM, Alexander Kurz wrote:
> Support for the bootm -c option has been dropped with the 2026.10 release.
> Remove it in the boot scripts as well.
>
> Fixes: 93e0ed81f13a ("commands: bootm: remove -c and -s options")
> Signed-off-by: Alexander Kurz <akurz@blala.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Thanks and sorry for the breakage. I wrote a migration guide entry but
it didn't occur to me to check if we have users in-tree, d'oh...
> ---
> .../boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel | 2 +-
> .../boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel b/arch/arm/boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel
> index b8d93be593..3109f137bf 100644
> --- a/arch/arm/boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel
> +++ b/arch/arm/boards/kindle-mx50/defaultenv-kindle-mx50/boot/mmc_kernel
> @@ -12,4 +12,4 @@ armlinux_system_serial="$global.board.ocotp_serial"
>
> global linux.bootargs.dyn.root="root=/dev/mmcblk0p1 rootwait ro"
>
> -bootm -c /dev/mmc2.kernel
> +bootm /dev/mmc2.kernel
> diff --git a/arch/arm/boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel b/arch/arm/boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel
> index 518110b8fd..5d451276e2 100644
> --- a/arch/arm/boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel
> +++ b/arch/arm/boards/kindle-mx6sl/defaultenv-kindle-mx6sl/boot/mmc_kernel
> @@ -8,4 +8,4 @@ global.bootm.boot_atag=true
> global linux.bootargs.dyn.log="log_pos_goal=0x8fff0000"
> global linux.bootargs.dyn.root="rootwait root=/dev/mmcblk0p1 ro"
>
> -bootm -c /dev/mmc1.kernel
> +bootm /dev/mmc1.kernel
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] ARM: i.MX: do kindle-mx50 defconfig maintenance
2026-11-10 21:28 [PATCH v2 0/2] Kindle maintenance Alexander Kurz
2026-11-10 21:28 ` [PATCH v2 1/2] ARM: boards: kindle mx50/mx6sl: remove bootm -c option Alexander Kurz
@ 2026-11-10 21:28 ` Alexander Kurz
2026-11-13 7:26 ` [PATCH v2 0/2] Kindle maintenance Sascha Hauer
2 siblings, 0 replies; 5+ messages in thread
From: Alexander Kurz @ 2026-11-10 21:28 UTC (permalink / raw)
To: Sascha Hauer, barebox; +Cc: Alexander Kurz
The sleep command is used in the D01200 boot script, bootz and go commands
are handy tools to have. Add them to the defconfig.
Furthermore, remove DEBUG_BUGVERBOSE and USB_GADGET_FASTBOOT to reduce the
image size, giving some additional margin below the maximum compatible
258048 byte image size.
Signed-off-by: Alexander Kurz <akurz@blala.de>
---
arch/arm/configs/kindle-mx50_defconfig | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/arch/arm/configs/kindle-mx50_defconfig b/arch/arm/configs/kindle-mx50_defconfig
index 331e0eae6d..e3111683dc 100644
--- a/arch/arm/configs/kindle-mx50_defconfig
+++ b/arch/arm/configs/kindle-mx50_defconfig
@@ -1,14 +1,12 @@
CONFIG_ARCH_IMX=y
CONFIG_MACH_KINDLE_MX50=y
CONFIG_THUMB2_BAREBOX=y
-CONFIG_BOOT_ATAGS=y
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
CONFIG_ARM_UNWIND=y
-CONFIG_IMAGE_COMPRESSION_XZKERN=y
CONFIG_NAME="kindle-mx50_defconfig"
+CONFIG_IMAGE_COMPRESSION_XZKERN=y
CONFIG_MMU=y
CONFIG_MALLOC_SIZE=0x0
-CONFIG_MALLOC_TLSF=y
CONFIG_KALLSYMS=y
CONFIG_HUSH_FANCY_PROMPT=y
CONFIG_CMDLINE_EDITING=y
@@ -16,21 +14,23 @@ CONFIG_AUTO_COMPLETE=y
CONFIG_BOOTM_SHOW_TYPE=y
CONFIG_BOOTM_VERBOSE=y
CONFIG_BOOTM_INITRD=y
-CONFIG_BOOTM_OFTREE=y
CONFIG_CONSOLE_ACTIVATE_ALL=y
CONFIG_CONSOLE_ALLOW_COLOR=y
+# CONFIG_DEBUG_BUGVERBOSE is not set
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
-CONFIG_FASTBOOT_CMD_OEM=y
CONFIG_CMD_DMESG=y
CONFIG_LONGHELP=y
CONFIG_CMD_MEMINFO=y
CONFIG_CMD_REGULATOR=y
+CONFIG_CMD_BOOTZ=y
+CONFIG_CMD_GO=y
CONFIG_CMD_LOADY=y
CONFIG_CMD_RESET=y
CONFIG_CMD_EXPORT=y
CONFIG_CMD_PRINTENV=y
CONFIG_CMD_MAGICVAR=y
CONFIG_CMD_MAGICVAR_HELP=y
+CONFIG_CMD_SLEEP=y
CONFIG_CMD_EDIT=y
CONFIG_CMD_MEMTEST=y
CONFIG_CMD_CLK=y
@@ -41,7 +41,6 @@ CONFIG_CMD_I2C=y
CONFIG_CMD_SPI=y
CONFIG_CMD_USBGADGET=y
CONFIG_CMD_OFTREE=y
-CONFIG_OFDEVICE=y
CONFIG_OF_BAREBOX_DRIVERS=y
CONFIG_MTD=y
CONFIG_MTD_M25P80=y
@@ -50,7 +49,6 @@ CONFIG_USB_IMX_CHIPIDEA=y
CONFIG_USB_EHCI=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_SERIAL=y
-CONFIG_USB_GADGET_FASTBOOT=y
CONFIG_MCI=y
CONFIG_MCI_STARTUP=y
CONFIG_MCI_MMC_BOOT_PARTITIONS=y
@@ -62,4 +60,3 @@ CONFIG_USB_NOP_XCEIV=y
CONFIG_FS_EXT4=y
CONFIG_FS_FAT=y
CONFIG_FS_FAT_WRITE=y
-CONFIG_FS_FAT_LFN=y
--
2.39.5
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] Kindle maintenance
2026-11-10 21:28 [PATCH v2 0/2] Kindle maintenance Alexander Kurz
2026-11-10 21:28 ` [PATCH v2 1/2] ARM: boards: kindle mx50/mx6sl: remove bootm -c option Alexander Kurz
2026-11-10 21:28 ` [PATCH v2 2/2] ARM: i.MX: do kindle-mx50 defconfig maintenance Alexander Kurz
@ 2026-11-13 7:26 ` Sascha Hauer
2 siblings, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2026-11-13 7:26 UTC (permalink / raw)
To: barebox, Alexander Kurz
On Tue, 10 Nov 2026 21:28:40 +0000, Alexander Kurz wrote:
> Changed to v1: exended the bootm -c patch also an the iMX6sl-variant.
>
> Alexander Kurz (2):
> ARM: boards: kindle mx50/mx6sl: remove bootm -c option
> ARM: i.MX: do kindle-mx50 defconfig maintenance
>
> .../defaultenv-kindle-mx50/boot/mmc_kernel | 2 +-
> .../defaultenv-kindle-mx6sl/boot/mmc_kernel | 2 +-
> arch/arm/configs/kindle-mx50_defconfig | 13 +++++--------
> 3 files changed, 7 insertions(+), 10 deletions(-)
>
> [...]
Applied, thanks!
[1/2] ARM: boards: kindle mx50/mx6sl: remove bootm -c option
https://git.pengutronix.de/cgit/barebox/commit/?id=894cd989a320 (link may not be stable)
[2/2] ARM: i.MX: do kindle-mx50 defconfig maintenance
https://git.pengutronix.de/cgit/barebox/commit/?id=cf91f5c67f8c (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
^ permalink raw reply [flat|nested] 5+ messages in thread