Dear Marcin Górski, please no TOFU, use inline quoting (and send also to the list).
Am 20.06.2011 11:39, schrieb Marcin Górski: > Hello, > > I already use CONFIG_SKIP_LOWLEVEL_INIT to prevent U-Boot from reinitilizing > hardware. My board has 128MB RAM, so 0x22000000 address is not a problem. Ok so far. > Have you got any ideas why U-Boot cannot correctly detect RAM size (it shows > "DRAM: 1 MiB") and crashes after that? How do you setup your gd_t? Have you written a correct 'int dram_init()' in your board code (see board/atmel/at91rm9200ek/at91rm9200ek.c for example)? > To compile it I also had to add 3 macros to the configuration file: > CONFIG_SYS_INIT_RAM_ADDR, Why this? I guess you mean CONFIG_SYS_SDRAM_BASE here. > CONFIG_SYS_INIT_RAM_SIZE and > CONFIG_SYS_INIT_SP_ADDR. Can this cause this problem? SYS_INIT_SP_ADDR is required, if you see 'DRAM: ...' output it is likely to be a correct value for you. I guess your gd_t parameters for SDRAM size are not correct which leads to a wrong relocation address and therefore relocate_code() fails. regards Andreas Bießmann _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot