i.MX HABV4 USB Image generation broken since fd9c7cbfe446b0f04aa66bb198c1769045ba2fe5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Commit fd9c7cbfe446 ("scripts: Add common library functions")
intorduced the usage of the common library functions to imx-image,
which breaks the HAB USB image generation within barebox. Signed images
are still generated fine:

  OBJCOPYB images/start_imx6ul_ccbv2_512m.pblb
  CHKFILESIZE images/start_imx6ul_ccbv2_512m.pblb
  OBJCOPYB images/start_imx6ul_ccbv2_256m.pblb
  CHKFILESIZE images/start_imx6ul_ccbv2_256m.pblb
  IMX-IMG images/start_imx6ul_ccbv2_512m.pblb.imximg
  IMX-IMG images/start_imx6ul_ccbv2_512m.pblb.simximg
    Input CSF text filename
CSF Processed successfully and signed data available in
images/start_imx6ul_ccbv2_512m.pblb.simximg.csfbin
  IMX-IMG images/start_imx6ul_ccbv2_512m.pblb.usimximg
    Input CSF text filename
CSF Processed successfully and signed data available in
images/start_imx6ul_ccbv2_512m.pblb.usimximg.csfbin
write failed: Bad address
make[1]: *** [/home/phoenix/work/ptx/barebox/images/Makefile.imx:38:
images/start_imx6ul_ccbv2_512m.pblb.usimximg] Error 1
make[1]: *** Deleting file
'images/start_imx6ul_ccbv2_512m.pblb.usimximg'
make: *** [Makefile:703: images] Error 2

I have attached the .config I used to test this, you'll need the i.MX
cst tool in your path and the environment configuration to point to
certificates. The ptx devel certificates
https://git.pengutronix.de/git/ptx-code-signing-dev were what i used
for testing.

I assume this is the same error that has been fixed in "scripts/common:
fix write_file when opened with mmap", however imx-image implements its
own xwrite helper and opens files itself, so there is a mismatch there

Thanks,
Rouven Czerwinski
#
# Automatically generated file; DO NOT EDIT.
# Barebox/arm 2021.10.0 Configuration
#
CONFIG_ARM=y
CONFIG_ARM_LINUX=y
CONFIG_ARM_USE_COMPRESSED_DTB=y
CONFIG_TEXT_BASE=0x0

#
# System Type
#
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCM283X is not set
# 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_IMX=y
# CONFIG_ARCH_LAYERSCAPE is not set
# CONFIG_ARCH_MVEBU is not set
# CONFIG_ARCH_MXS 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_STM32MP 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_ARM64_VIRT 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_HAS_L2X0=y
# CONFIG_CACHE_L2X0 is not set
CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
CONFIG_ARCH_IMX_IMXIMAGE=y
CONFIG_RESET_IMX_SRC=y

#
# Freescale i.MX System-on-Chip
#
CONFIG_ARCH_IMX6=y
CONFIG_ARCH_IMX6UL=y
CONFIG_IMX_MULTI_BOARDS=y
# CONFIG_MACH_SCB9328 is not set
# CONFIG_MACH_TX25 is not set
# CONFIG_MACH_PCA100 is not set
# CONFIG_MACH_PCM038 is not set
# CONFIG_MACH_KINDLE_MX50 is not set
# CONFIG_MACH_CCMX51 is not set
# CONFIG_MACH_EFIKA_MX_SMARTBOOK is not set
# CONFIG_MACH_EMBEDSKY_E9 is not set
# CONFIG_MACH_FREESCALE_MX51_PDK is not set
# CONFIG_MACH_CCMX53 is not set
# CONFIG_MACH_FREESCALE_MX53_LOCO is not set
# CONFIG_MACH_GUF_VINCELL is not set
# CONFIG_MACH_TQMA53 is not set
# CONFIG_MACH_FREESCALE_MX53_VMX53 is not set
# CONFIG_MACH_TX53 is not set
# CONFIG_MACH_PHYTEC_SOM_IMX6 is not set
# CONFIG_MACH_PROTONIC_IMX6 is not set
# CONFIG_MACH_PROTONIC_IMX8M is not set
# CONFIG_MACH_KONTRON_SAMX6I is not set
# CONFIG_MACH_DFI_FS700_M60 is not set
# CONFIG_MACH_GUF_SANTARO is not set
# CONFIG_MACH_REALQ7 is not set
# CONFIG_MACH_GK802 is not set
# CONFIG_MACH_ELTEC_HIPERCAM is not set
# CONFIG_MACH_TQMA6X is not set
# CONFIG_MACH_TX6X is not set
# CONFIG_MACH_SABRELITE is not set
# CONFIG_MACH_SABRESD is not set
# CONFIG_MACH_FREESCALE_IMX6SX_SABRESDB is not set
# CONFIG_MACH_NITROGEN6 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_EMBEST_MARSBOARD is not set
# CONFIG_MACH_EMBEST_RIOTBOARD is not set
# CONFIG_MACH_UDOO is not set
# CONFIG_MACH_UDOO_NEO is not set
# CONFIG_MACH_VARISCITE_MX6 is not set
# CONFIG_MACH_GW_VENTANA is not set
# CONFIG_MACH_CM_FX6 is not set
# CONFIG_MACH_ADVANTECH_ROM_742X is not set
# CONFIG_MACH_WARP7 is not set
# CONFIG_MACH_AC_SXB is not set
# CONFIG_MACH_VF610_TWR is not set
# CONFIG_MACH_ZII_RDU1 is not set
# CONFIG_MACH_ZII_RDU2 is not set
# CONFIG_MACH_ZII_IMX8MQ_DEV is not set
# CONFIG_MACH_ZII_VF610_DEV is not set
# CONFIG_MACH_ZII_IMX7D_DEV is not set
# CONFIG_MACH_PHYTEC_PHYCORE_IMX7 is not set
# CONFIG_MACH_FREESCALE_MX7_SABRESD is not set
# CONFIG_MACH_KAMSTRUP_MX7_CONCENTRATOR is not set
# CONFIG_MACH_NXP_IMX6ULL_EVK is not set
# CONFIG_MACH_NXP_IMX8MM_EVK is not set
# CONFIG_MACH_NXP_IMX8MN_EVK is not set
# CONFIG_MACH_NXP_IMX8MP_EVK is not set
# CONFIG_MACH_NXP_IMX8MQ_EVK is not set
# CONFIG_MACH_PHYTEC_SOM_IMX8MQ is not set
# CONFIG_MACH_GRINN_LITEBOARD is not set
# CONFIG_MACH_DIGI_CCIMX6ULSBCPRO is not set
CONFIG_MACH_WEBASTO_CCBV2=y
# CONFIG_MACH_MNT_REFORM is not set
# CONFIG_MACH_SKOV_IMX6 is not set

#
# Board specific settings
#
# end of Board specific settings

#
# i.MX specific settings
#
CONFIG_IMX_IIM=y
CONFIG_IMX_IIM_FUSE_BLOW=y
CONFIG_HAB=y
CONFIG_HABV4=y
CONFIG_HAB_CERTS_ENV=y
CONFIG_HABV4_SRK_INDEX=0
CONFIG_HABV4_IMAGE_SIGNED=y
CONFIG_HABV4_IMAGE_SIGNED_USB=y
# CONFIG_HABV4_IMAGE_SIGNED_ENCRYPTED is not set
# end of i.MX specific settings

# CONFIG_ARCH_RK3568_OPTEE is not set
# CONFIG_BOARD_ARM_GENERIC_DT is not set
CONFIG_ARM_ASM_UNIFIED=y
CONFIG_AEABI=y
CONFIG_THUMB2_BAREBOX=y
CONFIG_ARM_BOARD_APPEND_ATAG=y
# CONFIG_ARM_BOARD_PREPEND_ATAG is not set
# end of System Type

#
# 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_OF=y
CONFIG_ARM_PSCI=y
# CONFIG_ARM_PSCI_CLIENT is not set
# CONFIG_ARM_PSCI_DEBUG is not set
# end of ARM specific settings

CONFIG_GREGORIAN_CALENDER=y
CONFIG_HAS_KALLSYMS=y
CONFIG_HAS_MODULES=y
CONFIG_HAS_CACHE=y
CONFIG_HAS_DMA=y
CONFIG_HAS_ARCH_SJLJ=y
CONFIG_GENERIC_GPIO=y
CONFIG_BLOCK=y
CONFIG_BLOCK_WRITE=y
CONFIG_USE_COMPRESSED_DTB=y
CONFIG_FILETYPE=y
CONFIG_BINFMT=y
CONFIG_UIMAGE=y
CONFIG_LOGBUF=y
CONFIG_STDDEV=y
CONFIG_MENUTREE=y
CONFIG_BAREBOX_UPDATE_IMX_NAND_FCB=y
CONFIG_UBIFORMAT=y
CONFIG_USBGADGET_START=y
CONFIG_BOOT=y
CONFIG_FASTBOOT_BASE=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_STACK_SIZE=0x8000
CONFIG_MALLOC_SIZE=0x0
# end of memory layout

# CONFIG_EXPERIMENTAL is not set
# CONFIG_MALLOC_DLMALLOC is not set
CONFIG_MALLOC_TLSF=y
CONFIG_HAVE_MOD_ARCH_SPECIFIC=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=y
CONFIG_BOOTM_OFTREE=y
CONFIG_BOOTM_OFTREE_UIMAGE=y
# CONFIG_BOOTM_AIMAGE is not set
# CONFIG_BOOTM_ELF is not set
# CONFIG_BOOTM_FITIMAGE is not set
CONFIG_BLSPEC=y
CONFIG_FLEXIBLE_BOOTARGS=y
# CONFIG_MMCBLKDEV_ROOTARG is not set
CONFIG_BAREBOX_UPDATE=y
# CONFIG_SYSTEM_PARTITIONS is not set
CONFIG_IMD=y
CONFIG_CONSOLE_FULL=y
# CONFIG_CONSOLE_SIMPLE is not set
# CONFIG_CONSOLE_NONE is not set
# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
# CONFIG_CONSOLE_ACTIVATE_ALL is not set
CONFIG_CONSOLE_ACTIVATE_NONE=y
# CONFIG_CONSOLE_ALLOW_COLOR is not set
# CONFIG_CONSOLE_DISABLE_INPUT is not set
# 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=y
CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y
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_LZO is not set
CONFIG_DEFAULT_COMPRESSION_NONE=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_DFU=y
# CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG is not set
CONFIG_DEFAULT_ENVIRONMENT_PATH=""
CONFIG_HAS_SCHED=y
CONFIG_POLLER=y
# CONFIG_BTHREAD is not set
CONFIG_STATE=y
# CONFIG_STATE_CRYPTO is not set
# CONFIG_STATE_BACKWARD_COMPATIBLE is not set
CONFIG_BOOTCHOOSER=y
CONFIG_RESET_SOURCE=y
# CONFIG_SYSTEMD_OF_WATCHDOG is not set
CONFIG_EXTERNAL_DTS_FRAGMENTS=""

#
# OP-TEE loading
#
# CONFIG_BOOTM_OPTEE is not set
# end of OP-TEE loading

#
# Android Fastboot
#
# CONFIG_FASTBOOT_SPARSE is not set
CONFIG_FASTBOOT_CMD_OEM=y
# end of Android Fastboot
# end of General Settings

