On Wed, Mar 24, 2010 at 4:08 PM, Matthias Kaehlcke <matthias@xxxxxxxxxxxx> wrote: > > after applying your patch barebox effectivly came up :) > > thanks a lot! > > could you explain in few words why the patch is needed? RAM initialization is implemented in two places: lowlevel_init.S and the "Device Configuration Data" (DCD) block. When booting from an SD card, the i.MX25 reads out the DCD block and applies the settings found there. The RAM initialization in lowlevel_init.S is skipped when booting from SD; by the time board_init_lowlevel gets executed, that routine is already running from RAM, and will skip initializing memory. The DCD table in barebox git contains entries for mDDR memory. This does not work with DDR2 memory. Probably barebox needs a compile-time option to switch between 128 MiB mDDR memory installed on older MCIMX25PDK CPU engine boards and the 64 MiB DDR2 memory found on newer boards. _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox