
8 Jan
2011
8 Jan
'11
12:23 a.m.
On Jan 7, 2011, at 11:52 AM, Wolfgang Denk wrote:
Dear York Sun,
In message 1294418957.8466.8.camel@oslab-l1 you wrote:
fsl_ddr:ctlr_intlv=cacheline,bank_intlv=cs0_cs1_cs2_cs3,ecc=off,addr_hash=false
With the buffer size 128, the sub function gets "ctlr_intlv=cacheline,bank_intlv=cs0_". It is not because the buffer is not enough, but the stack has been trashed. I have debug log if you need it.
This is yet another problem, then.
So I figured the problem out and need to rework the hwconfig API to fix it.
We need some new versions of the APIs that take a buffer for use early before boot.
- k