#
# Debugging
#
CONFIG_COMPILE_LOGLEVEL=6
CONFIG_DEFAULT_LOGLEVEL=7
# CONFIG_DEBUG_LL is not set
CONFIG_DEBUG_IMX_UART_PORT=1
# CONFIG_DEBUG_INITCALLS is not set
# CONFIG_DEBUG_PROBES is not set
# CONFIG_PBL_BREAK is not set
# CONFIG_UBSAN is not set
CONFIG_HAVE_ARCH_KASAN=y
CONFIG_CC_HAS_KASAN_GENERIC=y
# CONFIG_KASAN is not set
# CONFIG_COMPILE_TEST is not set
# end of Debugging

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_NVMEM is not set
CONFIG_CMD_VERSION=y
# CONFIG_CMD_MMC is not set
CONFIG_CMD_MMC_EXTCSD=y
# CONFIG_CMD_POLLER is not set
# CONFIG_CMD_SLICE is not set
# end of Information

#
# Boot
#
CONFIG_CMD_BOOT=y
CONFIG_CMD_BOOTM=y
# CONFIG_CMD_BOOTU is not set
# CONFIG_CMD_BOOTZ is not set
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
CONFIG_CMD_BOOTCHOOSER=y
# end of Boot

#
# Partition
#
CONFIG_CMD_PARTITION=y
CONFIG_CMD_AUTOMOUNT=y
CONFIG_CMD_MOUNT=y
CONFIG_CMD_UBI=y
CONFIG_CMD_UBIFORMAT=y
CONFIG_CMD_UMOUNT=y
# end of Partition

#
# Environment
#
CONFIG_CMD_NV=y
CONFIG_CMD_EXPORT=y
# CONFIG_CMD_DEFAULTENV is not set
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
CONFIG_CMD_SETENV=y
# end of Environment

#
# File
#
CONFIG_CMD_BASENAME=y
CONFIG_CMD_CAT=y
CONFIG_CMD_CD=y
CONFIG_CMD_CP=y
# CONFIG_CMD_CMP is not set
CONFIG_CMD_DIGEST=y
CONFIG_CMD_DIRNAME=y
CONFIG_CMD_FILETYPE=y
CONFIG_CMD_LN=y
CONFIG_CMD_LS=y
CONFIG_CMD_MD5SUM=y
CONFIG_CMD_MKDIR=y
CONFIG_CMD_PWD=y
CONFIG_CMD_READLINK=y
CONFIG_CMD_RM=y
CONFIG_CMD_RMDIR=y
# CONFIG_CMD_SHA1SUM is not set
# 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
# end of File

#
# 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
# end of Shell scripting

#
# Network
#
CONFIG_CMD_DHCP=y
CONFIG_CMD_HOST=y
CONFIG_NET_CMD_IFUP=y
CONFIG_CMD_MIITOOL=y
CONFIG_CMD_PING=y
CONFIG_CMD_TFTP=y
CONFIG_CMD_IP_ROUTE_GET=y
# end of Network

#
# 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=y
CONFIG_CMD_MENUTREE=y
CONFIG_CMD_SPLASH=y
# CONFIG_CMD_FBTEST is not set
CONFIG_CMD_READLINE=y
CONFIG_CMD_TIMEOUT=y
# end of Console and Framebuffer interaction

#
# 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_MEMTESTER is not set
CONFIG_CMD_MM=y
CONFIG_CMD_MW=y
# end of Memory

#
# 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_NAND=y
# CONFIG_CMD_NANDTEST is not set
# CONFIG_CMD_NAND_BITFLIP is not set
# CONFIG_CMD_POWEROFF is not set
# CONFIG_CMD_SMC 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
# CONFIG_CMD_HAB is not set
# end of Hardware manipulation

#
# Miscellaneous
#
# CONFIG_CMD_2048 is not set
CONFIG_CMD_BAREBOX_UPDATE=y
# CONFIG_CMD_BLOBGEN is not set
# CONFIG_CMD_FIRMWARELOAD is not set
# CONFIG_CMD_OF_DIFF 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_OF_OVERLAY 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
# end of Miscellaneous
# end of Commands

CONFIG_NET=y
# CONFIG_NET_NFS is not set
CONFIG_NET_NETCONSOLE=y
CONFIG_NET_RESOLV=y
CONFIG_NET_IFUP=y
CONFIG_NET_DHCP=y
# CONFIG_NET_SNTP is not set
# CONFIG_NET_FASTBOOT is not set

#
# Drivers
#
CONFIG_OFTREE=y
CONFIG_OFTREE_MEM_GENERIC=y
CONFIG_DTC=y
CONFIG_OFDEVICE=y
CONFIG_OF_GPIO=y
CONFIG_OF_BAREBOX_DRIVERS=y
# CONFIG_OF_BAREBOX_ENV_IN_FS is not set
# CONFIG_OF_OVERLAY is not set
# CONFIG_AIODEV is not set

#
# serial drivers
#
# CONFIG_SERIAL_DEV_BUS is not set
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
CONFIG_DRIVER_SERIAL_IMX=y
# CONFIG_DRIVER_SERIAL_NS16550 is not set
# CONFIG_DRIVER_SERIAL_CADENCE is not set
# CONFIG_SERIAL_SIFIVE is not set
# end of serial drivers

CONFIG_ARCH_HAS_FEC_IMX=y
CONFIG_PHYLIB=y

#
# Network drivers
#
# CONFIG_DRIVER_NET_DESIGNWARE is not set
# CONFIG_DRIVER_NET_DESIGNWARE_EQOS is not set
# CONFIG_DRIVER_NET_ENC28J60 is not set
CONFIG_DRIVER_NET_FEC_IMX=y
# CONFIG_DRIVER_NET_FSL_FMAN 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
# CONFIG_DRIVER_NET_LITEETH is not set

#
# phylib
#

#
# MII PHY device drivers
#
# CONFIG_AR8327N_PHY is not set
CONFIG_AT803X_PHY=y
# 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=y
# CONFIG_NATIONAL_PHY is not set
# CONFIG_REALTEK_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
# end of phylib

CONFIG_NET_USB=y
CONFIG_NET_USB_ASIX=y
# CONFIG_USB_NET_AX88179_178A is not set
CONFIG_NET_USB_SMSC95XX=y
# end of Network drivers

#
# SPI drivers
#
CONFIG_SPI=y
CONFIG_SPI_MEM=y
# CONFIG_DRIVER_SPI_FSL_QUADSPI is not set
CONFIG_DRIVER_SPI_GPIO=y
CONFIG_DRIVER_SPI_IMX=y
CONFIG_DRIVER_SPI_IMX_2_3=y
# CONFIG_DRIVER_SPI_LITEX_SPIFLASH is not set
# end of SPI drivers

CONFIG_I2C=y

#
# I2C Hardware Bus support
#
# CONFIG_I2C_GPIO is not set
CONFIG_I2C_IMX=y
# CONFIG_I2C_DESIGNWARE is not set
# CONFIG_I2C_MV64XXX is not set
# end of I2C Hardware Bus support

# CONFIG_I2C_MUX is not set
CONFIG_MTD=y
CONFIG_MTD_WRITE=y
CONFIG_MTD_OOB_DEVICE=y
CONFIG_MTD_RAW_DEVICE=y
# CONFIG_MTD_CONCAT is not set

#
# MTD debug options
#
# CONFIG_MTD_PEB_DEBUG is not set

#
# Self contained MTD devices
#
CONFIG_MTD_DATAFLASH=y
# CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set
CONFIG_MTD_M25P80=y
CONFIG_MTD_SST25L=y
# CONFIG_MTD_DOCG3 is not set
# CONFIG_MTD_MTDRAM is not set
# end of Self contained MTD devices

# CONFIG_DRIVER_CFI is not set
CONFIG_NAND=y
# CONFIG_MTD_NAND_ECC_SOFT is not set
# CONFIG_NAND_ECC_HW_SYNDROME is not set
CONFIG_NAND_ALLOW_ERASE_BAD=y
CONFIG_NAND_IMX=y
CONFIG_NAND_MXS=y
# CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC is not set
# CONFIG_MTD_NAND_DENALI is not set
CONFIG_MTD_SPI_NOR=y
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
# CONFIG_SPI_CADENCE_QUADSPI is not set
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_BEB_LIMIT=20
CONFIG_MTD_UBI_FASTMAP=y

#
# UBI debugging options
#
# CONFIG_MTD_UBI_CHECK_IO is not set
# CONFIG_MTD_UBI_GENERAL_EXTRA_CHECKS is not set
CONFIG_DISK=y
CONFIG_DISK_IDE_SFF=y
CONFIG_DISK_WRITE=y

#
# drive types
#
CONFIG_DISK_ATA=y
CONFIG_DISK_AHCI=y
CONFIG_DISK_AHCI_IMX=y

#
# interface types
#
CONFIG_DISK_INTF_PLATFORM_IDE=y
CONFIG_DISK_PATA_IMX=y
CONFIG_USB=y
CONFIG_USB_HOST=y
CONFIG_USB_IMX_CHIPIDEA=y
CONFIG_USB_IMX_CHIPIDEA_USBMISC=y
CONFIG_USB_IMX_PHY=y
# CONFIG_USB_DWC2_HOST is not set
# CONFIG_USB_DWC2_GADGET is not set
# CONFIG_USB_DWC3 is not set
CONFIG_USB_EHCI=y
# CONFIG_USB_XHCI is not set
CONFIG_USB_ULPI=y
CONFIG_USB_OTGDEV=y
CONFIG_USB_STORAGE=y

#
# USB Miscellaneous drivers
#
# CONFIG_USB_HUB_USB251XB is not set
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DUALSPEED=y
CONFIG_USB_GADGET_DRIVER_ARC=y
CONFIG_USB_GADGET_AUTOSTART=y

#
# USB Gadget drivers
#
CONFIG_USB_GADGET_DFU=y
CONFIG_USB_GADGET_SERIAL=y
CONFIG_USB_GADGET_FASTBOOT=y
# CONFIG_USB_GADGET_MASS_STORAGE is not set
# CONFIG_USB_MUSB is not set
CONFIG_VIDEO=y
# CONFIG_FRAMEBUFFER_CONSOLE is not set
# CONFIG_DRIVER_VIDEO_FB_SSD1307 is not set
CONFIG_VIDEO_VPL=y
CONFIG_DRIVER_VIDEO_IMX_IPUV3=y
CONFIG_DRIVER_VIDEO_IMX_IPUV3_LVDS=y
CONFIG_DRIVER_VIDEO_IMX_IPUV3_HDMI=y
# CONFIG_DRIVER_VIDEO_IMX_IPUV3_PARALLEL is not set
# CONFIG_DRIVER_VIDEO_BOCHS_ISA is not set
# CONFIG_DRIVER_VIDEO_SIMPLEFB_CLIENT is not set
CONFIG_DRIVER_VIDEO_SIMPLEFB=y
CONFIG_DRIVER_VIDEO_EDID=y
# CONFIG_DRIVER_VIDEO_BACKLIGHT is not set

#
# Video encoder chips
#
# CONFIG_DRIVER_VIDEO_MTL017 is not set
# CONFIG_DRIVER_VIDEO_TC358767 is not set
# CONFIG_DRIVER_VIDEO_SIMPLE_PANEL is not set
# CONFIG_SOUND is not set
CONFIG_MCI_SDHCI=y
CONFIG_MCI=y

#
# --- Feature list ---
#
# CONFIG_MCI_STARTUP is not set
CONFIG_MCI_INFO=y
CONFIG_MCI_WRITE=y
CONFIG_MCI_MMC_BOOT_PARTITIONS=y
# CONFIG_MCI_MMC_GPP_PARTITIONS is not set

#
# --- MCI host drivers ---
#
# CONFIG_MCI_DW is not set
# CONFIG_MCI_ROCKCHIP_DWCMSHC is not set
CONFIG_MCI_IMX_ESDHC=y
# CONFIG_MCI_IMX_ESDHC_PIO is not set
# CONFIG_MCI_ARASAN is not set
# CONFIG_MCI_SPI is not set
CONFIG_HAVE_CLK=y
CONFIG_CLKDEV_LOOKUP=y
CONFIG_COMMON_CLK=y
CONFIG_COMMON_CLK_OF_PROVIDER=y

