We are currently facing some problems when trying to boot from a nand on a am335x based device.
We can boot the device via mmc and uart. We are able to read and write to the device, when the device is booted via mmc or uart. The nand is even detected by the linux kernel.
When we boot the device, it stops sending C over the uart after a couple of seconds.We see that the device is stuck in the Undefined exception default handler(adress 0x20080),when we add a jtag debugger to it.
Sysboot: 0x4104
Trace vector 0: 0x000090FE
Trace vector 1: 0x0001F000
Trace vector 2: 0x00011030
Nand type : Spansion S34ML04G200BHI000 (4Gbit,Manufacturer ID: 0x01, Chip ID: 0xdc)
Bus size: 8 bit
Block size: 64 Pages
Spare size: 64 bytes
Plane size: 2048 Blocks
Device size: 2 planes