make fails with barebox
FQ | Joan Carles Abelaira
joancarles at fqingenieria.es
Mon Jun 11 03:32:02 EDT 2012
> -----Mensaje original-----
> De: Alexander Shiyan [mailto:shc_work at mail.ru]
> Enviado el: lunes, 11 de junio de 2012 9:02
> Para: joancarles at fqingenieria.es
> CC: 'Sascha Hauer'; barebox at lists.infradead.org
> Asunto: Re[2]: make fails with barebox
>
> Hello.
>
> Mon, 11 Jun 2012 08:57:25 +0200 от "FQ | Joan Carles Abelaira"
> <joancarles at fqingenieria.es>:
> ...
> > > > arch/arm/cpu/built-in.o: In function `reset':
> > > > /home/develop/SID1/dev/dev_sources/barebox-
> > > 2012.06.0/arch/arm/include/asm/system.h:70: undefined reference to
> > > `board_init_lowlevel'
> > > > Any clues about what's missing to not to suffer all weekend
> > > > because of
> > > this?
> > > Appearantly you do not have a board_init_lowlevel function. This is
> > > ok,
> > but
> > > then you have to disable CONFIG_MACH_DO_LOWLEVEL_INIT
> > In parallel I got able to make the project by unselecting the option
> > General Options --> Run Low Level Init , from the menuconfig.
> > I checked this sets/ clear that flag.
> > Danke schoen
>
> Can you post your .config file? I think it is the best way to resolve your
> problem.
Here it is, but the problem I think it's solved in the menuconfig.
#
# Automatically generated file; DO NOT EDIT.
# Barebox/arm 2012.06.0 Configuration
#
# CONFIG_BOARD_LINKER_SCRIPT is not set
CONFIG_GENERIC_LINKER_SCRIPT=y
CONFIG_ARM=y
CONFIG_ARM_LINUX=y
#
# System Type
#
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_EP93XX is not set
CONFIG_ARCH_IMX=y
# 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_S3C24xx is not set
# CONFIG_ARCH_VERSATILE is not set
#
# Processor Type
#
CONFIG_CPU_32=y
CONFIG_CPU_ARM926T=y
CONFIG_CPU_32v5=y
#
# processor features
#
CONFIG_BOOT_ENDIANNESS_SWITCH=y
CONFIG_ARCH_TEXT_BASE=0x83f00000
CONFIG_BOARDINFO="SID1 NOAH"
# CONFIG_ARCH_IMX_INTERNAL_BOOT is not set
CONFIG_ARCH_IMX_EXTERNAL_BOOT=y
# CONFIG_ARCH_IMX_EXTERNAL_BOOT_NAND is not set
#
# Freescale i.MX System-on-Chip
#
# CONFIG_ARCH_IMX1 is not set
# CONFIG_ARCH_IMX21 is not set
CONFIG_ARCH_IMX25=y
# CONFIG_ARCH_IMX27 is not set
# CONFIG_ARCH_IMX31 is not set
# CONFIG_ARCH_IMX35 is not set
# CONFIG_ARCH_IMX51 is not set
# CONFIG_ARCH_IMX53 is not set
# CONFIG_ARCH_IMX6 is not set
# CONFIG_MACH_EUKREA_CPUIMX25 is not set
# CONFIG_MACH_FREESCALE_MX25_3STACK is not set
# CONFIG_MACH_TX25 is not set
CONFIG_MACH_MX25_NOAH=y
#
# Board specific settings
#
#
# i.MX specific settings
#
CONFIG_IMX_CLKO=y
# CONFIG_IMX_IIM is not set
CONFIG_AEABI=y
#
# Arm specific settings
#
CONFIG_CMD_ARM_CPUINFO=y
# CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS is not set
CONFIG_ARM_EXCEPTIONS=y
# CONFIG_ARM_UNWIND is not set
CONFIG_DEFCONFIG_LIST="$ARCH_DEFCONFIG"
CONFIG_GREGORIAN_CALENDER=y
CONFIG_HAS_KALLSYMS=y
CONFIG_HAS_MODULES=y
CONFIG_CMD_MEMORY=y
CONFIG_ENV_HANDLING=y
CONFIG_GENERIC_GPIO=y
CONFIG_BLOCK=y
CONFIG_BLOCK_WRITE=y
CONFIG_FILETYPE=y
CONFIG_BINFMT=y
#
# General Settings
#
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_BANNER=y
CONFIG_ENVIRONMENT_VARIABLES=y
#
# memory layout
#
# CONFIG_MMU is not set
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
CONFIG_TEXT_BASE=0x83f00000
CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
CONFIG_HAVE_CONFIGURABLE_MEMORY_LAYOUT=y
CONFIG_MEMORY_LAYOUT_DEFAULT=y
# CONFIG_MEMORY_LAYOUT_FIXED is not set
CONFIG_STACK_SIZE=0x8000
CONFIG_MALLOC_SIZE=0x400000
# CONFIG_BROKEN is not set
# CONFIG_EXPERIMENTAL is not set
CONFIG_MALLOC_DLMALLOC=y
# CONFIG_MALLOC_TLSF is not set
CONFIG_KALLSYMS=y
CONFIG_MACH_HAS_LOWLEVEL_INIT=y
# CONFIG_MACH_DO_LOWLEVEL_INIT is not set
CONFIG_PROMPT="barebox:"
CONFIG_BAUDRATE=115200
CONFIG_SIMPLE_READLINE=y
# CONFIG_LONGHELP is not set
CONFIG_CBSIZE=1024
CONFIG_MAXARGS=16
CONFIG_SHELL_HUSH=y
# CONFIG_SHELL_SIMPLE is not set
# CONFIG_GLOB is not set
CONFIG_PROMPT_HUSH_PS2="> "
# CONFIG_HUSH_FANCY_PROMPT is not set
CONFIG_HUSH_GETOPT=y
# CONFIG_CMDLINE_EDITING is not set
# CONFIG_MENU is not set
# CONFIG_PASSWORD is not set
CONFIG_DYNAMIC_CRC_TABLE=y
CONFIG_ERRNO_MESSAGES=y
CONFIG_TIMESTAMP=y
CONFIG_CONSOLE_FULL=y
CONFIG_CONSOLE_ACTIVATE_FIRST=y
CONFIG_PARTITION=y
CONFIG_PARTITION_DISK=y
CONFIG_PARTITION_DISK_DOS=y
CONFIG_DEFAULT_ENVIRONMENT=y
CONFIG_DEFAULT_ENVIRONMENT_COMPRESSED=y
CONFIG_DEFAULT_ENVIRONMENT_COMPRESSED_GZIP=y
# CONFIG_DEFAULT_ENVIRONMENT_COMPRESSED_BZIP2 is not set
# CONFIG_DEFAULT_ENVIRONMENT_GENERIC is not set
CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/fq-sid1-mx25-noah/env/"
# CONFIG_BAREBOXENV_TARGET is not set
# CONFIG_POLLER is not set
#
# Debugging
#
CONFIG_DEBUG_INFO=y
CONFIG_ENABLE_FLASH_NOISE=y
CONFIG_ENABLE_PARTITION_NOISE=y
CONFIG_ENABLE_DEVICE_NOISE=y
CONFIG_COMMAND_SUPPORT=y
#
# commands
#
#
# scripting
#
CONFIG_CMD_EDIT=y
# CONFIG_CMD_SLEEP is not set
CONFIG_CMD_SAVEENV=y
CONFIG_CMD_LOADENV=y
CONFIG_CMD_EXPORT=y
CONFIG_CMD_PRINTENV=y
CONFIG_CMD_READLINE=y
CONFIG_CMD_TRUE=y
CONFIG_CMD_FALSE=y
# CONFIG_CMD_LOGIN is not set
# CONFIG_CMD_PASSWD is not set
# CONFIG_CMD_TIME is not set
#
# file commands
#
CONFIG_CMD_LS=y
CONFIG_CMD_RM=y
CONFIG_CMD_CAT=y
CONFIG_CMD_MKDIR=y
CONFIG_CMD_RMDIR=y
CONFIG_CMD_CP=y
CONFIG_CMD_PWD=y
CONFIG_CMD_CD=y
CONFIG_CMD_MOUNT=y
CONFIG_CMD_UMOUNT=y
# CONFIG_CMD_AUTOMOUNT is not set
#
# console
#
CONFIG_CMD_CLEAR=y
CONFIG_CMD_ECHO=y
# CONFIG_CMD_ECHO_E is not set
#
# memory
#
CONFIG_CMD_LOADB=y
CONFIG_CMD_LOADY=y
CONFIG_CMD_LOADS=y
CONFIG_CMD_SAVES=y
CONFIG_CMD_MEMINFO=y
CONFIG_CMD_IOMEM=y
CONFIG_CMD_CRC=y
CONFIG_CMD_CRC_CMP=y
CONFIG_CMD_DIGEST=y
CONFIG_CMD_MD5SUM=y
CONFIG_CMD_SHA1SUM=y
CONFIG_CMD_SHA256SUM=y
CONFIG_CMD_SHA224SUM=y
CONFIG_CMD_MTEST=y
CONFIG_CMD_MTEST_ALTERNATIVE=y
#
# flash
#
CONFIG_CMD_FLASH=y
#
# booting
#
CONFIG_CMD_BOOTM=y
CONFIG_CMD_BOOTM_SHOW_TYPE=y
CONFIG_CMD_BOOTM_VERBOSE=y
CONFIG_CMD_BOOTM_INITRD=y
CONFIG_CMD_BOOTM_OFTREE=y
CONFIG_CMD_BOOTM_OFTREE_UIMAGE=y
# CONFIG_CMD_BOOTM_AIMAGE is not set
CONFIG_CMD_UIMAGE=y
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_BOOTU=y
CONFIG_CMD_RESET=y
CONFIG_CMD_GO=y
# CONFIG_CMD_OFTREE is not set
CONFIG_CMD_TIMEOUT=y
CONFIG_CMD_PARTITION=y
CONFIG_CMD_TEST=y
CONFIG_CMD_VERSION=y
CONFIG_CMD_HELP=y
CONFIG_CMD_MAGICVAR=y
CONFIG_CMD_MAGICVAR_HELP=y
CONFIG_CMD_DEVINFO=y
CONFIG_CMD_GPIO=y
# CONFIG_CMD_UNCOMPRESS is not set
# CONFIG_CMD_I2C is not set
CONFIG_CMD_USB=y
CONFIG_NET=y
CONFIG_NET_DHCP=y
CONFIG_NET_NFS=y
CONFIG_NET_PING=y
CONFIG_NET_TFTP=y
CONFIG_NET_TFTP_PUSH=y
CONFIG_NET_NETCONSOLE=y
# CONFIG_NET_RESOLV is not set
#
# Drivers
#
#
# serial drivers
#
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
CONFIG_DRIVER_SERIAL_IMX=y
# CONFIG_DRIVER_SERIAL_NS16550 is not set
CONFIG_ARCH_HAS_FEC_IMX=y
CONFIG_MIIDEV=y
#
# Network drivers
#
# CONFIG_DRIVER_NET_SMC911X is not set
# CONFIG_DRIVER_NET_SMC91111 is not set
CONFIG_DRIVER_NET_FEC_IMX=y
# CONFIG_DRIVER_NET_KS8851_MLL is not set
# CONFIG_NET_USB is not set
#
# SPI drivers
#
CONFIG_SPI=y
# CONFIG_DRIVER_SPI_IMX is not set
CONFIG_DRIVER_SPI_IMX_0_7=y
CONFIG_I2C=y
#
# I2C Hardware Bus support
#
CONFIG_I2C_IMX=y
#
# flash drivers
#
# CONFIG_DRIVER_CFI is not set
# CONFIG_MTD_M25P80 is not set
# CONFIG_MTD is not set
CONFIG_DISK=y
CONFIG_DISK_WRITE=y
#
# drive types
#
# CONFIG_DISK_ATA is not set
#
# interface types
#
# CONFIG_DISK_INTF_PLATFORM_IDE is not set
CONFIG_USB=y
CONFIG_USB_EHCI=y
CONFIG_USB_OHCI=y
# CONFIG_USB_ULPI is not set
# CONFIG_USB_TWL4030 is not set
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_GADGET 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
#
# --- MCI host drivers ---
#
CONFIG_MCI_IMX_ESDHC=y
# CONFIG_MCI_IMX_ESDHC_PIO is not set
# CONFIG_MCI_SPI is not set
#
# MFD
#
# CONFIG_MFD_MC13XXX is not set
# CONFIG_I2C_MC34704 is not set
# CONFIG_I2C_MC34708 is not set
# CONFIG_I2C_MC9SDZ60 is not set
# CONFIG_I2C_LP3972 is not set
# CONFIG_I2C_TWL6030 is not set
# CONFIG_LED is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT25 is not set
#
# Input device support
#
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_PWM is not set
#
# Filesystem support
#
# CONFIG_FS_CRAMFS is not set
CONFIG_FS_RAMFS=y
CONFIG_FS_DEVFS=y
# CONFIG_FS_TFTP is not set
CONFIG_FS_FAT=y
CONFIG_FS_FAT_WRITE=y
CONFIG_FS_FAT_LFN=y
#
# Library routines
#
CONFIG_PARAMETER=y
CONFIG_UNCOMPRESS=y
CONFIG_ZLIB=y
CONFIG_BZLIB=y
# CONFIG_GENERIC_FIND_NEXT_BIT is not set
# CONFIG_PROCESS_ESCAPE_SEQUENCE is not set
# CONFIG_LZO_DECOMPRESS is not set
CONFIG_FDT=y
CONFIG_OFTREE=y
CONFIG_CRC32=y
CONFIG_CRC16=y
CONFIG_DIGEST=y
CONFIG_MD5=y
CONFIG_SHA1=y
CONFIG_SHA224=y
CONFIG_SHA256=y
More information about the barebox
mailing list