* mcpn765
@ 2001-03-15 15:44 Björn Wingman
2001-03-15 16:13 ` mcpn765 Mark A. Greer
2001-03-15 17:26 ` mcpn765 Stefano Coluccini
0 siblings, 2 replies; 8+ messages in thread
From: Björn Wingman @ 2001-03-15 15:44 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
I have an MCPN765 card from Motorola with a 7400 processor, and I'm
trying to boot linux on it. I use the latest hardhat cross-compilation
tools, all with the prefix ppc_7xx, which seemed to be the correct choice.
I have set up bootp and so on on my host machine, and transferring the
kernel image seems to work fine, but all kernels I have tried refuse to boot.
>From ppcbug I get:
Residual-Data Located at: $1FF8D93C
...and then nothing happens.
There is a kernel image on
http://www.linuxcare.com.au/download/ppclinux/mcpn765/zImage
that gets a bit further:
Residual-Data Located at: $1FF8D93C
loaded at: 00005400 0001C210
relocated to: 00800000 00816E10
board data at: 1FF8D93C 1FF94348
relocated to: 00810304 00816D10
zimage at: 00010400 000A78CB
relocated to: 00817000 008AE4CB
avail ram: 00400000 00800000
Linux/PPC load: console=ttyS0,9600 root=/dev/sda2 mem=992m
Uncompressing Linux...done.
Now booting the kernel
vector 300: at pc = 9000db1c, msr = 1032, sp = 9012bf88 [9012bed8]
dar = fe000cf8, dsisr =42000000
current = 9012a058, pid = 0, comm = swapper
mon>
And I end up in some sort of boot-monitor-debugger that I don't know
anything about.
But if I compile the sources provided at linuxcare myself, I get the same
behaviour as before.
Any ideas? Do I need a different crosscompiler?
/Björn Wingman
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mcpn765
2001-03-15 15:44 mcpn765 Björn Wingman
@ 2001-03-15 16:13 ` Mark A. Greer
2001-03-15 18:27 ` mcpn765 Björn Wingman
2001-03-15 17:26 ` mcpn765 Stefano Coluccini
1 sibling, 1 reply; 8+ messages in thread
From: Mark A. Greer @ 2001-03-15 16:13 UTC (permalink / raw)
To: Björn Wingman; +Cc: linuxppc-embedded
Sounds like you're netbooting. There are a few things. Using the niot cmd,
make sure everything is set up correctly. Using the 'env' cmd, make sure
network PREP-boot (or something like that) is turned on.
I take it you're using the code in the linuxppc_2_5 right? Make sure the images
in arch/ppc/boot/images/zImage.pp3 is the kernel actually being transferred to
your board.
Also, not that it should matter, but I used the ppc_82xx tools.
Mark
--
Björn Wingman wrote:
> Hello,
>
> I have an MCPN765 card from Motorola with a 7400 processor, and I'm
> trying to boot linux on it. I use the latest hardhat cross-compilation
> tools, all with the prefix ppc_7xx, which seemed to be the correct choice.
>
> I have set up bootp and so on on my host machine, and transferring the
> kernel image seems to work fine, but all kernels I have tried refuse to boot.
>
> >From ppcbug I get:
>
> Residual-Data Located at: $1FF8D93C
>
> ...and then nothing happens.
>
> There is a kernel image on
>
> http://www.linuxcare.com.au/download/ppclinux/mcpn765/zImage
>
> that gets a bit further:
>
> Residual-Data Located at: $1FF8D93C
> loaded at: 00005400 0001C210
> relocated to: 00800000 00816E10
> board data at: 1FF8D93C 1FF94348
> relocated to: 00810304 00816D10
> zimage at: 00010400 000A78CB
> relocated to: 00817000 008AE4CB
> avail ram: 00400000 00800000
>
> Linux/PPC load: console=ttyS0,9600 root=/dev/sda2 mem=992m
> Uncompressing Linux...done.
> Now booting the kernel
> vector 300: at pc = 9000db1c, msr = 1032, sp = 9012bf88 [9012bed8]
> dar = fe000cf8, dsisr =42000000
> current = 9012a058, pid = 0, comm = swapper
> mon>
>
> And I end up in some sort of boot-monitor-debugger that I don't know
> anything about.
>
> But if I compile the sources provided at linuxcare myself, I get the same
> behaviour as before.
>
> Any ideas? Do I need a different crosscompiler?
>
> /Björn Wingman
>
--
Mark A. Greer (mgreer@mvista.com; 480-517-0287)
MontaVista Software, Inc.
2141 E. Broadway Road, Suite 108
Tempe, AZ 85282
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: mcpn765
2001-03-15 15:44 mcpn765 Björn Wingman
2001-03-15 16:13 ` mcpn765 Mark A. Greer
@ 2001-03-15 17:26 ` Stefano Coluccini
2001-03-15 18:19 ` mcpn765 Tom Rini
1 sibling, 1 reply; 8+ messages in thread
From: Stefano Coluccini @ 2001-03-15 17:26 UTC (permalink / raw)
To: Björn Wingman, linuxppc-embedded
Check the make file arch/ppc/boot/pp3/Makefile, in the rule for making
zImage.initrd there is a typo: you must add the -pbp option to the mkprep
invocation.
This is true if you are trying to boot an initrd image, the error isn't
present in the zImage rule.
Stefano.
> -----Original Message-----
> From: owner-linuxppc-embedded@lists.linuxppc.org
> [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Björn
> Wingman
> Sent: Thursday, March 15, 2001 4:45 PM
> To: linuxppc-embedded@lists.linuxppc.org
> Subject: mcpn765
>
>
>
> Hello,
>
> I have an MCPN765 card from Motorola with a 7400 processor, and I'm
> trying to boot linux on it. I use the latest hardhat cross-compilation
> tools, all with the prefix ppc_7xx, which seemed to be the correct choice.
>
> I have set up bootp and so on on my host machine, and transferring the
> kernel image seems to work fine, but all kernels I have tried
> refuse to boot.
>
> >From ppcbug I get:
>
> Residual-Data Located at: $1FF8D93C
>
> ...and then nothing happens.
>
>
> There is a kernel image on
>
> http://www.linuxcare.com.au/download/ppclinux/mcpn765/zImage
>
> that gets a bit further:
>
> Residual-Data Located at: $1FF8D93C
> loaded at: 00005400 0001C210
> relocated to: 00800000 00816E10
> board data at: 1FF8D93C 1FF94348
> relocated to: 00810304 00816D10
> zimage at: 00010400 000A78CB
> relocated to: 00817000 008AE4CB
> avail ram: 00400000 00800000
>
> Linux/PPC load: console=ttyS0,9600 root=/dev/sda2 mem=992m
> Uncompressing Linux...done.
> Now booting the kernel
> vector 300: at pc = 9000db1c, msr = 1032, sp = 9012bf88 [9012bed8]
> dar = fe000cf8, dsisr =42000000
> current = 9012a058, pid = 0, comm = swapper
> mon>
>
> And I end up in some sort of boot-monitor-debugger that I don't know
> anything about.
>
>
> But if I compile the sources provided at linuxcare myself, I get the same
> behaviour as before.
>
> Any ideas? Do I need a different crosscompiler?
>
>
> /Björn Wingman
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mcpn765
2001-03-15 17:26 ` mcpn765 Stefano Coluccini
@ 2001-03-15 18:19 ` Tom Rini
2001-03-16 8:21 ` mcpn765 Stefano Coluccini
0 siblings, 1 reply; 8+ messages in thread
From: Tom Rini @ 2001-03-15 18:19 UTC (permalink / raw)
To: Stefano Coluccini; +Cc: Bj?rn Wingman, linuxppc-embedded
On Thu, Mar 15, 2001 at 06:26:43PM +0100, Stefano Coluccini wrote:
> Check the make file arch/ppc/boot/pp3/Makefile, in the rule for making
> zImage.initrd there is a typo: you must add the -pbp option to the mkprep
> invocation.
This _should_ be fixed in current 2_5.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mcpn765
2001-03-15 16:13 ` mcpn765 Mark A. Greer
@ 2001-03-15 18:27 ` Björn Wingman
2001-03-15 18:36 ` mcpn765 Mark A. Greer
0 siblings, 1 reply; 8+ messages in thread
From: Björn Wingman @ 2001-03-15 18:27 UTC (permalink / raw)
To: mgreer; +Cc: linuxppc-embedded
> Sounds like you're netbooting.
Yes.
> Using the niot cmd, make sure everything is set up correctly.
> Using the 'env' cmd, make sure network PREP-boot (or something like that)
> is turned on.
Yes, I think I have those correctly set up.
> I take it you're using the code in the linuxppc_2_5 right?
No. I pulled the sources with
bk clone bk://bitkeeper.fsmlabs.com:5005 linux_2_5
as some earlier mail said, but it seems to be incomplete. Several
directories, like kernel and mm are empty. Am I supposed to merge this
tree with the latest 2.4-tree somehow? Is there an FAQ somewhere that I
haven't found?
/Björn Wingman
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mcpn765
2001-03-15 18:27 ` mcpn765 Björn Wingman
@ 2001-03-15 18:36 ` Mark A. Greer
2001-03-16 18:12 ` mcpn765 Björn Wingman
0 siblings, 1 reply; 8+ messages in thread
From: Mark A. Greer @ 2001-03-15 18:36 UTC (permalink / raw)
To: Björn Wingman; +Cc: linuxppc-embedded
Björn Wingman wrote:
> > I take it you're using the code in the linuxppc_2_5 right?
>
> No. I pulled the sources with
>
> bk clone bk://bitkeeper.fsmlabs.com:5005 linux_2_5
>
> as some earlier mail said, but it seems to be incomplete. Several
> directories, like kernel and mm are empty. Am I supposed to merge this
> tree with the latest 2.4-tree somehow?
No. Sounds like you need to do a "bk pull" and "bk -r get" in your local
repository.
> Is there an FAQ somewhere that I
> haven't found?
Its very simple an no different from most other boards.
bk pull
bk -r get
edit your Makefile to run the proper tools and use the correct arch.
make mcpn765_config
make config (or whatever)
make dep clean zImage
you kernel will be in arch/ppc/boot/images/zImage.pp3
Mark
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: mcpn765
2001-03-15 18:19 ` mcpn765 Tom Rini
@ 2001-03-16 8:21 ` Stefano Coluccini
0 siblings, 0 replies; 8+ messages in thread
From: Stefano Coluccini @ 2001-03-16 8:21 UTC (permalink / raw)
To: Tom Rini; +Cc: Bj?rn Wingman, linuxppc-embedded
> > Check the make file arch/ppc/boot/pp3/Makefile, in the rule for making
> > zImage.initrd there is a typo: you must add the -pbp option to
> the mkprep
> > invocation.
>
> This _should_ be fixed in current 2_5.
>
You are right, it is fixed with last updates, but I had the same symptom
described by Bjorn when the -pbp were missing. Perhaps Bjorn doesn't have
downloaded the last updates ?
Bye.
Stefano.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mcpn765
2001-03-15 18:36 ` mcpn765 Mark A. Greer
@ 2001-03-16 18:12 ` Björn Wingman
0 siblings, 0 replies; 8+ messages in thread
From: Björn Wingman @ 2001-03-16 18:12 UTC (permalink / raw)
To: mgreer; +Cc: linuxppc-embedded
> bk pull
> bk -r get
> edit your Makefile to run the proper tools and use the correct arch.
> make mcpn765_config
> make config (or whatever)
> make dep clean zImage
> you kernel will be in arch/ppc/boot/images/zImage.pp3
And it works! Thanks!
/Björn Wingman
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-03-16 18:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-15 15:44 mcpn765 Björn Wingman
2001-03-15 16:13 ` mcpn765 Mark A. Greer
2001-03-15 18:27 ` mcpn765 Björn Wingman
2001-03-15 18:36 ` mcpn765 Mark A. Greer
2001-03-16 18:12 ` mcpn765 Björn Wingman
2001-03-15 17:26 ` mcpn765 Stefano Coluccini
2001-03-15 18:19 ` mcpn765 Tom Rini
2001-03-16 8:21 ` mcpn765 Stefano Coluccini
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).