Dear Wolfgang, Wolfgang Denk a écrit : >> I'm not sure it's possible to use a generic geometry/timings there else >> u-boot may never relocate. >> How would you do this ? > > Well, normally you have 2 or 3 row/col combinations that have to be > considered; you try these in turn until you find one where > get_ram_size() returns a non-zero size; if several work, you use that > which returns the biggest size. > > See for example "board/tqc/tqm8xx/tqm8xx.c" - it tries 8, 9 and 10 > column mode... > I've tried something very close to what is done in tqm8xx but I don't manage to get something reliable : either it hangs or I get data abort.
After checking the datasheet, I don't understand how we can change the geometry of this SDRAM controler while running from SDRAM : each time we increase the colum number, the address are modified thus we can't execute any more u-boot's code as it's no more where we are expecting it. Eric _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot