From: Murray Jensen <Murray.Jensen@cmst.csiro.au>
To: Steve Tarr <tarr@lucent.com>
Cc: LINUX-PPC <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Motorola MPC8260-ADS Boot hassel
Date: Fri, 02 Jun 2000 14:29:53 +1000 [thread overview]
Message-ID: <430.959920193@msa.cmst.csiro.au> (raw)
In-Reply-To: Message from Steve Tarr <tarr@lucent.com> of "Thu, 01 Jun 2000 08:54:05 CST." <3936790D.9BD7680E@lucent.com>
>OK, I' stumped. I'm trying to do a port to Motorola's
>MPC8260 evaluation board using 2.3.99-pre7. Aside from
>hacking the loader and the 8260_io/uart.c to handle
>the console on SCC1, I've done nothing. The following is the
>boot messages:
>
>loaded at: 00600000 0060B288
>relocated to: 00400000 0040B288
>board data at: 00407140 00407164 <= this is within range on line above
>relocated to: 00200100 00200124
>zimage at: 00606000 00675258
>initrd at: 00675258 0084C0A3
>avail ram: 0084D000 01000000
The secondary boot code is being relocated over the top of the board data
(before it is relocated). Perhaps this is your problem?
Also, check that your uncompressed kernel image size (use objdump on vmlinux
in the top level directory - only the important sections are copied) is less
than 2Mbyte (0x200000) - if it's bigger, it will overwrite the kernel boot
arguments and relocated board data.
Finally, I have found that a NULL pointer access in wakeup_process() is
usually because something early on has prevented an essential kernel task
from being started, but somewhere else wants to wake that kernel task up
(in particular bdflush, which is woken up when buffers are low). Fix the
early problem and the NULL access goes away. But to be safe, try this:
diff -u -r1.1.1.12 buffer.c
--- buffer.c 2000/05/16 01:31:41 1.1.1.12
+++ buffer.c 2000/06/02 04:26:16
@@ -2336,7 +2336,7 @@
{
DECLARE_WAITQUEUE(wait, current);
- if (current == bdflush_tsk)
+ if (bdflush_tsk == 0 || current == bdflush_tsk)
return;
if (!block) {
Hope this helps. Cheers!
Murray...
--
Murray Jensen, CSIRO Manufacturing Sci & Tech, Phone: +61 3 9662 7763
Locked Bag No. 9, Preston, Vic, 3072, Australia. Fax: +61 3 9662 7853
Internet: Murray.Jensen@cmst.csiro.au (old address was mjj@mlb.dmt.csiro.au)
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-06-02 4:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-01 14:54 Motorola MPC8260-ADS Boot hassel Steve Tarr
2000-06-01 23:25 ` Dan Malek
2000-06-01 18:02 ` Steve Tarr
2000-06-02 0:49 ` Dan Malek
2000-06-02 4:29 ` Murray Jensen [this message]
2000-06-02 14:06 ` Dan Malek
-- strict thread matches above, loose matches on Subject: below --
2000-06-02 21:13 Steve Tarr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=430.959920193@msa.cmst.csiro.au \
--to=murray.jensen@cmst.csiro.au \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=tarr@lucent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).