[U-Boot] NAND_SPL Endianess problem?

Simon Schwarz simonschwarzcor at googlemail.com
Fri Jun 24 16:38:29 CEST 2011


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 at 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
>


More information about the U-Boot mailing list