#
# Clocksource
#
CONFIG_ARCH_HAS_IMX_GPT=y
CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
CONFIG_CLOCKSOURCE_ARM_ARCHITECTED_TIMER=y
CONFIG_CLOCKSOURCE_IMX_GPT=y
# CONFIG_CLOCKSOURCE_DW_APB_TIMER is not set
# end of Clocksource

#
# Multifunction device drivers
#
# CONFIG_MFD_ACT8846 is not set
# CONFIG_MFD_DA9053 is not set
CONFIG_MFD_DA9063=y
# CONFIG_MFD_LP3972 is not set
CONFIG_MFD_MC13XXX=y
CONFIG_MFD_MC34704=y
CONFIG_MFD_MC9SDZ60=y
CONFIG_MFD_STMPE=y
CONFIG_MFD_SYSCON=y
# CONFIG_MFD_TWL4030 is not set
# CONFIG_MFD_TWL6030 is not set
# CONFIG_MFD_STPMIC1 is not set
# CONFIG_MFD_ATMEL_FLEXCOM is not set
# end of Multifunction device drivers

#
# Misc devices
#
# CONFIG_JTAG is not set
# CONFIG_SRAM is not set
CONFIG_STATE_DRV=y
CONFIG_DEV_MEM=y
# CONFIG_UBOOTVAR is not set
# end of Misc devices

CONFIG_LED=y
CONFIG_LED_GPIO=y
# CONFIG_LED_PWM 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=y
CONFIG_EEPROM_AT24=y
# end of EEPROM support

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_KEYBOARD_GPIO=y
# CONFIG_KEYBOARD_IMX_KEYPAD is not set
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_USB is not set
# CONFIG_INPUT_SPECIALKEYS is not set
# end of Input device support

CONFIG_WATCHDOG_IMX_RESET_SOURCE=y
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_POLLER is not set
# CONFIG_WATCHDOG_DW is not set
CONFIG_WATCHDOG_IMX=y
# CONFIG_GPIO_WATCHDOG is not set
CONFIG_PWM=y
CONFIG_PWM_IMX=y
# CONFIG_HWRNG is not set

#
# DMA support
#
CONFIG_MXS_APBH_DMA=y
# end of DMA support

CONFIG_GPIOLIB=y

#
# GPIO
#
CONFIG_GPIO_74164=y
# CONFIG_GPIO_74XX_MMIO is not set
# CONFIG_GPIO_GENERIC_PLATFORM is not set
CONFIG_GPIO_IMX=y
# CONFIG_GPIO_PCA953X is not set
# CONFIG_GPIO_PCF857X is not set
CONFIG_GPIO_STMPE=y
# CONFIG_GPIO_DESIGNWARE is not set
# CONFIG_GPIO_SX150X is not set
# CONFIG_GPIO_SIFIVE is not set
# end of GPIO

# CONFIG_W1 is not set

#
# Pin controllers
#
CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX_IOMUX_V3=y
# CONFIG_PINCTRL_SINGLE is not set
# end of Pin controllers

CONFIG_NVMEM=y
# CONFIG_NVMEM_RMEM is not set
# CONFIG_NVMEM_SNVS_LPGPR is not set
CONFIG_IMX_OCOTP=y
# CONFIG_IMX_OCOTP_WRITE is not set
# CONFIG_EEPROM_93XX46 is not set

#
# Bus devices
#
# CONFIG_IMX_WEIM is not set
# end of Bus devices

CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED=y
# CONFIG_REGULATOR_PFUZE is not set
# CONFIG_REGULATOR_ANATOP is not set

#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set
# end of Remoteproc drivers

# CONFIG_RESET_CONTROLLER is not set
CONFIG_HW_HAS_PCI=y

#
# PCI bus options
#
# CONFIG_PCI is not set
# CONFIG_PCI_IMX6 is not set
# end of PCI bus options

# CONFIG_RTC_CLASS is not set

#
# Firmware Drivers
#
# CONFIG_FIRMWARE_ALTERA_SERIAL is not set
# end of Firmware Drivers

#
# FPGA Configuration Support
#
# CONFIG_FPGA is not set
# end of FPGA Configuration Support

CONFIG_GENERIC_PHY=y
CONFIG_USB_NOP_XCEIV=y
# CONFIG_PHY_FSL_IMX8MQ_USB is not set
# CONFIG_CRYPTO_HW is not set

#
# Memory controller drivers
#
# end of Memory controller drivers

#
# i.MX SoC drivers
#
# end of i.MX SoC drivers

#
# NVME Support
#
# end of NVME Support

# CONFIG_SYSCON_REBOOT_MODE is not set
# CONFIG_NVMEM_REBOOT_MODE is not set
# CONFIG_POWER_RESET_SYSCON is not set
# CONFIG_POWER_RESET_SYSCON_POWEROFF is not set
# CONFIG_POWER_RESET_GPIO is not set
# CONFIG_POWER_RESET_GPIO_RESTART is not set
CONFIG_VIRTIO_MENU=y
# CONFIG_VIRTIO_MMIO is not set
# end of 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_JFFS2 is not set
CONFIG_FS_UBIFS=y
CONFIG_FS_UBIFS_COMPRESSION_LZO=y
# CONFIG_FS_UBIFS_COMPRESSION_ZLIB is not set
# 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
#
# end of Filesystem support

#
# Library routines
#
CONFIG_PARAMETER=y
CONFIG_UNCOMPRESS=y
CONFIG_ZLIB=y
# CONFIG_BZLIB is not set
# CONFIG_LZ4_DECOMPRESS is not set
# CONFIG_ZSTD_DECOMPRESS is not set
# CONFIG_XZ_DECOMPRESS is not set
# CONFIG_BASE64 is not set
CONFIG_PROCESS_ESCAPE_SEQUENCE=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_BCH=y
CONFIG_FNMATCH=y
CONFIG_QSORT=y
CONFIG_LIBSCAN=y
CONFIG_LIBUBIGEN=y
CONFIG_STMP_DEVICE=y
# CONFIG_RATP is not set
# CONFIG_ALLOW_PRNG_FALLBACK is not set
# CONFIG_CRC_CCITT is not set
CONFIG_CRC8=y

#
# Library gui routines
#
CONFIG_IMAGE_RENDERER=y
# CONFIG_BMP is not set
CONFIG_PNG=y
CONFIG_LODEPNG=y
# CONFIG_PICOPNG is not set
# end of Library gui routines

# CONFIG_BAREBOX_LOGO is not set
CONFIG_PRINTF_UUID=y
# CONFIG_NLS is not set
# CONFIG_BLOBGEN is not set
CONFIG_ARCH_HAS_STACK_DUMP=y
CONFIG_ARCH_HAS_DATA_ABORT_MASK=y
# end of Library routines

#
# Crypto support
#
CONFIG_CRC32=y
CONFIG_DIGEST=y
CONFIG_MD5=y
# CONFIG_DIGEST_CRC32_GENERIC is not set
CONFIG_DIGEST_MD5_GENERIC=y
# CONFIG_DIGEST_SHA1_GENERIC is not set
# 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
# end of Crypto support

#
# Firmware files
#
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
# end of Firmware files

#
# Host Tools
#
# CONFIG_COMPILE_HOST_TOOLS is not set
# CONFIG_ARCH_IMX_USBLOADER is not set
# end of Host Tools

#
# Target Tools
#
# CONFIG_IMD_TARGET is not set
# CONFIG_KERNEL_INSTALL_TARGET is not set
# CONFIG_BAREBOXENV_TARGET is not set
# CONFIG_BAREBOXCRC32_TARGET is not set
# CONFIG_MVEBU_KWBOOT_TARGET is not set
# end of Target Tools

# CONFIG_TEST is not set
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux