* [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry
@ 2019-06-04 20:44 Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 2/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
` (7 more replies)
0 siblings, 8 replies; 10+ messages in thread
From: Roland Hieber @ 2019-06-04 20:44 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>
---
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] 10+ messages in thread
* [DistroKit] [PATCH 2/9] v7a: barebox-common: add a common reference config for all barebox variants
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
@ 2019-06-04 20:44 ` Roland Hieber
2019-06-05 8:13 ` Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 3/9] v7a: platformconfig: configure barebox-common Roland Hieber
` (6 subsequent siblings)
7 siblings, 1 reply; 10+ messages in thread
From: Roland Hieber @ 2019-06-04 20:44 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
This commit 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 it doesn't need to be added
to any PACKAGE-y variable, and 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.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
configs/platform-v7a/barebox-am335x.config | 24 +-
configs/platform-v7a/barebox.config | 738 ++++++++++++++++++
.../platforms/barebox-0-common.in | 33 +
.../platform-v7a/rules/barebox-common.make | 78 ++
4 files changed, 862 insertions(+), 11 deletions(-)
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-am335x.config b/configs/platform-v7a/barebox-am335x.config
index 9bc9c422e669..e10f377d1456 100644
--- a/configs/platform-v7a/barebox-am335x.config
+++ b/configs/platform-v7a/barebox-am335x.config
@@ -171,7 +171,8 @@ CONFIG_BOOTM_FITIMAGE_PUBKEY="../fit/pubkey.dtsi"
# CONFIG_BOOTM_FORCE_SIGNED_IMAGES 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
@@ -227,7 +228,7 @@ 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_VERSION=y
@@ -260,7 +261,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
@@ -275,7 +276,7 @@ CONFIG_CMD_BASENAME=y
CONFIG_CMD_CAT=y
CONFIG_CMD_CD=y
CONFIG_CMD_CP=y
-# CONFIG_CMD_CMP is not set
+CONFIG_CMD_CMP=y
CONFIG_CMD_DIGEST=y
CONFIG_CMD_DIRNAME=y
CONFIG_CMD_FILETYPE=y
@@ -287,7 +288,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
@@ -326,7 +327,7 @@ 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_MENU_MANAGEMENT=y
CONFIG_CMD_MENUTREE=y
CONFIG_CMD_READLINE=y
CONFIG_CMD_TIMEOUT=y
@@ -340,7 +341,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
@@ -353,8 +354,8 @@ CONFIG_CMD_GPIO=y
CONFIG_CMD_I2C=y
CONFIG_CMD_LED=y
CONFIG_CMD_NAND=y
-# CONFIG_CMD_NANDTEST is not set
-# CONFIG_CMD_NAND_BITFLIP is not set
+CONFIG_CMD_NANDTEST=y
+CONFIG_CMD_NAND_BITFLIP=y
# CONFIG_CMD_POWEROFF is not set
CONFIG_CMD_SPI=y
CONFIG_CMD_LED_TRIGGER=y
@@ -368,7 +369,7 @@ CONFIG_CMD_WD_DEFAULT_TIMOUT=0
# CONFIG_CMD_2048 is not set
CONFIG_CMD_BAREBOX_UPDATE=y
# CONFIG_CMD_FIRMWARELOAD is not set
-# CONFIG_CMD_KEYSTORE is not set
+CONFIG_CMD_KEYSTORE=y
CONFIG_CMD_OF_DUMP=y
CONFIG_CMD_OF_NODE=y
CONFIG_CMD_OF_PROPERTY=y
@@ -727,10 +728,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.config b/configs/platform-v7a/barebox.config
new file mode 100644
index 000000000000..2fce2116be52
--- /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=y
+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/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..015f3a09dbbd
--- /dev/null
+++ b/configs/platform-v7a/rules/barebox-common.make
@@ -0,0 +1,78 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 Roland Hieber <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# 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-$(BAREBOX_COMMON_VERSION)
+BAREBOX_COMMON_SUFFIX := tar.bz2
+BAREBOX_COMMON_URL := $(call barebox-url, BAREBOX_COMMON)
+BAREBOX_COMMON_SOURCE := $(SRCDIR)/$(BAREBOX_COMMON).$(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)
+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] 10+ messages in thread
* [DistroKit] [PATCH 3/9] v7a: platformconfig: configure barebox-common
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 2/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
@ 2019-06-04 20:44 ` Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 4/9] v7a: bareboxes: use shared settings from the barebox-common package Roland Hieber
` (5 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Roland Hieber @ 2019-06-04 20:44 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
Use the version which is currently configured for all other variants in
the v7a platform. The barebox-common config uses LZO for image
compression, so depend on host-lzop too.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
configs/platform-v7a/platformconfig | 5 +++++
1 file changed, 5 insertions(+)
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
--
2.20.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [DistroKit] [PATCH 4/9] v7a: bareboxes: use shared settings from the barebox-common package
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 2/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 3/9] v7a: platformconfig: configure barebox-common Roland Hieber
@ 2019-06-04 20:44 ` Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 5/9] v7a: bareboxes: use config diffs with the common reference config Roland Hieber
` (4 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Roland Hieber @ 2019-06-04 20:44 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>
---
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] 10+ messages in thread
* [DistroKit] [PATCH 5/9] v7a: bareboxes: use config diffs with the common reference config
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
` (2 preceding siblings ...)
2019-06-04 20:44 ` [DistroKit] [PATCH 4/9] v7a: bareboxes: use shared settings from the barebox-common package Roland Hieber
@ 2019-06-04 20:44 ` Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 6/9] v7a: barebox-am335x: slim down config diff Roland Hieber
` (3 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Roland Hieber @ 2019-06-04 20:44 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>
---
.../platform-v7a/barebox-am335x.config.diff | 102 +++++++++
configs/platform-v7a/barebox-mx6.config.diff | 213 ++++++++++++++++++
configs/platform-v7a/barebox-rpi2.config.diff | 55 +++++
.../platform-v7a/barebox-vexpress.config.diff | 59 +++++
.../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, 439 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..7e70acd5a504
--- /dev/null
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -0,0 +1,102 @@
+df476738fde44fbb427543dd2747d3ee
+# CONFIG_AM33XX_NET_BOOT is not set
+CONFIG_ARCH_AM33XX=y
+# CONFIG_ARCH_BCM283X is not set
+CONFIG_ARCH_OMAP=y
+CONFIG_ARM_ASM_UNIFIED=y
+CONFIG_ARM_BOARD_APPEND_ATAG=y
+# CONFIG_ARM_BOARD_PREPEND_ATAG is not set
+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_CLOCKSOURCE_TI_DM=y
+CONFIG_CMD_KEYSTORE=y
+CONFIG_CMD_LOADB=y
+CONFIG_CMD_MENU_MANAGEMENT=y
+CONFIG_CMD_MIITOOL=y
+CONFIG_CMD_NAND=y
+CONFIG_CMD_NANDTEST=y
+CONFIG_CMD_NAND_BITFLIP=y
+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_LOGLEVEL=7
+CONFIG_DIGEST_HMAC=y
+CONFIG_DIGEST_HMAC_GENERIC=y
+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_GENERIC=y
+CONFIG_GPIO_GENERIC_PLATFORM=y
+CONFIG_GPIO_OMAP=y
+# CONFIG_HWRNG is not set
+# CONFIG_I2C_GPIO is not set
+CONFIG_I2C_OMAP=y
+CONFIG_IMAGE_SPARSE=y
+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_VSCOM_BALTOS is not set
+# CONFIG_MACH_WAGO_PFC_AM35XX is not set
+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_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_SPI_CADENCE_QUADSPI is not set
+# CONFIG_STATE is not set
+CONFIG_THUMB2_BAREBOX=y
+# CONFIG_TIMESTAMP is not set
+CONFIG_TI_SYSC=y
+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_WATCHDOG_OMAP=y
+# CONFIG_XZ_DECOMPRESS is not set
+# 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..754b11609e5c
--- /dev/null
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -0,0 +1,213 @@
+df476738fde44fbb427543dd2747d3ee
+# 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_ASM_UNIFIED=y
+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_IMX_GPT=y
+# CONFIG_CMD_BOOTZ is not set
+# CONFIG_CMD_CMP 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_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_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_IMX=y
+# CONFIG_HABV4 is not set
+# CONFIG_HWRNG is not set
+CONFIG_HW_HAS_PCI=y
+# 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_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_IMX_ESDHC=y
+# CONFIG_MCI_IMX_ESDHC_PIO is not set
+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_FIXED=y
+# CONFIG_REGULATOR_PFUZE is not set
+CONFIG_RESET_IMX_SRC=y
+# CONFIG_SPI_CADENCE_QUADSPI is not set
+# CONFIG_STATE is not set
+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_IMX=y
+CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
+# CONFIG_XZ_DECOMPRESS is not set
diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff
new file mode 100644
index 000000000000..b49099c5f3d4
--- /dev/null
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -0,0 +1,55 @@
+df476738fde44fbb427543dd2747d3ee
+CONFIG_BAREBOXENV_TARGET=y
+# CONFIG_BOOTM_OFTREE is not set
+# CONFIG_BOOTM_SHOW_TYPE is not set
+# CONFIG_BOOTM_VERBOSE is not set
+# CONFIG_BZLIB is not set
+# CONFIG_CMD_CMP is not set
+# CONFIG_CMD_IMD is not set
+# 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_REGULATOR is not set
+# CONFIG_CMD_SHA1SUM is not set
+# CONFIG_CMD_SPI is not set
+CONFIG_COMPILE_LOGLEVEL=6
+CONFIG_DEFAULT_LOGLEVEL=7
+# CONFIG_DIGEST_SHA1_GENERIC is not set
+CONFIG_DRIVER_SERIAL_NS16550=y
+# CONFIG_DRIVER_SPI_GPIO is not set
+# CONFIG_EEPROM_93XX46 is not set
+CONFIG_GPIO_BCM283X=y
+# CONFIG_HWRNG is not set
+# CONFIG_I2C is not set
+# CONFIG_IMD is not set
+# CONFIG_LED_GPIO_OF is not set
+# CONFIG_LZO_DECOMPRESS is not set
+CONFIG_MACH_RPI2=y
+CONFIG_MALLOC_SIZE=0x400000
+CONFIG_MCI_BCM283X=y
+# CONFIG_MCI_MMCI is not set
+CONFIG_MCI_MMC_BOOT_PARTITIONS=y
+# CONFIG_MTD is not set
+# CONFIG_NET is not set
+CONFIG_NVMEM=y
+# CONFIG_NVMEM_SNVS_LPGPR is not set
+# CONFIG_OF_BAREBOX_DRIVERS is not set
+# 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_PINCTRL is not set
+CONFIG_PROMPT="R-Pi> "
+# CONFIG_RESET_SOURCE is not set
+CONFIG_SERIAL_AMBA_PL011=y
+# CONFIG_STATE is not set
+# CONFIG_USB_GADGET_SERIAL is not set
+# CONFIG_USB_HOST is not set
+CONFIG_WATCHDOG_BCM2835=y
+# CONFIG_XZ_DECOMPRESS is not set
+# 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..58b6ccb7fa92
--- /dev/null
+++ b/configs/platform-v7a/barebox-vexpress.config.diff
@@ -0,0 +1,59 @@
+df476738fde44fbb427543dd2747d3ee
+CONFIG_AMBA_SP804=y
+# CONFIG_ARCH_BCM283X is not set
+CONFIG_ARCH_VEXPRESS=y
+CONFIG_BOOTM_INITRD=y
+# CONFIG_BZLIB is not set
+# CONFIG_CFI_BUFFER_WRITE is not set
+# CONFIG_CMD_ARM_MMUINFO is not set
+# CONFIG_CMD_BOOTZ is not set
+# CONFIG_CMD_CLK is not set
+# CONFIG_CMD_CMP is not set
+# CONFIG_CMD_IMD is not set
+# CONFIG_CMD_LET is not set
+# CONFIG_CMD_LN is not set
+CONFIG_CMD_LOADB=y
+# CONFIG_CMD_MEMTEST is not set
+# 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_SHA1SUM is not set
+# CONFIG_CMD_TIME is not set
+CONFIG_COMMON_CLK_OF_PROVIDER=y
+CONFIG_COMPILE_LOGLEVEL=6
+CONFIG_CONSOLE_ACTIVATE_ALL=y
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
+# 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_SMC911X=y
+# CONFIG_FS_FAT_LFN is not set
+# CONFIG_FS_FAT_WRITE is not set
+# CONFIG_FS_NFS is not set
+# CONFIG_HWRNG is not set
+# CONFIG_I2C is not set
+# CONFIG_LED is not set
+# CONFIG_LZO_DECOMPRESS is not set
+CONFIG_MACH_VEXPRESS=y
+# CONFIG_MENU is not set
+CONFIG_MTD_CONCAT=y
+CONFIG_PBL_CONSOLE=y
+# CONFIG_PINCTRL is not set
+CONFIG_PROMPT="vexpress: "
+# CONFIG_REGULATOR is not set
+CONFIG_SERIAL_AMBA_PL011=y
+# CONFIG_SPI is not set
+CONFIG_SRAM=y
+# CONFIG_STATE is not set
+# CONFIG_USB_GADGET is not set
+# CONFIG_USB_HOST is not set
+# CONFIG_WATCHDOG is not set
+# CONFIG_XZ_DECOMPRESS is not set
+# 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] 10+ messages in thread
* [DistroKit] [PATCH 6/9] v7a: barebox-am335x: slim down config diff
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
` (3 preceding siblings ...)
2019-06-04 20:44 ` [DistroKit] [PATCH 5/9] v7a: bareboxes: use config diffs with the common reference config Roland Hieber
@ 2019-06-04 20:44 ` Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 7/9] v7a: barebox-mx6: " Roland Hieber
` (2 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Roland Hieber @ 2019-06-04 20:44 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
* don't disable common features unnecessarily
* 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
- CMD_MENU_MANAGEMENT: not used
- FIT image support: not used
- initrd support: not used
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
configs/platform-v7a/barebox-am335x.config | 62 ++++++++++++-------
.../platform-v7a/barebox-am335x.config.diff | 22 +------
2 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config
index e10f377d1456..1d58f97dfac2 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,14 +159,11 @@ 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=y
@@ -189,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
@@ -197,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
@@ -231,6 +231,7 @@ 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
@@ -242,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
@@ -327,7 +328,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
@@ -359,6 +360,7 @@ CONFIG_CMD_NAND_BITFLIP=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
@@ -377,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
@@ -447,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
@@ -516,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
@@ -531,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
@@ -577,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
@@ -597,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
@@ -629,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
@@ -701,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
@@ -740,7 +761,6 @@ CONFIG_DIGEST_SHA1_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 7e70acd5a504..f31303e61714 100644
--- a/configs/platform-v7a/barebox-am335x.config.diff
+++ b/configs/platform-v7a/barebox-am335x.config.diff
@@ -10,45 +10,29 @@ 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_CLOCKSOURCE_TI_DM=y
CONFIG_CMD_KEYSTORE=y
-CONFIG_CMD_LOADB=y
-CONFIG_CMD_MENU_MANAGEMENT=y
CONFIG_CMD_MIITOOL=y
CONFIG_CMD_NAND=y
CONFIG_CMD_NANDTEST=y
CONFIG_CMD_NAND_BITFLIP=y
-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_LOGLEVEL=7
CONFIG_DIGEST_HMAC=y
CONFIG_DIGEST_HMAC_GENERIC=y
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_GENERIC=y
CONFIG_GPIO_GENERIC_PLATFORM=y
CONFIG_GPIO_OMAP=y
-# CONFIG_HWRNG is not set
-# CONFIG_I2C_GPIO is not set
CONFIG_I2C_OMAP=y
CONFIG_IMAGE_SPARSE=y
CONFIG_MACH_AFI_GF=y
@@ -83,20 +67,16 @@ CONFIG_OMAP_GPMC=y
CONFIG_OMAP_MULTI_BOARDS=y
CONFIG_PINCTRL_SINGLE=y
CONFIG_PROMPT="barebox> "
-# CONFIG_REGULATOR is not set
# CONFIG_SPI_CADENCE_QUADSPI is not set
-# CONFIG_STATE is not set
CONFIG_THUMB2_BAREBOX=y
# CONFIG_TIMESTAMP is not set
CONFIG_TI_SYSC=y
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_MUSB_HOST=y
CONFIG_WATCHDOG_OMAP=y
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_ZLIB is not set
--
2.20.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [DistroKit] [PATCH 7/9] v7a: barebox-mx6: slim down config diff
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
` (4 preceding siblings ...)
2019-06-04 20:44 ` [DistroKit] [PATCH 6/9] v7a: barebox-am335x: slim down config diff Roland Hieber
@ 2019-06-04 20:44 ` Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 8/9] v7a: barebox-rpi2: " Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 9/9] v7a: barebox-vexpress: " Roland Hieber
7 siblings, 0 replies; 10+ messages in thread
From: Roland Hieber @ 2019-06-04 20:44 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
* don't disable common features unnecessarily
* 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>
---
configs/platform-v7a/barebox-mx6.config | 42 +++++++++++++-------
configs/platform-v7a/barebox-mx6.config.diff | 14 -------
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config
index 79818a1d8f33..5691aa1fbe23 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
@@ -332,7 +336,7 @@ CONFIG_CMD_BASENAME=y
CONFIG_CMD_CAT=y
CONFIG_CMD_CD=y
CONFIG_CMD_CP=y
-# CONFIG_CMD_CMP is not set
+CONFIG_CMD_CMP=y
CONFIG_CMD_DIGEST=y
CONFIG_CMD_DIRNAME=y
CONFIG_CMD_FILETYPE=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 754b11609e5c..06fd898ddbd7 100644
--- a/configs/platform-v7a/barebox-mx6.config.diff
+++ b/configs/platform-v7a/barebox-mx6.config.diff
@@ -16,35 +16,26 @@ 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_IMX_GPT=y
-# CONFIG_CMD_BOOTZ is not set
-# CONFIG_CMD_CMP 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_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_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
@@ -53,7 +44,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
@@ -75,7 +65,6 @@ CONFIG_GPIO_IMX=y
# CONFIG_HABV4 is not set
# CONFIG_HWRNG is not set
CONFIG_HW_HAS_PCI=y
-# CONFIG_I2C_GPIO is not set
CONFIG_I2C_IMX=y
CONFIG_IMAGE_RENDERER=y
CONFIG_IMAGE_SPARSE=y
@@ -175,7 +164,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
@@ -192,7 +180,6 @@ CONFIG_REGULATOR_FIXED=y
# CONFIG_REGULATOR_PFUZE is not set
CONFIG_RESET_IMX_SRC=y
# CONFIG_SPI_CADENCE_QUADSPI is not set
-# CONFIG_STATE is not set
CONFIG_STMP_DEVICE=y
CONFIG_THUMB2_BAREBOX=y
CONFIG_UBIFORMAT=y
@@ -210,4 +197,3 @@ CONFIG_VIDEO=y
CONFIG_VIDEO_VPL=y
CONFIG_WATCHDOG_IMX=y
CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
-# CONFIG_XZ_DECOMPRESS is not set
--
2.20.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [DistroKit] [PATCH 8/9] v7a: barebox-rpi2: slim down config diff
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
` (5 preceding siblings ...)
2019-06-04 20:44 ` [DistroKit] [PATCH 7/9] v7a: barebox-mx6: " Roland Hieber
@ 2019-06-04 20:44 ` Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 9/9] v7a: barebox-vexpress: " Roland Hieber
7 siblings, 0 replies; 10+ messages in thread
From: Roland Hieber @ 2019-06-04 20:44 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
* don't disable common features unnecessarily
* 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>
---
configs/platform-v7a/barebox-rpi2.config | 208 ++++++++++++++----
configs/platform-v7a/barebox-rpi2.config.diff | 42 ----
2 files changed, 166 insertions(+), 84 deletions(-)
diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config
index d2e2757323fd..948a1da1e1b9 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
@@ -264,7 +266,7 @@ CONFIG_CMD_BASENAME=y
CONFIG_CMD_CAT=y
CONFIG_CMD_CD=y
CONFIG_CMD_CP=y
-# CONFIG_CMD_CMP is not set
+CONFIG_CMD_CMP=y
CONFIG_CMD_DIGEST=y
CONFIG_CMD_DIRNAME=y
CONFIG_CMD_FILETYPE=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 b49099c5f3d4..c17d6508cebe 100644
--- a/configs/platform-v7a/barebox-rpi2.config.diff
+++ b/configs/platform-v7a/barebox-rpi2.config.diff
@@ -1,55 +1,13 @@
df476738fde44fbb427543dd2747d3ee
-CONFIG_BAREBOXENV_TARGET=y
-# CONFIG_BOOTM_OFTREE is not set
-# CONFIG_BOOTM_SHOW_TYPE is not set
-# CONFIG_BOOTM_VERBOSE is not set
-# CONFIG_BZLIB is not set
-# CONFIG_CMD_CMP is not set
-# CONFIG_CMD_IMD is not set
-# 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_REGULATOR is not set
-# CONFIG_CMD_SHA1SUM is not set
-# CONFIG_CMD_SPI is not set
-CONFIG_COMPILE_LOGLEVEL=6
-CONFIG_DEFAULT_LOGLEVEL=7
-# CONFIG_DIGEST_SHA1_GENERIC is not set
CONFIG_DRIVER_SERIAL_NS16550=y
-# CONFIG_DRIVER_SPI_GPIO is not set
# CONFIG_EEPROM_93XX46 is not set
CONFIG_GPIO_BCM283X=y
-# CONFIG_HWRNG is not set
-# CONFIG_I2C is not set
-# CONFIG_IMD is not set
-# CONFIG_LED_GPIO_OF is not set
-# CONFIG_LZO_DECOMPRESS is not set
CONFIG_MACH_RPI2=y
CONFIG_MALLOC_SIZE=0x400000
CONFIG_MCI_BCM283X=y
-# CONFIG_MCI_MMCI is not set
CONFIG_MCI_MMC_BOOT_PARTITIONS=y
-# CONFIG_MTD is not set
-# CONFIG_NET is not set
CONFIG_NVMEM=y
# CONFIG_NVMEM_SNVS_LPGPR is not set
-# CONFIG_OF_BAREBOX_DRIVERS is not set
-# 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_PINCTRL is not set
CONFIG_PROMPT="R-Pi> "
-# CONFIG_RESET_SOURCE is not set
CONFIG_SERIAL_AMBA_PL011=y
-# CONFIG_STATE is not set
-# CONFIG_USB_GADGET_SERIAL is not set
-# CONFIG_USB_HOST is not set
CONFIG_WATCHDOG_BCM2835=y
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_ZLIB is not set
--
2.20.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* [DistroKit] [PATCH 9/9] v7a: barebox-vexpress: slim down config diff
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
` (6 preceding siblings ...)
2019-06-04 20:44 ` [DistroKit] [PATCH 8/9] v7a: barebox-rpi2: " Roland Hieber
@ 2019-06-04 20:44 ` Roland Hieber
7 siblings, 0 replies; 10+ messages in thread
From: Roland Hieber @ 2019-06-04 20:44 UTC (permalink / raw)
To: distrokit; +Cc: Roland Hieber
* don't disable common features unnecessarily
* 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>
---
configs/platform-v7a/barebox-vexpress.config | 150 +++++++++++++-----
.../platform-v7a/barebox-vexpress.config.diff | 36 -----
2 files changed, 114 insertions(+), 72 deletions(-)
diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config
index b81adff946e2..96b6dd9f79aa 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
@@ -245,11 +256,11 @@ CONFIG_CMD_BASENAME=y
CONFIG_CMD_CAT=y
CONFIG_CMD_CD=y
CONFIG_CMD_CP=y
-# CONFIG_CMD_CMP is not set
+CONFIG_CMD_CMP=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 58b6ccb7fa92..dad11f6f750b 100644
--- a/configs/platform-v7a/barebox-vexpress.config.diff
+++ b/configs/platform-v7a/barebox-vexpress.config.diff
@@ -3,29 +3,10 @@ CONFIG_AMBA_SP804=y
# CONFIG_ARCH_BCM283X is not set
CONFIG_ARCH_VEXPRESS=y
CONFIG_BOOTM_INITRD=y
-# CONFIG_BZLIB is not set
# CONFIG_CFI_BUFFER_WRITE is not set
-# CONFIG_CMD_ARM_MMUINFO is not set
-# CONFIG_CMD_BOOTZ is not set
-# CONFIG_CMD_CLK is not set
-# CONFIG_CMD_CMP is not set
-# CONFIG_CMD_IMD is not set
-# CONFIG_CMD_LET is not set
-# CONFIG_CMD_LN is not set
-CONFIG_CMD_LOADB=y
-# CONFIG_CMD_MEMTEST is not set
-# 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_SHA1SUM is not set
-# CONFIG_CMD_TIME is not set
CONFIG_COMMON_CLK_OF_PROVIDER=y
-CONFIG_COMPILE_LOGLEVEL=6
CONFIG_CONSOLE_ACTIVATE_ALL=y
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
-# CONFIG_DIGEST_SHA1_GENERIC is not set
CONFIG_DRIVER_CFI=y
CONFIG_DRIVER_CFI_AMD=y
CONFIG_DRIVER_CFI_BANK_WIDTH_1=y
@@ -34,26 +15,9 @@ CONFIG_DRIVER_CFI_BANK_WIDTH_4=y
# CONFIG_DRIVER_CFI_BANK_WIDTH_8 is not set
CONFIG_DRIVER_CFI_INTEL=y
CONFIG_DRIVER_NET_SMC911X=y
-# CONFIG_FS_FAT_LFN is not set
-# CONFIG_FS_FAT_WRITE is not set
-# CONFIG_FS_NFS is not set
-# CONFIG_HWRNG is not set
-# CONFIG_I2C is not set
-# CONFIG_LED is not set
-# CONFIG_LZO_DECOMPRESS is not set
CONFIG_MACH_VEXPRESS=y
-# CONFIG_MENU is not set
CONFIG_MTD_CONCAT=y
CONFIG_PBL_CONSOLE=y
-# CONFIG_PINCTRL is not set
CONFIG_PROMPT="vexpress: "
-# CONFIG_REGULATOR is not set
CONFIG_SERIAL_AMBA_PL011=y
-# CONFIG_SPI is not set
CONFIG_SRAM=y
-# CONFIG_STATE is not set
-# CONFIG_USB_GADGET is not set
-# CONFIG_USB_HOST is not set
-# CONFIG_WATCHDOG is not set
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_ZLIB is not set
--
2.20.1
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [DistroKit] [PATCH 2/9] v7a: barebox-common: add a common reference config for all barebox variants
2019-06-04 20:44 ` [DistroKit] [PATCH 2/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
@ 2019-06-05 8:13 ` Roland Hieber
0 siblings, 0 replies; 10+ messages in thread
From: Roland Hieber @ 2019-06-05 8:13 UTC (permalink / raw)
To: distrokit
On Tue, Jun 04, 2019 at 10:44:25PM +0200, Roland Hieber wrote:
> This commit 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 it doesn't need to be added
> to any PACKAGE-y variable, and 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.
>
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
> configs/platform-v7a/barebox-am335x.config | 24 +-
This one looks unrelated. Will send v2.
- Roland
> configs/platform-v7a/barebox.config | 738 ++++++++++++++++++
> .../platforms/barebox-0-common.in | 33 +
> .../platform-v7a/rules/barebox-common.make | 78 ++
> 4 files changed, 862 insertions(+), 11 deletions(-)
> 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-am335x.config b/configs/platform-v7a/barebox-am335x.config
> index 9bc9c422e669..e10f377d1456 100644
> --- a/configs/platform-v7a/barebox-am335x.config
> +++ b/configs/platform-v7a/barebox-am335x.config
> @@ -171,7 +171,8 @@ CONFIG_BOOTM_FITIMAGE_PUBKEY="../fit/pubkey.dtsi"
> # CONFIG_BOOTM_FORCE_SIGNED_IMAGES 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
> @@ -227,7 +228,7 @@ 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_VERSION=y
> @@ -260,7 +261,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
> @@ -275,7 +276,7 @@ CONFIG_CMD_BASENAME=y
> CONFIG_CMD_CAT=y
> CONFIG_CMD_CD=y
> CONFIG_CMD_CP=y
> -# CONFIG_CMD_CMP is not set
> +CONFIG_CMD_CMP=y
> CONFIG_CMD_DIGEST=y
> CONFIG_CMD_DIRNAME=y
> CONFIG_CMD_FILETYPE=y
> @@ -287,7 +288,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
> @@ -326,7 +327,7 @@ 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_MENU_MANAGEMENT=y
> CONFIG_CMD_MENUTREE=y
> CONFIG_CMD_READLINE=y
> CONFIG_CMD_TIMEOUT=y
> @@ -340,7 +341,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
>
> @@ -353,8 +354,8 @@ CONFIG_CMD_GPIO=y
> CONFIG_CMD_I2C=y
> CONFIG_CMD_LED=y
> CONFIG_CMD_NAND=y
> -# CONFIG_CMD_NANDTEST is not set
> -# CONFIG_CMD_NAND_BITFLIP is not set
> +CONFIG_CMD_NANDTEST=y
> +CONFIG_CMD_NAND_BITFLIP=y
> # CONFIG_CMD_POWEROFF is not set
> CONFIG_CMD_SPI=y
> CONFIG_CMD_LED_TRIGGER=y
> @@ -368,7 +369,7 @@ CONFIG_CMD_WD_DEFAULT_TIMOUT=0
> # CONFIG_CMD_2048 is not set
> CONFIG_CMD_BAREBOX_UPDATE=y
> # CONFIG_CMD_FIRMWARELOAD is not set
> -# CONFIG_CMD_KEYSTORE is not set
> +CONFIG_CMD_KEYSTORE=y
> CONFIG_CMD_OF_DUMP=y
> CONFIG_CMD_OF_NODE=y
> CONFIG_CMD_OF_PROPERTY=y
> @@ -727,10 +728,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.config b/configs/platform-v7a/barebox.config
> new file mode 100644
> index 000000000000..2fce2116be52
> --- /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=y
> +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/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..015f3a09dbbd
> --- /dev/null
> +++ b/configs/platform-v7a/rules/barebox-common.make
> @@ -0,0 +1,78 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2019 Roland Hieber <rhi@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# 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-$(BAREBOX_COMMON_VERSION)
> +BAREBOX_COMMON_SUFFIX := tar.bz2
> +BAREBOX_COMMON_URL := $(call barebox-url, BAREBOX_COMMON)
> +BAREBOX_COMMON_SOURCE := $(SRCDIR)/$(BAREBOX_COMMON).$(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)
> +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
--
Roland Hieber | r.hieber@pengutronix.de |
Pengutronix e.K. | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-06-05 8:13 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-04 20:44 [DistroKit] [PATCH 1/9] v7a: remove unused barebox_mlo menu entry Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 2/9] v7a: barebox-common: add a common reference config for all barebox variants Roland Hieber
2019-06-05 8:13 ` Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 3/9] v7a: platformconfig: configure barebox-common Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 4/9] v7a: bareboxes: use shared settings from the barebox-common package Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 5/9] v7a: bareboxes: use config diffs with the common reference config Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 6/9] v7a: barebox-am335x: slim down config diff Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 7/9] v7a: barebox-mx6: " Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 8/9] v7a: barebox-rpi2: " Roland Hieber
2019-06-04 20:44 ` [DistroKit] [PATCH 9/9] v7a: barebox-vexpress: " Roland Hieber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox