* [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk
@ 2006-04-03 7:49 Wang Jian
2006-04-03 9:38 ` Marco Cavallini
2006-04-03 10:01 ` Peter Menzebach
0 siblings, 2 replies; 9+ messages in thread
From: Wang Jian @ 2006-04-03 7:49 UTC (permalink / raw)
To: u-boot
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
--
lark
^ permalink raw reply [flat|nested] 9+ messages in thread* [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk 2006-04-03 7:49 [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk Wang Jian @ 2006-04-03 9:38 ` Marco Cavallini 2006-04-03 10:01 ` Peter Menzebach 1 sibling, 0 replies; 9+ messages in thread From: Marco Cavallini @ 2006-04-03 9:38 UTC (permalink / raw) To: u-boot 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk 2006-04-03 7:49 [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk Wang Jian 2006-04-03 9:38 ` Marco Cavallini @ 2006-04-03 10:01 ` Peter Menzebach 2006-04-03 11:33 ` Wolfgang Denk 2006-04-03 13:35 ` Wang Jian 1 sibling, 2 replies; 9+ messages in thread From: Peter Menzebach @ 2006-04-03 10:01 UTC (permalink / raw) To: u-boot Wang Jian wrote: > 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, Here my patch (I do not find it in the mailing list archives for some reason...) Best regards Peter CHANGELOG: Patch by Peter Menzebach, 2005-10-13 ifdef CONFIG_SKIP_LOWLEVEL_INIT around cpu_init_crit added in cpu/arm920t/start.S --- u-boot/cpu/arm920t/start.S.orig 2005-10-06 23:47:43.000000000 +0200 +++ u-boot/cpu/arm920t/start.S 2005-10-13 18:56:27.000000000 +0200 @@ -237,6 +237,7 @@ */ +#ifndef CONFIG_SKIP_LOWLEVEL_INIT cpu_init_crit: /* * flush v4 I/D caches @@ -264,7 +265,7 @@ bl lowlevel_init mov lr, ip mov pc, lr - +#endif /* CONFIG_SKIP_LOWLEVEL_INIT */ /* ************************************************************************* ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk 2006-04-03 10:01 ` Peter Menzebach @ 2006-04-03 11:33 ` Wolfgang Denk 2006-04-03 11:59 ` Peter Menzebach 2006-04-03 13:35 ` Wang Jian 1 sibling, 1 reply; 9+ messages in thread From: Wolfgang Denk @ 2006-04-03 11:33 UTC (permalink / raw) To: u-boot Dear Peter, in message <4430F292.7090508@mw-itcon.de> you wrote: > > Here my patch (I do not find it in the mailing list archives for some > reason...) You patch, submitted as 10/13/05 Peter Menzebach [U-Boot-Users] [PATCH] trivial bugfix, #ifdef CONFIG_SKIP_LOWLEVEL_IN is registered as DNX#2006040142000473 in the patch database. You should have received a confirmation message - did you? Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I have a theory that it's impossible to prove anything, but I can't prove it. ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk 2006-04-03 11:33 ` Wolfgang Denk @ 2006-04-03 11:59 ` Peter Menzebach 2006-04-03 12:49 ` Wolfgang Denk 0 siblings, 1 reply; 9+ messages in thread From: Peter Menzebach @ 2006-04-03 11:59 UTC (permalink / raw) To: u-boot Wolfgang Denk wrote: > Dear Peter, > > in message <4430F292.7090508@mw-itcon.de> you wrote: >> Here my patch (I do not find it in the mailing list archives for some >> reason...) > > You patch, submitted as > 10/13/05 Peter Menzebach [U-Boot-Users] [PATCH] trivial bugfix, #ifdef CONFIG_SKIP_LOWLEVEL_IN > is registered as DNX#2006040142000473 in the patch database. You > should have received a confirmation message - did you? Dear Wolfgang, I now found the the confirmation according to the ticket ID, but my mailer did not succeed in correlating it to the original message (and you sent some more messages that time ;) ). My mailer often cannot correlate responses here on this mailing list. I think (not checked in detail), my mailer would like a Reference: field... Best regards Peter ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk 2006-04-03 11:59 ` Peter Menzebach @ 2006-04-03 12:49 ` Wolfgang Denk 0 siblings, 0 replies; 9+ messages in thread From: Wolfgang Denk @ 2006-04-03 12:49 UTC (permalink / raw) To: u-boot Dear Peter, in message <44310E07.50502@mw-itcon.de> you wrote: > > I now found the the confirmation according to the ticket ID, but my > mailer did not succeed in correlating it to the original message (and > you sent some more messages that time ;) ). My mailer often cannot > correlate responses here on this mailing list. I think (not checked in > detail), my mailer would like a Reference: field... Your mailer is not to blame here. There probably was no useful reference field at all in these messages as you did not actually send this message, but rather it was me who bounced the whole batch of open patches. This is supposed to work better when you send a patch directly to u-boot-patches at denx.de Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I mean, I . . . think to understand you, I just don't know what you are saying ... - Terry Pratchett, _Soul Music_ ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk 2006-04-03 10:01 ` Peter Menzebach 2006-04-03 11:33 ` Wolfgang Denk @ 2006-04-03 13:35 ` Wang Jian 2006-04-03 13:53 ` Wolfgang Denk 2006-04-04 10:18 ` Mathieu Deschamps 1 sibling, 2 replies; 9+ messages in thread From: Wang Jian @ 2006-04-03 13:35 UTC (permalink / raw) To: u-boot Hi Peter Menzebach, This is exactly what I had done locally, and it works. But I don't know if it is perfect or not (I am in a hurry) On Mon, 03 Apr 2006 12:01:54 +0200, Peter Menzebach <pm-ub@mw-itcon.de> wrote: > Wang Jian wrote: > > 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, > Here my patch (I do not find it in the mailing list archives for some > reason...) > > Best regards > Peter > > CHANGELOG: > Patch by Peter Menzebach, 2005-10-13 > ifdef CONFIG_SKIP_LOWLEVEL_INIT around > cpu_init_crit added in cpu/arm920t/start.S > > > > --- u-boot/cpu/arm920t/start.S.orig 2005-10-06 23:47:43.000000000 +0200 > +++ u-boot/cpu/arm920t/start.S 2005-10-13 18:56:27.000000000 +0200 > @@ -237,6 +237,7 @@ > */ > > > +#ifndef CONFIG_SKIP_LOWLEVEL_INIT > cpu_init_crit: > /* > * flush v4 I/D caches > @@ -264,7 +265,7 @@ > bl lowlevel_init > mov lr, ip > mov pc, lr > - > +#endif /* CONFIG_SKIP_LOWLEVEL_INIT */ > > /* > ************************************************************************* > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users -- lark ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk 2006-04-03 13:35 ` Wang Jian @ 2006-04-03 13:53 ` Wolfgang Denk 2006-04-04 10:18 ` Mathieu Deschamps 1 sibling, 0 replies; 9+ messages in thread From: Wolfgang Denk @ 2006-04-03 13:53 UTC (permalink / raw) To: u-boot In message <20060403213308.8B95.LARK@linux.net.cn> you wrote: > > This is exactly what I had done locally, and it works. But I don't know > if it is perfect or not (I am in a hurry) "It works" is good enough. Patch applied. Thanks. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Where humor is concerned there are no standards -- no one can say what is good or bad, although you can be sure that everyone will. - John Kenneth Galbraith ^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk 2006-04-03 13:35 ` Wang Jian 2006-04-03 13:53 ` Wolfgang Denk @ 2006-04-04 10:18 ` Mathieu Deschamps 1 sibling, 0 replies; 9+ messages in thread From: Mathieu Deschamps @ 2006-04-04 10:18 UTC (permalink / raw) To: u-boot Hello, I had the same problem : (http://sourceforge.net/mailarchive/forum.php?thread_id=8236003&forum_id=12898) On Monday 03 April 2006 15:35, Wang Jian wrote: > Hi Peter Menzebach, > > This is exactly what I had done locally, and it works. But I don't know > if it is perfect or not (I am in a hurry) > > On Mon, 03 Apr 2006 12:01:54 +0200, Peter Menzebach <pm-ub@mw-itcon.de> wrote: > > Wang Jian wrote: > > > 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/s > > >tart.S:264: undefined reference to `lowlevel_init' make: *** [u-boot] > > > Error 1 > > > > Hi, > > Here my patch (I do not find it in the mailing list archives for some > > reason...) > > > > Best regards > > Peter > > > > CHANGELOG: > > Patch by Peter Menzebach, 2005-10-13 > > ifdef CONFIG_SKIP_LOWLEVEL_INIT around > > cpu_init_crit added in cpu/arm920t/start.S > > > > > > > > --- u-boot/cpu/arm920t/start.S.orig 2005-10-06 23:47:43.000000000 +0200 > > +++ u-boot/cpu/arm920t/start.S 2005-10-13 18:56:27.000000000 +0200 > > @@ -237,6 +237,7 @@ > > */ > > > > > > +#ifndef CONFIG_SKIP_LOWLEVEL_INIT > > cpu_init_crit: > > /* > > * flush v4 I/D caches > > @@ -264,7 +265,7 @@ > > bl lowlevel_init > > mov lr, ip > > mov pc, lr > > - > > +#endif /* CONFIG_SKIP_LOWLEVEL_INIT */ > > > > /* > > > > ************************************************************************* > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language that extends applications into web and mobile media. Attend the > > live webcast and join the prime developer group breaking into this new > > coding territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > U-Boot-Users mailing list > > U-Boot-Users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/u-boot-users mathdesc ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-04-04 10:18 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-04-03 7:49 [U-Boot-Users] CONFIG_SKIP_LOWLEVEL_INIT is broken for at91rm9200dk Wang Jian 2006-04-03 9:38 ` Marco Cavallini 2006-04-03 10:01 ` Peter Menzebach 2006-04-03 11:33 ` Wolfgang Denk 2006-04-03 11:59 ` Peter Menzebach 2006-04-03 12:49 ` Wolfgang Denk 2006-04-03 13:35 ` Wang Jian 2006-04-03 13:53 ` Wolfgang Denk 2006-04-04 10:18 ` Mathieu Deschamps
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox