Hi <br><br>As a follow-up my .config is here:-<br><br>#<br># Automatically generated make config: don't edit<br># barebox version: 2010.08.0<br># Fri Aug 27 19:03:43 2010<br>#<br># CONFIG_BOARD_LINKER_SCRIPT is not set<br>
CONFIG_GENERIC_LINKER_SCRIPT=y<br>CONFIG_ARM=y<br><br>#<br># System Type<br>#<br>CONFIG_ARCH_AT91=y<br># CONFIG_ARCH_AT91RM9200 is not set<br># CONFIG_ARCH_EP93XX is not set<br># CONFIG_ARCH_IMX is not set<br># CONFIG_ARCH_NETX is not set<br>
# CONFIG_ARCH_OMAP is not set<br># CONFIG_ARCH_S3C24xx is not set<br><br>#<br># Processor Type<br>#<br>CONFIG_CPU_32=y<br>CONFIG_CPU_ARM926T=y<br>CONFIG_CPU_32v5=y<br><br>#<br># processor features<br>#<br>CONFIG_ARCH_TEXT_BASE=0x23f00000<br>
CONFIG_BOARDINFO="Atmel at91sam9263-ek"<br><br>#<br># Atmel AT91 System-on-Chip<br>#<br># CONFIG_ARCH_AT91SAM9260 is not set<br>CONFIG_ARCH_AT91SAM9263=y<br>CONFIG_MACH_AT91SAM9263EK=y<br># CONFIG_MACH_MMCCPU is not set<br>
# CONFIG_MACH_PM9263 is not set<br>CONFIG_AEABI=y<br><br>#<br># Arm specific settings <br>#<br>CONFIG_CMD_ARM_CPUINFO=y<br>CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y<br>CONFIG_GREGORIAN_CALENDER=y<br>CONFIG_HAS_KALLSYMS=y<br>
CONFIG_HAS_MODULES=y<br>CONFIG_CMD_MEMORY=y<br>CONFIG_ENV_HANDLING=y<br>CONFIG_GENERIC_GPIO=y<br>#<br># General Settings <br>#<br>CONFIG_LOCALVERSION_AUTO=y<br><br>#<br># memory layout <br>#<br>
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y<br>CONFIG_TEXT_BASE=0x23f00000<br>CONFIG_HAVE_CONFIGURABLE_MEMORY_LAYOUT=y<br>CONFIG_MEMORY_LAYOUT_DEFAULT=y<br># CONFIG_MEMORY_LAYOUT_FIXED is not set<br>CONFIG_STACK_SIZE=0x8000<br>CONFIG_MALLOC_SIZE=0x400000<br>
CONFIG_BROKEN=y<br>CONFIG_EXPERIMENTAL=y<br># CONFIG_MODULES is not set<br># CONFIG_KALLSYMS is not set<br>CONFIG_MACH_HAS_LOWLEVEL_INIT=y<br>CONFIG_MACH_DO_LOWLEVEL_INIT=y<br>CONFIG_PROMPT="9263-EK:"<br>CONFIG_BAUDRATE=115200<br>
CONFIG_LONGHELP=y<br>CONFIG_CBSIZE=1024<br>CONFIG_MAXARGS=16<br>CONFIG_SHELL_HUSH=y<br># CONFIG_SHELL_SIMPLE is not set<br>CONFIG_GLOB=y<br>CONFIG_PROMPT_HUSH_PS2="> "<br># CONFIG_HUSH_FANCY_PROMPT is not set<br>
CONFIG_CMDLINE_EDITING=y<br>CONFIG_AUTO_COMPLETE=y<br>CONFIG_DYNAMIC_CRC_TABLE=y<br>CONFIG_ERRNO_MESSAGES=y<br>CONFIG_TIMESTAMP=y<br>CONFIG_CONSOLE_FULL=y<br>CONFIG_CONSOLE_ACTIVATE_FIRST=y<br># CONFIG_OF_FLAT_TREE is not set<br>
CONFIG_PARTITION=y<br>CONFIG_DEFAULT_ENVIRONMENT=y<br>CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/at91sam9263ek/env"<br><br>#<br># Debugging <br>#<br>CONFIG_DEBUG_INFO=y<br>CONFIG_ENABLE_FLASH_NOISE=y<br>
CONFIG_ENABLE_PARTITION_NOISE=y<br>CONFIG_ENABLE_DEVICE_NOISE=y<br><br>#<br># Commands <br>##<br># scripting <br>#<br>CONFIG_CMD_EDIT=y<br>CONFIG_CMD_SLEEP=y<br>CONFIG_CMD_SAVEENV=y<br>
CONFIG_CMD_LOADENV=y<br>CONFIG_CMD_EXPORT=y<br>CONFIG_CMD_PRINTENV=y<br>CONFIG_CMD_READLINE=y<br>CONFIG_CMD_TRUE=y<br>CONFIG_CMD_FALSE=y<br><br>#<br># file commands <br>#<br>CONFIG_CMD_LS=y<br>CONFIG_CMD_RM=y<br>
CONFIG_CMD_CAT=y<br>CONFIG_CMD_MKDIR=y<br>CONFIG_CMD_RMDIR=y<br>CONFIG_CMD_CP=y<br>CONFIG_CMD_PWD=y<br>CONFIG_CMD_CD=y<br>CONFIG_CMD_MOUNT=y<br>CONFIG_CMD_UMOUNT=y<br><br>#<br># console <br>#<br>CONFIG_CMD_CLEAR=y<br>
CONFIG_CMD_ECHO=y<br># CONFIG_CMD_ECHO_E is not set<br><br>#<br># memory <br>#<br># CONFIG_CMD_LOADB is not set<br># CONFIG_CMD_LOADY is not set<br># CONFIG_CMD_LOADS is not set<br>CONFIG_CMD_MEMINFO=y<br>
CONFIG_CMD_CRC=y<br>CONFIG_CMD_MTEST=y<br># CONFIG_CMD_MTEST_ALTERNATIVE is not set<br><br>#<br># flash <br>#<br>CONFIG_CMD_FLASH=y<br>CONFIG_CMD_UBI=y<br><br>#<br># booting <br>
#<br>CONFIG_CMD_BOOTM=y<br>CONFIG_CMD_BOOTM_ZLIB=y<br>CONFIG_CMD_BOOTM_BZLIB=y<br>CONFIG_CMD_BOOTM_SHOW_TYPE=y<br>CONFIG_CMD_BOOTZ=y<br>CONFIG_CMD_BOOTU=y<br># CONFIG_CMD_LINUX16 is not set<br>CONFIG_CMD_RESET=y<br>CONFIG_CMD_GO=y<br>
CONFIG_CMD_TIMEOUT=y<br>CONFIG_CMD_PARTITION=y<br>CONFIG_CMD_TEST=y<br>CONFIG_CMD_VERSION=y<br>CONFIG_CMD_HELP=y<br>CONFIG_CMD_DEVINFO=y<br># CONFIG_CMD_GPIO is not set<br># CONFIG_CMD_UNLZO is not set<br># CONFIG_CMD_I2C is not set<br>
CONFIG_NET=y<br>CONFIG_NET_DHCP=y<br>CONFIG_NET_NFS=y<br>CONFIG_NET_PING=y<br>CONFIG_NET_TFTP=y<br># CONFIG_NET_TFTP_PUSH is not set<br># CONFIG_NET_NETCONSOLE is not set<br># CONFIG_NET_RESOLV is not set<br><br>#<br># Drivers <br>
#<br><br>#<br># serial drivers <br>#<br># CONFIG_DRIVER_SERIAL_ARM_DCC is not set<br># CONFIG_DRIVER_SERIAL_NS16550 is not set<br>CONFIG_DRIVER_SERIAL_ATMEL=y<br>CONFIG_MIIPHY=y<br><br>#<br># Network drivers <br>
#<br># CONFIG_DRIVER_NET_SMC911X is not set<br># CONFIG_DRIVER_NET_SMC91111 is not set<br>CONFIG_DRIVER_NET_MACB=y<br># CONFIG_NET_USB is not set<br><br>#<br># SPI drivers <br>#<br># CONFIG_SPI is not set<br>
CONFIG_I2C=y<br>CONFIG_DRIVER_I2C_MC13892=y<br>CONFIG_DRIVER_I2C_MC34704=y<br>CONFIG_DRIVER_I2C_MC9SDZ60=y<br>CONFIG_DRIVER_I2C_LP3972=y<br><br># CONFIG_DRIVER_SERIAL_ARM_DCC is not set<br># CONFIG_DRIVER_SERIAL_NS16550 is not set<br>
CONFIG_DRIVER_SERIAL_ATMEL=y<br>CONFIG_MIIPHY=y<br><br>#<br># Network drivers <br>#<br># CONFIG_DRIVER_NET_SMC911X is not set<br># CONFIG_DRIVER_NET_SMC91111 is not set<br>CONFIG_DRIVER_NET_MACB=y<br># CONFIG_NET_USB is not set<br>
<br>#<br># SPI drivers <br>#<br># CONFIG_SPI is not set<br>CONFIG_I2C=y<br>CONFIG_DRIVER_I2C_MC13892=y<br>CONFIG_DRIVER_I2C_MC34704=y<br>CONFIG_DRIVER_I2C_MC9SDZ60=y<br>CONFIG_DRIVER_I2C_LP3972=y<br><br>
#<br># flash drivers <br>#<br># CONFIG_DRIVER_CFI is not set<br>CONFIG_MTD=y<br>CONFIG_NAND=y<br>CONFIG_NAND_ATMEL=y<br># CONFIG_MTD_NAND_VERIFY_WRITE is not set<br># CONFIG_MTD_NAND_ECC_SMC is not set<br>
CONFIG_MTD_NAND_IDS=y<br># CONFIG_MTD_NAND_DISKONCHIP is not set<br>CONFIG_UBI=y<br># CONFIG_ATA is not set<br>CONFIG_USB=y<br>CONFIG_USB_EHCI=y<br># CONFIG_USB_ISP1504 is not set<br># CONFIG_USB_GADGET is not set<br># CONFIG_VIDEO is not set<br>
<br>#<br># Filesystem support <br>#<br># CONFIG_FS_CRAMFS is not set<br>CONFIG_FS_RAMFS=y<br>CONFIG_FS_DEVFS=y<br>CONFIG_PARTITION_NEED_MTD=y<br>CONFIG_ZLIB=y<br>CONFIG_BZLIB=y<br>CONFIG_CRC32=y<br># CONFIG_GENERIC_FIND_NEXT_BIT is not set<br>
# CONFIG_PROCESS_ESCAPE_SEQUENCE is not set<br><br>regards<br><br>Nataraj<br><br><div class="gmail_quote">On Fri, Aug 27, 2010 at 7:10 PM, Nataraj S Narayan <span dir="ltr"><<a href="mailto:natarajsn@gmail.com">natarajsn@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi <br><br>If <br><br>CONFIG_NAND=y<br>CONFIG_NAND_ATMEL=y<br><br><br>barebox breaks and wont load from dataflash.<br>
<br>I am trying to get UBI working with:-<br><br>CONFIG_CMD_UBI=y<br>CONFIG_UBI=y<br><br><br>I remove NAND flash from config, barebox loads:-<br>
barebox 2010.08.0-00036-ga74a26f (Aug 27 2010 - 18:52:37)<br><br>Board: Atmel at91sam9263-ek<br>Malloc space: 0x23b00000 -> 0x23f00000 (size 4 MB)<br>Stack space : 0x23af8000 -> 0x23b00000 (size 32 kB)<br>Open /dev/env0 No such file or directory<br>
no valid environment found on /dev/env0. Using default environment<br>running /env/bin/init...<br>no MAC address set for eth0. please enter the one found on your board: 3a:1f:34:08:54:54<br><br>Hit any key to stop autoboot: 1<br>
<br>type update_kernel nor [<imagename>] to update kernel into flash<br>type update_root nor [<imagename>] to update rootfs into flash<br>type update_barebox_xmodem nor to update barebox into flash<br><br>9263-EK:/ <br>
9263-EK:/ <br>9263-EK:/ <br><br>regards<br><font color="#888888"><br>nataraj<br><br><br><br>
</font></blockquote></div><br>