From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Cavallini Date: Mon, 03 Apr 2006 11:38:59 +0200 Subject: [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk In-Reply-To: <20060403152834.8B8F.LARK@linux.net.cn> References: <20060403152834.8B8F.LARK@linux.net.cn> Message-ID: <4430ED33.8030507@koansoftware.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wang Jian ha scritto: > Hi, > > When CONFIG_SKIP_LOWLEVEL_INIT is defined, cpu/arm920t/at91rm9200/lowlevel_init.S > is commented out and lowlevel_init() is undefined. > > But cpu/arm920t/start.S will still use lowlevel_init(). See the code > > --snip-- > #ifndef CONFIG_SKIP_LOWLEVEL_INIT > bl cpu_init_crit > #endif > --snip-- > > but cpu_init_crit() is still defined and use lowlevel_init(). > > > cpu/arm920t/start.o(.text+0xec):/home/lark/arm-u-boot.git/cpu/arm920t/start.S:264: undefined reference to `lowlevel_init' > make: *** [u-boot] Error 1 Hi I noticed and solved this problem and all CONFIG_SKIP_LOWLEVEL_INIT related one for AT91 last week. BTW I noticed that there is an existing patch [DNX#2006033142000856] to solve it too, but I don't know where is the u-boot patch repository. Feel free to contact me if you want my own patch. Best regards -- Marco Cavallini Koan s.a.s. - Bergamo - ITALIA Embedded and Real-Time Software Engineering www.koansoftware.com | www.klinux.org