DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry
@ 2019-06-05 18:52 Roland Hieber
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 2/9] pre/barebox: barebox-url: only use <PKG>_VERSION to build the URL Roland Hieber
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 18:52 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

There is no corresponding make file, and the package is not selected.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---

Notes:
    Changes in v1 -> v2: none

 configs/platform-v7a/platforms/barebox_mlo.in | 45 -------------------
 1 file changed, 45 deletions(-)
 delete mode 100644 configs/platform-v7a/platforms/barebox_mlo.in

diff --git a/configs/platform-v7a/platforms/barebox_mlo.in b/configs/platform-v7a/platforms/barebox_mlo.in
deleted file mode 100644
index 184aa522267e..000000000000
--- a/configs/platform-v7a/platforms/barebox_mlo.in
+++ /dev/null
@@ -1,45 +0,0 @@
-## SECTION=bootloader
-
-menuconfig BAREBOX_MLO
-	prompt "barebox mlo                   "
-	select HOST_LZOP if BAREBOX_MLO_NEEDS_HOST_LZOP
-	bool
-	help
-	  Build mlo from barebox sources.
-
-if BAREBOX_MLO
-
-config BAREBOX_MLO_VERSION
-	prompt "barebox version"		if !BAREBOX
-	string
-	default "${PTXCONF_BAREBOX_VERSION}"	if BAREBOX
-	default "2014.01.0"			if !BAREBOX
-
-config BAREBOX_MLO_MD5
-	prompt "barebox source md5sum"		if !BAREBOX
-	string
-	default "${PTXCONF_BAREBOX_MD5}"	if BAREBOX
-
-config BAREBOX_MLO_ARCH_STRING
-	string
-	default "arm"			if ARCH_ARM
-	default "blackfin"		if ARCH_BLACKFIN
-	default "ppc"			if ARCH_PPC
-	default "x86"			if ARCH_X86
-
-config BAREBOX_MLO_CONFIG
-	prompt "mlo config file"
-	string
-	default "barebox_mlo.config"
-	help
-	  This entry specifies the .config file used to compile mlo.
-
-config BAREBOX_MLO_NEEDS_HOST_LZOP
-	prompt "barebox mlo needs lzop"
-	bool
-	help
-	  The barebox mlo dtb's can be compressed. Select this if
-	  lzop is used in order to compile lzop for your development
-	  host.
-
-endif
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH v2 2/9] pre/barebox: barebox-url: only use <PKG>_VERSION to build the URL
  2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
@ 2019-06-05 18:52 ` Roland Hieber
  2019-06-05 21:46   ` Robert Schwebel
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 3/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 18:52 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

When adding another barebox package to a BSP, e.g. named barebox-foo,
the BAREBOX_FOO variable will contain "barebox-foo-$(VERSION)". This
variable is used to build BAREBOX_DIR, BAREBOX_SOURCE, and
BAREBOX_FOO_URL.

We must to keep the customized package postfix in the build
directory, but in the latter case, the -foo postfix is transferred
into the URL, which will lead to errors while downloading the source.

We actually only need the barebox version to download the source
tarball, so use a static "barebox-" string to build the barebox/url
macro and also the BAREBOX_FOO_SOURCE variable in the package template,
so the same tarball isn't downloaded multiple times with different
names.

Forwarded: https://www.mail-archive.com/ptxdist@pengutronix.de/msg14535.html
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---

Notes:
    Changes in v1 -> v2:
    - this patch is new in v2
    - import from upstream to fix BAREBOX_COMMON_URL

 rules/pre/barebox.make | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 rules/pre/barebox.make

diff --git a/rules/pre/barebox.make b/rules/pre/barebox.make
new file mode 100644
index 000000000000..8979afafd2e5
--- /dev/null
+++ b/rules/pre/barebox.make
@@ -0,0 +1,6 @@
+# backport of PTXdist patch https://www.mail-archive.com/ptxdist@pengutronix.de/msg14535.html
+# This file can be removed after the patch has gone upstream
+barebox/url = \
+	http://www.barebox.org/download/barebox-$($(1)_VERSION).$($(1)_SUFFIX)
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH v2 3/9] v7a: barebox-common: add a common reference config for all barebox variants
  2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 2/9] pre/barebox: barebox-url: only use <PKG>_VERSION to build the URL Roland Hieber
@ 2019-06-05 18:52 ` Roland Hieber
  2019-06-05 19:05   ` [DistroKit] [PATCH v2] fixup! " Roland Hieber
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 4/9] v7a: bareboxes: use shared settings from the barebox-common package Roland Hieber
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 18:52 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

This package serves multiple purposes:

* Make the barebox version and MD5 for all used barebox variants
  configurable with just one menu entry.
* Have a common barebox configuration with a baseline feature set, which
  can be used by all barebox-* variants as a reference config with the
  config diff functionality introduced in PTXdist 2019.01.0.
  The common config is currently based on ARCH_BCM283X, which seems to
  generate the smallest config diff for all the existing device-specific
  barebox configs (which will be adapted in the next commits).

The new barebox-common package only exists for the ability to call
"ptxdist menuconfig" on it in order to change the common config. It
isn't meant to build or install anything, so the compile, install and
targetinstall stages can be no-ops.

Also make sure that the menu entry for the common configuration is
listed before all other barebox variants by naming the kconfig file
appriopriately. Since the barebox-common config uses LZO image
compression, depend on host-lzop too.

Then configure it to use the version which is currently used for all
other variants in the v7a platform.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---

Notes:
    Changes in v1 -> v2:
    - remove accidentally committed barebox-am335x.config
    - disable CMD_CMP after further consideration, which seems to be of no
      use when we have md5sum and sha1sum
    - actually make the barebox-common package work by re-adding the
      EXTRA_PACKAGES-y line - otherwise $(call extract) will be very noop,
      because it uses PTX_MAP_TO_PACKAGE_*
    - adjust source tarball name so the barebox tarball only needs to be
      downloaded once for every barebox package
    - adjust build directory name to include the "-common" infix
    - merge with next patch ("v7a: platformconfig: configure barebox-common")

 configs/platform-v7a/barebox.config           | 738 ++++++++++++++++++
 configs/platform-v7a/platformconfig           |   5 +
 .../platforms/barebox-0-common.in             |  33 +
 .../platform-v7a/rules/barebox-common.make    |  83 ++
 4 files changed, 859 insertions(+)
 create mode 100644 configs/platform-v7a/barebox.config
 create mode 100644 configs/platform-v7a/platforms/barebox-0-common.in
 create mode 100644 configs/platform-v7a/rules/barebox-common.make

diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config
new file mode 100644
index 000000000000..5fc13ab7f704
--- /dev/null
+++ b/configs/platform-v7a/barebox.config
@@ -0,0 +1,738 @@
+#
+# Automatically generated file; DO NOT EDIT.
+# Barebox/arm 2019.03.0 Configuration
+#
+CONFIG_ARM=y
+CONFIG_ARM_LINUX=y
+CONFIG_TEXT_BASE=0x0
+
+#
+# System Type
+#
+# CONFIG_ARCH_AT91 is not set
+CONFIG_ARCH_BCM283X=y
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_DIGIC is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_HIGHBANK is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_MVEBU is not set
+# CONFIG_ARCH_MXS is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_NOMADIK is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_ROCKCHIP is not set
+# CONFIG_ARCH_SOCFPGA is not set
+# CONFIG_ARCH_S3C24xx is not set
+# CONFIG_ARCH_S5PCxx is not set
+# CONFIG_ARCH_S3C64xx is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_VEXPRESS is not set
+# CONFIG_ARCH_TEGRA is not set
+# CONFIG_ARCH_UEMD is not set
+# CONFIG_ARCH_ZYNQ is not set
+# CONFIG_ARCH_ZYNQMP is not set
+# CONFIG_ARCH_QEMU is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V7=y
+CONFIG_CPU_32v7=y
+
+#
+# processor features
+#
+# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
+CONFIG_ARCH_TEXT_BASE=0x0
+CONFIG_MACH_RPI_COMMON=y
+
+#
+# select Broadcom BCM283X boards to be built
+#
+# CONFIG_MACH_RPI is not set
+# CONFIG_MACH_RPI2 is not set
+CONFIG_MACH_RPI3=y
+CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
+CONFIG_AEABI=y
+# CONFIG_THUMB2_BAREBOX is not set
+# CONFIG_ARM_BOARD_APPEND_ATAG is not set
+
+#
+# ARM specific settings
+#
+CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
+CONFIG_ARM_EXCEPTIONS=y
+CONFIG_ARM_UNWIND=y
+# CONFIG_ARM_SEMIHOSTING is not set
+CONFIG_ARM_SMCCC=y
+CONFIG_ARM_SECURE_MONITOR=y
+# CONFIG_ARM_PSCI is not set
+CONFIG_GREGORIAN_CALENDER=y
+CONFIG_HAS_KALLSYMS=y
+CONFIG_HAS_MODULES=y
+CONFIG_HAS_CACHE=y
+CONFIG_HAS_DMA=y
+CONFIG_GENERIC_GPIO=y
+CONFIG_BLOCK=y
+CONFIG_BLOCK_WRITE=y
+CONFIG_FILETYPE=y
+CONFIG_BINFMT=y
+CONFIG_UIMAGE=y
+CONFIG_LOGBUF=y
+CONFIG_STDDEV=y
+CONFIG_BAREBOX_UPDATE=y
+CONFIG_MENUTREE=y
+CONFIG_FILE_LIST=y
+CONFIG_USBGADGET_START=y
+CONFIG_BOOT=y
+
+#
+# General Settings
+#
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_BANNER=y
+CONFIG_MEMINFO=y
+CONFIG_ENVIRONMENT_VARIABLES=y
+CONFIG_GLOBALVAR=y
+CONFIG_NVVAR=y
+
+#
+# memory layout
+#
+CONFIG_HAVE_PBL_IMAGE=y
+CONFIG_HAVE_PBL_MULTI_IMAGES=y
+CONFIG_HAVE_IMAGE_COMPRESSION=y
+CONFIG_PBL_IMAGE=y
+CONFIG_PBL_MULTI_IMAGES=y
+CONFIG_PBL_RELOCATABLE=y
+CONFIG_IMAGE_COMPRESSION=y
+# CONFIG_IMAGE_COMPRESSION_LZ4 is not set
+CONFIG_IMAGE_COMPRESSION_LZO=y
+# CONFIG_IMAGE_COMPRESSION_GZIP is not set
+# CONFIG_IMAGE_COMPRESSION_XZKERN is not set
+# CONFIG_IMAGE_COMPRESSION_NONE is not set
+CONFIG_MMU=y
+CONFIG_MMU_EARLY=y
+CONFIG_BAREBOX_MAX_PBL_SIZE=0xffffffff
+CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
+CONFIG_BAREBOX_MAX_PBLX_SIZE=0xffffffff
+CONFIG_STACK_SIZE=0x8000
+CONFIG_MALLOC_SIZE=0x0
+# CONFIG_EXPERIMENTAL is not set
+# CONFIG_MALLOC_DLMALLOC is not set
+CONFIG_MALLOC_TLSF=y
+CONFIG_KALLSYMS=y
+CONFIG_RELOCATABLE=y
+# CONFIG_PANIC_HANG is not set
+CONFIG_PROMPT="barebox>"
+CONFIG_BAUDRATE=115200
+CONFIG_CBSIZE=1024
+CONFIG_SHELL_HUSH=y
+# CONFIG_SHELL_SIMPLE is not set
+# CONFIG_SHELL_NONE is not set
+CONFIG_GLOB=y
+CONFIG_GLOB_SORT=y
+CONFIG_PROMPT_HUSH_PS2="> "
+CONFIG_HUSH_FANCY_PROMPT=y
+CONFIG_CMDLINE_EDITING=y
+CONFIG_AUTO_COMPLETE=y
+CONFIG_MENU=y
+# CONFIG_PASSWORD is not set
+CONFIG_DYNAMIC_CRC_TABLE=y
+CONFIG_ERRNO_MESSAGES=y
+CONFIG_TIMESTAMP=y
+CONFIG_BOOTM=y
+CONFIG_BOOTM_SHOW_TYPE=y
+CONFIG_BOOTM_VERBOSE=y
+# CONFIG_BOOTM_INITRD is not set
+CONFIG_BOOTM_OFTREE=y
+# CONFIG_BOOTM_OFTREE_UIMAGE is not set
+# CONFIG_BOOTM_AIMAGE is not set
+# CONFIG_BOOTM_FITIMAGE is not set
+CONFIG_BLSPEC=y
+CONFIG_FLEXIBLE_BOOTARGS=y
+CONFIG_IMD=y
+# CONFIG_IMD_TARGET is not set
+# CONFIG_KERNEL_INSTALL_TARGET is not set
+CONFIG_CONSOLE_FULL=y
+# CONFIG_CONSOLE_SIMPLE is not set
+# CONFIG_CONSOLE_NONE is not set
+CONFIG_CONSOLE_ACTIVATE_FIRST=y
+# CONFIG_CONSOLE_ACTIVATE_ALL is not set
+# CONFIG_CONSOLE_ACTIVATE_NONE is not set
+CONFIG_CONSOLE_ALLOW_COLOR=y
+# CONFIG_PBL_CONSOLE is not set
+# CONFIG_CONSOLE_RATP is not set
+CONFIG_PARTITION=y
+CONFIG_PARTITION_DISK=y
+CONFIG_PARTITION_DISK_DOS=y
+# CONFIG_PARTITION_DISK_EFI is not set
+CONFIG_ENV_HANDLING=y
+CONFIG_DEFAULT_ENVIRONMENT=y
+# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is not set
+# CONFIG_DEFAULT_COMPRESSION_LZO is not set
+# CONFIG_DEFAULT_COMPRESSION_XZ is not set
+CONFIG_DEFAULT_COMPRESSION_NONE=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
+CONFIG_DEFAULT_ENVIRONMENT_PATH=".ptxdist-defaultenv"
+# CONFIG_BAREBOXENV_TARGET is not set
+# CONFIG_BAREBOXCRC32_TARGET is not set
+CONFIG_POLLER=y
+CONFIG_STATE=y
+# CONFIG_STATE_CRYPTO is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
+# CONFIG_BOOTCHOOSER is not set
+CONFIG_RESET_SOURCE=y
+
+#
+# Debugging
+#
+CONFIG_COMPILE_LOGLEVEL=7
+CONFIG_DEFAULT_LOGLEVEL=6
+# CONFIG_DEBUG_INFO is not set
+# CONFIG_DEBUG_LL is not set
+# CONFIG_DEBUG_INITCALLS is not set
+CONFIG_HAS_DEBUG_LL=y
+CONFIG_COMMAND_SUPPORT=y
+CONFIG_COMPILE_HASH=y
+
+#
+# Commands
+#
+
+#
+# Information
+#
+CONFIG_CMD_ARM_CPUINFO=y
+CONFIG_CMD_DEVINFO=y
+CONFIG_CMD_DMESG=y
+CONFIG_CMD_DRVINFO=y
+CONFIG_CMD_HELP=y
+CONFIG_LONGHELP=y
+CONFIG_CMD_IOMEM=y
+CONFIG_CMD_IMD=y
+CONFIG_CMD_MEMINFO=y
+CONFIG_CMD_ARM_MMUINFO=y
+CONFIG_CMD_REGULATOR=y
+CONFIG_CMD_VERSION=y
+# CONFIG_CMD_MMC_EXTCSD is not set
+
+#
+# Boot
+#
+CONFIG_CMD_BOOT=y
+CONFIG_CMD_BOOTM=y
+# CONFIG_CMD_BOOTU is not set
+CONFIG_CMD_BOOTZ=y
+CONFIG_CMD_GO=y
+# CONFIG_CMD_LOADB is not set
+# CONFIG_CMD_LOADS is not set
+# CONFIG_CMD_LOADY is not set
+CONFIG_CMD_RESET=y
+CONFIG_CMD_UIMAGE=y
+
+#
+# Partition
+#
+CONFIG_CMD_PARTITION=y
+CONFIG_CMD_AUTOMOUNT=y
+CONFIG_CMD_MOUNT=y
+CONFIG_CMD_UMOUNT=y
+
+#
+# Environment
+#
+CONFIG_CMD_NV=y
+CONFIG_CMD_EXPORT=y
+CONFIG_CMD_DEFAULTENV=y
+CONFIG_CMD_GLOBAL=y
+CONFIG_CMD_LOADENV=y
+CONFIG_CMD_PRINTENV=y
+CONFIG_CMD_MAGICVAR=y
+CONFIG_CMD_MAGICVAR_HELP=y
+CONFIG_CMD_SAVEENV=y
+
+#
+# File
+#
+CONFIG_CMD_BASENAME=y
+CONFIG_CMD_CAT=y
+CONFIG_CMD_CD=y
+CONFIG_CMD_CP=y
+# CONFIG_CMD_CMP is not set
+CONFIG_CMD_DIGEST=y
+CONFIG_CMD_DIRNAME=y
+CONFIG_CMD_FILETYPE=y
+CONFIG_CMD_LN=y
+CONFIG_CMD_LS=y
+CONFIG_CMD_MD5SUM=y
+CONFIG_CMD_MKDIR=y
+CONFIG_CMD_PWD=y
+CONFIG_CMD_READLINK=y
+CONFIG_CMD_RM=y
+CONFIG_CMD_RMDIR=y
+CONFIG_CMD_SHA1SUM=y
+# CONFIG_CMD_SHA224SUM is not set
+# CONFIG_CMD_SHA256SUM is not set
+# CONFIG_CMD_SHA384SUM is not set
+# CONFIG_CMD_SHA512SUM is not set
+CONFIG_CMD_UNCOMPRESS=y
+
+#
+# Shell scripting
+#
+CONFIG_CMD_FALSE=y
+CONFIG_CMD_GETOPT=y
+CONFIG_CMD_LET=y
+CONFIG_CMD_MSLEEP=y
+CONFIG_CMD_READF=y
+CONFIG_CMD_SLEEP=y
+CONFIG_CMD_TEST=y
+CONFIG_CMD_TRUE=y
+
+#
+# Network
+#
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_HOST=y
+CONFIG_NET_CMD_IFUP=y
+# CONFIG_CMD_MIITOOL is not set
+CONFIG_CMD_PING=y
+CONFIG_CMD_TFTP=y
+CONFIG_CMD_IP_ROUTE_GET=y
+
+#
+# Console and Framebuffer interaction
+#
+CONFIG_CMD_CLEAR=y
+CONFIG_CMD_ECHO=y
+CONFIG_CMD_ECHO_E=y
+CONFIG_CMD_EDIT=y
+# CONFIG_CMD_LOGIN is not set
+CONFIG_CMD_MENU=y
+# CONFIG_CMD_MENU_MANAGEMENT is not set
+CONFIG_CMD_MENUTREE=y
+CONFIG_CMD_READLINE=y
+CONFIG_CMD_TIMEOUT=y
+
+#
+# Memory
+#
+CONFIG_CMD_CRC=y
+CONFIG_CMD_CRC_CMP=y
+CONFIG_CMD_MD=y
+CONFIG_CMD_MEMCMP=y
+CONFIG_CMD_MEMCPY=y
+CONFIG_CMD_MEMSET=y
+CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_MM=y
+CONFIG_CMD_MW=y
+
+#
+# Hardware manipulation
+#
+CONFIG_CMD_CLK=y
+CONFIG_CMD_DETECT=y
+CONFIG_CMD_FLASH=y
+CONFIG_CMD_GPIO=y
+CONFIG_CMD_I2C=y
+CONFIG_CMD_LED=y
+# CONFIG_CMD_POWEROFF is not set
+CONFIG_CMD_SPI=y
+CONFIG_CMD_LED_TRIGGER=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_USBGADGET=y
+CONFIG_CMD_WD=y
+CONFIG_CMD_WD_DEFAULT_TIMOUT=0
+
+#
+# Miscellaneous
+#
+# CONFIG_CMD_2048 is not set
+CONFIG_CMD_BAREBOX_UPDATE=y
+# CONFIG_CMD_FIRMWARELOAD is not set
+CONFIG_CMD_OF_DUMP=y
+CONFIG_CMD_OF_NODE=y
+CONFIG_CMD_OF_PROPERTY=y
+# CONFIG_CMD_OF_DISPLAY_TIMINGS is not set
+# CONFIG_CMD_OF_FIXUP_STATUS is not set
+CONFIG_CMD_OFTREE=y
+CONFIG_CMD_TIME=y
+CONFIG_CMD_STATE=y
+# CONFIG_CMD_DHRYSTONE is not set
+# CONFIG_CMD_SPD_DECODE is not set
+# CONFIG_CMD_SEED is not set
+CONFIG_NET=y
+CONFIG_NET_NFS=y
+# CONFIG_NET_NETCONSOLE is not set
+CONFIG_NET_RESOLV=y
+CONFIG_NET_IFUP=y
+CONFIG_NET_DHCP=y
+# CONFIG_NET_SNTP is not set
+
+#
+# Drivers
+#
+CONFIG_OFTREE=y
+CONFIG_OFTREE_MEM_GENERIC=y
+CONFIG_DTC=y
+CONFIG_OFDEVICE=y
+CONFIG_OF_NET=y
+CONFIG_OF_GPIO=y
+CONFIG_OF_BAREBOX_DRIVERS=y
+# CONFIG_OF_BAREBOX_ENV_IN_FS is not set
+# CONFIG_AIODEV is not set
+CONFIG_ARM_AMBA=y
+
+#
+# serial drivers
+#
+# CONFIG_SERIAL_DEV_BUS is not set
+# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
+# CONFIG_SERIAL_AMBA_PL011 is not set
+# CONFIG_DRIVER_SERIAL_NS16550 is not set
+# CONFIG_DRIVER_SERIAL_CADENCE is not set
+CONFIG_PHYLIB=y
+
+#
+# Network drivers
+#
+# CONFIG_DRIVER_NET_ARC_EMAC is not set
+# CONFIG_DRIVER_NET_CALXEDA_XGMAC is not set
+# CONFIG_DRIVER_NET_DESIGNWARE is not set
+# CONFIG_DRIVER_NET_ENC28J60 is not set
+# CONFIG_DRIVER_NET_KS8851_MLL is not set
+# CONFIG_DRIVER_NET_MICREL is not set
+# CONFIG_DRIVER_NET_SMC911X is not set
+# CONFIG_DRIVER_NET_SMC91111 is not set
+
+#
+# phylib
+#
+
+#
+# MII PHY device drivers
+#
+# CONFIG_AR8327N_PHY is not set
+# CONFIG_AT803X_PHY is not set
+# CONFIG_DAVICOM_PHY is not set
+# CONFIG_DP83867_PHY is not set
+# CONFIG_LXT_PHY is not set
+# CONFIG_MARVELL_PHY is not set
+# CONFIG_MICREL_PHY is not set
+# CONFIG_NATIONAL_PHY is not set
+# CONFIG_SMSC_PHY is not set
+# CONFIG_NET_DSA_MV88E6XXX is not set
+
+#
+# MII bus device drivers
+#
+# CONFIG_MDIO_BITBANG is not set
+# CONFIG_MDIO_BUS_MUX_GPIO is not set
+CONFIG_NET_USB=y
+CONFIG_NET_USB_ASIX=y
+CONFIG_NET_USB_SMSC95XX=y
+
+#
+# SPI drivers
+#
+CONFIG_SPI=y
+CONFIG_DRIVER_SPI_GPIO=y
+CONFIG_I2C=y
+CONFIG_I2C_ALGOBIT=y
+
+#
+# I2C Hardware Bus support
+#
+CONFIG_I2C_GPIO=y
+# CONFIG_I2C_DESIGNWARE is not set
+# CONFIG_I2C_MV64XXX is not set
+# CONFIG_I2C_MUX is not set
+CONFIG_MTD=y
+CONFIG_MTD_WRITE=y
+CONFIG_MTD_OOB_DEVICE=y
+# CONFIG_MTD_RAW_DEVICE is not set
+# CONFIG_MTD_CONCAT is not set
+
+#
+# MTD debug options
+#
+# CONFIG_MTD_PEB_DEBUG is not set
+
+#
+# Self contained MTD devices
+#
+# CONFIG_MTD_DATAFLASH is not set
+# CONFIG_MTD_M25P80 is not set
+# CONFIG_MTD_DOCG3 is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_DRIVER_CFI is not set
+# CONFIG_NAND is not set
+# CONFIG_MTD_SPI_NOR is not set
+# CONFIG_MTD_UBI is not set
+CONFIG_DISK=y
+CONFIG_DISK_WRITE=y
+
+#
+# drive types
+#
+# CONFIG_DISK_ATA is not set
+# CONFIG_DISK_AHCI is not set
+
+#
+# interface types
+#
+# CONFIG_DISK_INTF_PLATFORM_IDE is not set
+CONFIG_USB=y
+CONFIG_USB_HOST=y
+CONFIG_USB_EHCI=y
+# CONFIG_USB_XHCI is not set
+# CONFIG_USB_ULPI is not set
+CONFIG_USB_STORAGE=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_AUTOSTART=y
+
+#
+# USB Gadget drivers
+#
+# CONFIG_USB_GADGET_DFU is not set
+CONFIG_USB_GADGET_SERIAL=y
+# CONFIG_USB_GADGET_FASTBOOT is not set
+# CONFIG_USB_GADGET_FASTBOOT_SPARSE is not set
+# CONFIG_USB_MUSB is not set
+# CONFIG_VIDEO is not set
+CONFIG_MCI=y
+
+#
+# --- Feature list ---
+#
+CONFIG_MCI_STARTUP=y
+CONFIG_MCI_INFO=y
+CONFIG_MCI_WRITE=y
+# CONFIG_MCI_MMC_BOOT_PARTITIONS is not set
+
+#
+# --- MCI host drivers ---
+#
+# CONFIG_MCI_DW is not set
+# CONFIG_MCI_BCM283X is not set
+CONFIG_MCI_MMCI=y
+# CONFIG_MCI_SPI is not set
+CONFIG_HAVE_CLK=y
+CONFIG_CLKDEV_LOOKUP=y
+CONFIG_COMMON_CLK=y
+
+#
+# Clocksource
+#
+CONFIG_CLOCKSOURCE_BCM283X=y
+CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
+# CONFIG_CLOCKSOURCE_DW_APB_TIMER is not set
+
+#
+# MFD
+#
+# CONFIG_MFD_ACT8846 is not set
+# CONFIG_MFD_DA9053 is not set
+# CONFIG_MFD_DA9063 is not set
+# CONFIG_MFD_LP3972 is not set
+# CONFIG_MFD_MC13XXX is not set
+# CONFIG_MFD_MC34704 is not set
+# CONFIG_MFD_MC9SDZ60 is not set
+# CONFIG_MFD_STMPE is not set
+# CONFIG_MFD_SYSCON is not set
+# CONFIG_MFD_TWL4030 is not set
+# CONFIG_MFD_TWL6030 is not set
+
+#
+# Misc devices
+#
+# CONFIG_JTAG is not set
+# CONFIG_SRAM is not set
+CONFIG_STATE_DRV=y
+CONFIG_DEV_MEM=y
+CONFIG_LED=y
+CONFIG_LED_GPIO=y
+CONFIG_LED_GPIO_OF=y
+# CONFIG_LED_GPIO_RGB is not set
+# CONFIG_LED_GPIO_BICOLOR is not set
+CONFIG_LED_TRIGGERS=y
+# CONFIG_LED_PCA955X is not set
+
+#
+# EEPROM support
+#
+# CONFIG_EEPROM_AT25 is not set
+# CONFIG_EEPROM_AT24 is not set
+
+#
+# Input device support
+#
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYBOARD_QT1070 is not set
+# CONFIG_KEYBOARD_USB is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_POLLER is not set
+# CONFIG_WATCHDOG_DW is not set
+# CONFIG_WATCHDOG_BCM2835 is not set
+# CONFIG_PWM is not set
+CONFIG_HWRNG=y
+
+#
+# DMA support
+#
+CONFIG_GPIOLIB=y
+
+#
+# GPIO
+#
+# CONFIG_GPIO_74164 is not set
+# CONFIG_GPIO_BCM283X is not set
+# CONFIG_GPIO_GENERIC_PLATFORM is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PL061 is not set
+# CONFIG_GPIO_DESIGNWARE is not set
+# CONFIG_GPIO_SX150X is not set
+# CONFIG_W1 is not set
+CONFIG_PINCTRL=y
+# CONFIG_PINCTRL_SINGLE is not set
+# CONFIG_NVMEM is not set
+
+#
+# Bus devices
+#
+CONFIG_REGULATOR=y
+# CONFIG_REGULATOR_FIXED is not set
+CONFIG_REGULATOR_BCM283X=y
+# CONFIG_RESET_CONTROLLER is not set
+# CONFIG_RTC_CLASS is not set
+
+#
+# Firmware Drivers
+#
+# CONFIG_FIRMWARE_ALTERA_SERIAL is not set
+# CONFIG_GENERIC_PHY is not set
+# CONFIG_CRYPTO_HW is not set
+
+#
+# Memory controller drivers
+#
+
+#
+# i.MX SoC drivers
+#
+
+#
+# Filesystem support
+#
+CONFIG_FS=y
+CONFIG_FS_LEGACY=y
+
+#
+# Some selected filesystems still use the legacy FS API.
+#
+
+#
+# Consider updating them.
+#
+CONFIG_FS_AUTOMOUNT=y
+# CONFIG_FS_CRAMFS is not set
+CONFIG_FS_EXT4=y
+CONFIG_FS_RAMFS=y
+CONFIG_FS_DEVFS=y
+CONFIG_FS_TFTP=y
+CONFIG_FS_NFS=y
+CONFIG_FS_FAT=y
+CONFIG_FS_FAT_WRITE=y
+CONFIG_FS_FAT_LFN=y
+# CONFIG_FS_BPKFS is not set
+# CONFIG_FS_UIMAGEFS is not set
+# CONFIG_FS_PSTORE is not set
+# CONFIG_FS_SQUASHFS is not set
+
+#
+# ZLIB support disabled
+#
+
+#
+# LZ4 support disabled
+#
+
+#
+# LZO support disabled
+#
+
+#
+# XZ support disabled
+#
+
+#
+# ZSTD support disabled
+#
+
+#
+# Library routines
+#
+CONFIG_PARAMETER=y
+CONFIG_UNCOMPRESS=y
+CONFIG_ZLIB=y
+CONFIG_BZLIB=y
+# CONFIG_LZ4_DECOMPRESS is not set
+# CONFIG_ZSTD_DECOMPRESS is not set
+CONFIG_XZ_DECOMPRESS=y
+CONFIG_XZ_DEC_X86=y
+CONFIG_XZ_DEC_POWERPC=y
+CONFIG_XZ_DEC_IA64=y
+CONFIG_XZ_DEC_ARM=y
+CONFIG_XZ_DEC_ARMTHUMB=y
+CONFIG_XZ_DEC_SPARC=y
+CONFIG_PROCESS_ESCAPE_SEQUENCE=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_FNMATCH=y
+CONFIG_QSORT=y
+# CONFIG_RATP is not set
+# CONFIG_ALLOW_PRNG_FALLBACK is not set
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC8 is not set
+
+#
+# Library gui routines
+#
+# CONFIG_BAREBOX_LOGO is not set
+
+#
+# Crypto support
+#
+CONFIG_CRC32=y
+CONFIG_CRC16=y
+CONFIG_DIGEST=y
+CONFIG_MD5=y
+CONFIG_SHA1=y
+# CONFIG_DIGEST_CRC32_GENERIC is not set
+CONFIG_DIGEST_MD5_GENERIC=y
+CONFIG_DIGEST_SHA1_GENERIC=y
+# CONFIG_DIGEST_SHA224_GENERIC is not set
+# CONFIG_DIGEST_SHA256_GENERIC is not set
+# CONFIG_DIGEST_SHA384_GENERIC is not set
+# CONFIG_DIGEST_SHA512_GENERIC is not set
+# CONFIG_DIGEST_HMAC_GENERIC is not set
+# CONFIG_DIGEST_SHA1_ARM is not set
+# CONFIG_DIGEST_SHA256_ARM is not set
+# CONFIG_CRYPTO_KEYSTORE is not set
+
+#
+# Firmware files
+#
+CONFIG_EXTRA_FIRMWARE_DIR="firmware"
+
+#
+# Host Tools
+#
+# CONFIG_COMPILE_HOST_TOOLS is not set
diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index 1c3460d0bd52..b655f77d39b3 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -164,6 +164,11 @@ PTXCONF_CONSOLE_SPEED="115200"
 #
 # PTXCONF_AT91BOOTSTRAP is not set
 # PTXCONF_AT91BOOTSTRAP2 is not set
+PTXCONF_BAREBOX_COMMON_ARCH_STRING="arm"
+PTXCONF_BAREBOX_COMMON=y
+PTXCONF_BAREBOX_COMMON_VERSION="2019.03.0"
+PTXCONF_BAREBOX_COMMON_MD5="0b6fd3f04cb3e26276ae3cc20eed1bd7"
+PTXCONF_BAREBOX_COMMON_NEEDS_HOST_LZOP=y
 PTXCONF_BAREBOX_AM335X_MLO=y
 PTXCONF_BAREBOX_AM335X=y
 # PTXCONF_BAREBOX_AM335X_NEEDS_HOST_LZOP is not set
diff --git a/configs/platform-v7a/platforms/barebox-0-common.in b/configs/platform-v7a/platforms/barebox-0-common.in
new file mode 100644
index 000000000000..ad4ee2cf1eb4
--- /dev/null
+++ b/configs/platform-v7a/platforms/barebox-0-common.in
@@ -0,0 +1,33 @@
+## SECTION=bootloader
+
+config BAREBOX_COMMON_ARCH_STRING
+	string
+	default "arm"
+
+menuconfig BAREBOX_COMMON
+	prompt "common barebox options        "
+	bool
+	select HOST_LZOP if BAREBOX_COMMON_NEEDS_HOST_LZOP
+	help
+	  A metapackage serving a reference config for all other barebox
+	  variants in the v7a platform. It doesn't install anything.
+
+if BAREBOX_COMMON
+
+config BAREBOX_COMMON_VERSION
+	prompt "barebox version"
+	string
+	default "2016.08.0"
+
+config BAREBOX_COMMON_MD5
+	prompt "barebox source md5sum"
+	string
+
+config BAREBOX_COMMON_NEEDS_HOST_LZOP
+	prompt "barebox needs lzop"
+	bool
+	help
+	  The barebox binaries can be compressed. Select this if lzop
+	  is used in order to compile lzop for your development host.
+
+endif
diff --git a/configs/platform-v7a/rules/barebox-common.make b/configs/platform-v7a/rules/barebox-common.make
new file mode 100644
index 000000000000..5f77d41f86c5
--- /dev/null
+++ b/configs/platform-v7a/rules/barebox-common.make
@@ -0,0 +1,83 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+EXTRA_PACKAGES-$(PTXCONF_BAREBOX_COMMON) += barebox-common
+
+#
+# Paths and names
+#
+BAREBOX_COMMON_VERSION	:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_VERSION))
+BAREBOX_COMMON_MD5	:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_MD5))
+BAREBOX_COMMON		:= barebox-common-$(BAREBOX_COMMON_VERSION)
+BAREBOX_COMMON_SUFFIX	:= tar.bz2
+BAREBOX_COMMON_URL	:= $(call barebox-url, BAREBOX_COMMON)
+BAREBOX_COMMON_SOURCE	:= $(SRCDIR)/barebox-$(BAREBOX_COMMON_VERSION).$(BAREBOX_COMMON_SUFFIX)
+BAREBOX_COMMON_DIR	:= $(BUILDDIR)/$(BAREBOX_COMMON)
+BAREBOX_COMMON_LICENSE	:= GPL-2.0-only
+BAREBOX_COMMON_DEVPKG	:= NO
+
+BAREBOX_COMMON_CONFIG	:= $(call ptx/in-platformconfigdir, barebox.config)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+# use host pkg-config for host tools
+BAREBOX_COMMON_PATH := PATH=$(HOST_PATH)
+
+BAREBOX_COMMON_CONF_OPT := $(call barebox-opts)
+BAREBOX_COMMON_MAKE_OPT := $(BAREBOX_COMMON_CONF_OPT)
+
+BAREBOX_COMMON_TAGS_OPT := TAGS tags cscope
+
+$(STATEDIR)/barebox-common.prepare:
+	@$(call targetinfo)
+	@$(call world/prepare, BAREBOX_COMMON)
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/barebox-common.compile:
+	@$(call targetinfo)
+	@echo "Note: the 'barebox-common' package does not compile anything." >&2
+	@echo "You probably wanted one of the other barebox-* packages instead." >&2
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/barebox-common.install:
+	@$(call targetinfo)
+	@echo "Note: the 'barebox-common' package does not install anything." >&2
+	@echo "You probably wanted one of the other barebox-* packages instead." >&2
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/barebox-common.targetinstall:
+	@$(call targetinfo)
+	@echo "Note: the 'barebox-common' package does not targetinstall anything." >&2
+	@echo "You probably wanted one of the other barebox-* packages instead." >&2
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# oldconfig / menuconfig
+# ----------------------------------------------------------------------------
+
+barebox-common_oldconfig barebox-common_menuconfig barebox-common_nconfig: $(STATEDIR)/barebox-common.extract
+	@$(call world/kconfig, BAREBOX_COMMON, $(subst barebox-common_,,$@))
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH v2 4/9] v7a: bareboxes: use shared settings from the barebox-common package
  2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 2/9] pre/barebox: barebox-url: only use <PKG>_VERSION to build the URL Roland Hieber
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 3/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
@ 2019-06-05 18:52 ` Roland Hieber
  2019-06-05 21:47   ` Robert Schwebel
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 5/9] v7a: bareboxes: use config diffs with the common reference config Roland Hieber
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 18:52 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

As implemented in the previous commit, the barebox version and MD5
can be reduced to one entry in the menu. Also do the same for the
host-lzop dependency, which will be needed for every barebox package
when using the common reference config. Be sure to depend on the new
barebox-common package so the barebox packages are rebuilt when the
version and MD5 variables change.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---

Notes:
    Changes in v1 -> v2: none

 configs/platform-v7a/platformconfig                |  2 --
 .../platform-v7a/platforms/barebox-am335x-mlo.in   |  1 +
 configs/platform-v7a/platforms/barebox-am335x.in   | 14 +-------------
 configs/platform-v7a/platforms/barebox-mx6.in      |  1 +
 configs/platform-v7a/platforms/barebox-rpi2.in     | 14 +-------------
 configs/platform-v7a/platforms/barebox-vexpress.in |  2 +-
 configs/platform-v7a/rules/barebox-am335x-mlo.make |  4 ++--
 configs/platform-v7a/rules/barebox-am335x.make     |  4 ++--
 configs/platform-v7a/rules/barebox-mx6.make        |  4 ++--
 configs/platform-v7a/rules/barebox-rpi2.make       |  4 ++--
 configs/platform-v7a/rules/barebox-vexpress.make   |  4 ++--
 11 files changed, 15 insertions(+), 39 deletions(-)

diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig
index b655f77d39b3..349036e35f34 100644
--- a/configs/platform-v7a/platformconfig
+++ b/configs/platform-v7a/platformconfig
@@ -171,10 +171,8 @@ PTXCONF_BAREBOX_COMMON_MD5="0b6fd3f04cb3e26276ae3cc20eed1bd7"
 PTXCONF_BAREBOX_COMMON_NEEDS_HOST_LZOP=y
 PTXCONF_BAREBOX_AM335X_MLO=y
 PTXCONF_BAREBOX_AM335X=y
-# PTXCONF_BAREBOX_AM335X_NEEDS_HOST_LZOP is not set
 PTXCONF_BAREBOX_MX6=y
 PTXCONF_BAREBOX_RPI2=y
-PTXCONF_BAREBOX_RPI2_NEEDS_HOST_LZOP=y
 PTXCONF_BAREBOX_VEXPRESS=y
 PTXCONF_BAREBOX_ARCH_STRING="arm"
 # PTXCONF_BAREBOX is not set
diff --git a/configs/platform-v7a/platforms/barebox-am335x-mlo.in b/configs/platform-v7a/platforms/barebox-am335x-mlo.in
index 0aabf56c16f3..cb0bc2d3dc5c 100644
--- a/configs/platform-v7a/platforms/barebox-am335x-mlo.in
+++ b/configs/platform-v7a/platforms/barebox-am335x-mlo.in
@@ -3,5 +3,6 @@
 config BAREBOX_AM335X_MLO
 	tristate
 	prompt "Barebox (am335x-mlo)"
+	select BAREBOX_COMMON
 	help
 	  FIXME
diff --git a/configs/platform-v7a/platforms/barebox-am335x.in b/configs/platform-v7a/platforms/barebox-am335x.in
index f2c3e071a18b..853dbb80d7a3 100644
--- a/configs/platform-v7a/platforms/barebox-am335x.in
+++ b/configs/platform-v7a/platforms/barebox-am335x.in
@@ -3,18 +3,6 @@
 config BAREBOX_AM335X
 	tristate
 	prompt "Barebox (am335x)"
-	select HOST_LZOP if BAREBOX_AM335X_NEEDS_HOST_LZOP
+	select BAREBOX_COMMON
 	help
 	  Gute Fee support for barebox.
-
-if BAREBOX_AM335X
-
-config BAREBOX_AM335X_NEEDS_HOST_LZOP
-	prompt "barebox am335x needs lzop"
-	bool
-	help
-	  The barebox am335x can be compressed. Select this if lzop
-	  is used in order to compile lzop for your development
-	  host.
-
-endif
diff --git a/configs/platform-v7a/platforms/barebox-mx6.in b/configs/platform-v7a/platforms/barebox-mx6.in
index 71e6a05513cd..6003b400cef3 100644
--- a/configs/platform-v7a/platforms/barebox-mx6.in
+++ b/configs/platform-v7a/platforms/barebox-mx6.in
@@ -3,5 +3,6 @@
 config BAREBOX_MX6
 	tristate
 	prompt "Barebox (mx6)"
+	select BAREBOX_COMMON
 	help
 	  Barebox image for i.MX6
diff --git a/configs/platform-v7a/platforms/barebox-rpi2.in b/configs/platform-v7a/platforms/barebox-rpi2.in
index c72762ce21eb..d62acd3a96f2 100644
--- a/configs/platform-v7a/platforms/barebox-rpi2.in
+++ b/configs/platform-v7a/platforms/barebox-rpi2.in
@@ -3,18 +3,6 @@
 menuconfig BAREBOX_RPI2
 	tristate
 	prompt "Barebox (rpi2)"
-	select HOST_LZOP if BAREBOX_RPI2_NEEDS_HOST_LZOP
+	select BAREBOX_COMMON
 	help
 	  Raspberry Pi 2 support for barebox.
-
-if BAREBOX_RPI2
-
-config BAREBOX_RPI2_NEEDS_HOST_LZOP
-	prompt "barebox rpi2 needs lzop"
-	bool
-	help
-	  The barebox rpi2 can be compressed. Select this if lzop
-	  is used in order to compile lzop for your development
-	  host.
-
-endif
diff --git a/configs/platform-v7a/platforms/barebox-vexpress.in b/configs/platform-v7a/platforms/barebox-vexpress.in
index dbb1f0bad8d7..2d3540b312f5 100644
--- a/configs/platform-v7a/platforms/barebox-vexpress.in
+++ b/configs/platform-v7a/platforms/barebox-vexpress.in
@@ -2,7 +2,7 @@
 
 config BAREBOX_VEXPRESS
 	tristate
-	select HOST_LZOP
 	prompt "Barebox (vexpress)"
+	select BAREBOX_COMMON
 	help
 	  Vexpress support for barebox.
diff --git a/configs/platform-v7a/rules/barebox-am335x-mlo.make b/configs/platform-v7a/rules/barebox-am335x-mlo.make
index 6d88de83765f..2056fc99b913 100644
--- a/configs/platform-v7a/rules/barebox-am335x-mlo.make
+++ b/configs/platform-v7a/rules/barebox-am335x-mlo.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_BAREBOX_AM335X_MLO) += barebox-am335x-mlo
 #
 # Paths and names
 #
-BAREBOX_AM335X_MLO_VERSION	:= 2019.03.0
-BAREBOX_AM335X_MLO_MD5	:= 0b6fd3f04cb3e26276ae3cc20eed1bd7
+BAREBOX_AM335X_MLO_VERSION	:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_VERSION))
+BAREBOX_AM335X_MLO_MD5		:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_MD5))
 BAREBOX_AM335X_MLO		:= barebox-$(BAREBOX_AM335X_MLO_VERSION)
 BAREBOX_AM335X_MLO_SUFFIX	:= tar.bz2
 BAREBOX_AM335X_MLO_DIR		:= $(BUILDDIR)/barebox-am335x-mlo-$(BAREBOX_AM335X_MLO_VERSION)
diff --git a/configs/platform-v7a/rules/barebox-am335x.make b/configs/platform-v7a/rules/barebox-am335x.make
index 223deb4c221a..fb86c3b4a42a 100644
--- a/configs/platform-v7a/rules/barebox-am335x.make
+++ b/configs/platform-v7a/rules/barebox-am335x.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_BAREBOX_AM335X) += barebox-am335x
 #
 # Paths and names
 #
-BAREBOX_AM335X_VERSION	:= 2019.03.0
-BAREBOX_AM335X_MD5	:= 0b6fd3f04cb3e26276ae3cc20eed1bd7
+BAREBOX_AM335X_VERSION	:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_VERSION))
+BAREBOX_AM335X_MD5	:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_MD5))
 BAREBOX_AM335X		:= barebox-$(BAREBOX_AM335X_VERSION)
 BAREBOX_AM335X_SUFFIX	:= tar.bz2
 BAREBOX_AM335X_DIR	:= $(BUILDDIR)/barebox-am335x-$(BAREBOX_AM335X_VERSION)
diff --git a/configs/platform-v7a/rules/barebox-mx6.make b/configs/platform-v7a/rules/barebox-mx6.make
index f151e2f58072..04c771fada60 100644
--- a/configs/platform-v7a/rules/barebox-mx6.make
+++ b/configs/platform-v7a/rules/barebox-mx6.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_BAREBOX_MX6) += barebox-mx6
 #
 # Paths and names
 #
-BAREBOX_MX6_VERSION	:= 2019.03.0
-BAREBOX_MX6_MD5	:= 0b6fd3f04cb3e26276ae3cc20eed1bd7
+BAREBOX_MX6_VERSION	:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_VERSION))
+BAREBOX_MX6_MD5		:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_MD5))
 BAREBOX_MX6		:= barebox-$(BAREBOX_MX6_VERSION)
 BAREBOX_MX6_SUFFIX	:= tar.bz2
 BAREBOX_MX6_DIR		:= $(BUILDDIR)/barebox-mx6-$(BAREBOX_MX6_VERSION)
diff --git a/configs/platform-v7a/rules/barebox-rpi2.make b/configs/platform-v7a/rules/barebox-rpi2.make
index e23556cf6cf5..fb05123500f7 100644
--- a/configs/platform-v7a/rules/barebox-rpi2.make
+++ b/configs/platform-v7a/rules/barebox-rpi2.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_BAREBOX_RPI2) += barebox-rpi2
 #
 # Paths and names
 #
-BAREBOX_RPI2_VERSION	:= 2019.03.0
-BAREBOX_RPI2_MD5	:= 0b6fd3f04cb3e26276ae3cc20eed1bd7
+BAREBOX_RPI2_VERSION	:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_VERSION))
+BAREBOX_RPI2_MD5	:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_MD5))
 BAREBOX_RPI2		:= barebox-$(BAREBOX_RPI2_VERSION)
 BAREBOX_RPI2_SUFFIX	:= tar.bz2
 BAREBOX_RPI2_DIR	:= $(BUILDDIR)/barebox-rpi2-$(BAREBOX_RPI2_VERSION)
diff --git a/configs/platform-v7a/rules/barebox-vexpress.make b/configs/platform-v7a/rules/barebox-vexpress.make
index dc3e430b3f07..76063982c628 100644
--- a/configs/platform-v7a/rules/barebox-vexpress.make
+++ b/configs/platform-v7a/rules/barebox-vexpress.make
@@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_BAREBOX_VEXPRESS) += barebox-vexpress
 #
 # Paths and names
 #
-BAREBOX_VEXPRESS_VERSION	:= 2019.03.0
-BAREBOX_VEXPRESS_MD5	:= 0b6fd3f04cb3e26276ae3cc20eed1bd7
+BAREBOX_VEXPRESS_VERSION	:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_VERSION))
+BAREBOX_VEXPRESS_MD5		:= $(call remove_quotes,$(PTXCONF_BAREBOX_COMMON_MD5))
 BAREBOX_VEXPRESS		:= barebox-$(BAREBOX_VEXPRESS_VERSION)
 BAREBOX_VEXPRESS_SUFFIX		:= tar.bz2
 BAREBOX_VEXPRESS_DIR		:= $(BUILDDIR)/barebox-vexpress-$(BAREBOX_VEXPRESS_VERSION)
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH v2 5/9] v7a: bareboxes: use config diffs with the common reference config
  2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
                   ` (2 preceding siblings ...)
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 4/9] v7a: bareboxes: use shared settings from the barebox-common package Roland Hieber
@ 2019-06-05 18:52 ` Roland Hieber
  2019-06-05 21:48   ` Robert Schwebel
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 6/9] v7a: barebox-am335x: slim down config diff Roland Hieber
                   ` (4 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 18:52 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

Make it easier to maintain a common set of features and also review the
device-specific changes between all the barebox variants by using the
config diff mechanism which has been available since PTXdist 2019.01.0.

No barebox config was harmed in the making of this patch, only their
difference to the common reference config was computed.

Also add a helper script to regenerate the config diffs after the common
config was changed.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---

Notes:
    Changes in v1 -> v2:
    - config diffs were calculated based on the wrong commit. redo all of
      them. this also includes changes due to removal of
      barebox-am335x.config and disabling CMD_CMP in the previous patch.

 .../platform-v7a/barebox-am335x.config.diff   | 156 ++++++++++++
 configs/platform-v7a/barebox-mx6.config.diff  | 241 ++++++++++++++++++
 configs/platform-v7a/barebox-rpi2.config.diff | 152 +++++++++++
 .../platform-v7a/barebox-vexpress.config.diff | 162 ++++++++++++
 .../platform-v7a/rules/barebox-am335x.make    |   1 +
 configs/platform-v7a/rules/barebox-mx6.make   |   1 +
 configs/platform-v7a/rules/barebox-rpi2.make  |   1 +
 .../platform-v7a/rules/barebox-vexpress.make  |   1 +
 scripts/update-diffs-v7a.sh                   |   6 +
 9 files changed, 721 insertions(+)
 create mode 100644 configs/platform-v7a/barebox-am335x.config.diff
 create mode 100644 configs/platform-v7a/barebox-mx6.config.diff
 create mode 100644 configs/platform-v7a/barebox-rpi2.config.diff
 create mode 100644 configs/platform-v7a/barebox-vexpress.config.diff
 create mode 100755 scripts/update-diffs-v7a.sh

diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff
new file mode 100644
index 000000000000..142570557ba3
--- /dev/null
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -0,0 +1,156 @@
+c20722800c30a40b29690bb8e12f2781
+# CONFIG_AM33XX_NET_BOOT is not set
+CONFIG_ARCH_AM33XX=y
+# CONFIG_ARCH_BCM283X is not set
+CONFIG_ARCH_OMAP=y
+# CONFIG_ARCH_TEXT_BASE is undefined
+# CONFIG_ARM_AMBA is undefined
+CONFIG_ARM_ASM_UNIFIED=y
+CONFIG_ARM_BOARD_APPEND_ATAG=y
+# CONFIG_ARM_BOARD_PREPEND_ATAG is not set
+# CONFIG_ARM_SECURE_MONITOR is undefined
+# CONFIG_ARM_SMCCC is undefined
+CONFIG_ARM_USE_COMPRESSED_DTB=y
+# CONFIG_BAREBOX_UPDATE_AM33XX_EMMC is not set
+# CONFIG_BAREBOX_UPDATE_AM33XX_NAND is not set
+CONFIG_BAREBOX_UPDATE_AM33XX_SPI_NOR_MLO=y
+CONFIG_BOOTM_FITIMAGE=y
+CONFIG_BOOTM_FITIMAGE_PUBKEY="../fit/pubkey.dtsi"
+CONFIG_BOOTM_FITIMAGE_SIGNATURE=y
+# CONFIG_BOOTM_FORCE_SIGNED_IMAGES is not set
+CONFIG_BOOTM_INITRD=y
+CONFIG_BOOTM_OFTREE_UIMAGE=y
+CONFIG_BUS_OMAP_GPMC=y
+# CONFIG_BZLIB is not set
+# CONFIG_CLKDEV_LOOKUP is undefined
+# CONFIG_CLOCKSOURCE_BCM283X is undefined
+CONFIG_CLOCKSOURCE_TI_DM=y
+# CONFIG_CMD_CLK is undefined
+# CONFIG_CMD_DEFAULTENV is not set
+# CONFIG_CMD_IMD is not set
+# CONFIG_CMD_KEYSTORE is not set
+CONFIG_CMD_LOADB=y
+# CONFIG_CMD_MEMTEST is not set
+CONFIG_CMD_MIITOOL=y
+CONFIG_CMD_NAND=y
+# CONFIG_CMD_NANDTEST is not set
+# CONFIG_CMD_NAND_BITFLIP is not set
+# CONFIG_CMD_REGULATOR is undefined
+# CONFIG_CMD_SHA1SUM is not set
+# CONFIG_CMD_STATE is undefined
+# CONFIG_CMD_USB is undefined
+# CONFIG_COMMON_CLK is undefined
+CONFIG_COMPILE_LOGLEVEL=6
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
+CONFIG_CRYPTO_KEYSTORE=y
+CONFIG_CRYPTO_RSA=y
+CONFIG_DEBUG_INFO=y
+CONFIG_DEBUG_OMAP_UART_PORT=1
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
+CONFIG_DEFAULT_LOGLEVEL=7
+CONFIG_DIGEST_HMAC=y
+CONFIG_DIGEST_HMAC_GENERIC=y
+# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DRIVER_NET_CPSW=y
+CONFIG_DRIVER_SERIAL_NS16550=y
+CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
+# CONFIG_DRIVER_SPI_GPIO is not set
+CONFIG_DRIVER_SPI_OMAP3=y
+CONFIG_EEPROM_AT24=y
+CONFIG_FITIMAGE=y
+CONFIG_FITIMAGE_SIGNATURE=y
+# CONFIG_GPIO_BCM283X is undefined
+CONFIG_GPIO_GENERIC=y
+CONFIG_GPIO_GENERIC_PLATFORM=y
+CONFIG_GPIO_OMAP=y
+# CONFIG_GPIO_PL061 is undefined
+# CONFIG_GREGORIAN_CALENDER is undefined
+# CONFIG_HAVE_CLK is undefined
+# CONFIG_HWRNG is not set
+# CONFIG_I2C_ALGOBIT is undefined
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_MV64XXX is undefined
+CONFIG_I2C_OMAP=y
+CONFIG_IMAGE_SPARSE=y
+# CONFIG_IMD is not set
+# CONFIG_IMD_TARGET is undefined
+# CONFIG_KEYBOARD_USB is undefined
+CONFIG_MACH_AFI_GF=y
+# CONFIG_MACH_BEAGLE is not set
+CONFIG_MACH_BEAGLEBONE=y
+# CONFIG_MACH_PHYTEC_SOM_AM335X is not set
+# CONFIG_MACH_RPI2 is undefined
+# CONFIG_MACH_RPI3 is undefined
+# CONFIG_MACH_RPI is undefined
+# CONFIG_MACH_RPI_COMMON is undefined
+# CONFIG_MACH_VSCOM_BALTOS is not set
+# CONFIG_MACH_WAGO_PFC_AM35XX is not set
+# CONFIG_MCI_BCM283X is undefined
+# CONFIG_MCI_MMCI is undefined
+CONFIG_MCI_OMAP_HSMMC=y
+CONFIG_MTD_M25P80=y
+# CONFIG_MTD_NAND_DENALI is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_SPI_NOR=y
+# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
+# CONFIG_MTD_SST25L is not set
+CONFIG_NAND=y
+# CONFIG_NAND_ALLOW_ERASE_BAD is not set
+CONFIG_NAND_BBT=y
+# CONFIG_NAND_ECC_BCH is not set
+CONFIG_NAND_ECC_HW=y
+CONFIG_NAND_ECC_HW_NONE=y
+# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
+CONFIG_NAND_ECC_HW_SYNDROME=y
+CONFIG_NAND_ECC_SOFT=y
+CONFIG_NAND_INFO=y
+CONFIG_NAND_OMAP_GPMC=y
+CONFIG_NAND_READ_OOB=y
+# CONFIG_NET_USB is undefined
+# CONFIG_NET_USB_ASIX is undefined
+# CONFIG_NET_USB_SMSC95XX is undefined
+# CONFIG_OMAP_BUILD_IFT is not set
+# CONFIG_OMAP_BUILD_SPI is not set
+CONFIG_OMAP_GPMC=y
+CONFIG_OMAP_MULTI_BOARDS=y
+CONFIG_PINCTRL_SINGLE=y
+CONFIG_PROMPT="barebox> "
+# CONFIG_REGULATOR is not set
+# CONFIG_REGULATOR_BCM283X is undefined
+# CONFIG_REGULATOR_FIXED is undefined
+# CONFIG_SERIAL_AMBA_PL011 is undefined
+# CONFIG_SHA1 is undefined
+# CONFIG_SPI_CADENCE_QUADSPI is not set
+# CONFIG_STATE is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is undefined
+# CONFIG_STATE_CRYPTO is undefined
+# CONFIG_STATE_DRV is undefined
+CONFIG_THUMB2_BAREBOX=y
+# CONFIG_TIMESTAMP is not set
+CONFIG_TI_SYSC=y
+# CONFIG_USB_EHCI is undefined
+CONFIG_USB_GADGET_FASTBOOT=y
+# CONFIG_USB_GADGET_FASTBOOT_BUF is not set
+CONFIG_USB_GADGET_FASTBOOT_SPARSE=y
+# CONFIG_USB_HOST is not set
+CONFIG_USB_MUSB=y
+CONFIG_USB_MUSB_AM335X=y
+CONFIG_USB_MUSB_DSPS=y
+CONFIG_USB_MUSB_GADGET=y
+# CONFIG_USB_STORAGE is undefined
+# CONFIG_USB_ULPI is undefined
+# CONFIG_USB_XHCI is undefined
+# CONFIG_WATCHDOG_BCM2835 is undefined
+CONFIG_WATCHDOG_OMAP=y
+# CONFIG_XZ_DECOMPRESS is not set
+# CONFIG_XZ_DEC_ARM is undefined
+# CONFIG_XZ_DEC_ARMTHUMB is undefined
+# CONFIG_XZ_DEC_IA64 is undefined
+# CONFIG_XZ_DEC_POWERPC is undefined
+# CONFIG_XZ_DEC_SPARC is undefined
+# CONFIG_XZ_DEC_X86 is undefined
+# CONFIG_ZLIB is not set
diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff
new file mode 100644
index 000000000000..fe0ead522546
--- /dev/null
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -0,0 +1,241 @@
+c20722800c30a40b29690bb8e12f2781
+# CONFIG_ARCH_BCM283X is not set
+CONFIG_ARCH_HAS_FEC_IMX=y
+CONFIG_ARCH_HAS_IMX_GPT=y
+CONFIG_ARCH_HAS_L2X0=y
+CONFIG_ARCH_IMX6=y
+CONFIG_ARCH_IMX6SX=y
+CONFIG_ARCH_IMX=y
+CONFIG_ARCH_IMX_IMXIMAGE=y
+# CONFIG_ARCH_IMX_USBLOADER is not set
+CONFIG_ARCH_TEXT_BASE=0x4fc00000
+# CONFIG_ARM_AMBA is undefined
+CONFIG_ARM_ASM_UNIFIED=y
+# CONFIG_ARM_SECURE_MONITOR is undefined
+# CONFIG_ARM_SMCCC is undefined
+CONFIG_AT803X_PHY=y
+CONFIG_BAREBOX_UPDATE_IMX_NAND_FCB=y
+CONFIG_BCH=y
+# CONFIG_BMP is not set
+CONFIG_BOOTM_INITRD=y
+CONFIG_BOOTM_OFTREE_UIMAGE=y
+# CONFIG_BZLIB is not set
+# CONFIG_CACHE_L2X0 is not set
+# CONFIG_CLOCKSOURCE_BCM283X is undefined
+CONFIG_CLOCKSOURCE_IMX_GPT=y
+# CONFIG_CMD_BOOTZ is not set
+# CONFIG_CMD_DEFAULTENV is not set
+# CONFIG_CMD_FBTEST is not set
+# CONFIG_CMD_KEYSTORE is not set
+CONFIG_CMD_MENU_MANAGEMENT=y
+CONFIG_CMD_MIITOOL=y
+CONFIG_CMD_MMC_EXTCSD=y
+CONFIG_CMD_NAND=y
+CONFIG_CMD_NANDTEST=y
+# CONFIG_CMD_NAND_BITFLIP is not set
+# CONFIG_CMD_SHA1SUM is not set
+CONFIG_CMD_SPLASH=y
+# CONFIG_CMD_STATE is undefined
+CONFIG_CMD_UBI=y
+CONFIG_CMD_UBIFORMAT=y
+CONFIG_COMMON_CLK_OF_PROVIDER=y
+CONFIG_COMPILE_LOGLEVEL=6
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
+CONFIG_CRYPTO_KEYSTORE=y
+CONFIG_DEBUG_IMX_UART_PORT=1
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_DFU=y
+CONFIG_DEFAULT_LOGLEVEL=7
+CONFIG_DIGEST_HMAC=y
+CONFIG_DIGEST_HMAC_GENERIC=y
+# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DISK_AHCI=y
+CONFIG_DISK_AHCI_IMX=y
+CONFIG_DISK_ATA=y
+CONFIG_DISK_IDE_SFF=y
+CONFIG_DISK_INTF_PLATFORM_IDE=y
+CONFIG_DISK_PATA_IMX=y
+CONFIG_DRIVER_NET_FEC_IMX=y
+CONFIG_DRIVER_SERIAL_IMX=y
+# CONFIG_DRIVER_SPI_GPIO is not set
+CONFIG_DRIVER_SPI_IMX=y
+CONFIG_DRIVER_SPI_IMX_2_3=y
+# CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
+# CONFIG_DRIVER_VIDEO_EDID is not set
+# CONFIG_DRIVER_VIDEO_FB_SSD1307 is not set
+CONFIG_DRIVER_VIDEO_IMX_IPUV3=y
+CONFIG_DRIVER_VIDEO_IMX_IPUV3_LVDS=y
+# CONFIG_DRIVER_VIDEO_IMX_IPUV3_PARALLEL is not set
+# CONFIG_DRIVER_VIDEO_MTL017 is not set
+CONFIG_DRIVER_VIDEO_SIMPLEFB=y
+# CONFIG_DRIVER_VIDEO_SIMPLE_PANEL is not set
+CONFIG_EEPROM_AT25=y
+# CONFIG_FRAMEBUFFER_CONSOLE is not set
+CONFIG_FS_UBIFS=y
+CONFIG_FS_UBIFS_COMPRESSION_LZO=y
+# CONFIG_FS_UBIFS_COMPRESSION_ZLIB is not set
+CONFIG_GENERIC_PHY=y
+# CONFIG_GPIO_BCM283X is undefined
+CONFIG_GPIO_IMX=y
+# CONFIG_GPIO_PL061 is undefined
+# CONFIG_HABV4 is not set
+# CONFIG_HWRNG is not set
+CONFIG_HW_HAS_PCI=y
+# CONFIG_I2C_ALGOBIT is undefined
+# CONFIG_I2C_GPIO is not set
+CONFIG_I2C_IMX=y
+CONFIG_IMAGE_RENDERER=y
+CONFIG_IMAGE_SPARSE=y
+CONFIG_IMX_IIM=y
+CONFIG_IMX_IIM_FUSE_BLOW=y
+CONFIG_IMX_MULTI_BOARDS=y
+# CONFIG_IMX_WEIM is not set
+CONFIG_INPUT=y
+CONFIG_KEYBOARD_GPIO=y
+# CONFIG_KEYBOARD_IMX_KEYPAD is not set
+# CONFIG_LED_PWM is not set
+CONFIG_LIBSCAN=y
+CONFIG_LIBUBIGEN=y
+CONFIG_LODEPNG=y
+# CONFIG_MACH_ADVANTECH_ROM_742X is not set
+# CONFIG_MACH_CCMX51 is not set
+# CONFIG_MACH_CCMX53 is not set
+# CONFIG_MACH_CM_FX6 is not set
+# CONFIG_MACH_DFI_FS700_M60 is not set
+# CONFIG_MACH_EFIKA_MX_SMARTBOOK is not set
+# CONFIG_MACH_ELTEC_HIPERCAM is not set
+# CONFIG_MACH_EMBEDSKY_E9 is not set
+CONFIG_MACH_EMBEST_RIOTBOARD=y
+# CONFIG_MACH_FREESCALE_IMX6SX_SABRESDB is not set
+# CONFIG_MACH_FREESCALE_MX51_PDK is not set
+# CONFIG_MACH_FREESCALE_MX53_LOCO is not set
+# CONFIG_MACH_FREESCALE_MX53_VMX53 is not set
+# CONFIG_MACH_FREESCALE_MX7_SABRESD is not set
+# CONFIG_MACH_GK802 is not set
+# CONFIG_MACH_GRINN_LITEBOARD is not set
+# CONFIG_MACH_GUF_SANTARO is not set
+# CONFIG_MACH_GUF_VINCELL is not set
+# CONFIG_MACH_GW_VENTANA is not set
+# CONFIG_MACH_KINDLE_MX50 is not set
+# CONFIG_MACH_KONTRON_SAMX6I is not set
+CONFIG_MACH_NITROGEN6=y
+# CONFIG_MACH_NXP_IMX6ULL_EVK is not set
+# CONFIG_MACH_NXP_IMX8MQ_EVK is not set
+# CONFIG_MACH_PCA100 is not set
+# CONFIG_MACH_PCM038 is not set
+# CONFIG_MACH_PHYTEC_PHYCORE_IMX7 is not set
+# CONFIG_MACH_PHYTEC_SOM_IMX6 is not set
+# CONFIG_MACH_REALQ7 is not set
+# CONFIG_MACH_RPI2 is undefined
+# CONFIG_MACH_RPI3 is undefined
+# CONFIG_MACH_RPI is undefined
+# CONFIG_MACH_RPI_COMMON is undefined
+CONFIG_MACH_SABRELITE=y
+# CONFIG_MACH_SABRESD is not set
+# CONFIG_MACH_SOLIDRUN_MICROSOM is not set
+# CONFIG_MACH_TECHNEXION_PICO_HOBBIT is not set
+# CONFIG_MACH_TECHNEXION_WANDBOARD is not set
+# CONFIG_MACH_TQMA53 is not set
+# CONFIG_MACH_TQMA6X is not set
+# CONFIG_MACH_TX25 is not set
+# CONFIG_MACH_TX53 is not set
+# CONFIG_MACH_TX6X is not set
+# CONFIG_MACH_UDOO is not set
+CONFIG_MACH_UDOO_NEO=y
+# CONFIG_MACH_VARISCITE_MX6 is not set
+# CONFIG_MACH_VF610_TWR is not set
+# CONFIG_MACH_WARP7 is not set
+# CONFIG_MACH_ZII_IMX7D_RPU2 is not set
+# CONFIG_MACH_ZII_IMX8MQ_DEV is not set
+# CONFIG_MACH_ZII_RDU1 is not set
+# CONFIG_MACH_ZII_RDU2 is not set
+# CONFIG_MACH_ZII_VF610_DEV is not set
+# CONFIG_MCI_BCM283X is undefined
+CONFIG_MCI_IMX_ESDHC=y
+# CONFIG_MCI_IMX_ESDHC_PIO is not set
+# CONFIG_MCI_MMCI is undefined
+CONFIG_MCI_MMC_BOOT_PARTITIONS=y
+# CONFIG_MCI_STARTUP is not set
+CONFIG_MICREL_PHY=y
+CONFIG_MTD_DATAFLASH=y
+# CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set
+CONFIG_MTD_M25P80=y
+# CONFIG_MTD_NAND_DENALI is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_RAW_DEVICE=y
+CONFIG_MTD_SPI_NOR=y
+# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
+CONFIG_MTD_SST25L=y
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_BEB_LIMIT=20
+# CONFIG_MTD_UBI_CHECK_IO is not set
+CONFIG_MTD_UBI_FASTMAP=y
+# CONFIG_MTD_UBI_GENERAL_EXTRA_CHECKS is not set
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MXS_APBH_DMA=y
+CONFIG_NAND=y
+CONFIG_NAND_ALLOW_ERASE_BAD=y
+CONFIG_NAND_BBT=y
+# CONFIG_NAND_ECC_BCH is not set
+CONFIG_NAND_ECC_HW=y
+CONFIG_NAND_ECC_HW_NONE=y
+# CONFIG_NAND_ECC_HW_OOB_FIRST is not set
+CONFIG_NAND_ECC_HW_SYNDROME=y
+CONFIG_NAND_ECC_SOFT=y
+CONFIG_NAND_IMX=y
+CONFIG_NAND_IMX_BBM=y
+CONFIG_NAND_INFO=y
+CONFIG_NAND_MXS=y
+CONFIG_NAND_READ_OOB=y
+# CONFIG_NET_NFS is not set
+CONFIG_PARTITION_DISK_EFI=y
+CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y
+CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y
+# CONFIG_PCI is not set
+# CONFIG_PCI_IMX6 is not set
+# CONFIG_PICOPNG is not set
+CONFIG_PINCTRL_IMX_IOMUX_V3=y
+CONFIG_PNG=y
+CONFIG_PRINTF_UUID=y
+CONFIG_PROMPT="barebox:"
+CONFIG_PWM=y
+CONFIG_PWM_IMX=y
+# CONFIG_REGULATOR_BCM283X is undefined
+CONFIG_REGULATOR_FIXED=y
+# CONFIG_REGULATOR_PFUZE is not set
+CONFIG_RESET_IMX_SRC=y
+# CONFIG_SERIAL_AMBA_PL011 is undefined
+# CONFIG_SHA1 is undefined
+# CONFIG_SPI_CADENCE_QUADSPI is not set
+# CONFIG_STATE is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is undefined
+# CONFIG_STATE_CRYPTO is undefined
+# CONFIG_STATE_DRV is undefined
+CONFIG_STMP_DEVICE=y
+CONFIG_THUMB2_BAREBOX=y
+CONFIG_UBIFORMAT=y
+CONFIG_USB_GADGET_DFU=y
+CONFIG_USB_GADGET_DRIVER_ARC=y
+CONFIG_USB_GADGET_DUALSPEED=y
+CONFIG_USB_GADGET_FASTBOOT=y
+# CONFIG_USB_GADGET_FASTBOOT_BUF is not set
+CONFIG_USB_GADGET_FASTBOOT_SPARSE=y
+CONFIG_USB_IMX_CHIPIDEA=y
+CONFIG_USB_IMX_PHY=y
+CONFIG_USB_NOP_XCEIV=y
+CONFIG_USB_ULPI=y
+CONFIG_VIDEO=y
+CONFIG_VIDEO_VPL=y
+# CONFIG_WATCHDOG_BCM2835 is undefined
+CONFIG_WATCHDOG_IMX=y
+CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
+# CONFIG_XZ_DECOMPRESS is not set
+# CONFIG_XZ_DEC_ARM is undefined
+# CONFIG_XZ_DEC_ARMTHUMB is undefined
+# CONFIG_XZ_DEC_IA64 is undefined
+# CONFIG_XZ_DEC_POWERPC is undefined
+# CONFIG_XZ_DEC_SPARC is undefined
+# CONFIG_XZ_DEC_X86 is undefined
diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
new file mode 100644
index 000000000000..e3c9bbdf1873
--- /dev/null
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -0,0 +1,152 @@
+c20722800c30a40b29690bb8e12f2781
+# CONFIG_AR8327N_PHY is undefined
+# CONFIG_AT803X_PHY is undefined
+CONFIG_BAREBOXENV_TARGET=y
+# CONFIG_BOOTM_OFTREE is not set
+# CONFIG_BOOTM_OFTREE_UIMAGE is undefined
+# CONFIG_BOOTM_SHOW_TYPE is not set
+# CONFIG_BOOTM_VERBOSE is not set
+# CONFIG_BZLIB is not set
+# CONFIG_CMD_DHCP is undefined
+# CONFIG_CMD_HOST is undefined
+# CONFIG_CMD_I2C is undefined
+# CONFIG_CMD_IMD is not set
+# CONFIG_CMD_IP_ROUTE_GET is undefined
+# CONFIG_CMD_LED is not set
+# CONFIG_CMD_LED_TRIGGER is not set
+CONFIG_CMD_LOADB=y
+# CONFIG_CMD_MEMTEST is not set
+CONFIG_CMD_MENU_MANAGEMENT=y
+# CONFIG_CMD_MIITOOL is undefined
+# CONFIG_CMD_PING is undefined
+# CONFIG_CMD_REGULATOR is not set
+# CONFIG_CMD_SHA1SUM is not set
+# CONFIG_CMD_SPI is not set
+# CONFIG_CMD_STATE is undefined
+# CONFIG_CMD_TFTP is undefined
+# CONFIG_CMD_USB is undefined
+CONFIG_COMPILE_LOGLEVEL=6
+# CONFIG_DAVICOM_PHY is undefined
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
+# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
+CONFIG_DEFAULT_LOGLEVEL=7
+# CONFIG_DIGEST_SHA1_GENERIC is not set
+# CONFIG_DP83867_PHY is undefined
+# CONFIG_DRIVER_CFI is undefined
+# CONFIG_DRIVER_NET_ARC_EMAC is undefined
+# CONFIG_DRIVER_NET_CALXEDA_XGMAC is undefined
+# CONFIG_DRIVER_NET_DESIGNWARE is undefined
+# CONFIG_DRIVER_NET_ENC28J60 is undefined
+# CONFIG_DRIVER_NET_KS8851_MLL is undefined
+# CONFIG_DRIVER_NET_MICREL is undefined
+# CONFIG_DRIVER_NET_SMC91111 is undefined
+# CONFIG_DRIVER_NET_SMC911X is undefined
+CONFIG_DRIVER_SERIAL_NS16550=y
+# CONFIG_DRIVER_SPI_GPIO is not set
+# CONFIG_EEPROM_93XX46 is not set
+# CONFIG_EEPROM_AT24 is undefined
+# CONFIG_FS_NFS is undefined
+# CONFIG_FS_TFTP is undefined
+CONFIG_GPIO_BCM283X=y
+# CONFIG_GPIO_PCA953X is undefined
+# CONFIG_GPIO_SX150X is undefined
+# CONFIG_HWRNG is not set
+# CONFIG_I2C is not set
+# CONFIG_I2C_ALGOBIT is undefined
+# CONFIG_I2C_DESIGNWARE is undefined
+# CONFIG_I2C_GPIO is undefined
+# CONFIG_I2C_MUX is undefined
+# CONFIG_I2C_MV64XXX is undefined
+# CONFIG_IMD is not set
+# CONFIG_IMD_TARGET is undefined
+# CONFIG_KEYBOARD_QT1070 is undefined
+# CONFIG_KEYBOARD_USB is undefined
+# CONFIG_LED_GPIO_OF is not set
+# CONFIG_LED_PCA955X is undefined
+# CONFIG_LXT_PHY is undefined
+# CONFIG_LZO_DECOMPRESS is not set
+CONFIG_MACH_RPI2=y
+CONFIG_MALLOC_SIZE=0x400000
+# CONFIG_MARVELL_PHY is undefined
+CONFIG_MCI_BCM283X=y
+# CONFIG_MCI_MMCI is not set
+CONFIG_MCI_MMC_BOOT_PARTITIONS=y
+# CONFIG_MDIO_BITBANG is undefined
+# CONFIG_MDIO_BUS_MUX_GPIO is undefined
+# CONFIG_MFD_ACT8846 is undefined
+# CONFIG_MFD_DA9053 is undefined
+# CONFIG_MFD_DA9063 is undefined
+# CONFIG_MFD_LP3972 is undefined
+# CONFIG_MFD_MC34704 is undefined
+# CONFIG_MFD_MC9SDZ60 is undefined
+# CONFIG_MFD_STMPE is undefined
+# CONFIG_MFD_TWL4030 is undefined
+# CONFIG_MFD_TWL6030 is undefined
+# CONFIG_MICREL_PHY is undefined
+# CONFIG_MTD is not set
+# CONFIG_MTD_CONCAT is undefined
+# CONFIG_MTD_DATAFLASH is undefined
+# CONFIG_MTD_DOCG3 is undefined
+# CONFIG_MTD_M25P80 is undefined
+# CONFIG_MTD_MTDRAM is undefined
+# CONFIG_MTD_OOB_DEVICE is undefined
+# CONFIG_MTD_PEB_DEBUG is undefined
+# CONFIG_MTD_RAW_DEVICE is undefined
+# CONFIG_MTD_SPI_NOR is undefined
+# CONFIG_MTD_UBI is undefined
+# CONFIG_MTD_WRITE is undefined
+# CONFIG_NAND is undefined
+# CONFIG_NATIONAL_PHY is undefined
+# CONFIG_NET is not set
+# CONFIG_NET_CMD_IFUP is undefined
+# CONFIG_NET_DHCP is undefined
+# CONFIG_NET_DSA_MV88E6XXX is undefined
+# CONFIG_NET_IFUP is undefined
+# CONFIG_NET_NETCONSOLE is undefined
+# CONFIG_NET_NFS is undefined
+# CONFIG_NET_RESOLV is undefined
+# CONFIG_NET_SNTP is undefined
+# CONFIG_NET_USB is undefined
+# CONFIG_NET_USB_ASIX is undefined
+# CONFIG_NET_USB_SMSC95XX is undefined
+CONFIG_NVMEM=y
+# CONFIG_NVMEM_SNVS_LPGPR is not set
+# CONFIG_OF_BAREBOX_DRIVERS is not set
+# CONFIG_OF_BAREBOX_ENV_IN_FS is undefined
+# CONFIG_OF_NET is undefined
+# CONFIG_PASSWD_CRYPTO_PBKDF2 is not set
+CONFIG_PASSWD_SUM_MD5=y
+# CONFIG_PASSWD_SUM_SHA1 is not set
+# CONFIG_PASSWD_SUM_SHA256 is not set
+# CONFIG_PASSWD_SUM_SHA512 is not set
+CONFIG_PASSWORD=y
+CONFIG_PASSWORD_DEFAULT=""
+# CONFIG_PHYLIB is undefined
+# CONFIG_PINCTRL is not set
+# CONFIG_PINCTRL_SINGLE is undefined
+CONFIG_PROMPT="R-Pi> "
+# CONFIG_RESET_SOURCE is not set
+CONFIG_SERIAL_AMBA_PL011=y
+# CONFIG_SHA1 is undefined
+# CONFIG_SMSC_PHY is undefined
+# CONFIG_STATE is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is undefined
+# CONFIG_STATE_CRYPTO is undefined
+# CONFIG_STATE_DRV is undefined
+# CONFIG_USB_EHCI is undefined
+# CONFIG_USB_GADGET_SERIAL is not set
+# CONFIG_USB_HOST is not set
+# CONFIG_USB_STORAGE is undefined
+# CONFIG_USB_ULPI is undefined
+# CONFIG_USB_XHCI is undefined
+CONFIG_WATCHDOG_BCM2835=y
+# CONFIG_XZ_DECOMPRESS is not set
+# CONFIG_XZ_DEC_ARM is undefined
+# CONFIG_XZ_DEC_ARMTHUMB is undefined
+# CONFIG_XZ_DEC_IA64 is undefined
+# CONFIG_XZ_DEC_POWERPC is undefined
+# CONFIG_XZ_DEC_SPARC is undefined
+# CONFIG_XZ_DEC_X86 is undefined
+# CONFIG_ZLIB is not set
diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff
new file mode 100644
index 000000000000..578d108adfab
--- /dev/null
+++ b/configs/platform-v7a/barebox-vexpress.config.diff
@@ -0,0 +1,162 @@
+c20722800c30a40b29690bb8e12f2781
+CONFIG_AMBA_SP804=y
+# CONFIG_ARCH_BCM283X is not set
+CONFIG_ARCH_VEXPRESS=y
+# CONFIG_ARM_SECURE_MONITOR is undefined
+# CONFIG_ARM_SMCCC is undefined
+CONFIG_BOOTM_INITRD=y
+# CONFIG_BZLIB is not set
+# CONFIG_CFI_BUFFER_WRITE is not set
+# CONFIG_CLOCKSOURCE_BCM283X is undefined
+# CONFIG_CMD_ARM_MMUINFO is not set
+# CONFIG_CMD_BOOTZ is not set
+# CONFIG_CMD_CLK is not set
+# CONFIG_CMD_GPIO is undefined
+# CONFIG_CMD_I2C is undefined
+# CONFIG_CMD_IMD is not set
+# CONFIG_CMD_LED is undefined
+# CONFIG_CMD_LED_TRIGGER is undefined
+# CONFIG_CMD_LET is not set
+# CONFIG_CMD_LN is not set
+CONFIG_CMD_LOADB=y
+# CONFIG_CMD_MEMTEST is not set
+# CONFIG_CMD_MENU is undefined
+# CONFIG_CMD_MENUTREE is undefined
+# CONFIG_CMD_MENU_MANAGEMENT is undefined
+# CONFIG_CMD_MM is not set
+# CONFIG_CMD_MSLEEP is not set
+# CONFIG_CMD_OF_NODE is not set
+# CONFIG_CMD_OF_PROPERTY is not set
+# CONFIG_CMD_READF is not set
+# CONFIG_CMD_REGULATOR is undefined
+# CONFIG_CMD_SHA1SUM is not set
+# CONFIG_CMD_SPI is undefined
+# CONFIG_CMD_STATE is undefined
+# CONFIG_CMD_TIME is not set
+# CONFIG_CMD_USB is undefined
+# CONFIG_CMD_USBGADGET is undefined
+# CONFIG_CMD_WD is undefined
+# CONFIG_CMD_WD_DEFAULT_TIMOUT is undefined
+CONFIG_COMMON_CLK_OF_PROVIDER=y
+CONFIG_COMPILE_LOGLEVEL=6
+CONFIG_CONSOLE_ACTIVATE_ALL=y
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
+# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
+# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
+# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
+# CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU is undefined
+# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DRIVER_CFI=y
+CONFIG_DRIVER_CFI_AMD=y
+CONFIG_DRIVER_CFI_BANK_WIDTH_1=y
+CONFIG_DRIVER_CFI_BANK_WIDTH_2=y
+CONFIG_DRIVER_CFI_BANK_WIDTH_4=y
+# CONFIG_DRIVER_CFI_BANK_WIDTH_8 is not set
+CONFIG_DRIVER_CFI_INTEL=y
+# CONFIG_DRIVER_NET_ENC28J60 is undefined
+# CONFIG_DRIVER_NET_MICREL is undefined
+CONFIG_DRIVER_NET_SMC911X=y
+# CONFIG_DRIVER_SPI_GPIO is undefined
+# CONFIG_EEPROM_AT24 is undefined
+# CONFIG_EEPROM_AT25 is undefined
+# CONFIG_FILE_LIST is undefined
+# CONFIG_FIRMWARE_ALTERA_SERIAL is undefined
+# CONFIG_FS_FAT_LFN is not set
+# CONFIG_FS_FAT_WRITE is not set
+# CONFIG_FS_NFS is not set
+# CONFIG_GENERIC_GPIO is undefined
+# CONFIG_GPIOLIB is undefined
+# CONFIG_GPIO_74164 is undefined
+# CONFIG_GPIO_BCM283X is undefined
+# CONFIG_GPIO_DESIGNWARE is undefined
+# CONFIG_GPIO_GENERIC_PLATFORM is undefined
+# CONFIG_GPIO_PCA953X is undefined
+# CONFIG_GPIO_PL061 is undefined
+# CONFIG_GPIO_SX150X is undefined
+# CONFIG_HWRNG is not set
+# CONFIG_I2C is not set
+# CONFIG_I2C_ALGOBIT is undefined
+# CONFIG_I2C_DESIGNWARE is undefined
+# CONFIG_I2C_GPIO is undefined
+# CONFIG_I2C_MUX is undefined
+# CONFIG_I2C_MV64XXX is undefined
+# CONFIG_JTAG is undefined
+# CONFIG_KEYBOARD_GPIO is undefined
+# CONFIG_KEYBOARD_QT1070 is undefined
+# CONFIG_KEYBOARD_USB is undefined
+# CONFIG_LED is not set
+# CONFIG_LED_GPIO is undefined
+# CONFIG_LED_GPIO_BICOLOR is undefined
+# CONFIG_LED_GPIO_OF is undefined
+# CONFIG_LED_GPIO_RGB is undefined
+# CONFIG_LED_PCA955X is undefined
+# CONFIG_LED_TRIGGERS is undefined
+# CONFIG_LZO_DECOMPRESS is not set
+# CONFIG_MACH_RPI2 is undefined
+# CONFIG_MACH_RPI3 is undefined
+# CONFIG_MACH_RPI is undefined
+# CONFIG_MACH_RPI_COMMON is undefined
+CONFIG_MACH_VEXPRESS=y
+# CONFIG_MCI_BCM283X is undefined
+# CONFIG_MCI_SPI is undefined
+# CONFIG_MDIO_BUS_MUX_GPIO is undefined
+# CONFIG_MENU is not set
+# CONFIG_MENUTREE is undefined
+# CONFIG_MFD_ACT8846 is undefined
+# CONFIG_MFD_DA9053 is undefined
+# CONFIG_MFD_DA9063 is undefined
+# CONFIG_MFD_LP3972 is undefined
+# CONFIG_MFD_MC13XXX is undefined
+# CONFIG_MFD_MC34704 is undefined
+# CONFIG_MFD_MC9SDZ60 is undefined
+# CONFIG_MFD_STMPE is undefined
+# CONFIG_MFD_TWL4030 is undefined
+# CONFIG_MFD_TWL6030 is undefined
+CONFIG_MTD_CONCAT=y
+# CONFIG_MTD_DATAFLASH is undefined
+# CONFIG_MTD_M25P80 is undefined
+# CONFIG_NET_USB is undefined
+# CONFIG_NET_USB_ASIX is undefined
+# CONFIG_NET_USB_SMSC95XX is undefined
+# CONFIG_OF_GPIO is undefined
+CONFIG_PBL_CONSOLE=y
+# CONFIG_PINCTRL is not set
+# CONFIG_PINCTRL_SINGLE is undefined
+CONFIG_PROMPT="vexpress: "
+# CONFIG_REGULATOR is not set
+# CONFIG_REGULATOR_BCM283X is undefined
+# CONFIG_REGULATOR_FIXED is undefined
+CONFIG_SERIAL_AMBA_PL011=y
+# CONFIG_SHA1 is undefined
+# CONFIG_SPI is not set
+CONFIG_SRAM=y
+# CONFIG_STATE is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is undefined
+# CONFIG_STATE_CRYPTO is undefined
+# CONFIG_STATE_DRV is undefined
+# CONFIG_USB is undefined
+# CONFIG_USBGADGET_START is undefined
+# CONFIG_USB_EHCI is undefined
+# CONFIG_USB_GADGET is not set
+# CONFIG_USB_GADGET_AUTOSTART is undefined
+# CONFIG_USB_GADGET_DFU is undefined
+# CONFIG_USB_GADGET_FASTBOOT is undefined
+# CONFIG_USB_GADGET_FASTBOOT_SPARSE is undefined
+# CONFIG_USB_GADGET_SERIAL is undefined
+# CONFIG_USB_HOST is not set
+# CONFIG_USB_STORAGE is undefined
+# CONFIG_USB_ULPI is undefined
+# CONFIG_USB_XHCI is undefined
+# CONFIG_WATCHDOG is not set
+# CONFIG_WATCHDOG_BCM2835 is undefined
+# CONFIG_WATCHDOG_DW is undefined
+# CONFIG_WATCHDOG_POLLER is undefined
+# CONFIG_XZ_DECOMPRESS is not set
+# CONFIG_XZ_DEC_ARM is undefined
+# CONFIG_XZ_DEC_ARMTHUMB is undefined
+# CONFIG_XZ_DEC_IA64 is undefined
+# CONFIG_XZ_DEC_POWERPC is undefined
+# CONFIG_XZ_DEC_SPARC is undefined
+# CONFIG_XZ_DEC_X86 is undefined
+# CONFIG_ZLIB is not set
diff --git a/configs/platform-v7a/rules/barebox-am335x.make b/configs/platform-v7a/rules/barebox-am335x.make
index fb86c3b4a42a..0b9d4589f6f6 100644
--- a/configs/platform-v7a/rules/barebox-am335x.make
+++ b/configs/platform-v7a/rules/barebox-am335x.make
@@ -22,6 +22,7 @@ BAREBOX_AM335X		:= barebox-$(BAREBOX_AM335X_VERSION)
 BAREBOX_AM335X_SUFFIX	:= tar.bz2
 BAREBOX_AM335X_DIR	:= $(BUILDDIR)/barebox-am335x-$(BAREBOX_AM335X_VERSION)
 BAREBOX_AM335X_CONFIG	:= $(call ptx/in-platformconfigdir, barebox-am335x.config)
+BAREBOX_AM335X_REF_CONFIG := $(call ptx/in-platformconfigdir, barebox.config)
 BAREBOX_AM335X_LICENSE	:= GPL-2.0
 BAREBOX_AM335X_URL	:= $(call barebox-url, BAREBOX_AM335X)
 BAREBOX_AM335X_SOURCE	:= $(SRCDIR)/$(BAREBOX_AM335X).$(BAREBOX_AM335X_SUFFIX)
diff --git a/configs/platform-v7a/rules/barebox-mx6.make b/configs/platform-v7a/rules/barebox-mx6.make
index 04c771fada60..69d823678c83 100644
--- a/configs/platform-v7a/rules/barebox-mx6.make
+++ b/configs/platform-v7a/rules/barebox-mx6.make
@@ -22,6 +22,7 @@ BAREBOX_MX6		:= barebox-$(BAREBOX_MX6_VERSION)
 BAREBOX_MX6_SUFFIX	:= tar.bz2
 BAREBOX_MX6_DIR		:= $(BUILDDIR)/barebox-mx6-$(BAREBOX_MX6_VERSION)
 BAREBOX_MX6_CONFIG	:= $(call ptx/in-platformconfigdir, barebox-mx6.config)
+BAREBOX_MX6_REF_CONFIG	:= $(call ptx/in-platformconfigdir, barebox.config)
 BAREBOX_MX6_LICENSE	:= GPL-2.0
 BAREBOX_MX6_URL		:= $(call barebox-url, BAREBOX_MX6)
 BAREBOX_MX6_SOURCE	:= $(SRCDIR)/$(BAREBOX_MX6).$(BAREBOX_MX6_SUFFIX)
diff --git a/configs/platform-v7a/rules/barebox-rpi2.make b/configs/platform-v7a/rules/barebox-rpi2.make
index fb05123500f7..97b66878a358 100644
--- a/configs/platform-v7a/rules/barebox-rpi2.make
+++ b/configs/platform-v7a/rules/barebox-rpi2.make
@@ -22,6 +22,7 @@ BAREBOX_RPI2		:= barebox-$(BAREBOX_RPI2_VERSION)
 BAREBOX_RPI2_SUFFIX	:= tar.bz2
 BAREBOX_RPI2_DIR	:= $(BUILDDIR)/barebox-rpi2-$(BAREBOX_RPI2_VERSION)
 BAREBOX_RPI2_CONFIG	:= $(call ptx/in-platformconfigdir, barebox-rpi2.config)
+BAREBOX_RPI2_REF_CONFIG := $(call ptx/in-platformconfigdir, barebox.config)
 BAREBOX_RPI2_LICENSE	:= GPL-2.0
 BAREBOX_RPI2_URL	:= $(call barebox-url, BAREBOX_RPI2)
 BAREBOX_RPI2_SOURCE	:= $(SRCDIR)/$(BAREBOX_RPI2).$(BAREBOX_RPI2_SUFFIX)
diff --git a/configs/platform-v7a/rules/barebox-vexpress.make b/configs/platform-v7a/rules/barebox-vexpress.make
index 76063982c628..cdf8cc178691 100644
--- a/configs/platform-v7a/rules/barebox-vexpress.make
+++ b/configs/platform-v7a/rules/barebox-vexpress.make
@@ -22,6 +22,7 @@ BAREBOX_VEXPRESS		:= barebox-$(BAREBOX_VEXPRESS_VERSION)
 BAREBOX_VEXPRESS_SUFFIX		:= tar.bz2
 BAREBOX_VEXPRESS_DIR		:= $(BUILDDIR)/barebox-vexpress-$(BAREBOX_VEXPRESS_VERSION)
 BAREBOX_VEXPRESS_CONFIG		:= $(call ptx/in-platformconfigdir, barebox-vexpress.config)
+BAREBOX_VEXPRESS_REF_CONFIG	:= $(call ptx/in-platformconfigdir, barebox.config)
 BAREBOX_VEXPRESS_LICENSE	:= GPL-2.0
 BAREBOX_VEXPRESS_URL		:= $(call barebox-url, BAREBOX_VEXPRESS)
 BAREBOX_VEXPRESS_SOURCE		:= $(SRCDIR)/$(BAREBOX_VEXPRESS).$(BAREBOX_VEXPRESS_SUFFIX)
diff --git a/scripts/update-diffs-v7a.sh b/scripts/update-diffs-v7a.sh
new file mode 100755
index 000000000000..72490d756c5f
--- /dev/null
+++ b/scripts/update-diffs-v7a.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+BAREBOXES="barebox-common barebox-am335x barebox-mx6 barebox-rpi2 barebox-vexpress"
+for pkg in $BAREBOXES; do
+	ptxdist oldconfig $pkg
+done
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH v2 6/9] v7a: barebox-am335x: slim down config diff
  2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
                   ` (3 preceding siblings ...)
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 5/9] v7a: bareboxes: use config diffs with the common reference config Roland Hieber
@ 2019-06-05 18:52 ` Roland Hieber
  2019-06-05 21:48   ` Robert Schwebel
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 7/9] v7a: barebox-mx6: " Roland Hieber
                   ` (3 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 18:52 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

* don't disable common features unnecessarily: enable the features
  BZLIB, DRIVER_SPI_GPIO, HWRNG, I2C_GPIO, IMD, NET_USB*,
  REGULATOR, STATE, USB_EHCI, USB_HOST, XZ_DECOMPRESS, ZLIB, and the
  commands cmp, defaultenv, imd, memtest, regulator, sha1sum, state, and
  usb. All of those are enabled in the barebox-common config too, and
  make sense to have on a generic barebox.
* repair compile log level < default log level by using the defaults
* now that USB_HOST is enabled, MUSB_HOST makes sense too
* disable unneeded features:
  - CMD_LOADB: no one uses kermit these days
  - FIT image support: not used
  - initrd support: not used

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---

Notes:
    Changes in v1 -> v2:
    - work on re-calculated diffs from previous commit
    - describe in more detail what was enabled and disabled

 configs/platform-v7a/barebox-am335x.config    | 74 ++++++++++++-------
 .../platform-v7a/barebox-am335x.config.diff   | 54 +-------------
 2 files changed, 49 insertions(+), 79 deletions(-)

diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config
index 9bc9c422e669..51f434bcb67e 100644
--- a/configs/platform-v7a/barebox-am335x.config
+++ b/configs/platform-v7a/barebox-am335x.config
@@ -92,8 +92,6 @@ CONFIG_BLOCK_WRITE=y
 CONFIG_FILETYPE=y
 CONFIG_BINFMT=y
 CONFIG_UIMAGE=y
-CONFIG_FITIMAGE=y
-CONFIG_FITIMAGE_SIGNATURE=y
 CONFIG_LOGBUF=y
 CONFIG_STDDEV=y
 CONFIG_BAREBOX_UPDATE=y
@@ -161,17 +159,15 @@ CONFIG_ERRNO_MESSAGES=y
 CONFIG_BOOTM=y
 CONFIG_BOOTM_SHOW_TYPE=y
 CONFIG_BOOTM_VERBOSE=y
-CONFIG_BOOTM_INITRD=y
+# CONFIG_BOOTM_INITRD is not set
 CONFIG_BOOTM_OFTREE=y
 CONFIG_BOOTM_OFTREE_UIMAGE=y
 # CONFIG_BOOTM_AIMAGE is not set
-CONFIG_BOOTM_FITIMAGE=y
-CONFIG_BOOTM_FITIMAGE_SIGNATURE=y
-CONFIG_BOOTM_FITIMAGE_PUBKEY="../fit/pubkey.dtsi"
-# CONFIG_BOOTM_FORCE_SIGNED_IMAGES is not set
+# CONFIG_BOOTM_FITIMAGE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
-# CONFIG_IMD is not set
+CONFIG_IMD=y
+# CONFIG_IMD_TARGET is not set
 # CONFIG_KERNEL_INSTALL_TARGET is not set
 CONFIG_CONSOLE_FULL=y
 # CONFIG_CONSOLE_SIMPLE is not set
@@ -188,7 +184,10 @@ CONFIG_PARTITION_DISK_DOS=y
 # CONFIG_PARTITION_DISK_EFI is not set
 CONFIG_ENV_HANDLING=y
 CONFIG_DEFAULT_ENVIRONMENT=y
+# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is not set
 # CONFIG_DEFAULT_COMPRESSION_LZO is not set
+# CONFIG_DEFAULT_COMPRESSION_XZ is not set
 CONFIG_DEFAULT_COMPRESSION_NONE=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
@@ -196,15 +195,17 @@ CONFIG_DEFAULT_ENVIRONMENT_PATH=".ptxdist-defaultenv"
 # CONFIG_BAREBOXENV_TARGET is not set
 # CONFIG_BAREBOXCRC32_TARGET is not set
 CONFIG_POLLER=y
-# CONFIG_STATE is not set
+CONFIG_STATE=y
+# CONFIG_STATE_CRYPTO is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 
 #
 # Debugging
 #
-CONFIG_COMPILE_LOGLEVEL=6
-CONFIG_DEFAULT_LOGLEVEL=7
+CONFIG_COMPILE_LOGLEVEL=7
+CONFIG_DEFAULT_LOGLEVEL=6
 CONFIG_DEBUG_INFO=y
 # CONFIG_DEBUG_LL is not set
 CONFIG_DEBUG_OMAP_UART_PORT=1
@@ -227,9 +228,10 @@ CONFIG_CMD_DRVINFO=y
 CONFIG_CMD_HELP=y
 CONFIG_LONGHELP=y
 CONFIG_CMD_IOMEM=y
-# CONFIG_CMD_IMD is not set
+CONFIG_CMD_IMD=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_ARM_MMUINFO=y
+CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_VERSION=y
 # CONFIG_CMD_MMC_EXTCSD is not set
 
@@ -241,7 +243,7 @@ CONFIG_CMD_BOOTM=y
 # CONFIG_CMD_BOOTU is not set
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GO=y
-CONFIG_CMD_LOADB=y
+# CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_LOADY is not set
 CONFIG_CMD_RESET=y
@@ -260,7 +262,7 @@ CONFIG_CMD_UMOUNT=y
 #
 CONFIG_CMD_NV=y
 CONFIG_CMD_EXPORT=y
-# CONFIG_CMD_DEFAULTENV is not set
+CONFIG_CMD_DEFAULTENV=y
 CONFIG_CMD_GLOBAL=y
 CONFIG_CMD_LOADENV=y
 CONFIG_CMD_PRINTENV=y
@@ -287,7 +289,7 @@ CONFIG_CMD_PWD=y
 CONFIG_CMD_READLINK=y
 CONFIG_CMD_RM=y
 CONFIG_CMD_RMDIR=y
-# CONFIG_CMD_SHA1SUM is not set
+CONFIG_CMD_SHA1SUM=y
 # CONFIG_CMD_SHA224SUM is not set
 # CONFIG_CMD_SHA256SUM is not set
 # CONFIG_CMD_SHA384SUM is not set
@@ -340,7 +342,7 @@ CONFIG_CMD_MD=y
 CONFIG_CMD_MEMCMP=y
 CONFIG_CMD_MEMCPY=y
 CONFIG_CMD_MEMSET=y
-# CONFIG_CMD_MEMTEST is not set
+CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MM=y
 CONFIG_CMD_MW=y
 
@@ -358,6 +360,7 @@ CONFIG_CMD_NAND=y
 # CONFIG_CMD_POWEROFF is not set
 CONFIG_CMD_SPI=y
 CONFIG_CMD_LED_TRIGGER=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_USBGADGET=y
 CONFIG_CMD_WD=y
 CONFIG_CMD_WD_DEFAULT_TIMOUT=0
@@ -376,6 +379,7 @@ CONFIG_CMD_OF_PROPERTY=y
 # CONFIG_CMD_OF_FIXUP_STATUS is not set
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
+CONFIG_CMD_STATE=y
 # CONFIG_CMD_DHRYSTONE is not set
 # CONFIG_CMD_SPD_DECODE is not set
 # CONFIG_CMD_SEED is not set
@@ -446,19 +450,23 @@ CONFIG_DRIVER_NET_CPSW=y
 #
 # CONFIG_MDIO_BITBANG is not set
 # CONFIG_MDIO_BUS_MUX_GPIO is not set
+CONFIG_NET_USB=y
+CONFIG_NET_USB_ASIX=y
+CONFIG_NET_USB_SMSC95XX=y
 
 #
 # SPI drivers
 #
 CONFIG_SPI=y
-# CONFIG_DRIVER_SPI_GPIO is not set
+CONFIG_DRIVER_SPI_GPIO=y
 CONFIG_DRIVER_SPI_OMAP3=y
 CONFIG_I2C=y
+CONFIG_I2C_ALGOBIT=y
 
 #
 # I2C Hardware Bus support
 #
-# CONFIG_I2C_GPIO is not set
+CONFIG_I2C_GPIO=y
 # CONFIG_I2C_DESIGNWARE is not set
 CONFIG_I2C_OMAP=y
 # CONFIG_I2C_MUX is not set
@@ -515,7 +523,11 @@ CONFIG_DISK_WRITE=y
 #
 # CONFIG_DISK_INTF_PLATFORM_IDE is not set
 CONFIG_USB=y
-# CONFIG_USB_HOST is not set
+CONFIG_USB_HOST=y
+CONFIG_USB_EHCI=y
+# CONFIG_USB_XHCI is not set
+# CONFIG_USB_ULPI is not set
+CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_AUTOSTART=y
 
@@ -530,6 +542,7 @@ CONFIG_USB_GADGET_FASTBOOT_SPARSE=y
 CONFIG_USB_MUSB=y
 CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_MUSB_AM335X=y
+CONFIG_USB_MUSB_HOST=y
 CONFIG_USB_MUSB_GADGET=y
 # CONFIG_VIDEO is not set
 CONFIG_MCI=y
@@ -576,6 +589,7 @@ CONFIG_CLOCKSOURCE_TI_DM=y
 #
 # CONFIG_JTAG is not set
 # CONFIG_SRAM is not set
+CONFIG_STATE_DRV=y
 CONFIG_DEV_MEM=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
@@ -596,12 +610,13 @@ CONFIG_EEPROM_AT24=y
 #
 # CONFIG_KEYBOARD_GPIO is not set
 # CONFIG_KEYBOARD_QT1070 is not set
+# CONFIG_KEYBOARD_USB is not set
 CONFIG_WATCHDOG=y
 # CONFIG_WATCHDOG_POLLER is not set
 # CONFIG_WATCHDOG_DW is not set
 CONFIG_WATCHDOG_OMAP=y
 # CONFIG_PWM is not set
-# CONFIG_HWRNG is not set
+CONFIG_HWRNG=y
 
 #
 # DMA support
@@ -628,7 +643,8 @@ CONFIG_PINCTRL_SINGLE=y
 #
 CONFIG_BUS_OMAP_GPMC=y
 CONFIG_TI_SYSC=y
-# CONFIG_REGULATOR is not set
+CONFIG_REGULATOR=y
+# CONFIG_REGULATOR_FIXED is not set
 # CONFIG_RESET_CONTROLLER is not set
 # CONFIG_RTC_CLASS is not set
 
@@ -700,11 +716,17 @@ CONFIG_FS_FAT_LFN=y
 #
 CONFIG_PARAMETER=y
 CONFIG_UNCOMPRESS=y
-# CONFIG_ZLIB is not set
-# CONFIG_BZLIB is not set
+CONFIG_ZLIB=y
+CONFIG_BZLIB=y
 # CONFIG_LZ4_DECOMPRESS is not set
 # CONFIG_ZSTD_DECOMPRESS is not set
-# CONFIG_XZ_DECOMPRESS is not set
+CONFIG_XZ_DECOMPRESS=y
+CONFIG_XZ_DEC_X86=y
+CONFIG_XZ_DEC_POWERPC=y
+CONFIG_XZ_DEC_IA64=y
+CONFIG_XZ_DEC_ARM=y
+CONFIG_XZ_DEC_ARMTHUMB=y
+CONFIG_XZ_DEC_SPARC=y
 CONFIG_PROCESS_ESCAPE_SEQUENCE=y
 CONFIG_LZO_DECOMPRESS=y
 CONFIG_FNMATCH=y
@@ -727,10 +749,11 @@ CONFIG_CRC32=y
 CONFIG_CRC16=y
 CONFIG_DIGEST=y
 CONFIG_MD5=y
+CONFIG_SHA1=y
 CONFIG_DIGEST_HMAC=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA224_GENERIC is not set
 # CONFIG_DIGEST_SHA256_GENERIC is not set
 # CONFIG_DIGEST_SHA384_GENERIC is not set
@@ -738,7 +761,6 @@ CONFIG_DIGEST_MD5_GENERIC=y
 CONFIG_DIGEST_HMAC_GENERIC=y
 # CONFIG_DIGEST_SHA1_ARM is not set
 # CONFIG_DIGEST_SHA256_ARM is not set
-CONFIG_CRYPTO_RSA=y
 CONFIG_CRYPTO_KEYSTORE=y
 
 #
diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff
index 142570557ba3..f88290b69604 100644
--- a/configs/platform-v7a/barebox-am335x.config.diff
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -14,54 +14,30 @@ CONFIG_ARM_USE_COMPRESSED_DTB=y
 # CONFIG_BAREBOX_UPDATE_AM33XX_EMMC is not set
 # CONFIG_BAREBOX_UPDATE_AM33XX_NAND is not set
 CONFIG_BAREBOX_UPDATE_AM33XX_SPI_NOR_MLO=y
-CONFIG_BOOTM_FITIMAGE=y
-CONFIG_BOOTM_FITIMAGE_PUBKEY="../fit/pubkey.dtsi"
-CONFIG_BOOTM_FITIMAGE_SIGNATURE=y
-# CONFIG_BOOTM_FORCE_SIGNED_IMAGES is not set
-CONFIG_BOOTM_INITRD=y
 CONFIG_BOOTM_OFTREE_UIMAGE=y
 CONFIG_BUS_OMAP_GPMC=y
-# CONFIG_BZLIB is not set
 # CONFIG_CLKDEV_LOOKUP is undefined
 # CONFIG_CLOCKSOURCE_BCM283X is undefined
 CONFIG_CLOCKSOURCE_TI_DM=y
 # CONFIG_CMD_CLK is undefined
-# CONFIG_CMD_DEFAULTENV is not set
-# CONFIG_CMD_IMD is not set
 # CONFIG_CMD_KEYSTORE is not set
-CONFIG_CMD_LOADB=y
-# CONFIG_CMD_MEMTEST is not set
 CONFIG_CMD_MIITOOL=y
 CONFIG_CMD_NAND=y
 # CONFIG_CMD_NANDTEST is not set
 # CONFIG_CMD_NAND_BITFLIP is not set
-# CONFIG_CMD_REGULATOR is undefined
-# CONFIG_CMD_SHA1SUM is not set
-# CONFIG_CMD_STATE is undefined
-# CONFIG_CMD_USB is undefined
 # CONFIG_COMMON_CLK is undefined
-CONFIG_COMPILE_LOGLEVEL=6
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_CONSOLE_ACTIVATE_NONE=y
 CONFIG_CRYPTO_KEYSTORE=y
-CONFIG_CRYPTO_RSA=y
 CONFIG_DEBUG_INFO=y
 CONFIG_DEBUG_OMAP_UART_PORT=1
-# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
-# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
-# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
-CONFIG_DEFAULT_LOGLEVEL=7
 CONFIG_DIGEST_HMAC=y
 CONFIG_DIGEST_HMAC_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
 CONFIG_DRIVER_NET_CPSW=y
 CONFIG_DRIVER_SERIAL_NS16550=y
 CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
-# CONFIG_DRIVER_SPI_GPIO is not set
 CONFIG_DRIVER_SPI_OMAP3=y
 CONFIG_EEPROM_AT24=y
-CONFIG_FITIMAGE=y
-CONFIG_FITIMAGE_SIGNATURE=y
 # CONFIG_GPIO_BCM283X is undefined
 CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
@@ -69,15 +45,9 @@ CONFIG_GPIO_OMAP=y
 # CONFIG_GPIO_PL061 is undefined
 # CONFIG_GREGORIAN_CALENDER is undefined
 # CONFIG_HAVE_CLK is undefined
-# CONFIG_HWRNG is not set
-# CONFIG_I2C_ALGOBIT is undefined
-# CONFIG_I2C_GPIO is not set
 # CONFIG_I2C_MV64XXX is undefined
 CONFIG_I2C_OMAP=y
 CONFIG_IMAGE_SPARSE=y
-# CONFIG_IMD is not set
-# CONFIG_IMD_TARGET is undefined
-# CONFIG_KEYBOARD_USB is undefined
 CONFIG_MACH_AFI_GF=y
 # CONFIG_MACH_BEAGLE is not set
 CONFIG_MACH_BEAGLEBONE=y
@@ -110,47 +80,25 @@ CONFIG_NAND_ECC_SOFT=y
 CONFIG_NAND_INFO=y
 CONFIG_NAND_OMAP_GPMC=y
 CONFIG_NAND_READ_OOB=y
-# CONFIG_NET_USB is undefined
-# CONFIG_NET_USB_ASIX is undefined
-# CONFIG_NET_USB_SMSC95XX is undefined
 # CONFIG_OMAP_BUILD_IFT is not set
 # CONFIG_OMAP_BUILD_SPI is not set
 CONFIG_OMAP_GPMC=y
 CONFIG_OMAP_MULTI_BOARDS=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PROMPT="barebox> "
-# CONFIG_REGULATOR is not set
 # CONFIG_REGULATOR_BCM283X is undefined
-# CONFIG_REGULATOR_FIXED is undefined
 # CONFIG_SERIAL_AMBA_PL011 is undefined
-# CONFIG_SHA1 is undefined
 # CONFIG_SPI_CADENCE_QUADSPI is not set
-# CONFIG_STATE is not set
-# CONFIG_STATE_BACKWARD_COMPATIBLE is undefined
-# CONFIG_STATE_CRYPTO is undefined
-# CONFIG_STATE_DRV is undefined
 CONFIG_THUMB2_BAREBOX=y
 # CONFIG_TIMESTAMP is not set
 CONFIG_TI_SYSC=y
-# CONFIG_USB_EHCI is undefined
 CONFIG_USB_GADGET_FASTBOOT=y
 # CONFIG_USB_GADGET_FASTBOOT_BUF is not set
 CONFIG_USB_GADGET_FASTBOOT_SPARSE=y
-# CONFIG_USB_HOST is not set
 CONFIG_USB_MUSB=y
 CONFIG_USB_MUSB_AM335X=y
 CONFIG_USB_MUSB_DSPS=y
 CONFIG_USB_MUSB_GADGET=y
-# CONFIG_USB_STORAGE is undefined
-# CONFIG_USB_ULPI is undefined
-# CONFIG_USB_XHCI is undefined
+CONFIG_USB_MUSB_HOST=y
 # CONFIG_WATCHDOG_BCM2835 is undefined
 CONFIG_WATCHDOG_OMAP=y
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_XZ_DEC_ARM is undefined
-# CONFIG_XZ_DEC_ARMTHUMB is undefined
-# CONFIG_XZ_DEC_IA64 is undefined
-# CONFIG_XZ_DEC_POWERPC is undefined
-# CONFIG_XZ_DEC_SPARC is undefined
-# CONFIG_XZ_DEC_X86 is undefined
-# CONFIG_ZLIB is not set
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH v2 7/9] v7a: barebox-mx6: slim down config diff
  2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
                   ` (4 preceding siblings ...)
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 6/9] v7a: barebox-am335x: slim down config diff Roland Hieber
@ 2019-06-05 18:52 ` Roland Hieber
  2019-06-05 21:48   ` Robert Schwebel
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 8/9] v7a: barebox-rpi2: " Roland Hieber
                   ` (2 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 18:52 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

* don't disable common features unnecessarily: enable the features
  BZLIB, DRIVER_SPI_GPIO, I2C_GPIO, NET_NFS, STATE, XZ_DECOMPRESS,
  and the commands bootz, cmp, defaultenv, sha1sum, and state.
  All of those are enabled in the barebox-common config too, and make
  sense to have on a generic barebox.
* repair compile log level < default log level by using the defaults
* disable unused features (CMD_MENU_MANAGEMENT)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---

Notes:
    Changes in v1 -> v2:
    - work on re-calculated diffs from previous commit
    - describe in more detail what was enabled and disabled

 configs/platform-v7a/barebox-mx6.config      | 40 +++++++++++++-------
 configs/platform-v7a/barebox-mx6.config.diff | 27 -------------
 2 files changed, 27 insertions(+), 40 deletions(-)

diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index 79818a1d8f33..67f9dfc5e18b 100644
--- a/configs/platform-v7a/barebox-mx6.config
+++ b/configs/platform-v7a/barebox-mx6.config
@@ -241,7 +241,9 @@ CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y
 CONFIG_ENV_HANDLING=y
 CONFIG_DEFAULT_ENVIRONMENT=y
 # CONFIG_DEFAULT_COMPRESSION_GZIP is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is not set
 # CONFIG_DEFAULT_COMPRESSION_LZO is not set
+# CONFIG_DEFAULT_COMPRESSION_XZ is not set
 CONFIG_DEFAULT_COMPRESSION_NONE=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
@@ -250,15 +252,17 @@ CONFIG_DEFAULT_ENVIRONMENT_PATH=".ptxdist-defaultenv"
 # CONFIG_BAREBOXENV_TARGET is not set
 # CONFIG_BAREBOXCRC32_TARGET is not set
 CONFIG_POLLER=y
-# CONFIG_STATE is not set
+CONFIG_STATE=y
+# CONFIG_STATE_CRYPTO is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 
 #
 # Debugging
 #
-CONFIG_COMPILE_LOGLEVEL=6
-CONFIG_DEFAULT_LOGLEVEL=7
+CONFIG_COMPILE_LOGLEVEL=7
+CONFIG_DEFAULT_LOGLEVEL=6
 # CONFIG_DEBUG_INFO is not set
 # CONFIG_DEBUG_LL is not set
 CONFIG_DEBUG_IMX_UART_PORT=1
@@ -294,7 +298,7 @@ CONFIG_CMD_MMC_EXTCSD=y
 CONFIG_CMD_BOOT=y
 CONFIG_CMD_BOOTM=y
 # CONFIG_CMD_BOOTU is not set
-# CONFIG_CMD_BOOTZ is not set
+CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GO=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
@@ -317,7 +321,7 @@ CONFIG_CMD_UMOUNT=y
 #
 CONFIG_CMD_NV=y
 CONFIG_CMD_EXPORT=y
-# CONFIG_CMD_DEFAULTENV is not set
+CONFIG_CMD_DEFAULTENV=y
 CONFIG_CMD_GLOBAL=y
 CONFIG_CMD_LOADENV=y
 CONFIG_CMD_PRINTENV=y
@@ -344,7 +348,7 @@ CONFIG_CMD_PWD=y
 CONFIG_CMD_READLINK=y
 CONFIG_CMD_RM=y
 CONFIG_CMD_RMDIR=y
-# CONFIG_CMD_SHA1SUM is not set
+CONFIG_CMD_SHA1SUM=y
 # CONFIG_CMD_SHA224SUM is not set
 # CONFIG_CMD_SHA256SUM is not set
 # CONFIG_CMD_SHA384SUM is not set
@@ -383,7 +387,7 @@ CONFIG_CMD_ECHO_E=y
 CONFIG_CMD_EDIT=y
 # CONFIG_CMD_LOGIN is not set
 CONFIG_CMD_MENU=y
-CONFIG_CMD_MENU_MANAGEMENT=y
+# CONFIG_CMD_MENU_MANAGEMENT is not set
 CONFIG_CMD_MENUTREE=y
 CONFIG_CMD_SPLASH=y
 # CONFIG_CMD_FBTEST is not set
@@ -437,11 +441,12 @@ CONFIG_CMD_OF_PROPERTY=y
 # CONFIG_CMD_OF_FIXUP_STATUS is not set
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
+CONFIG_CMD_STATE=y
 # CONFIG_CMD_DHRYSTONE is not set
 # CONFIG_CMD_SPD_DECODE is not set
 # CONFIG_CMD_SEED is not set
 CONFIG_NET=y
-# CONFIG_NET_NFS is not set
+CONFIG_NET_NFS=y
 # CONFIG_NET_NETCONSOLE is not set
 CONFIG_NET_RESOLV=y
 CONFIG_NET_IFUP=y
@@ -516,15 +521,16 @@ CONFIG_NET_USB_SMSC95XX=y
 # SPI drivers
 #
 CONFIG_SPI=y
-# CONFIG_DRIVER_SPI_GPIO is not set
+CONFIG_DRIVER_SPI_GPIO=y
 CONFIG_DRIVER_SPI_IMX=y
 CONFIG_DRIVER_SPI_IMX_2_3=y
 CONFIG_I2C=y
+CONFIG_I2C_ALGOBIT=y
 
 #
 # I2C Hardware Bus support
 #
-# CONFIG_I2C_GPIO is not set
+CONFIG_I2C_GPIO=y
 CONFIG_I2C_IMX=y
 # CONFIG_I2C_DESIGNWARE is not set
 # CONFIG_I2C_MV64XXX is not set
@@ -684,6 +690,7 @@ CONFIG_CLOCKSOURCE_IMX_GPT=y
 #
 # CONFIG_JTAG is not set
 # CONFIG_SRAM is not set
+CONFIG_STATE_DRV=y
 CONFIG_DEV_MEM=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
@@ -828,10 +835,16 @@ CONFIG_FS_UBIFS_COMPRESSION_LZO=y
 CONFIG_PARAMETER=y
 CONFIG_UNCOMPRESS=y
 CONFIG_ZLIB=y
-# CONFIG_BZLIB is not set
+CONFIG_BZLIB=y
 # CONFIG_LZ4_DECOMPRESS is not set
 # CONFIG_ZSTD_DECOMPRESS is not set
-# CONFIG_XZ_DECOMPRESS is not set
+CONFIG_XZ_DECOMPRESS=y
+CONFIG_XZ_DEC_X86=y
+CONFIG_XZ_DEC_POWERPC=y
+CONFIG_XZ_DEC_IA64=y
+CONFIG_XZ_DEC_ARM=y
+CONFIG_XZ_DEC_ARMTHUMB=y
+CONFIG_XZ_DEC_SPARC=y
 CONFIG_PROCESS_ESCAPE_SEQUENCE=y
 CONFIG_LZO_DECOMPRESS=y
 CONFIG_BCH=y
@@ -864,10 +877,11 @@ CONFIG_CRC32=y
 CONFIG_CRC16=y
 CONFIG_DIGEST=y
 CONFIG_MD5=y
+CONFIG_SHA1=y
 CONFIG_DIGEST_HMAC=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA224_GENERIC is not set
 # CONFIG_DIGEST_SHA256_GENERIC is not set
 # CONFIG_DIGEST_SHA384_GENERIC is not set
diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff
index fe0ead522546..0d6787d3729a 100644
--- a/configs/platform-v7a/barebox-mx6.config.diff
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -19,38 +19,27 @@ CONFIG_BCH=y
 # CONFIG_BMP is not set
 CONFIG_BOOTM_INITRD=y
 CONFIG_BOOTM_OFTREE_UIMAGE=y
-# CONFIG_BZLIB is not set
 # CONFIG_CACHE_L2X0 is not set
 # CONFIG_CLOCKSOURCE_BCM283X is undefined
 CONFIG_CLOCKSOURCE_IMX_GPT=y
-# CONFIG_CMD_BOOTZ is not set
-# CONFIG_CMD_DEFAULTENV is not set
 # CONFIG_CMD_FBTEST is not set
 # CONFIG_CMD_KEYSTORE is not set
-CONFIG_CMD_MENU_MANAGEMENT=y
 CONFIG_CMD_MIITOOL=y
 CONFIG_CMD_MMC_EXTCSD=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_NANDTEST=y
 # CONFIG_CMD_NAND_BITFLIP is not set
-# CONFIG_CMD_SHA1SUM is not set
 CONFIG_CMD_SPLASH=y
-# CONFIG_CMD_STATE is undefined
 CONFIG_CMD_UBI=y
 CONFIG_CMD_UBIFORMAT=y
 CONFIG_COMMON_CLK_OF_PROVIDER=y
-CONFIG_COMPILE_LOGLEVEL=6
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_CONSOLE_ACTIVATE_NONE=y
 CONFIG_CRYPTO_KEYSTORE=y
 CONFIG_DEBUG_IMX_UART_PORT=1
-# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
-# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_DFU=y
-CONFIG_DEFAULT_LOGLEVEL=7
 CONFIG_DIGEST_HMAC=y
 CONFIG_DIGEST_HMAC_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
 CONFIG_DISK_AHCI=y
 CONFIG_DISK_AHCI_IMX=y
 CONFIG_DISK_ATA=y
@@ -59,7 +48,6 @@ CONFIG_DISK_INTF_PLATFORM_IDE=y
 CONFIG_DISK_PATA_IMX=y
 CONFIG_DRIVER_NET_FEC_IMX=y
 CONFIG_DRIVER_SERIAL_IMX=y
-# CONFIG_DRIVER_SPI_GPIO is not set
 CONFIG_DRIVER_SPI_IMX=y
 CONFIG_DRIVER_SPI_IMX_2_3=y
 # CONFIG_DRIVER_VIDEO_BACKLIGHT is not set
@@ -83,8 +71,6 @@ CONFIG_GPIO_IMX=y
 # CONFIG_HABV4 is not set
 # CONFIG_HWRNG is not set
 CONFIG_HW_HAS_PCI=y
-# CONFIG_I2C_ALGOBIT is undefined
-# CONFIG_I2C_GPIO is not set
 CONFIG_I2C_IMX=y
 CONFIG_IMAGE_RENDERER=y
 CONFIG_IMAGE_SPARSE=y
@@ -190,7 +176,6 @@ CONFIG_NAND_IMX_BBM=y
 CONFIG_NAND_INFO=y
 CONFIG_NAND_MXS=y
 CONFIG_NAND_READ_OOB=y
-# CONFIG_NET_NFS is not set
 CONFIG_PARTITION_DISK_EFI=y
 CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y
 CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y
@@ -208,12 +193,7 @@ CONFIG_REGULATOR_FIXED=y
 # CONFIG_REGULATOR_PFUZE is not set
 CONFIG_RESET_IMX_SRC=y
 # CONFIG_SERIAL_AMBA_PL011 is undefined
-# CONFIG_SHA1 is undefined
 # CONFIG_SPI_CADENCE_QUADSPI is not set
-# CONFIG_STATE is not set
-# CONFIG_STATE_BACKWARD_COMPATIBLE is undefined
-# CONFIG_STATE_CRYPTO is undefined
-# CONFIG_STATE_DRV is undefined
 CONFIG_STMP_DEVICE=y
 CONFIG_THUMB2_BAREBOX=y
 CONFIG_UBIFORMAT=y
@@ -232,10 +212,3 @@ CONFIG_VIDEO_VPL=y
 # CONFIG_WATCHDOG_BCM2835 is undefined
 CONFIG_WATCHDOG_IMX=y
 CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_XZ_DEC_ARM is undefined
-# CONFIG_XZ_DEC_ARMTHUMB is undefined
-# CONFIG_XZ_DEC_IA64 is undefined
-# CONFIG_XZ_DEC_POWERPC is undefined
-# CONFIG_XZ_DEC_SPARC is undefined
-# CONFIG_XZ_DEC_X86 is undefined
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH v2 8/9] v7a: barebox-rpi2: slim down config diff
  2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
                   ` (5 preceding siblings ...)
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 7/9] v7a: barebox-mx6: " Roland Hieber
@ 2019-06-05 18:52 ` Roland Hieber
  2019-06-05 21:49   ` Robert Schwebel
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 9/9] v7a: barebox-vexpress: " Roland Hieber
  2019-06-05 21:46 ` [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Robert Schwebel
  8 siblings, 1 reply; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 18:52 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

* don't disable common features unnecessarily: enable the features
  BOOTM_*, BZLIB, DRIVER_SPI_GPIO, HWRNG, I2C, I2C_GPIO, IMD,
  LED_GPIO_OF, LZO_DECOMPRESS, MCI_MMCI, MTD, NET, NET_NFS, NET_RESOLV,
  NET_IFUP, NET_DHCP, NET_USB_*, OF_BAREBOX_DRIVERS, OF_NET, PINCTRL,
  RESET_SOURCE, STATE, USB_EHCI, USB_GADGET_SERIAL, USB_HOST,
  USB_STORAGE, XZ_DECOMPRESS, ZLIB, and the commands cmd, dhcp, host,
  i2c, imd, ip-route-get, led, trigger, memtest, ping, regulator,
  sha1sum, spi, state, tftp, and usb.
  All of those are enabled in the barebox-common config too, and make
  sense to have on a generic barebox.
* repair compile log level < default log level by using the defaults
* disable unneeded features:
  - CMD_LOADB: no one uses kermit these days
  - BAREBOXENV_TARGET: should come from a common barebox-tools package
  - CMD_MENU_MANAGEMENT: not used
  - PASSWORD: not used

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---

Notes:
    Changes in v1 -> v2:
    - work on re-calculated diffs from previous commit
    - describe in more detail what was enabled and disabled

 configs/platform-v7a/barebox-rpi2.config      | 206 ++++++++++++++----
 configs/platform-v7a/barebox-rpi2.config.diff | 139 ------------
 2 files changed, 165 insertions(+), 180 deletions(-)

diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config
index d2e2757323fd..5f0b4b91cf0f 100644
--- a/configs/platform-v7a/barebox-rpi2.config
+++ b/configs/platform-v7a/barebox-rpi2.config
@@ -142,26 +142,22 @@ CONFIG_HUSH_FANCY_PROMPT=y
 CONFIG_CMDLINE_EDITING=y
 CONFIG_AUTO_COMPLETE=y
 CONFIG_MENU=y
-CONFIG_PASSWORD=y
-CONFIG_PASSWORD_DEFAULT=""
-CONFIG_PASSWD_SUM_MD5=y
-# CONFIG_PASSWD_SUM_SHA1 is not set
-# CONFIG_PASSWD_SUM_SHA256 is not set
-# CONFIG_PASSWD_SUM_SHA512 is not set
-# CONFIG_PASSWD_CRYPTO_PBKDF2 is not set
+# CONFIG_PASSWORD is not set
 CONFIG_DYNAMIC_CRC_TABLE=y
 CONFIG_ERRNO_MESSAGES=y
 CONFIG_TIMESTAMP=y
 CONFIG_BOOTM=y
-# CONFIG_BOOTM_SHOW_TYPE is not set
-# CONFIG_BOOTM_VERBOSE is not set
+CONFIG_BOOTM_SHOW_TYPE=y
+CONFIG_BOOTM_VERBOSE=y
 # CONFIG_BOOTM_INITRD is not set
-# CONFIG_BOOTM_OFTREE is not set
+CONFIG_BOOTM_OFTREE=y
+# CONFIG_BOOTM_OFTREE_UIMAGE is not set
 # CONFIG_BOOTM_AIMAGE is not set
 # CONFIG_BOOTM_FITIMAGE is not set
 CONFIG_BLSPEC=y
 CONFIG_FLEXIBLE_BOOTARGS=y
-# CONFIG_IMD is not set
+CONFIG_IMD=y
+# CONFIG_IMD_TARGET is not set
 # CONFIG_KERNEL_INSTALL_TARGET is not set
 CONFIG_CONSOLE_FULL=y
 # CONFIG_CONSOLE_SIMPLE is not set
@@ -178,22 +174,28 @@ CONFIG_PARTITION_DISK_DOS=y
 # CONFIG_PARTITION_DISK_EFI is not set
 CONFIG_ENV_HANDLING=y
 CONFIG_DEFAULT_ENVIRONMENT=y
+# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is not set
+# CONFIG_DEFAULT_COMPRESSION_LZO is not set
+# CONFIG_DEFAULT_COMPRESSION_XZ is not set
 CONFIG_DEFAULT_COMPRESSION_NONE=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
 CONFIG_DEFAULT_ENVIRONMENT_PATH=".ptxdist-defaultenv"
-CONFIG_BAREBOXENV_TARGET=y
+# CONFIG_BAREBOXENV_TARGET is not set
 # CONFIG_BAREBOXCRC32_TARGET is not set
 CONFIG_POLLER=y
-# CONFIG_STATE is not set
+CONFIG_STATE=y
+# CONFIG_STATE_CRYPTO is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
 # CONFIG_BOOTCHOOSER is not set
-# CONFIG_RESET_SOURCE is not set
+CONFIG_RESET_SOURCE=y
 
 #
 # Debugging
 #
-CONFIG_COMPILE_LOGLEVEL=6
-CONFIG_DEFAULT_LOGLEVEL=7
+CONFIG_COMPILE_LOGLEVEL=7
+CONFIG_DEFAULT_LOGLEVEL=6
 # CONFIG_DEBUG_INFO is not set
 # CONFIG_DEBUG_LL is not set
 # CONFIG_DEBUG_INITCALLS is not set
@@ -215,10 +217,10 @@ CONFIG_CMD_DRVINFO=y
 CONFIG_CMD_HELP=y
 CONFIG_LONGHELP=y
 CONFIG_CMD_IOMEM=y
-# CONFIG_CMD_IMD is not set
+CONFIG_CMD_IMD=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_ARM_MMUINFO=y
-# CONFIG_CMD_REGULATOR is not set
+CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_VERSION=y
 # CONFIG_CMD_MMC_EXTCSD is not set
 
@@ -230,7 +232,7 @@ CONFIG_CMD_BOOTM=y
 # CONFIG_CMD_BOOTU is not set
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GO=y
-CONFIG_CMD_LOADB=y
+# CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_LOADY is not set
 CONFIG_CMD_RESET=y
@@ -276,7 +278,7 @@ CONFIG_CMD_PWD=y
 CONFIG_CMD_READLINK=y
 CONFIG_CMD_RM=y
 CONFIG_CMD_RMDIR=y
-# CONFIG_CMD_SHA1SUM is not set
+CONFIG_CMD_SHA1SUM=y
 # CONFIG_CMD_SHA224SUM is not set
 # CONFIG_CMD_SHA256SUM is not set
 # CONFIG_CMD_SHA384SUM is not set
@@ -295,6 +297,17 @@ CONFIG_CMD_SLEEP=y
 CONFIG_CMD_TEST=y
 CONFIG_CMD_TRUE=y
 
+#
+# Network
+#
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_HOST=y
+CONFIG_NET_CMD_IFUP=y
+# CONFIG_CMD_MIITOOL is not set
+CONFIG_CMD_PING=y
+CONFIG_CMD_TFTP=y
+CONFIG_CMD_IP_ROUTE_GET=y
+
 #
 # Console and Framebuffer interaction
 #
@@ -304,7 +317,7 @@ CONFIG_CMD_ECHO_E=y
 CONFIG_CMD_EDIT=y
 # CONFIG_CMD_LOGIN is not set
 CONFIG_CMD_MENU=y
-CONFIG_CMD_MENU_MANAGEMENT=y
+# CONFIG_CMD_MENU_MANAGEMENT is not set
 CONFIG_CMD_MENUTREE=y
 CONFIG_CMD_READLINE=y
 CONFIG_CMD_TIMEOUT=y
@@ -318,7 +331,7 @@ CONFIG_CMD_MD=y
 CONFIG_CMD_MEMCMP=y
 CONFIG_CMD_MEMCPY=y
 CONFIG_CMD_MEMSET=y
-# CONFIG_CMD_MEMTEST is not set
+CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MM=y
 CONFIG_CMD_MW=y
 
@@ -329,10 +342,12 @@ CONFIG_CMD_CLK=y
 CONFIG_CMD_DETECT=y
 CONFIG_CMD_FLASH=y
 CONFIG_CMD_GPIO=y
-# CONFIG_CMD_LED is not set
+CONFIG_CMD_I2C=y
+CONFIG_CMD_LED=y
 # CONFIG_CMD_POWEROFF is not set
-# CONFIG_CMD_SPI is not set
-# CONFIG_CMD_LED_TRIGGER is not set
+CONFIG_CMD_SPI=y
+CONFIG_CMD_LED_TRIGGER=y
+CONFIG_CMD_USB=y
 CONFIG_CMD_USBGADGET=y
 CONFIG_CMD_WD=y
 CONFIG_CMD_WD_DEFAULT_TIMOUT=0
@@ -350,10 +365,17 @@ CONFIG_CMD_OF_PROPERTY=y
 # CONFIG_CMD_OF_FIXUP_STATUS is not set
 CONFIG_CMD_OFTREE=y
 CONFIG_CMD_TIME=y
+CONFIG_CMD_STATE=y
 # CONFIG_CMD_DHRYSTONE is not set
 # CONFIG_CMD_SPD_DECODE is not set
 # CONFIG_CMD_SEED is not set
-# CONFIG_NET is not set
+CONFIG_NET=y
+CONFIG_NET_NFS=y
+# CONFIG_NET_NETCONSOLE is not set
+CONFIG_NET_RESOLV=y
+CONFIG_NET_IFUP=y
+CONFIG_NET_DHCP=y
+# CONFIG_NET_SNTP is not set
 
 #
 # Drivers
@@ -362,8 +384,10 @@ CONFIG_OFTREE=y
 CONFIG_OFTREE_MEM_GENERIC=y
 CONFIG_DTC=y
 CONFIG_OFDEVICE=y
+CONFIG_OF_NET=y
 CONFIG_OF_GPIO=y
-# CONFIG_OF_BAREBOX_DRIVERS is not set
+CONFIG_OF_BAREBOX_DRIVERS=y
+# CONFIG_OF_BAREBOX_ENV_IN_FS is not set
 # CONFIG_AIODEV is not set
 CONFIG_ARM_AMBA=y
 
@@ -375,14 +399,84 @@ CONFIG_ARM_AMBA=y
 CONFIG_SERIAL_AMBA_PL011=y
 CONFIG_DRIVER_SERIAL_NS16550=y
 # CONFIG_DRIVER_SERIAL_CADENCE is not set
+CONFIG_PHYLIB=y
+
+#
+# Network drivers
+#
+# CONFIG_DRIVER_NET_ARC_EMAC is not set
+# CONFIG_DRIVER_NET_CALXEDA_XGMAC is not set
+# CONFIG_DRIVER_NET_DESIGNWARE is not set
+# CONFIG_DRIVER_NET_ENC28J60 is not set
+# CONFIG_DRIVER_NET_KS8851_MLL is not set
+# CONFIG_DRIVER_NET_MICREL is not set
+# CONFIG_DRIVER_NET_SMC911X is not set
+# CONFIG_DRIVER_NET_SMC91111 is not set
+
+#
+# phylib
+#
+
+#
+# MII PHY device drivers
+#
+# CONFIG_AR8327N_PHY is not set
+# CONFIG_AT803X_PHY is not set
+# CONFIG_DAVICOM_PHY is not set
+# CONFIG_DP83867_PHY is not set
+# CONFIG_LXT_PHY is not set
+# CONFIG_MARVELL_PHY is not set
+# CONFIG_MICREL_PHY is not set
+# CONFIG_NATIONAL_PHY is not set
+# CONFIG_SMSC_PHY is not set
+# CONFIG_NET_DSA_MV88E6XXX is not set
+
+#
+# MII bus device drivers
+#
+# CONFIG_MDIO_BITBANG is not set
+# CONFIG_MDIO_BUS_MUX_GPIO is not set
+CONFIG_NET_USB=y
+CONFIG_NET_USB_ASIX=y
+CONFIG_NET_USB_SMSC95XX=y
 
 #
 # SPI drivers
 #
 CONFIG_SPI=y
-# CONFIG_DRIVER_SPI_GPIO is not set
-# CONFIG_I2C is not set
-# CONFIG_MTD is not set
+CONFIG_DRIVER_SPI_GPIO=y
+CONFIG_I2C=y
+CONFIG_I2C_ALGOBIT=y
+
+#
+# I2C Hardware Bus support
+#
+CONFIG_I2C_GPIO=y
+# CONFIG_I2C_DESIGNWARE is not set
+# CONFIG_I2C_MV64XXX is not set
+# CONFIG_I2C_MUX is not set
+CONFIG_MTD=y
+CONFIG_MTD_WRITE=y
+CONFIG_MTD_OOB_DEVICE=y
+# CONFIG_MTD_RAW_DEVICE is not set
+# CONFIG_MTD_CONCAT is not set
+
+#
+# MTD debug options
+#
+# CONFIG_MTD_PEB_DEBUG is not set
+
+#
+# Self contained MTD devices
+#
+# CONFIG_MTD_DATAFLASH is not set
+# CONFIG_MTD_M25P80 is not set
+# CONFIG_MTD_DOCG3 is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_DRIVER_CFI is not set
+# CONFIG_NAND is not set
+# CONFIG_MTD_SPI_NOR is not set
+# CONFIG_MTD_UBI is not set
 CONFIG_DISK=y
 CONFIG_DISK_WRITE=y
 
@@ -397,7 +491,11 @@ CONFIG_DISK_WRITE=y
 #
 # CONFIG_DISK_INTF_PLATFORM_IDE is not set
 CONFIG_USB=y
-# CONFIG_USB_HOST is not set
+CONFIG_USB_HOST=y
+CONFIG_USB_EHCI=y
+# CONFIG_USB_XHCI is not set
+# CONFIG_USB_ULPI is not set
+CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_AUTOSTART=y
 
@@ -405,7 +503,7 @@ CONFIG_USB_GADGET_AUTOSTART=y
 # USB Gadget drivers
 #
 # CONFIG_USB_GADGET_DFU is not set
-# CONFIG_USB_GADGET_SERIAL is not set
+CONFIG_USB_GADGET_SERIAL=y
 # CONFIG_USB_GADGET_FASTBOOT is not set
 # CONFIG_USB_GADGET_FASTBOOT_SPARSE is not set
 # CONFIG_USB_MUSB is not set
@@ -425,7 +523,7 @@ CONFIG_MCI_MMC_BOOT_PARTITIONS=y
 #
 # CONFIG_MCI_DW is not set
 CONFIG_MCI_BCM283X=y
-# CONFIG_MCI_MMCI is not set
+CONFIG_MCI_MMCI=y
 # CONFIG_MCI_SPI is not set
 CONFIG_HAVE_CLK=y
 CONFIG_CLKDEV_LOOKUP=y
@@ -441,37 +539,51 @@ CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
 #
 # MFD
 #
+# CONFIG_MFD_ACT8846 is not set
+# CONFIG_MFD_DA9053 is not set
+# CONFIG_MFD_DA9063 is not set
+# CONFIG_MFD_LP3972 is not set
 # CONFIG_MFD_MC13XXX is not set
+# CONFIG_MFD_MC34704 is not set
+# CONFIG_MFD_MC9SDZ60 is not set
+# CONFIG_MFD_STMPE is not set
 # CONFIG_MFD_SYSCON is not set
+# CONFIG_MFD_TWL4030 is not set
+# CONFIG_MFD_TWL6030 is not set
 
 #
 # Misc devices
 #
 # CONFIG_JTAG is not set
 # CONFIG_SRAM is not set
+CONFIG_STATE_DRV=y
 CONFIG_DEV_MEM=y
 CONFIG_LED=y
 CONFIG_LED_GPIO=y
-# CONFIG_LED_GPIO_OF is not set
+CONFIG_LED_GPIO_OF=y
 # CONFIG_LED_GPIO_RGB is not set
 # CONFIG_LED_GPIO_BICOLOR is not set
 CONFIG_LED_TRIGGERS=y
+# CONFIG_LED_PCA955X is not set
 
 #
 # EEPROM support
 #
 # CONFIG_EEPROM_AT25 is not set
+# CONFIG_EEPROM_AT24 is not set
 
 #
 # Input device support
 #
 # CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYBOARD_QT1070 is not set
+# CONFIG_KEYBOARD_USB is not set
 CONFIG_WATCHDOG=y
 # CONFIG_WATCHDOG_POLLER is not set
 # CONFIG_WATCHDOG_DW is not set
 CONFIG_WATCHDOG_BCM2835=y
 # CONFIG_PWM is not set
-# CONFIG_HWRNG is not set
+CONFIG_HWRNG=y
 
 #
 # DMA support
@@ -484,10 +596,13 @@ CONFIG_GPIOLIB=y
 # CONFIG_GPIO_74164 is not set
 CONFIG_GPIO_BCM283X=y
 # CONFIG_GPIO_GENERIC_PLATFORM is not set
+# CONFIG_GPIO_PCA953X is not set
 # CONFIG_GPIO_PL061 is not set
 # CONFIG_GPIO_DESIGNWARE is not set
+# CONFIG_GPIO_SX150X is not set
 # CONFIG_W1 is not set
-# CONFIG_PINCTRL is not set
+CONFIG_PINCTRL=y
+# CONFIG_PINCTRL_SINGLE is not set
 CONFIG_NVMEM=y
 # CONFIG_NVMEM_SNVS_LPGPR is not set
 # CONFIG_EEPROM_93XX46 is not set
@@ -534,6 +649,8 @@ CONFIG_FS_AUTOMOUNT=y
 CONFIG_FS_EXT4=y
 CONFIG_FS_RAMFS=y
 CONFIG_FS_DEVFS=y
+CONFIG_FS_TFTP=y
+CONFIG_FS_NFS=y
 CONFIG_FS_FAT=y
 CONFIG_FS_FAT_WRITE=y
 CONFIG_FS_FAT_LFN=y
@@ -567,13 +684,19 @@ CONFIG_FS_FAT_LFN=y
 #
 CONFIG_PARAMETER=y
 CONFIG_UNCOMPRESS=y
-# CONFIG_ZLIB is not set
-# CONFIG_BZLIB is not set
+CONFIG_ZLIB=y
+CONFIG_BZLIB=y
 # CONFIG_LZ4_DECOMPRESS is not set
 # CONFIG_ZSTD_DECOMPRESS is not set
-# CONFIG_XZ_DECOMPRESS is not set
+CONFIG_XZ_DECOMPRESS=y
+CONFIG_XZ_DEC_X86=y
+CONFIG_XZ_DEC_POWERPC=y
+CONFIG_XZ_DEC_IA64=y
+CONFIG_XZ_DEC_ARM=y
+CONFIG_XZ_DEC_ARMTHUMB=y
+CONFIG_XZ_DEC_SPARC=y
 CONFIG_PROCESS_ESCAPE_SEQUENCE=y
-# CONFIG_LZO_DECOMPRESS is not set
+CONFIG_LZO_DECOMPRESS=y
 CONFIG_FNMATCH=y
 CONFIG_QSORT=y
 # CONFIG_RATP is not set
@@ -593,9 +716,10 @@ CONFIG_CRC32=y
 CONFIG_CRC16=y
 CONFIG_DIGEST=y
 CONFIG_MD5=y
+CONFIG_SHA1=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA224_GENERIC is not set
 # CONFIG_DIGEST_SHA256_GENERIC is not set
 # CONFIG_DIGEST_SHA384_GENERIC is not set
diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
index e3c9bbdf1873..528e15ce7a67 100644
--- a/configs/platform-v7a/barebox-rpi2.config.diff
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -1,152 +1,13 @@
 c20722800c30a40b29690bb8e12f2781
-# CONFIG_AR8327N_PHY is undefined
-# CONFIG_AT803X_PHY is undefined
-CONFIG_BAREBOXENV_TARGET=y
-# CONFIG_BOOTM_OFTREE is not set
-# CONFIG_BOOTM_OFTREE_UIMAGE is undefined
-# CONFIG_BOOTM_SHOW_TYPE is not set
-# CONFIG_BOOTM_VERBOSE is not set
-# CONFIG_BZLIB is not set
-# CONFIG_CMD_DHCP is undefined
-# CONFIG_CMD_HOST is undefined
-# CONFIG_CMD_I2C is undefined
-# CONFIG_CMD_IMD is not set
-# CONFIG_CMD_IP_ROUTE_GET is undefined
-# CONFIG_CMD_LED is not set
-# CONFIG_CMD_LED_TRIGGER is not set
-CONFIG_CMD_LOADB=y
-# CONFIG_CMD_MEMTEST is not set
-CONFIG_CMD_MENU_MANAGEMENT=y
-# CONFIG_CMD_MIITOOL is undefined
-# CONFIG_CMD_PING is undefined
-# CONFIG_CMD_REGULATOR is not set
-# CONFIG_CMD_SHA1SUM is not set
-# CONFIG_CMD_SPI is not set
-# CONFIG_CMD_STATE is undefined
-# CONFIG_CMD_TFTP is undefined
-# CONFIG_CMD_USB is undefined
-CONFIG_COMPILE_LOGLEVEL=6
-# CONFIG_DAVICOM_PHY is undefined
-# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
-# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
-# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
-# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
-CONFIG_DEFAULT_LOGLEVEL=7
-# CONFIG_DIGEST_SHA1_GENERIC is not set
-# CONFIG_DP83867_PHY is undefined
-# CONFIG_DRIVER_CFI is undefined
-# CONFIG_DRIVER_NET_ARC_EMAC is undefined
-# CONFIG_DRIVER_NET_CALXEDA_XGMAC is undefined
-# CONFIG_DRIVER_NET_DESIGNWARE is undefined
-# CONFIG_DRIVER_NET_ENC28J60 is undefined
-# CONFIG_DRIVER_NET_KS8851_MLL is undefined
-# CONFIG_DRIVER_NET_MICREL is undefined
-# CONFIG_DRIVER_NET_SMC91111 is undefined
-# CONFIG_DRIVER_NET_SMC911X is undefined
 CONFIG_DRIVER_SERIAL_NS16550=y
-# CONFIG_DRIVER_SPI_GPIO is not set
 # CONFIG_EEPROM_93XX46 is not set
-# CONFIG_EEPROM_AT24 is undefined
-# CONFIG_FS_NFS is undefined
-# CONFIG_FS_TFTP is undefined
 CONFIG_GPIO_BCM283X=y
-# CONFIG_GPIO_PCA953X is undefined
-# CONFIG_GPIO_SX150X is undefined
-# CONFIG_HWRNG is not set
-# CONFIG_I2C is not set
-# CONFIG_I2C_ALGOBIT is undefined
-# CONFIG_I2C_DESIGNWARE is undefined
-# CONFIG_I2C_GPIO is undefined
-# CONFIG_I2C_MUX is undefined
-# CONFIG_I2C_MV64XXX is undefined
-# CONFIG_IMD is not set
-# CONFIG_IMD_TARGET is undefined
-# CONFIG_KEYBOARD_QT1070 is undefined
-# CONFIG_KEYBOARD_USB is undefined
-# CONFIG_LED_GPIO_OF is not set
-# CONFIG_LED_PCA955X is undefined
-# CONFIG_LXT_PHY is undefined
-# CONFIG_LZO_DECOMPRESS is not set
 CONFIG_MACH_RPI2=y
 CONFIG_MALLOC_SIZE=0x400000
-# CONFIG_MARVELL_PHY is undefined
 CONFIG_MCI_BCM283X=y
-# CONFIG_MCI_MMCI is not set
 CONFIG_MCI_MMC_BOOT_PARTITIONS=y
-# CONFIG_MDIO_BITBANG is undefined
-# CONFIG_MDIO_BUS_MUX_GPIO is undefined
-# CONFIG_MFD_ACT8846 is undefined
-# CONFIG_MFD_DA9053 is undefined
-# CONFIG_MFD_DA9063 is undefined
-# CONFIG_MFD_LP3972 is undefined
-# CONFIG_MFD_MC34704 is undefined
-# CONFIG_MFD_MC9SDZ60 is undefined
-# CONFIG_MFD_STMPE is undefined
-# CONFIG_MFD_TWL4030 is undefined
-# CONFIG_MFD_TWL6030 is undefined
-# CONFIG_MICREL_PHY is undefined
-# CONFIG_MTD is not set
-# CONFIG_MTD_CONCAT is undefined
-# CONFIG_MTD_DATAFLASH is undefined
-# CONFIG_MTD_DOCG3 is undefined
-# CONFIG_MTD_M25P80 is undefined
-# CONFIG_MTD_MTDRAM is undefined
-# CONFIG_MTD_OOB_DEVICE is undefined
-# CONFIG_MTD_PEB_DEBUG is undefined
-# CONFIG_MTD_RAW_DEVICE is undefined
-# CONFIG_MTD_SPI_NOR is undefined
-# CONFIG_MTD_UBI is undefined
-# CONFIG_MTD_WRITE is undefined
-# CONFIG_NAND is undefined
-# CONFIG_NATIONAL_PHY is undefined
-# CONFIG_NET is not set
-# CONFIG_NET_CMD_IFUP is undefined
-# CONFIG_NET_DHCP is undefined
-# CONFIG_NET_DSA_MV88E6XXX is undefined
-# CONFIG_NET_IFUP is undefined
-# CONFIG_NET_NETCONSOLE is undefined
-# CONFIG_NET_NFS is undefined
-# CONFIG_NET_RESOLV is undefined
-# CONFIG_NET_SNTP is undefined
-# CONFIG_NET_USB is undefined
-# CONFIG_NET_USB_ASIX is undefined
-# CONFIG_NET_USB_SMSC95XX is undefined
 CONFIG_NVMEM=y
 # CONFIG_NVMEM_SNVS_LPGPR is not set
-# CONFIG_OF_BAREBOX_DRIVERS is not set
-# CONFIG_OF_BAREBOX_ENV_IN_FS is undefined
-# CONFIG_OF_NET is undefined
-# CONFIG_PASSWD_CRYPTO_PBKDF2 is not set
-CONFIG_PASSWD_SUM_MD5=y
-# CONFIG_PASSWD_SUM_SHA1 is not set
-# CONFIG_PASSWD_SUM_SHA256 is not set
-# CONFIG_PASSWD_SUM_SHA512 is not set
-CONFIG_PASSWORD=y
-CONFIG_PASSWORD_DEFAULT=""
-# CONFIG_PHYLIB is undefined
-# CONFIG_PINCTRL is not set
-# CONFIG_PINCTRL_SINGLE is undefined
 CONFIG_PROMPT="R-Pi> "
-# CONFIG_RESET_SOURCE is not set
 CONFIG_SERIAL_AMBA_PL011=y
-# CONFIG_SHA1 is undefined
-# CONFIG_SMSC_PHY is undefined
-# CONFIG_STATE is not set
-# CONFIG_STATE_BACKWARD_COMPATIBLE is undefined
-# CONFIG_STATE_CRYPTO is undefined
-# CONFIG_STATE_DRV is undefined
-# CONFIG_USB_EHCI is undefined
-# CONFIG_USB_GADGET_SERIAL is not set
-# CONFIG_USB_HOST is not set
-# CONFIG_USB_STORAGE is undefined
-# CONFIG_USB_ULPI is undefined
-# CONFIG_USB_XHCI is undefined
 CONFIG_WATCHDOG_BCM2835=y
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_XZ_DEC_ARM is undefined
-# CONFIG_XZ_DEC_ARMTHUMB is undefined
-# CONFIG_XZ_DEC_IA64 is undefined
-# CONFIG_XZ_DEC_POWERPC is undefined
-# CONFIG_XZ_DEC_SPARC is undefined
-# CONFIG_XZ_DEC_X86 is undefined
-# CONFIG_ZLIB is not set
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH v2 9/9] v7a: barebox-vexpress: slim down config diff
  2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
                   ` (6 preceding siblings ...)
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 8/9] v7a: barebox-rpi2: " Roland Hieber
@ 2019-06-05 18:52 ` Roland Hieber
  2019-06-05 21:49   ` Robert Schwebel
  2019-06-05 21:46 ` [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Robert Schwebel
  8 siblings, 1 reply; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 18:52 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

* don't disable common features unnecessarily: enable the features
  BZLIB, FS_FAT_LFN, FS_FAT_WRITE, FS_NFS, HWRNG, I2C, LED,
  LED_TRIGGERS, LZO_DECOMPRESS, MENU, NET_USB*, PINCTRL, REGULATOR, SPI,
  USB, USBGADGET_START, USB_EHCI, USB_GADGET, USB_GADGET_AUTOSTART,
  USB_GADGET_SERIAL, USB_HOST, USB_STORAGE WATCHDOG, XZ_DECOMPRESS,
  ZLIB, and the commands mmuinfo, bootz, clk, cmp, i2c, imd, led,
  trigger, let, ln, memtest, menu, menutree, mm, msleep, of_node,
  of_property, readf, regulator, sha1sum, spi, state, time, usb,
  usbgadget, and wd.
  All of those are enabled in the barebox-common config too, and make
  sense to have on a generic barebox.
* repair compile log level < default log level by using the defaults
* disable unneeded features:
  - CMD_LOADB: no one uses kermit these days

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---

Notes:
    Changes in v1 -> v2:
    - work on re-calculated diffs from previous commit
    - describe in more detail what was enabled and disabled

 configs/platform-v7a/barebox-vexpress.config  | 148 +++++++++++++-----
 .../platform-v7a/barebox-vexpress.config.diff | 105 -------------
 2 files changed, 113 insertions(+), 140 deletions(-)

diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config
index b81adff946e2..6a01bba6a962 100644
--- a/configs/platform-v7a/barebox-vexpress.config
+++ b/configs/platform-v7a/barebox-vexpress.config
@@ -75,6 +75,9 @@ CONFIG_UIMAGE=y
 CONFIG_LOGBUF=y
 CONFIG_STDDEV=y
 CONFIG_BAREBOX_UPDATE=y
+CONFIG_MENUTREE=y
+CONFIG_FILE_LIST=y
+CONFIG_USBGADGET_START=y
 CONFIG_BOOT=y
 
 #
@@ -128,7 +131,7 @@ CONFIG_PROMPT_HUSH_PS2="> "
 CONFIG_HUSH_FANCY_PROMPT=y
 CONFIG_CMDLINE_EDITING=y
 CONFIG_AUTO_COMPLETE=y
-# CONFIG_MENU is not set
+CONFIG_MENU=y
 # CONFIG_PASSWORD is not set
 CONFIG_DYNAMIC_CRC_TABLE=y
 CONFIG_ERRNO_MESSAGES=y
@@ -161,20 +164,27 @@ CONFIG_PARTITION_DISK_DOS=y
 # CONFIG_PARTITION_DISK_EFI is not set
 CONFIG_ENV_HANDLING=y
 CONFIG_DEFAULT_ENVIRONMENT=y
+# CONFIG_DEFAULT_COMPRESSION_GZIP is not set
+# CONFIG_DEFAULT_COMPRESSION_BZIP2 is not set
+# CONFIG_DEFAULT_COMPRESSION_LZO is not set
+# CONFIG_DEFAULT_COMPRESSION_XZ is not set
 CONFIG_DEFAULT_COMPRESSION_NONE=y
 CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
 CONFIG_DEFAULT_ENVIRONMENT_PATH=".ptxdist-defaultenv"
 # CONFIG_BAREBOXENV_TARGET is not set
 # CONFIG_BAREBOXCRC32_TARGET is not set
 CONFIG_POLLER=y
-# CONFIG_STATE is not set
+CONFIG_STATE=y
+# CONFIG_STATE_CRYPTO is not set
+# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
 # CONFIG_BOOTCHOOSER is not set
 CONFIG_RESET_SOURCE=y
 
 #
 # Debugging
 #
-CONFIG_COMPILE_LOGLEVEL=6
+CONFIG_COMPILE_LOGLEVEL=7
 CONFIG_DEFAULT_LOGLEVEL=6
 # CONFIG_DEBUG_INFO is not set
 # CONFIG_DEBUG_LL is not set
@@ -197,9 +207,10 @@ CONFIG_CMD_DRVINFO=y
 CONFIG_CMD_HELP=y
 CONFIG_LONGHELP=y
 CONFIG_CMD_IOMEM=y
-# CONFIG_CMD_IMD is not set
+CONFIG_CMD_IMD=y
 CONFIG_CMD_MEMINFO=y
-# CONFIG_CMD_ARM_MMUINFO is not set
+CONFIG_CMD_ARM_MMUINFO=y
+CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_VERSION=y
 # CONFIG_CMD_MMC_EXTCSD is not set
 
@@ -209,9 +220,9 @@ CONFIG_CMD_VERSION=y
 CONFIG_CMD_BOOT=y
 CONFIG_CMD_BOOTM=y
 # CONFIG_CMD_BOOTU is not set
-# CONFIG_CMD_BOOTZ is not set
+CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_GO=y
-CONFIG_CMD_LOADB=y
+# CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_LOADY is not set
 CONFIG_CMD_RESET=y
@@ -249,7 +260,7 @@ CONFIG_CMD_CP=y
 CONFIG_CMD_DIGEST=y
 CONFIG_CMD_DIRNAME=y
 CONFIG_CMD_FILETYPE=y
-# CONFIG_CMD_LN is not set
+CONFIG_CMD_LN=y
 CONFIG_CMD_LS=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_MKDIR=y
@@ -257,7 +268,7 @@ CONFIG_CMD_PWD=y
 CONFIG_CMD_READLINK=y
 CONFIG_CMD_RM=y
 CONFIG_CMD_RMDIR=y
-# CONFIG_CMD_SHA1SUM is not set
+CONFIG_CMD_SHA1SUM=y
 # CONFIG_CMD_SHA224SUM is not set
 # CONFIG_CMD_SHA256SUM is not set
 # CONFIG_CMD_SHA384SUM is not set
@@ -269,9 +280,9 @@ CONFIG_CMD_UNCOMPRESS=y
 #
 CONFIG_CMD_FALSE=y
 CONFIG_CMD_GETOPT=y
-# CONFIG_CMD_LET is not set
-# CONFIG_CMD_MSLEEP is not set
-# CONFIG_CMD_READF is not set
+CONFIG_CMD_LET=y
+CONFIG_CMD_MSLEEP=y
+CONFIG_CMD_READF=y
 CONFIG_CMD_SLEEP=y
 CONFIG_CMD_TEST=y
 CONFIG_CMD_TRUE=y
@@ -295,6 +306,9 @@ CONFIG_CMD_ECHO=y
 CONFIG_CMD_ECHO_E=y
 CONFIG_CMD_EDIT=y
 # CONFIG_CMD_LOGIN is not set
+CONFIG_CMD_MENU=y
+# CONFIG_CMD_MENU_MANAGEMENT is not set
+CONFIG_CMD_MENUTREE=y
 CONFIG_CMD_READLINE=y
 CONFIG_CMD_TIMEOUT=y
 
@@ -307,17 +321,25 @@ CONFIG_CMD_MD=y
 CONFIG_CMD_MEMCMP=y
 CONFIG_CMD_MEMCPY=y
 CONFIG_CMD_MEMSET=y
-# CONFIG_CMD_MEMTEST is not set
-# CONFIG_CMD_MM is not set
+CONFIG_CMD_MEMTEST=y
+CONFIG_CMD_MM=y
 CONFIG_CMD_MW=y
 
 #
 # Hardware manipulation
 #
-# CONFIG_CMD_CLK is not set
+CONFIG_CMD_CLK=y
 CONFIG_CMD_DETECT=y
 CONFIG_CMD_FLASH=y
+CONFIG_CMD_I2C=y
+CONFIG_CMD_LED=y
 # CONFIG_CMD_POWEROFF is not set
+CONFIG_CMD_SPI=y
+CONFIG_CMD_LED_TRIGGER=y
+CONFIG_CMD_USB=y
+CONFIG_CMD_USBGADGET=y
+CONFIG_CMD_WD=y
+CONFIG_CMD_WD_DEFAULT_TIMOUT=0
 
 #
 # Miscellaneous
@@ -326,12 +348,13 @@ CONFIG_CMD_FLASH=y
 CONFIG_CMD_BAREBOX_UPDATE=y
 # CONFIG_CMD_FIRMWARELOAD is not set
 CONFIG_CMD_OF_DUMP=y
-# CONFIG_CMD_OF_NODE is not set
-# CONFIG_CMD_OF_PROPERTY is not set
+CONFIG_CMD_OF_NODE=y
+CONFIG_CMD_OF_PROPERTY=y
 # CONFIG_CMD_OF_DISPLAY_TIMINGS is not set
 # CONFIG_CMD_OF_FIXUP_STATUS is not set
 CONFIG_CMD_OFTREE=y
-# CONFIG_CMD_TIME is not set
+CONFIG_CMD_TIME=y
+CONFIG_CMD_STATE=y
 # CONFIG_CMD_DHRYSTONE is not set
 # CONFIG_CMD_SPD_DECODE is not set
 # CONFIG_CMD_SEED is not set
@@ -372,7 +395,9 @@ CONFIG_PHYLIB=y
 # CONFIG_DRIVER_NET_ARC_EMAC is not set
 # CONFIG_DRIVER_NET_CALXEDA_XGMAC is not set
 # CONFIG_DRIVER_NET_DESIGNWARE is not set
+# CONFIG_DRIVER_NET_ENC28J60 is not set
 # CONFIG_DRIVER_NET_KS8851_MLL is not set
+# CONFIG_DRIVER_NET_MICREL is not set
 CONFIG_DRIVER_NET_SMC911X=y
 # CONFIG_DRIVER_NET_SMC91111 is not set
 
@@ -398,12 +423,22 @@ CONFIG_DRIVER_NET_SMC911X=y
 # MII bus device drivers
 #
 # CONFIG_MDIO_BITBANG is not set
+CONFIG_NET_USB=y
+CONFIG_NET_USB_ASIX=y
+CONFIG_NET_USB_SMSC95XX=y
 
 #
 # SPI drivers
 #
-# CONFIG_SPI is not set
-# CONFIG_I2C is not set
+CONFIG_SPI=y
+CONFIG_I2C=y
+
+#
+# I2C Hardware Bus support
+#
+# CONFIG_I2C_DESIGNWARE is not set
+# CONFIG_I2C_MV64XXX is not set
+# CONFIG_I2C_MUX is not set
 CONFIG_MTD=y
 CONFIG_MTD_WRITE=y
 CONFIG_MTD_OOB_DEVICE=y
@@ -418,6 +453,8 @@ CONFIG_MTD_CONCAT=y
 #
 # Self contained MTD devices
 #
+# CONFIG_MTD_DATAFLASH is not set
+# CONFIG_MTD_M25P80 is not set
 # CONFIG_MTD_DOCG3 is not set
 # CONFIG_MTD_MTDRAM is not set
 CONFIG_DRIVER_CFI=y
@@ -444,8 +481,22 @@ CONFIG_DISK_WRITE=y
 # interface types
 #
 # CONFIG_DISK_INTF_PLATFORM_IDE is not set
-# CONFIG_USB_HOST is not set
-# CONFIG_USB_GADGET is not set
+CONFIG_USB=y
+CONFIG_USB_HOST=y
+CONFIG_USB_EHCI=y
+# CONFIG_USB_XHCI is not set
+# CONFIG_USB_ULPI is not set
+CONFIG_USB_STORAGE=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_AUTOSTART=y
+
+#
+# USB Gadget drivers
+#
+# CONFIG_USB_GADGET_DFU is not set
+CONFIG_USB_GADGET_SERIAL=y
+# CONFIG_USB_GADGET_FASTBOOT is not set
+# CONFIG_USB_GADGET_FASTBOOT_SPARSE is not set
 # CONFIG_USB_MUSB is not set
 # CONFIG_VIDEO is not set
 CONFIG_MCI=y
@@ -463,6 +514,7 @@ CONFIG_MCI_WRITE=y
 #
 # CONFIG_MCI_DW is not set
 CONFIG_MCI_MMCI=y
+# CONFIG_MCI_SPI is not set
 CONFIG_HAVE_CLK=y
 CONFIG_CLKDEV_LOOKUP=y
 CONFIG_COMMON_CLK=y
@@ -478,37 +530,56 @@ CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
 #
 # MFD
 #
+# CONFIG_MFD_ACT8846 is not set
+# CONFIG_MFD_DA9053 is not set
+# CONFIG_MFD_DA9063 is not set
+# CONFIG_MFD_LP3972 is not set
+# CONFIG_MFD_MC13XXX is not set
+# CONFIG_MFD_MC34704 is not set
+# CONFIG_MFD_MC9SDZ60 is not set
+# CONFIG_MFD_STMPE is not set
 # CONFIG_MFD_SYSCON is not set
+# CONFIG_MFD_TWL4030 is not set
+# CONFIG_MFD_TWL6030 is not set
 
 #
 # Misc devices
 #
 CONFIG_SRAM=y
+CONFIG_STATE_DRV=y
 CONFIG_DEV_MEM=y
-# CONFIG_LED is not set
+CONFIG_LED=y
+CONFIG_LED_TRIGGERS=y
+# CONFIG_LED_PCA955X is not set
 
 #
 # EEPROM support
 #
+# CONFIG_EEPROM_AT25 is not set
+# CONFIG_EEPROM_AT24 is not set
 
 #
 # Input device support
 #
-# CONFIG_WATCHDOG is not set
+# CONFIG_KEYBOARD_USB is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_POLLER is not set
+# CONFIG_WATCHDOG_DW is not set
 # CONFIG_PWM is not set
-# CONFIG_HWRNG is not set
+CONFIG_HWRNG=y
 
 #
 # DMA support
 #
 # CONFIG_W1 is not set
-# CONFIG_PINCTRL is not set
+CONFIG_PINCTRL=y
+# CONFIG_PINCTRL_SINGLE is not set
 # CONFIG_NVMEM is not set
 
 #
 # Bus devices
 #
-# CONFIG_REGULATOR is not set
+CONFIG_REGULATOR=y
 # CONFIG_RESET_CONTROLLER is not set
 # CONFIG_RTC_CLASS is not set
 
@@ -545,10 +616,10 @@ CONFIG_FS_EXT4=y
 CONFIG_FS_RAMFS=y
 CONFIG_FS_DEVFS=y
 CONFIG_FS_TFTP=y
-# CONFIG_FS_NFS is not set
+CONFIG_FS_NFS=y
 CONFIG_FS_FAT=y
-# CONFIG_FS_FAT_WRITE is not set
-# CONFIG_FS_FAT_LFN is not set
+CONFIG_FS_FAT_WRITE=y
+CONFIG_FS_FAT_LFN=y
 # CONFIG_FS_BPKFS is not set
 # CONFIG_FS_UIMAGEFS is not set
 # CONFIG_FS_PSTORE is not set
@@ -579,13 +650,19 @@ CONFIG_FS_FAT=y
 #
 CONFIG_PARAMETER=y
 CONFIG_UNCOMPRESS=y
-# CONFIG_ZLIB is not set
-# CONFIG_BZLIB is not set
+CONFIG_ZLIB=y
+CONFIG_BZLIB=y
 # CONFIG_LZ4_DECOMPRESS is not set
 # CONFIG_ZSTD_DECOMPRESS is not set
-# CONFIG_XZ_DECOMPRESS is not set
+CONFIG_XZ_DECOMPRESS=y
+CONFIG_XZ_DEC_X86=y
+CONFIG_XZ_DEC_POWERPC=y
+CONFIG_XZ_DEC_IA64=y
+CONFIG_XZ_DEC_ARM=y
+CONFIG_XZ_DEC_ARMTHUMB=y
+CONFIG_XZ_DEC_SPARC=y
 CONFIG_PROCESS_ESCAPE_SEQUENCE=y
-# CONFIG_LZO_DECOMPRESS is not set
+CONFIG_LZO_DECOMPRESS=y
 CONFIG_FNMATCH=y
 CONFIG_QSORT=y
 # CONFIG_RATP is not set
@@ -605,9 +682,10 @@ CONFIG_CRC32=y
 CONFIG_CRC16=y
 CONFIG_DIGEST=y
 CONFIG_MD5=y
+CONFIG_SHA1=y
 # CONFIG_DIGEST_CRC32_GENERIC is not set
 CONFIG_DIGEST_MD5_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DIGEST_SHA1_GENERIC=y
 # CONFIG_DIGEST_SHA224_GENERIC is not set
 # CONFIG_DIGEST_SHA256_GENERIC is not set
 # CONFIG_DIGEST_SHA384_GENERIC is not set
diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff
index 578d108adfab..c174b571c707 100644
--- a/configs/platform-v7a/barebox-vexpress.config.diff
+++ b/configs/platform-v7a/barebox-vexpress.config.diff
@@ -5,48 +5,12 @@ CONFIG_ARCH_VEXPRESS=y
 # CONFIG_ARM_SECURE_MONITOR is undefined
 # CONFIG_ARM_SMCCC is undefined
 CONFIG_BOOTM_INITRD=y
-# CONFIG_BZLIB is not set
 # CONFIG_CFI_BUFFER_WRITE is not set
 # CONFIG_CLOCKSOURCE_BCM283X is undefined
-# CONFIG_CMD_ARM_MMUINFO is not set
-# CONFIG_CMD_BOOTZ is not set
-# CONFIG_CMD_CLK is not set
 # CONFIG_CMD_GPIO is undefined
-# CONFIG_CMD_I2C is undefined
-# CONFIG_CMD_IMD is not set
-# CONFIG_CMD_LED is undefined
-# CONFIG_CMD_LED_TRIGGER is undefined
-# CONFIG_CMD_LET is not set
-# CONFIG_CMD_LN is not set
-CONFIG_CMD_LOADB=y
-# CONFIG_CMD_MEMTEST is not set
-# CONFIG_CMD_MENU is undefined
-# CONFIG_CMD_MENUTREE is undefined
-# CONFIG_CMD_MENU_MANAGEMENT is undefined
-# CONFIG_CMD_MM is not set
-# CONFIG_CMD_MSLEEP is not set
-# CONFIG_CMD_OF_NODE is not set
-# CONFIG_CMD_OF_PROPERTY is not set
-# CONFIG_CMD_READF is not set
-# CONFIG_CMD_REGULATOR is undefined
-# CONFIG_CMD_SHA1SUM is not set
-# CONFIG_CMD_SPI is undefined
-# CONFIG_CMD_STATE is undefined
-# CONFIG_CMD_TIME is not set
-# CONFIG_CMD_USB is undefined
-# CONFIG_CMD_USBGADGET is undefined
-# CONFIG_CMD_WD is undefined
-# CONFIG_CMD_WD_DEFAULT_TIMOUT is undefined
 CONFIG_COMMON_CLK_OF_PROVIDER=y
-CONFIG_COMPILE_LOGLEVEL=6
 CONFIG_CONSOLE_ACTIVATE_ALL=y
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
-# CONFIG_DEFAULT_COMPRESSION_BZIP2 is undefined
-# CONFIG_DEFAULT_COMPRESSION_GZIP is undefined
-# CONFIG_DEFAULT_COMPRESSION_LZO is undefined
-# CONFIG_DEFAULT_COMPRESSION_XZ is undefined
-# CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU is undefined
-# CONFIG_DIGEST_SHA1_GENERIC is not set
 CONFIG_DRIVER_CFI=y
 CONFIG_DRIVER_CFI_AMD=y
 CONFIG_DRIVER_CFI_BANK_WIDTH_1=y
@@ -54,17 +18,9 @@ CONFIG_DRIVER_CFI_BANK_WIDTH_2=y
 CONFIG_DRIVER_CFI_BANK_WIDTH_4=y
 # CONFIG_DRIVER_CFI_BANK_WIDTH_8 is not set
 CONFIG_DRIVER_CFI_INTEL=y
-# CONFIG_DRIVER_NET_ENC28J60 is undefined
-# CONFIG_DRIVER_NET_MICREL is undefined
 CONFIG_DRIVER_NET_SMC911X=y
 # CONFIG_DRIVER_SPI_GPIO is undefined
-# CONFIG_EEPROM_AT24 is undefined
-# CONFIG_EEPROM_AT25 is undefined
-# CONFIG_FILE_LIST is undefined
 # CONFIG_FIRMWARE_ALTERA_SERIAL is undefined
-# CONFIG_FS_FAT_LFN is not set
-# CONFIG_FS_FAT_WRITE is not set
-# CONFIG_FS_NFS is not set
 # CONFIG_GENERIC_GPIO is undefined
 # CONFIG_GPIOLIB is undefined
 # CONFIG_GPIO_74164 is undefined
@@ -74,89 +30,28 @@ CONFIG_DRIVER_NET_SMC911X=y
 # CONFIG_GPIO_PCA953X is undefined
 # CONFIG_GPIO_PL061 is undefined
 # CONFIG_GPIO_SX150X is undefined
-# CONFIG_HWRNG is not set
-# CONFIG_I2C is not set
 # CONFIG_I2C_ALGOBIT is undefined
-# CONFIG_I2C_DESIGNWARE is undefined
 # CONFIG_I2C_GPIO is undefined
-# CONFIG_I2C_MUX is undefined
-# CONFIG_I2C_MV64XXX is undefined
 # CONFIG_JTAG is undefined
 # CONFIG_KEYBOARD_GPIO is undefined
 # CONFIG_KEYBOARD_QT1070 is undefined
-# CONFIG_KEYBOARD_USB is undefined
-# CONFIG_LED is not set
 # CONFIG_LED_GPIO is undefined
 # CONFIG_LED_GPIO_BICOLOR is undefined
 # CONFIG_LED_GPIO_OF is undefined
 # CONFIG_LED_GPIO_RGB is undefined
-# CONFIG_LED_PCA955X is undefined
-# CONFIG_LED_TRIGGERS is undefined
-# CONFIG_LZO_DECOMPRESS is not set
 # CONFIG_MACH_RPI2 is undefined
 # CONFIG_MACH_RPI3 is undefined
 # CONFIG_MACH_RPI is undefined
 # CONFIG_MACH_RPI_COMMON is undefined
 CONFIG_MACH_VEXPRESS=y
 # CONFIG_MCI_BCM283X is undefined
-# CONFIG_MCI_SPI is undefined
 # CONFIG_MDIO_BUS_MUX_GPIO is undefined
-# CONFIG_MENU is not set
-# CONFIG_MENUTREE is undefined
-# CONFIG_MFD_ACT8846 is undefined
-# CONFIG_MFD_DA9053 is undefined
-# CONFIG_MFD_DA9063 is undefined
-# CONFIG_MFD_LP3972 is undefined
-# CONFIG_MFD_MC13XXX is undefined
-# CONFIG_MFD_MC34704 is undefined
-# CONFIG_MFD_MC9SDZ60 is undefined
-# CONFIG_MFD_STMPE is undefined
-# CONFIG_MFD_TWL4030 is undefined
-# CONFIG_MFD_TWL6030 is undefined
 CONFIG_MTD_CONCAT=y
-# CONFIG_MTD_DATAFLASH is undefined
-# CONFIG_MTD_M25P80 is undefined
-# CONFIG_NET_USB is undefined
-# CONFIG_NET_USB_ASIX is undefined
-# CONFIG_NET_USB_SMSC95XX is undefined
 # CONFIG_OF_GPIO is undefined
 CONFIG_PBL_CONSOLE=y
-# CONFIG_PINCTRL is not set
-# CONFIG_PINCTRL_SINGLE is undefined
 CONFIG_PROMPT="vexpress: "
-# CONFIG_REGULATOR is not set
 # CONFIG_REGULATOR_BCM283X is undefined
 # CONFIG_REGULATOR_FIXED is undefined
 CONFIG_SERIAL_AMBA_PL011=y
-# CONFIG_SHA1 is undefined
-# CONFIG_SPI is not set
 CONFIG_SRAM=y
-# CONFIG_STATE is not set
-# CONFIG_STATE_BACKWARD_COMPATIBLE is undefined
-# CONFIG_STATE_CRYPTO is undefined
-# CONFIG_STATE_DRV is undefined
-# CONFIG_USB is undefined
-# CONFIG_USBGADGET_START is undefined
-# CONFIG_USB_EHCI is undefined
-# CONFIG_USB_GADGET is not set
-# CONFIG_USB_GADGET_AUTOSTART is undefined
-# CONFIG_USB_GADGET_DFU is undefined
-# CONFIG_USB_GADGET_FASTBOOT is undefined
-# CONFIG_USB_GADGET_FASTBOOT_SPARSE is undefined
-# CONFIG_USB_GADGET_SERIAL is undefined
-# CONFIG_USB_HOST is not set
-# CONFIG_USB_STORAGE is undefined
-# CONFIG_USB_ULPI is undefined
-# CONFIG_USB_XHCI is undefined
-# CONFIG_WATCHDOG is not set
 # CONFIG_WATCHDOG_BCM2835 is undefined
-# CONFIG_WATCHDOG_DW is undefined
-# CONFIG_WATCHDOG_POLLER is undefined
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_XZ_DEC_ARM is undefined
-# CONFIG_XZ_DEC_ARMTHUMB is undefined
-# CONFIG_XZ_DEC_IA64 is undefined
-# CONFIG_XZ_DEC_POWERPC is undefined
-# CONFIG_XZ_DEC_SPARC is undefined
-# CONFIG_XZ_DEC_X86 is undefined
-# CONFIG_ZLIB is not set
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* [DistroKit] [PATCH v2] fixup! v7a: barebox-common: add a common reference config for all barebox variants
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 3/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
@ 2019-06-05 19:05   ` Roland Hieber
  2019-06-05 21:47     ` Robert Schwebel
  0 siblings, 1 reply; 19+ messages in thread
From: Roland Hieber @ 2019-06-05 19:05 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

Now with EXTRA_PACKAGES-y += barebox-common, the compile, install, and
targetinstall stages run again. Silence them.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 configs/platform-v7a/rules/barebox-common.make | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/configs/platform-v7a/rules/barebox-common.make b/configs/platform-v7a/rules/barebox-common.make
index 5f77d41f86c5..c03c27ae0b52 100644
--- a/configs/platform-v7a/rules/barebox-common.make
+++ b/configs/platform-v7a/rules/barebox-common.make
@@ -49,8 +49,6 @@ $(STATEDIR)/barebox-common.prepare:
 
 $(STATEDIR)/barebox-common.compile:
 	@$(call targetinfo)
-	@echo "Note: the 'barebox-common' package does not compile anything." >&2
-	@echo "You probably wanted one of the other barebox-* packages instead." >&2
 	@$(call touch)
 
 # ----------------------------------------------------------------------------
@@ -59,8 +57,6 @@ $(STATEDIR)/barebox-common.compile:
 
 $(STATEDIR)/barebox-common.install:
 	@$(call targetinfo)
-	@echo "Note: the 'barebox-common' package does not install anything." >&2
-	@echo "You probably wanted one of the other barebox-* packages instead." >&2
 	@$(call touch)
 
 # ----------------------------------------------------------------------------
@@ -69,8 +65,6 @@ $(STATEDIR)/barebox-common.install:
 
 $(STATEDIR)/barebox-common.targetinstall:
 	@$(call targetinfo)
-	@echo "Note: the 'barebox-common' package does not targetinstall anything." >&2
-	@echo "You probably wanted one of the other barebox-* packages instead." >&2
 	@$(call touch)
 
 # ----------------------------------------------------------------------------
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry
  2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
                   ` (7 preceding siblings ...)
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 9/9] v7a: barebox-vexpress: " Roland Hieber
@ 2019-06-05 21:46 ` Robert Schwebel
  8 siblings, 0 replies; 19+ messages in thread
From: Robert Schwebel @ 2019-06-05 21:46 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Wed, Jun 05, 2019 at 08:52:05PM +0200, Roland Hieber wrote:
> There is no corresponding make file, and the package is not selected.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 
> Notes:
>     Changes in v1 -> v2: none
> 
>  configs/platform-v7a/platforms/barebox_mlo.in | 45 -------------------
>  1 file changed, 45 deletions(-)
>  delete mode 100644 configs/platform-v7a/platforms/barebox_mlo.in

Applied, thx.

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

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH v2 2/9] pre/barebox: barebox-url: only use <PKG>_VERSION to build the URL
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 2/9] pre/barebox: barebox-url: only use <PKG>_VERSION to build the URL Roland Hieber
@ 2019-06-05 21:46   ` Robert Schwebel
  0 siblings, 0 replies; 19+ messages in thread
From: Robert Schwebel @ 2019-06-05 21:46 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Wed, Jun 05, 2019 at 08:52:06PM +0200, Roland Hieber wrote:
> When adding another barebox package to a BSP, e.g. named barebox-foo,
> the BAREBOX_FOO variable will contain "barebox-foo-$(VERSION)". This
> variable is used to build BAREBOX_DIR, BAREBOX_SOURCE, and
> BAREBOX_FOO_URL.
> 
> We must to keep the customized package postfix in the build
> directory, but in the latter case, the -foo postfix is transferred
> into the URL, which will lead to errors while downloading the source.
> 
> We actually only need the barebox version to download the source
> tarball, so use a static "barebox-" string to build the barebox/url
> macro and also the BAREBOX_FOO_SOURCE variable in the package template,
> so the same tarball isn't downloaded multiple times with different
> names.
> 
> Forwarded: https://www.mail-archive.com/ptxdist@pengutronix.de/msg14535.html
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 
> Notes:
>     Changes in v1 -> v2:
>     - this patch is new in v2
>     - import from upstream to fix BAREBOX_COMMON_URL
> 
>  rules/pre/barebox.make | 6 ++++++
>  1 file changed, 6 insertions(+)
>  create mode 100644 rules/pre/barebox.make

Applied, thx.

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

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH v2] fixup! v7a: barebox-common: add a common reference config for all barebox variants
  2019-06-05 19:05   ` [DistroKit] [PATCH v2] fixup! " Roland Hieber
@ 2019-06-05 21:47     ` Robert Schwebel
  0 siblings, 0 replies; 19+ messages in thread
From: Robert Schwebel @ 2019-06-05 21:47 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Wed, Jun 05, 2019 at 09:05:19PM +0200, Roland Hieber wrote:
> Now with EXTRA_PACKAGES-y += barebox-common, the compile, install, and
> targetinstall stages run again. Silence them.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  configs/platform-v7a/rules/barebox-common.make | 6 ------
>  1 file changed, 6 deletions(-)

Fixed up while applying.

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

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH v2 4/9] v7a: bareboxes: use shared settings from the barebox-common package
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 4/9] v7a: bareboxes: use shared settings from the barebox-common package Roland Hieber
@ 2019-06-05 21:47   ` Robert Schwebel
  0 siblings, 0 replies; 19+ messages in thread
From: Robert Schwebel @ 2019-06-05 21:47 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Wed, Jun 05, 2019 at 08:52:08PM +0200, Roland Hieber wrote:
> As implemented in the previous commit, the barebox version and MD5
> can be reduced to one entry in the menu. Also do the same for the
> host-lzop dependency, which will be needed for every barebox package
> when using the common reference config. Be sure to depend on the new
> barebox-common package so the barebox packages are rebuilt when the
> version and MD5 variables change.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 
> Notes:
>     Changes in v1 -> v2: none
> 
>  configs/platform-v7a/platformconfig                |  2 --
>  .../platform-v7a/platforms/barebox-am335x-mlo.in   |  1 +
>  configs/platform-v7a/platforms/barebox-am335x.in   | 14 +-------------
>  configs/platform-v7a/platforms/barebox-mx6.in      |  1 +
>  configs/platform-v7a/platforms/barebox-rpi2.in     | 14 +-------------
>  configs/platform-v7a/platforms/barebox-vexpress.in |  2 +-
>  configs/platform-v7a/rules/barebox-am335x-mlo.make |  4 ++--
>  configs/platform-v7a/rules/barebox-am335x.make     |  4 ++--
>  configs/platform-v7a/rules/barebox-mx6.make        |  4 ++--
>  configs/platform-v7a/rules/barebox-rpi2.make       |  4 ++--
>  configs/platform-v7a/rules/barebox-vexpress.make   |  4 ++--
>  11 files changed, 15 insertions(+), 39 deletions(-)

Applied, thx.

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

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH v2 5/9] v7a: bareboxes: use config diffs with the common reference config
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 5/9] v7a: bareboxes: use config diffs with the common reference config Roland Hieber
@ 2019-06-05 21:48   ` Robert Schwebel
  0 siblings, 0 replies; 19+ messages in thread
From: Robert Schwebel @ 2019-06-05 21:48 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Wed, Jun 05, 2019 at 08:52:09PM +0200, Roland Hieber wrote:
> Make it easier to maintain a common set of features and also review the
> device-specific changes between all the barebox variants by using the
> config diff mechanism which has been available since PTXdist 2019.01.0.
> 
> No barebox config was harmed in the making of this patch, only their
> difference to the common reference config was computed.
> 
> Also add a helper script to regenerate the config diffs after the common
> config was changed.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 
> Notes:
>     Changes in v1 -> v2:
>     - config diffs were calculated based on the wrong commit. redo all of
>       them. this also includes changes due to removal of
>       barebox-am335x.config and disabling CMD_CMP in the previous patch.
> 
>  .../platform-v7a/barebox-am335x.config.diff   | 156 ++++++++++++
>  configs/platform-v7a/barebox-mx6.config.diff  | 241 ++++++++++++++++++
>  configs/platform-v7a/barebox-rpi2.config.diff | 152 +++++++++++
>  .../platform-v7a/barebox-vexpress.config.diff | 162 ++++++++++++
>  .../platform-v7a/rules/barebox-am335x.make    |   1 +
>  configs/platform-v7a/rules/barebox-mx6.make   |   1 +
>  configs/platform-v7a/rules/barebox-rpi2.make  |   1 +
>  .../platform-v7a/rules/barebox-vexpress.make  |   1 +
>  scripts/update-diffs-v7a.sh                   |   6 +
>  9 files changed, 721 insertions(+)
>  create mode 100644 configs/platform-v7a/barebox-am335x.config.diff
>  create mode 100644 configs/platform-v7a/barebox-mx6.config.diff
>  create mode 100644 configs/platform-v7a/barebox-rpi2.config.diff
>  create mode 100644 configs/platform-v7a/barebox-vexpress.config.diff
>  create mode 100755 scripts/update-diffs-v7a.sh

Applied, thx.

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

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH v2 6/9] v7a: barebox-am335x: slim down config diff
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 6/9] v7a: barebox-am335x: slim down config diff Roland Hieber
@ 2019-06-05 21:48   ` Robert Schwebel
  0 siblings, 0 replies; 19+ messages in thread
From: Robert Schwebel @ 2019-06-05 21:48 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Wed, Jun 05, 2019 at 08:52:10PM +0200, Roland Hieber wrote:
> * don't disable common features unnecessarily: enable the features
>   BZLIB, DRIVER_SPI_GPIO, HWRNG, I2C_GPIO, IMD, NET_USB*,
>   REGULATOR, STATE, USB_EHCI, USB_HOST, XZ_DECOMPRESS, ZLIB, and the
>   commands cmp, defaultenv, imd, memtest, regulator, sha1sum, state, and
>   usb. All of those are enabled in the barebox-common config too, and
>   make sense to have on a generic barebox.
> * repair compile log level < default log level by using the defaults
> * now that USB_HOST is enabled, MUSB_HOST makes sense too
> * disable unneeded features:
>   - CMD_LOADB: no one uses kermit these days
>   - FIT image support: not used
>   - initrd support: not used
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 
> Notes:
>     Changes in v1 -> v2:
>     - work on re-calculated diffs from previous commit
>     - describe in more detail what was enabled and disabled
> 
>  configs/platform-v7a/barebox-am335x.config    | 74 ++++++++++++-------
>  .../platform-v7a/barebox-am335x.config.diff   | 54 +-------------
>  2 files changed, 49 insertions(+), 79 deletions(-)

Applied, thx.

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

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH v2 7/9] v7a: barebox-mx6: slim down config diff
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 7/9] v7a: barebox-mx6: " Roland Hieber
@ 2019-06-05 21:48   ` Robert Schwebel
  0 siblings, 0 replies; 19+ messages in thread
From: Robert Schwebel @ 2019-06-05 21:48 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Wed, Jun 05, 2019 at 08:52:11PM +0200, Roland Hieber wrote:
> * don't disable common features unnecessarily: enable the features
>   BZLIB, DRIVER_SPI_GPIO, I2C_GPIO, NET_NFS, STATE, XZ_DECOMPRESS,
>   and the commands bootz, cmp, defaultenv, sha1sum, and state.
>   All of those are enabled in the barebox-common config too, and make
>   sense to have on a generic barebox.
> * repair compile log level < default log level by using the defaults
> * disable unused features (CMD_MENU_MANAGEMENT)
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 
> Notes:
>     Changes in v1 -> v2:
>     - work on re-calculated diffs from previous commit
>     - describe in more detail what was enabled and disabled
> 
>  configs/platform-v7a/barebox-mx6.config      | 40 +++++++++++++-------
>  configs/platform-v7a/barebox-mx6.config.diff | 27 -------------
>  2 files changed, 27 insertions(+), 40 deletions(-)

Applied, thx.

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

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH v2 8/9] v7a: barebox-rpi2: slim down config diff
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 8/9] v7a: barebox-rpi2: " Roland Hieber
@ 2019-06-05 21:49   ` Robert Schwebel
  0 siblings, 0 replies; 19+ messages in thread
From: Robert Schwebel @ 2019-06-05 21:49 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Wed, Jun 05, 2019 at 08:52:12PM +0200, Roland Hieber wrote:
> * don't disable common features unnecessarily: enable the features
>   BOOTM_*, BZLIB, DRIVER_SPI_GPIO, HWRNG, I2C, I2C_GPIO, IMD,
>   LED_GPIO_OF, LZO_DECOMPRESS, MCI_MMCI, MTD, NET, NET_NFS, NET_RESOLV,
>   NET_IFUP, NET_DHCP, NET_USB_*, OF_BAREBOX_DRIVERS, OF_NET, PINCTRL,
>   RESET_SOURCE, STATE, USB_EHCI, USB_GADGET_SERIAL, USB_HOST,
>   USB_STORAGE, XZ_DECOMPRESS, ZLIB, and the commands cmd, dhcp, host,
>   i2c, imd, ip-route-get, led, trigger, memtest, ping, regulator,
>   sha1sum, spi, state, tftp, and usb.
>   All of those are enabled in the barebox-common config too, and make
>   sense to have on a generic barebox.
> * repair compile log level < default log level by using the defaults
> * disable unneeded features:
>   - CMD_LOADB: no one uses kermit these days
>   - BAREBOXENV_TARGET: should come from a common barebox-tools package
>   - CMD_MENU_MANAGEMENT: not used
>   - PASSWORD: not used
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 
> Notes:
>     Changes in v1 -> v2:
>     - work on re-calculated diffs from previous commit
>     - describe in more detail what was enabled and disabled
> 
>  configs/platform-v7a/barebox-rpi2.config      | 206 ++++++++++++++----
>  configs/platform-v7a/barebox-rpi2.config.diff | 139 ------------
>  2 files changed, 165 insertions(+), 180 deletions(-)

Applied, thx.

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

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

* Re: [DistroKit] [PATCH v2 9/9] v7a: barebox-vexpress: slim down config diff
  2019-06-05 18:52 ` [DistroKit] [PATCH v2 9/9] v7a: barebox-vexpress: " Roland Hieber
@ 2019-06-05 21:49   ` Robert Schwebel
  0 siblings, 0 replies; 19+ messages in thread
From: Robert Schwebel @ 2019-06-05 21:49 UTC (permalink / raw)
  To: Roland Hieber; +Cc: distrokit

On Wed, Jun 05, 2019 at 08:52:13PM +0200, Roland Hieber wrote:
> * don't disable common features unnecessarily: enable the features
>   BZLIB, FS_FAT_LFN, FS_FAT_WRITE, FS_NFS, HWRNG, I2C, LED,
>   LED_TRIGGERS, LZO_DECOMPRESS, MENU, NET_USB*, PINCTRL, REGULATOR, SPI,
>   USB, USBGADGET_START, USB_EHCI, USB_GADGET, USB_GADGET_AUTOSTART,
>   USB_GADGET_SERIAL, USB_HOST, USB_STORAGE WATCHDOG, XZ_DECOMPRESS,
>   ZLIB, and the commands mmuinfo, bootz, clk, cmp, i2c, imd, led,
>   trigger, let, ln, memtest, menu, menutree, mm, msleep, of_node,
>   of_property, readf, regulator, sha1sum, spi, state, time, usb,
>   usbgadget, and wd.
>   All of those are enabled in the barebox-common config too, and make
>   sense to have on a generic barebox.
> * repair compile log level < default log level by using the defaults
> * disable unneeded features:
>   - CMD_LOADB: no one uses kermit these days
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> 
> Notes:
>     Changes in v1 -> v2:
>     - work on re-calculated diffs from previous commit
>     - describe in more detail what was enabled and disabled
> 
>  configs/platform-v7a/barebox-vexpress.config  | 148 +++++++++++++-----
>  .../platform-v7a/barebox-vexpress.config.diff | 105 -------------
>  2 files changed, 113 insertions(+), 140 deletions(-)

Applied, thx.

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

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

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

end of thread, other threads:[~2019-06-05 21:49 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-05 18:52 [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
2019-06-05 18:52 ` [DistroKit] [PATCH v2 2/9] pre/barebox: barebox-url: only use <PKG>_VERSION to build the URL Roland Hieber
2019-06-05 21:46   ` Robert Schwebel
2019-06-05 18:52 ` [DistroKit] [PATCH v2 3/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
2019-06-05 19:05   ` [DistroKit] [PATCH v2] fixup! " Roland Hieber
2019-06-05 21:47     ` Robert Schwebel
2019-06-05 18:52 ` [DistroKit] [PATCH v2 4/9] v7a: bareboxes: use shared settings from the barebox-common package Roland Hieber
2019-06-05 21:47   ` Robert Schwebel
2019-06-05 18:52 ` [DistroKit] [PATCH v2 5/9] v7a: bareboxes: use config diffs with the common reference config Roland Hieber
2019-06-05 21:48   ` Robert Schwebel
2019-06-05 18:52 ` [DistroKit] [PATCH v2 6/9] v7a: barebox-am335x: slim down config diff Roland Hieber
2019-06-05 21:48   ` Robert Schwebel
2019-06-05 18:52 ` [DistroKit] [PATCH v2 7/9] v7a: barebox-mx6: " Roland Hieber
2019-06-05 21:48   ` Robert Schwebel
2019-06-05 18:52 ` [DistroKit] [PATCH v2 8/9] v7a: barebox-rpi2: " Roland Hieber
2019-06-05 21:49   ` Robert Schwebel
2019-06-05 18:52 ` [DistroKit] [PATCH v2 9/9] v7a: barebox-vexpress: " Roland Hieber
2019-06-05 21:49   ` Robert Schwebel
2019-06-05 21:46 ` [DistroKit] [PATCH v2 1/9] v7a: remove unused barebox_mlo menu entry Robert Schwebel

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