mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Kindle maintenance
@ 2026-11-10 21:28 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
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Kurz @ 2026-11-10 21:28 UTC (permalink / raw)
  To: Sascha Hauer, barebox; +Cc: Alexander Kurz

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

-- 
2.39.5




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

* [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-10 21:28 ` [PATCH v2 2/2] ARM: i.MX: do kindle-mx50 defconfig maintenance Alexander Kurz
  1 sibling, 0 replies; 3+ 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] 3+ 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
  1 sibling, 0 replies; 3+ 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] 3+ messages in thread

end of thread, other threads:[~2026-11-10 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox