Jens Scharsig wrote: > Hello, > > I am a little bit confused. We have designed a new AT91RM9200 based > board. It should boot from 16-bit NOR Flash. I have read many relevant > article in the forum, but I don't know , which board should I use as a > base. I have look at the actual source (2008.10 and git), and I think, > u-boot can't boot without a preloader as long CONFIG_AT91RM9200 is defined. > Is there an open patch to resolve this? > Can you get an example for a working implementation? > > Best regarts > > Jens Scharsig > > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > > It's true that it won't boot when CONFIG_AT91RM9200 is defined. I dont know why it is like this since older versions of U-boot didn't have this problem (it changed around 1.3.0 if I remember correctly). It's almost like even if you do not define CONFIG_SKIP_LOWLEVEL_INIT and/or CONFIG_SKIP_RELOCATE_UBOOT, it still works like they were. Maybe it's because Atmel usually supplies their own Boot.bin along with the Development Kit (the configuration I would say you should use as example for your own) You can resolve this by editing two lines in the start.S file of the ARM920T cpu specific directory. In version 2008.10 its line 181 you can delete this, or change to ifdef, and again in line 264 you can either delete the if statement, or just make it branch to the lowlevel_init no matter what.
I know its what someone would call a hack, but it works :) Mvh. / Best Regards Martin Hejnfelt _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot