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.
Quoted 1 line
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/
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
--
Quoted 41 lines · Björn Wingman
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.
Quoted 1 line
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 00800000Linux/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.
Quoted 7 lines
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 ([email protected]; 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/
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.
Quoted 54 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Björn Wingman
Sent: Thursday, March 15, 2001 4:45 PM
To: [email protected]
Subject: mcpn765Hello,
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.
Quoted 1 line
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 00800000Linux/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.
Quoted 8 lines
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/
Quoted 3 lines · Stefano Coluccini
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/
Quoted 2 lines
Sounds like you're netbooting.
Yes.
Quoted 3 lines
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.
Quoted 1 line
I take it you're using the code in the
linuxppc_2_5right?
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/
Quoted 9 lines · Björn Wingman
Quoted 1 line
I take it you're using the code in the
linuxppc_2_5right?No. I pulled the sources with
bk clone bk://bitkeeper.fsmlabs.com:5005
linux_2_5as 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.
Quoted 2 lines
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/
Quoted 8 lines
Quoted 3 lines
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 tothe mkprep
Quoted 1 line
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/
Quoted 8 lines
bk pull
bk -r get
edit yourMakefileto run the proper tools and use the correct arch. makemcpn765_config
make config (or whatever)
make dep clean zImage
you kernel will be inarch/ppc/boot/images/zImage.pp3
And it works! Thanks!
/Björn Wingman
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/