From: Daniel Wu <Daniel.Wu@alcatel.com.au>
To: Graham Stoney <greyham@research.canon.com.au>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Porting LinuxPPC
Date: Fri, 19 May 2000 18:09:22 +1000 [thread overview]
Message-ID: <00May19.180925est.115223@border.alcanet.com.au> (raw)
In-Reply-To: 20000519051051.236093C972@elph.research.canon.com.au
Hi Graham,
Graham Stoney wrote:
>
> To quote Grant Erickson in
> http://lists.linuxppc.org/listarcs/linuxppc-embedded/200001/msg00123.html:
>
> "You don't ever want to change KERNELLOAD or KERNELBASE, otherwise the
> virtual memory and MMU code will all break."
>
> This seems to be a common error, so I might add mention of it in the HOWTO.
>
Yes, I saw the article after sending the question. But this doesn't really help me
:-( I've put back the KERNELLOAD and KERNELBASE address back to their orginal
values and load the zImage (in the .../arch/ppc/mbxboot directory) rather than the
vmlinux file using the BDM debugger but it still crashes very early in the piece.
To be precise, while clearing the BSS.
/* Clear all of BSS */
lis r3,edata@h
ori r3,r3,edata@l
lis r4,end@h
ori r4,r4,end@l
subi r3,r3,4
subi r4,r4,4
li r0,0
50: stwu r0,4(r3) <---- crashes here
cmp 0,r3,r4
bne 50b
The strange thing is that it seems to work if I step through the loop. In any
case, it crashes soon after that in serial_init.
I think I'm missing something fundamental here ... any suggestions.
Regards,
Daniel
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-05-19 8:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-19 4:31 Porting LinuxPPC Daniel Wu
2000-05-19 5:10 ` Graham Stoney
2000-05-19 8:09 ` Daniel Wu [this message]
2000-05-19 8:19 ` Graham Stoney
2000-05-19 11:07 ` Dan A. Dickey
2000-05-19 12:57 ` Daris A Nevil
2000-05-19 13:09 ` Ralph Blach
2000-05-19 15:50 ` Dan Malek
2000-05-23 7:18 ` Daniel Wu
2000-05-23 21:01 ` Richard Hendricks
2000-05-23 22:00 ` Richard Hendricks
[not found] ` <392A3147.3A9AC5C2@alcatel.com.au>
2000-05-30 7:49 ` Daniel Wu
2000-05-30 18:54 ` Tom Roberts
2000-05-19 11:39 ` Ralph Blach
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=00May19.180925est.115223@border.alcanet.com.au \
--to=daniel.wu@alcatel.com.au \
--cc=greyham@research.canon.com.au \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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).