* barebox:Nand flash issue
@ 2010-08-27 13:40 Nataraj S Narayan
2010-08-27 13:45 ` Nataraj S Narayan
2010-08-27 13:52 ` Marc Kleine-Budde
0 siblings, 2 replies; 4+ messages in thread
From: Nataraj S Narayan @ 2010-08-27 13:40 UTC (permalink / raw)
To: barebox
[-- Attachment #1.1: Type: text/plain, Size: 896 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1061 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: barebox:Nand flash issue
2010-08-27 13:40 barebox:Nand flash issue Nataraj S Narayan
@ 2010-08-27 13:45 ` Nataraj S Narayan
2010-08-27 13:52 ` Marc Kleine-Budde
1 sibling, 0 replies; 4+ messages in thread
From: Nataraj S Narayan @ 2010-08-27 13:45 UTC (permalink / raw)
To: barebox
[-- Attachment #1.1: Type: text/plain, Size: 6224 bytes --]
Hi
As a follow-up my .config is here:-
#
# Automatically generated make config: don't edit
# barebox version: 2010.08.0
# Fri Aug 27 19:03:43 2010
#
# CONFIG_BOARD_LINKER_SCRIPT is not set
CONFIG_GENERIC_LINKER_SCRIPT=y
CONFIG_ARM=y
#
# System Type
#
CONFIG_ARCH_AT91=y
# CONFIG_ARCH_AT91RM9200 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_IMX is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_OMAP is not set
# CONFIG_ARCH_S3C24xx is not set
#
# Processor Type
#
CONFIG_CPU_32=y
CONFIG_CPU_ARM926T=y
CONFIG_CPU_32v5=y
#
# processor features
#
CONFIG_ARCH_TEXT_BASE=0x23f00000
CONFIG_BOARDINFO="Atmel at91sam9263-ek"
#
# Atmel AT91 System-on-Chip
#
# CONFIG_ARCH_AT91SAM9260 is not set
CONFIG_ARCH_AT91SAM9263=y
CONFIG_MACH_AT91SAM9263EK=y
# CONFIG_MACH_MMCCPU is not set
# CONFIG_MACH_PM9263 is not set
CONFIG_AEABI=y
#
# Arm specific settings
#
CONFIG_CMD_ARM_CPUINFO=y
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
CONFIG_GREGORIAN_CALENDER=y
CONFIG_HAS_KALLSYMS=y
CONFIG_HAS_MODULES=y
CONFIG_CMD_MEMORY=y
CONFIG_ENV_HANDLING=y
CONFIG_GENERIC_GPIO=y
#
# General Settings
#
CONFIG_LOCALVERSION_AUTO=y
#
# memory layout
#
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
CONFIG_TEXT_BASE=0x23f00000
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=y
CONFIG_EXPERIMENTAL=y
# CONFIG_MODULES is not set
# CONFIG_KALLSYMS is not set
CONFIG_MACH_HAS_LOWLEVEL_INIT=y
CONFIG_MACH_DO_LOWLEVEL_INIT=y
CONFIG_PROMPT="9263-EK:"
CONFIG_BAUDRATE=115200
CONFIG_LONGHELP=y
CONFIG_CBSIZE=1024
CONFIG_MAXARGS=16
CONFIG_SHELL_HUSH=y
# CONFIG_SHELL_SIMPLE is not set
CONFIG_GLOB=y
CONFIG_PROMPT_HUSH_PS2="> "
# CONFIG_HUSH_FANCY_PROMPT is not set
CONFIG_CMDLINE_EDITING=y
CONFIG_AUTO_COMPLETE=y
CONFIG_DYNAMIC_CRC_TABLE=y
CONFIG_ERRNO_MESSAGES=y
CONFIG_TIMESTAMP=y
CONFIG_CONSOLE_FULL=y
CONFIG_CONSOLE_ACTIVATE_FIRST=y
# CONFIG_OF_FLAT_TREE is not set
CONFIG_PARTITION=y
CONFIG_DEFAULT_ENVIRONMENT=y
CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/at91sam9263ek/env"
#
# Debugging
#
CONFIG_DEBUG_INFO=y
CONFIG_ENABLE_FLASH_NOISE=y
CONFIG_ENABLE_PARTITION_NOISE=y
CONFIG_ENABLE_DEVICE_NOISE=y
#
# Commands
##
# scripting
#
CONFIG_CMD_EDIT=y
CONFIG_CMD_SLEEP=y
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
#
# 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
#
# console
#
CONFIG_CMD_CLEAR=y
CONFIG_CMD_ECHO=y
# CONFIG_CMD_ECHO_E is not set
#
# memory
#
# CONFIG_CMD_LOADB is not set
# CONFIG_CMD_LOADY is not set
# CONFIG_CMD_LOADS is not set
CONFIG_CMD_MEMINFO=y
CONFIG_CMD_CRC=y
CONFIG_CMD_MTEST=y
# CONFIG_CMD_MTEST_ALTERNATIVE is not set
#
# flash
#
CONFIG_CMD_FLASH=y
CONFIG_CMD_UBI=y
#
# booting
#
CONFIG_CMD_BOOTM=y
CONFIG_CMD_BOOTM_ZLIB=y
CONFIG_CMD_BOOTM_BZLIB=y
CONFIG_CMD_BOOTM_SHOW_TYPE=y
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_BOOTU=y
# CONFIG_CMD_LINUX16 is not set
CONFIG_CMD_RESET=y
CONFIG_CMD_GO=y
CONFIG_CMD_TIMEOUT=y
CONFIG_CMD_PARTITION=y
CONFIG_CMD_TEST=y
CONFIG_CMD_VERSION=y
CONFIG_CMD_HELP=y
CONFIG_CMD_DEVINFO=y
# CONFIG_CMD_GPIO is not set
# CONFIG_CMD_UNLZO is not set
# CONFIG_CMD_I2C is not set
CONFIG_NET=y
CONFIG_NET_DHCP=y
CONFIG_NET_NFS=y
CONFIG_NET_PING=y
CONFIG_NET_TFTP=y
# CONFIG_NET_TFTP_PUSH is not set
# CONFIG_NET_NETCONSOLE is not set
# CONFIG_NET_RESOLV is not set
#
# Drivers
#
#
# serial drivers
#
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
# CONFIG_DRIVER_SERIAL_NS16550 is not set
CONFIG_DRIVER_SERIAL_ATMEL=y
CONFIG_MIIPHY=y
#
# Network drivers
#
# CONFIG_DRIVER_NET_SMC911X is not set
# CONFIG_DRIVER_NET_SMC91111 is not set
CONFIG_DRIVER_NET_MACB=y
# CONFIG_NET_USB is not set
#
# SPI drivers
#
# CONFIG_SPI is not set
CONFIG_I2C=y
CONFIG_DRIVER_I2C_MC13892=y
CONFIG_DRIVER_I2C_MC34704=y
CONFIG_DRIVER_I2C_MC9SDZ60=y
CONFIG_DRIVER_I2C_LP3972=y
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
# CONFIG_DRIVER_SERIAL_NS16550 is not set
CONFIG_DRIVER_SERIAL_ATMEL=y
CONFIG_MIIPHY=y
#
# Network drivers
#
# CONFIG_DRIVER_NET_SMC911X is not set
# CONFIG_DRIVER_NET_SMC91111 is not set
CONFIG_DRIVER_NET_MACB=y
# CONFIG_NET_USB is not set
#
# SPI drivers
#
# CONFIG_SPI is not set
CONFIG_I2C=y
CONFIG_DRIVER_I2C_MC13892=y
CONFIG_DRIVER_I2C_MC34704=y
CONFIG_DRIVER_I2C_MC9SDZ60=y
CONFIG_DRIVER_I2C_LP3972=y
#
# flash drivers
#
# CONFIG_DRIVER_CFI is not set
CONFIG_MTD=y
CONFIG_NAND=y
CONFIG_NAND_ATMEL=y
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
# CONFIG_MTD_NAND_ECC_SMC is not set
CONFIG_MTD_NAND_IDS=y
# CONFIG_MTD_NAND_DISKONCHIP is not set
CONFIG_UBI=y
# CONFIG_ATA is not set
CONFIG_USB=y
CONFIG_USB_EHCI=y
# CONFIG_USB_ISP1504 is not set
# CONFIG_USB_GADGET is not set
# CONFIG_VIDEO is not set
#
# Filesystem support
#
# CONFIG_FS_CRAMFS is not set
CONFIG_FS_RAMFS=y
CONFIG_FS_DEVFS=y
CONFIG_PARTITION_NEED_MTD=y
CONFIG_ZLIB=y
CONFIG_BZLIB=y
CONFIG_CRC32=y
# CONFIG_GENERIC_FIND_NEXT_BIT is not set
# CONFIG_PROCESS_ESCAPE_SEQUENCE is not set
regards
Nataraj
On Fri, Aug 27, 2010 at 7:10 PM, Nataraj S Narayan <natarajsn@gmail.com>wrote:
> 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
>
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 7901 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: barebox:Nand flash issue
2010-08-27 13:40 barebox:Nand flash issue Nataraj S Narayan
2010-08-27 13:45 ` Nataraj S Narayan
@ 2010-08-27 13:52 ` Marc Kleine-Budde
2010-08-27 15:05 ` Jean-Christophe PLAGNIOL-VILLARD
1 sibling, 1 reply; 4+ messages in thread
From: Marc Kleine-Budde @ 2010-08-27 13:52 UTC (permalink / raw)
To: Nataraj S Narayan; +Cc: barebox
[-- Attachment #1.1: Type: text/plain, Size: 567 bytes --]
Nataraj S Narayan wrote:
> Hi
>
> If
>
> CONFIG_NAND=y
> CONFIG_NAND_ATMEL=y
>
>
> barebox breaks and wont load from dataflash.
I'm not sure if dataflash is supported. Try to boot from real NAND or NOR.
Jean-Christophe can probably say something to this.
Cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: barebox:Nand flash issue
2010-08-27 13:52 ` Marc Kleine-Budde
@ 2010-08-27 15:05 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-08-27 15:05 UTC (permalink / raw)
To: Marc Kleine-Budde; +Cc: barebox
On 15:52 Fri 27 Aug , Marc Kleine-Budde wrote:
> Nataraj S Narayan wrote:
> > Hi
> >
> > If
> >
> > CONFIG_NAND=y
> > CONFIG_NAND_ATMEL=y
> >
> >
> > barebox breaks and wont load from dataflash.
>
> I'm not sure if dataflash is supported. Try to boot from real NAND or NOR.
>
> Jean-Christophe can probably say something to this.
I've not yet add the spi-flash support
but how do you boot from spi-flash?
via at91bootstrap?
I'm currently travelling so I can not test it by now as I just take some SH4
boards
I plan to add it later next month
Best Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-27 15:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-27 13:40 barebox:Nand flash issue Nataraj S Narayan
2010-08-27 13:45 ` Nataraj S Narayan
2010-08-27 13:52 ` Marc Kleine-Budde
2010-08-27 15:05 ` Jean-Christophe PLAGNIOL-VILLARD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox