
24 Jun
2011
24 Jun
'11
4:38 p.m.
Hi list,
answer to myself: no endianness problem...
I hunted a phantom. Actualley it was openOCD which somehow prevented the jump to SDRAM....
Works fine now.
Regards Simon
2011/6/24 Simon Schwarz simonschwarzcor@googlemail.com:
Hi list,
still working on NAND for my SPL...
The system is working - I can read from the device. But the endianess seems to be big endian and not little as I would expect.
If I program e.g. 13 00 00 EA I read EA 00 00 13 from NAND. Sure I could write a conversion function but IMHO there has to be another problem. I use the standard nand_read_buf16 function from nand_base.c.
Is there something I miss? It just doesn't make sense to me that the same driver would write/read in different endianness.... any ideas?
Regards Simon