mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX: extend kindle-mx50 defconfig
@ 2019-03-18  7:32 Alexander Kurz
  2019-03-18  8:53 ` Sascha Hauer
  2019-03-18  8:55 ` Roland Hieber
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Kurz @ 2019-03-18  7:32 UTC (permalink / raw)
  To: barebox, Sascha Hauer; +Cc: Alexander Kurz, Roland Hieber

From: Alexander Kurz <akurz@blala.de>

The current defaultenv-kindle-mx50 requires MCI_STARTUP to boot the installed
linux. CMD_LOADY is mentioned in the doc for barebox update purposes.
FS_EXT4, FS_FAT and FS_FAT_WRITE gives users file system access. Also enable
CMD_MEMTEST, CMD_CLK, CMD_REGULATOR and CMD_EDIT for interested users.
The extended image will consume 195kB of available 253kB.

Signed-off-by: Alexander Kurz <akurz@blala.de>
---
 arch/arm/configs/kindle-mx50_defconfig | 28 +++++++++++-----------------
 1 file changed, 11 insertions(+), 17 deletions(-)

diff --git a/arch/arm/configs/kindle-mx50_defconfig b/arch/arm/configs/kindle-mx50_defconfig
index 31bfc9c06..95b505fda 100644
--- a/arch/arm/configs/kindle-mx50_defconfig
+++ b/arch/arm/configs/kindle-mx50_defconfig
@@ -4,8 +4,8 @@ CONFIG_MACH_KINDLE_MX50=y
 CONFIG_THUMB2_BAREBOX=y
 CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
 CONFIG_ARM_UNWIND=y
+CONFIG_IMAGE_COMPRESSION_XZKERN=y
 CONFIG_MMU=y
-CONFIG_MMU_EARLY=y
 CONFIG_MALLOC_SIZE=0x0
 CONFIG_MALLOC_TLSF=y
 CONFIG_KALLSYMS=y
@@ -13,7 +13,6 @@ CONFIG_RELOCATABLE=y
 CONFIG_HUSH_FANCY_PROMPT=y
 CONFIG_CMDLINE_EDITING=y
 CONFIG_AUTO_COMPLETE=y
-CONFIG_FLEXIBLE_BOOTARGS=y
 CONFIG_BOOTM_SHOW_TYPE=y
 CONFIG_BOOTM_VERBOSE=y
 CONFIG_BOOTM_INITRD=y
@@ -24,47 +23,42 @@ CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
 CONFIG_CMD_DMESG=y
 CONFIG_LONGHELP=y
 CONFIG_CMD_MEMINFO=y
-CONFIG_CMD_BOOT=y
+CONFIG_CMD_REGULATOR=y
+CONFIG_CMD_LOADY=y
 CONFIG_CMD_RESET=y
-CONFIG_CMD_AUTOMOUNT=y
 CONFIG_CMD_EXPORT=y
-CONFIG_CMD_GLOBAL=y
 CONFIG_CMD_PRINTENV=y
 CONFIG_CMD_MAGICVAR=y
 CONFIG_CMD_MAGICVAR_HELP=y
+CONFIG_CMD_EDIT=y
+CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_CLK=y
 CONFIG_CMD_DETECT=y
 CONFIG_CMD_FLASH=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_SPI=y
-CONFIG_CMD_USB=y
 CONFIG_CMD_USBGADGET=y
-CONFIG_CMD_OF_DUMP=y
 CONFIG_CMD_OFTREE=y
 CONFIG_OFDEVICE=y
-CONFIG_OF_GPIO=y
 CONFIG_OF_BAREBOX_DRIVERS=y
 CONFIG_MTD=y
-CONFIG_MTD_WRITE=y
 CONFIG_MTD_M25P80=y
-CONFIG_MTD_SPI_NOR=y
-CONFIG_USB=y
 CONFIG_USB_HOST=y
 CONFIG_USB_IMX_CHIPIDEA=y
 CONFIG_USB_EHCI=y
 CONFIG_USB_GADGET=y
-CONFIG_USB_GADGET_DRIVER_ARC=y
 CONFIG_USB_GADGET_SERIAL=y
 CONFIG_USB_GADGET_FASTBOOT=y
 CONFIG_MCI=y
-CONFIG_MCI_INFO=y
-CONFIG_MCI_WRITE=y
+CONFIG_MCI_STARTUP=y
 CONFIG_MCI_MMC_BOOT_PARTITIONS=y
 CONFIG_MCI_IMX_ESDHC=y
-CONFIG_PINCTRL=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED=y
 CONFIG_GENERIC_PHY=y
 CONFIG_USB_NOP_XCEIV=y
-CONFIG_FS_AUTOMOUNT=y
-CONFIG_IMAGE_COMPRESSION_XZKERN=y
+CONFIG_FS_EXT4=y
+CONFIG_FS_FAT=y
+CONFIG_FS_FAT_WRITE=y
+CONFIG_FS_FAT_LFN=y
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM: i.MX: extend kindle-mx50 defconfig
  2019-03-18  7:32 [PATCH] ARM: i.MX: extend kindle-mx50 defconfig Alexander Kurz
@ 2019-03-18  8:53 ` Sascha Hauer
  2019-03-18  8:55 ` Roland Hieber
  1 sibling, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2019-03-18  8:53 UTC (permalink / raw)
  To: Alexander Kurz; +Cc: barebox, Roland Hieber

On Mon, Mar 18, 2019 at 07:32:42AM +0000, Alexander Kurz wrote:
> From: Alexander Kurz <akurz@blala.de>
> 
> The current defaultenv-kindle-mx50 requires MCI_STARTUP to boot the installed
> linux. CMD_LOADY is mentioned in the doc for barebox update purposes.
> FS_EXT4, FS_FAT and FS_FAT_WRITE gives users file system access. Also enable
> CMD_MEMTEST, CMD_CLK, CMD_REGULATOR and CMD_EDIT for interested users.
> The extended image will consume 195kB of available 253kB.
> 
> Signed-off-by: Alexander Kurz <akurz@blala.de>
> ---
>  arch/arm/configs/kindle-mx50_defconfig | 28 +++++++++++-----------------
>  1 file changed, 11 insertions(+), 17 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM: i.MX: extend kindle-mx50 defconfig
  2019-03-18  7:32 [PATCH] ARM: i.MX: extend kindle-mx50 defconfig Alexander Kurz
  2019-03-18  8:53 ` Sascha Hauer
@ 2019-03-18  8:55 ` Roland Hieber
  2019-03-18  9:16   ` Sascha Hauer
  2019-03-18 19:54   ` Alexander Kurz
  1 sibling, 2 replies; 5+ messages in thread
From: Roland Hieber @ 2019-03-18  8:55 UTC (permalink / raw)
  To: Alexander Kurz; +Cc: barebox, Roland Hieber

On Mon, Mar 18, 2019 at 07:32:42AM +0000, Alexander Kurz wrote:
> From: Alexander Kurz <akurz@blala.de>
> 
> The current defaultenv-kindle-mx50 requires MCI_STARTUP to boot the installed
> linux. CMD_LOADY is mentioned in the doc for barebox update purposes.
> FS_EXT4, FS_FAT and FS_FAT_WRITE gives users file system access. Also enable
> CMD_MEMTEST, CMD_CLK, CMD_REGULATOR and CMD_EDIT for interested users.
> The extended image will consume 195kB of available 253kB.

And I guess the removed lines are just things that aren't usable in the
first place because of missing hardware, or is it to save space?

 - Roland

> 
> Signed-off-by: Alexander Kurz <akurz@blala.de>
> ---
>  arch/arm/configs/kindle-mx50_defconfig | 28 +++++++++++-----------------
>  1 file changed, 11 insertions(+), 17 deletions(-)
> 
> diff --git a/arch/arm/configs/kindle-mx50_defconfig b/arch/arm/configs/kindle-mx50_defconfig
> index 31bfc9c06..95b505fda 100644
> --- a/arch/arm/configs/kindle-mx50_defconfig
> +++ b/arch/arm/configs/kindle-mx50_defconfig
> @@ -4,8 +4,8 @@ CONFIG_MACH_KINDLE_MX50=y
>  CONFIG_THUMB2_BAREBOX=y
>  CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
>  CONFIG_ARM_UNWIND=y
> +CONFIG_IMAGE_COMPRESSION_XZKERN=y
>  CONFIG_MMU=y
> -CONFIG_MMU_EARLY=y
>  CONFIG_MALLOC_SIZE=0x0
>  CONFIG_MALLOC_TLSF=y
>  CONFIG_KALLSYMS=y
> @@ -13,7 +13,6 @@ CONFIG_RELOCATABLE=y
>  CONFIG_HUSH_FANCY_PROMPT=y
>  CONFIG_CMDLINE_EDITING=y
>  CONFIG_AUTO_COMPLETE=y
> -CONFIG_FLEXIBLE_BOOTARGS=y
>  CONFIG_BOOTM_SHOW_TYPE=y
>  CONFIG_BOOTM_VERBOSE=y
>  CONFIG_BOOTM_INITRD=y
> @@ -24,47 +23,42 @@ CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
>  CONFIG_CMD_DMESG=y
>  CONFIG_LONGHELP=y
>  CONFIG_CMD_MEMINFO=y
> -CONFIG_CMD_BOOT=y
> +CONFIG_CMD_REGULATOR=y
> +CONFIG_CMD_LOADY=y
>  CONFIG_CMD_RESET=y
> -CONFIG_CMD_AUTOMOUNT=y
>  CONFIG_CMD_EXPORT=y
> -CONFIG_CMD_GLOBAL=y
>  CONFIG_CMD_PRINTENV=y
>  CONFIG_CMD_MAGICVAR=y
>  CONFIG_CMD_MAGICVAR_HELP=y
> +CONFIG_CMD_EDIT=y
> +CONFIG_CMD_MEMTEST=y
> +CONFIG_CMD_CLK=y
>  CONFIG_CMD_DETECT=y
>  CONFIG_CMD_FLASH=y
>  CONFIG_CMD_GPIO=y
>  CONFIG_CMD_I2C=y
>  CONFIG_CMD_SPI=y
> -CONFIG_CMD_USB=y
>  CONFIG_CMD_USBGADGET=y
> -CONFIG_CMD_OF_DUMP=y
>  CONFIG_CMD_OFTREE=y
>  CONFIG_OFDEVICE=y
> -CONFIG_OF_GPIO=y
>  CONFIG_OF_BAREBOX_DRIVERS=y
>  CONFIG_MTD=y
> -CONFIG_MTD_WRITE=y
>  CONFIG_MTD_M25P80=y
> -CONFIG_MTD_SPI_NOR=y
> -CONFIG_USB=y
>  CONFIG_USB_HOST=y
>  CONFIG_USB_IMX_CHIPIDEA=y
>  CONFIG_USB_EHCI=y
>  CONFIG_USB_GADGET=y
> -CONFIG_USB_GADGET_DRIVER_ARC=y
>  CONFIG_USB_GADGET_SERIAL=y
>  CONFIG_USB_GADGET_FASTBOOT=y
>  CONFIG_MCI=y
> -CONFIG_MCI_INFO=y
> -CONFIG_MCI_WRITE=y
> +CONFIG_MCI_STARTUP=y
>  CONFIG_MCI_MMC_BOOT_PARTITIONS=y
>  CONFIG_MCI_IMX_ESDHC=y
> -CONFIG_PINCTRL=y
>  CONFIG_REGULATOR=y
>  CONFIG_REGULATOR_FIXED=y
>  CONFIG_GENERIC_PHY=y
>  CONFIG_USB_NOP_XCEIV=y
> -CONFIG_FS_AUTOMOUNT=y
> -CONFIG_IMAGE_COMPRESSION_XZKERN=y
> +CONFIG_FS_EXT4=y
> +CONFIG_FS_FAT=y
> +CONFIG_FS_FAT_WRITE=y
> +CONFIG_FS_FAT_LFN=y
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Roland Hieber                     | r.hieber@pengutronix.de     |
Pengutronix e.K.                  | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM: i.MX: extend kindle-mx50 defconfig
  2019-03-18  8:55 ` Roland Hieber
@ 2019-03-18  9:16   ` Sascha Hauer
  2019-03-18 19:54   ` Alexander Kurz
  1 sibling, 0 replies; 5+ messages in thread
From: Sascha Hauer @ 2019-03-18  9:16 UTC (permalink / raw)
  To: Roland Hieber; +Cc: barebox, Alexander Kurz, Roland Hieber

On Mon, Mar 18, 2019 at 09:55:36AM +0100, Roland Hieber wrote:
> On Mon, Mar 18, 2019 at 07:32:42AM +0000, Alexander Kurz wrote:
> > From: Alexander Kurz <akurz@blala.de>
> > 
> > The current defaultenv-kindle-mx50 requires MCI_STARTUP to boot the installed
> > linux. CMD_LOADY is mentioned in the doc for barebox update purposes.
> > FS_EXT4, FS_FAT and FS_FAT_WRITE gives users file system access. Also enable
> > CMD_MEMTEST, CMD_CLK, CMD_REGULATOR and CMD_EDIT for interested users.
> > The extended image will consume 195kB of available 253kB.
> 
> And I guess the removed lines are just things that aren't usable in the
> first place because of missing hardware, or is it to save space?

I haven't looked at all of them, but usually they disappear because the
options are selected elsewhere and thus can't be disabled.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] ARM: i.MX: extend kindle-mx50 defconfig
  2019-03-18  8:55 ` Roland Hieber
  2019-03-18  9:16   ` Sascha Hauer
@ 2019-03-18 19:54   ` Alexander Kurz
  1 sibling, 0 replies; 5+ messages in thread
From: Alexander Kurz @ 2019-03-18 19:54 UTC (permalink / raw)
  To: Roland Hieber; +Cc: barebox, Roland Hieber

Hi Roland,
all removed lines are now part of a dependency to other config items.
make savedefconfig removes all those items. When you re-create a .config,
you'll see that all removed config items are still marked =y.
Cheers, Alexander

On Mon, 18 Mar 2019, Roland Hieber wrote:

> On Mon, Mar 18, 2019 at 07:32:42AM +0000, Alexander Kurz wrote:
> > From: Alexander Kurz <akurz@blala.de>
> > 
> > The current defaultenv-kindle-mx50 requires MCI_STARTUP to boot the installed
> > linux. CMD_LOADY is mentioned in the doc for barebox update purposes.
> > FS_EXT4, FS_FAT and FS_FAT_WRITE gives users file system access. Also enable
> > CMD_MEMTEST, CMD_CLK, CMD_REGULATOR and CMD_EDIT for interested users.
> > The extended image will consume 195kB of available 253kB.
> 
> And I guess the removed lines are just things that aren't usable in the
> first place because of missing hardware, or is it to save space?
> 
>  - Roland
> 
> > 
> > Signed-off-by: Alexander Kurz <akurz@blala.de>
> > ---
> >  arch/arm/configs/kindle-mx50_defconfig | 28 +++++++++++-----------------
> >  1 file changed, 11 insertions(+), 17 deletions(-)
> > 
> > diff --git a/arch/arm/configs/kindle-mx50_defconfig b/arch/arm/configs/kindle-mx50_defconfig
> > index 31bfc9c06..95b505fda 100644
> > --- a/arch/arm/configs/kindle-mx50_defconfig
> > +++ b/arch/arm/configs/kindle-mx50_defconfig
> > @@ -4,8 +4,8 @@ CONFIG_MACH_KINDLE_MX50=y
> >  CONFIG_THUMB2_BAREBOX=y
> >  CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
> >  CONFIG_ARM_UNWIND=y
> > +CONFIG_IMAGE_COMPRESSION_XZKERN=y
> >  CONFIG_MMU=y
> > -CONFIG_MMU_EARLY=y
> >  CONFIG_MALLOC_SIZE=0x0
> >  CONFIG_MALLOC_TLSF=y
> >  CONFIG_KALLSYMS=y
> > @@ -13,7 +13,6 @@ CONFIG_RELOCATABLE=y
> >  CONFIG_HUSH_FANCY_PROMPT=y
> >  CONFIG_CMDLINE_EDITING=y
> >  CONFIG_AUTO_COMPLETE=y
> > -CONFIG_FLEXIBLE_BOOTARGS=y
> >  CONFIG_BOOTM_SHOW_TYPE=y
> >  CONFIG_BOOTM_VERBOSE=y
> >  CONFIG_BOOTM_INITRD=y
> > @@ -24,47 +23,42 @@ CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
> >  CONFIG_CMD_DMESG=y
> >  CONFIG_LONGHELP=y
> >  CONFIG_CMD_MEMINFO=y
> > -CONFIG_CMD_BOOT=y
> > +CONFIG_CMD_REGULATOR=y
> > +CONFIG_CMD_LOADY=y
> >  CONFIG_CMD_RESET=y
> > -CONFIG_CMD_AUTOMOUNT=y
> >  CONFIG_CMD_EXPORT=y
> > -CONFIG_CMD_GLOBAL=y
> >  CONFIG_CMD_PRINTENV=y
> >  CONFIG_CMD_MAGICVAR=y
> >  CONFIG_CMD_MAGICVAR_HELP=y
> > +CONFIG_CMD_EDIT=y
> > +CONFIG_CMD_MEMTEST=y
> > +CONFIG_CMD_CLK=y
> >  CONFIG_CMD_DETECT=y
> >  CONFIG_CMD_FLASH=y
> >  CONFIG_CMD_GPIO=y
> >  CONFIG_CMD_I2C=y
> >  CONFIG_CMD_SPI=y
> > -CONFIG_CMD_USB=y
> >  CONFIG_CMD_USBGADGET=y
> > -CONFIG_CMD_OF_DUMP=y
> >  CONFIG_CMD_OFTREE=y
> >  CONFIG_OFDEVICE=y
> > -CONFIG_OF_GPIO=y
> >  CONFIG_OF_BAREBOX_DRIVERS=y
> >  CONFIG_MTD=y
> > -CONFIG_MTD_WRITE=y
> >  CONFIG_MTD_M25P80=y
> > -CONFIG_MTD_SPI_NOR=y
> > -CONFIG_USB=y
> >  CONFIG_USB_HOST=y
> >  CONFIG_USB_IMX_CHIPIDEA=y
> >  CONFIG_USB_EHCI=y
> >  CONFIG_USB_GADGET=y
> > -CONFIG_USB_GADGET_DRIVER_ARC=y
> >  CONFIG_USB_GADGET_SERIAL=y
> >  CONFIG_USB_GADGET_FASTBOOT=y
> >  CONFIG_MCI=y
> > -CONFIG_MCI_INFO=y
> > -CONFIG_MCI_WRITE=y
> > +CONFIG_MCI_STARTUP=y
> >  CONFIG_MCI_MMC_BOOT_PARTITIONS=y
> >  CONFIG_MCI_IMX_ESDHC=y
> > -CONFIG_PINCTRL=y
> >  CONFIG_REGULATOR=y
> >  CONFIG_REGULATOR_FIXED=y
> >  CONFIG_GENERIC_PHY=y
> >  CONFIG_USB_NOP_XCEIV=y
> > -CONFIG_FS_AUTOMOUNT=y
> > -CONFIG_IMAGE_COMPRESSION_XZKERN=y
> > +CONFIG_FS_EXT4=y
> > +CONFIG_FS_FAT=y
> > +CONFIG_FS_FAT_WRITE=y
> > +CONFIG_FS_FAT_LFN=y
> > -- 
> > 2.11.0
> > 
> > 
> > _______________________________________________
> > barebox mailing list
> > barebox@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/barebox
> > 
> 
> -- 
> Roland Hieber                     | r.hieber@pengutronix.de     |
> Pengutronix e.K.                  | https://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
> Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |
> 

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2019-03-18 19:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-18  7:32 [PATCH] ARM: i.MX: extend kindle-mx50 defconfig Alexander Kurz
2019-03-18  8:53 ` Sascha Hauer
2019-03-18  8:55 ` Roland Hieber
2019-03-18  9:16   ` Sascha Hauer
2019-03-18 19:54   ` Alexander Kurz

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