linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problem on usnig BDI2000 with IBM PPC440 board
@ 2002-11-26  3:59 Jin Cheng
  2002-11-26 14:18 ` Chris Hallinan
  0 siblings, 1 reply; 3+ messages in thread
From: Jin Cheng @ 2002-11-26  3:59 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Problem on usnig BDI2000 with IBM PPC440 board
  2002-11-26  3:59 Problem on usnig BDI2000 with IBM PPC440 board Jin Cheng
@ 2002-11-26 14:18 ` Chris Hallinan
  2002-11-26 16:24   ` building walnut kernel, '_machine redefined' warning Mark Pilon
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Hallinan @ 2002-11-26 14:18 UTC (permalink / raw)
  To: Jin Cheng; +Cc: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* building walnut kernel, '_machine redefined' warning
  2002-11-26 14:18 ` Chris Hallinan
@ 2002-11-26 16:24   ` Mark Pilon
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Pilon @ 2002-11-26 16:24 UTC (permalink / raw)
  To: linuxppc-embedded


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-26 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-26  3:59 Problem on usnig BDI2000 with IBM PPC440 board Jin Cheng
2002-11-26 14:18 ` Chris Hallinan
2002-11-26 16:24   ` building walnut kernel, '_machine redefined' warning Mark Pilon

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).