Hi

If

CONFIG_NAND=y
CONFIG_NAND_ATMEL=y


barebox breaks and  wont load from dataflash.

I am trying to get UBI working with:-

CONFIG_CMD_UBI=y
CONFIG_UBI=y


I remove NAND flash from config, barebox loads:-
barebox 2010.08.0-00036-ga74a26f (Aug 27 2010 - 18:52:37)

Board: Atmel at91sam9263-ek
Malloc space: 0x23b00000 -> 0x23f00000 (size  4 MB)
Stack space : 0x23af8000 -> 0x23b00000 (size 32 kB)
Open /dev/env0 No such file or directory
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
no MAC address set for eth0. please enter the one found on your board: 3a:1f:34:08:54:54

Hit any key to stop autoboot:  1

type update_kernel nor [<imagename>] to update kernel into flash
type update_root nor [<imagename>] to update rootfs into flash
type update_barebox_xmodem nor to update barebox into flash

9263-EK:/
9263-EK:/
9263-EK:/

regards

nataraj