Problem on usnig BDI2000 with IBM PPC440 board

3 messages, 3 authors, 2002-11-26 · open the first message on its own page

Problem on usnig BDI2000 with IBM PPC440 board

From: Jin Cheng <hidden>
Date: 2002-11-26 03:59:57

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        : 0x0100153c
BDI>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

RE: Problem on usnig BDI2000 with IBM PPC440 board

From: Chris Hallinan <hidden>
Date: 2002-11-26 14:18:40

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
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org]On
Behalf Of Jin
Cheng
Sent: Monday, November 25, 2002 11:00 PM
To: linuxppc-embedded@lists.linuxppc.org
Subject: 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        : 0x0100153c
BDI>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

building walnut kernel, '_machine redefined' warning

From: Mark Pilon <hidden>
Date: 2002-11-26 16:24:50

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help