
Hello!
On Mon, Sep 19, 2005 at 07:15:27PM +0200, Mathieu Deschamps wrote:
Hello,
I have upgraded U-Boot 1.1.2 to lastest 1.1.3. I still uses the boot.bin program to set up the flash and the dram and such while having defined SKIP_RELOCATE_UBOOT and SKIP_LOWLEVEL_INIT.
I've tried similar configuration recently. My board has only a DataFlash, not parallel flash, and I'm forced to use RomBoot to initialize CPU and SDRAM. It works for me.
I've inserted the following options into u-boot-1.1.3/include/configs/at91rm9200dk.h (which I'm using as a template for my config), and it works: #define CONFIG_SKIP_LOWLEVEL_INIT #define CONFIG_SKIP_RELOCATE_UBOOT
Also I've commented "bl lowlevel_init" instruction in u-boot-1.1.3/cpu/arm920t/start.S because it is undefined with SKIP_LOWLEVEL_INIT option set, and causes linking error.
Indeed kept undefined I have seen that it breaks everything reaching SoC specific lowlevel_init.S in cpu/.../start.S. Imagine reinitializing flash while reading init values from it, or reinit the memory controller while using it !
Strange... As for me, it only breaks linking because of absence lowlevel_init.S in compilation with CONFIG_SKIP_LOWLEVEL_INIT set. See above for a solution.