Problem on usnig BDI2000 with IBM PPC440 board
Hi,
I have a problem trying to use BDI2000 with IBM PPC440 reference board. When I use the configuration file provided by the Abatron to load the Linux kernel, the PC always stops at 0xc0000d40, which is "InstructionTLBError".
I am using the ppclinux-2.4.20pre.
Can anyone give me some advice on how to solve this problem?
Thanks.
Jin
Following is the script on BDI:
BDI>reset
- TARGET: processing user reset request
- TARGET: reseting target passed
- TARGET: processing target startup ....
- TARGET: processing target startup passed
BDI>load
Loading C:\osop4m_vm\440gp\samples\zImage.ebony , please wait .... Loading program file passed
BDI>info
Target state : debug mode
Debug entry cause : JTAG stop request
Current PC : 0x01000000
Current CR : 0x228ffff2
Current MSR : 0x00000000
Current LR : 0x0100153c
BDI>go
BDI>halt
Target state : debug mode
Debug entry cause : JTAG stop request
Current PC : 0xc0000d40
Current CR : 0x228ffff2
Current MSR : 0x00000000
Current LR : 0x0100153c
BDI>go
BDI>halt
Target state : debug mode
Debug entry cause : JTAG stop request
Current PC : 0xc0000d40
Current CR : 0x228ffff2
Current MSR : 0x00000000
Current LR : 0x0100153cBDI>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Linux needs a proper boot context, i.e PPCBoot or some other boot loader to set up some important data structures that must be passed to the kernel in order for it to boot. You cannot simply load a kernel image from scratch and run it ('go' command).
For details, download PPCBoot (now called U-Boot) and look at the do_bootm() command.
-Chris Hallinan
Quoted 60 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Jin
Cheng
Sent: Monday, November 25, 2002 11:00 PM
To: [email protected]
Subject: Problem on usnig BDI2000 with IBM PPC440 boardHi,
I have a problem trying to use BDI2000 with IBM PPC440 reference board.
When I use the configuration file provided by the Abatron to load the Linux kernel, the PC always stops at0xc0000d40, which is "InstructionTLBError".I am using the ppclinux-2.4.20pre.
Can anyone give me some advice on how to solve this problem?
Thanks.
Jin
Following is the script on BDI:
BDI>reset
- TARGET: processing user reset request
- TARGET: reseting target passed
- TARGET: processing target startup ....
- TARGET: processing target startup passed
BDI>load
Loading C:\osop4m_vm\440gp\samples\zImage.ebony , please wait .... Loading program file passed
BDI>infoTarget state : debug mode Debug entry cause : JTAG stop request Current PC : 0x01000000 Current CR : 0x228ffff2 Current MSR : 0x00000000 Current LR : 0x0100153c BDI>go BDI>halt Target state : debug mode Debug entry cause : JTAG stop request Current PC : 0xc0000d40 Current CR : 0x228ffff2 Current MSR : 0x00000000 Current LR : 0x0100153c BDI>go BDI>halt Target state : debug mode Debug entry cause : JTAG stop request Current PC : 0xc0000d40 Current CR : 0x228ffff2 Current MSR : 0x00000000 Current LR : 0x0100153c
Quoted 3 lines
BDI>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
building walnut kernel, '_machine redefined' warning
yesterday afternoon I cloned the bitkeeper tree,
did a make walnut_config,
make menuconfig
saved the configuration,
did a make dep
and make vmlinux
and get the following redefininition for _machine:
In file included from /home/mpilon/linuxppc_2_4_devel_bk_405pm/include/linux/modversions.h:221,
from/home/mpilon/linuxppc_2_4_devel_bk_405pm/include/linux/module.h:21,
from printk.c:26:
/home/mpilon/linuxppc_2_4_devel_bk_405pm/include/linux/modules/ppc_ksyms.ver:204:
warning: `_machine' redefined /home/mpilon/linuxppc_2_4_devel_bk_405pm/include/asm/processor.h:801:
warning: this is the location of the previous definition
have I missed a step, is this broken or benign?
the rsync tree I pulled earlier doesn't display this behavior ...
Mark
--
Mark Pilon
Minolta-QMS
P.O. Box 37
325 Dawson County Road 227
Fallon, MT. 59326-0037
1-406-486-5539 (primary voice line)
1-406-853-0433 (cell)
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/