André Lämmer | 1 Sep 16:09 2003
Picon

Linux on Motorola LoPEC


Hi!

I have a Motorola PPC-board. It is the LoPEC-P011 with PPC5-Bug version
1.3. The board has only a network connection an no hard disk or flash
memory.

Now, I want run Linux on it. My idea is to load the bootloader with tftp
und mount the filesystem with nfs. The problem is, that I cannot find
any working bootloader. I tried ppcboot, but there is no config for the
LoPEC.

Do anyone know a installtion guide for this board? Or is there a working
bootloader and kernel?

André Lämmer

University of Applied Science
Fachhochschule Konstanz

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

Chris Simmonds | 2 Sep 17:31 2003
Picon

IRQ0 handler


Hi,

Can anybody tell me how to install a handler for irq0 on an 8xx
platform? Doing the obvious (request_8xxirq (SIU_IRQ0 ...)) doesn't seem
to work. It seems that I need to modify head_8xx.S so that the excption
handler for 0x100 is do_IRQ instead of UnKnownException. I tried the
patch below, but now I get a Software Emulation trap (0x1000). Any help
gratefully accepted.

Chris.

/* System reset */
#ifdef CONFIG_SMP /* MVME/MTX start the secondary here */
    STD_EXCEPTION(0x100, Reset, __secondary_start_psurge)
#else
/****
    Replace norrmal NMI handler with do_IRQ

    STD_EXCEPTION(0x100, Reset, UnknownException)
****/
NMI_Interrupt:
    EXCEPTION_PROLOG;
    addi    r3,r1,STACK_FRAME_OVERHEAD
    li    r20,MSR_KERNEL
    li    r4,0
    bl    transfer_to_handler
    .long    do_IRQ;
    .long    ret_from_intercept

(Continue reading)

Lokesh Kumar | 2 Sep 19:49 2003

RE: mic2563 dual slot pcmcia controller


Can somebody point to a similar driver code, to control mic2563, which is
memory mapped on mpc8xx board, with cs#4 as chip select? Any template driver
code would be helpful as well.

Lokesh

-----Original Message-----
From: Lokesh Kumar
Sent: Friday, August 29, 2003 8:24 AM
To: 'Graf Alex'; Lokesh Kumar; linuxppc-embedded <at> lists.linuxppc.org
Subject: RE: mic2563 dual slot pcmcia controller

I have 2.4.18 kernel, and is booted by u-boot 0.4. However, I do not think
that I should do any init of pcmcia controller from the u-boot, because
u-boot does not use it and hence should not init it. I want to init it
inside the kernel. I thought m8xx_setup.c and m8xx_pcmcia.c is a better
place to do all my chip select for controlling mic2563 and the other pcmcia
related settings.

Lokesh

-----Original Message-----
From: Graf Alex [mailto:alex.graf <at> siemens.com]
Sent: Friday, August 29, 2003 2:55 AM
To: 'Lokesh Kumar'; linuxppc-embedded <at> lists.linuxppc.org
Subject: AW: mic2563 dual slot pcmcia controller

Hello

(Continue reading)

Mark A. Greer | 2 Sep 21:08 2003

Re: Linux on Motorola LoPEC


André Lämmer wrote:

>Hi!
>
>I have a Motorola PPC-board. It is the LoPEC-P011 with PPC5-Bug version
>1.3. The board has only a network connection an no hard disk or flash
>memory.
>
>Now, I want run Linux on it. My idea is to load the bootloader with tftp
>und mount the filesystem with nfs.
>
I think what you mean is that you want to load the zImage (compressed
kernel + arch/ppc/boot/... bootwrapper [+ initrd]) and mount the root
filesystem via nfs.

> The problem is, that I cannot find
>any working bootloader. I tried ppcboot, but there is no config for the
>LoPEC.
>
That board should have come with working firmware.  Did it get erased or
something?  If so, you should be able to get a fw binary from Morotola.

>Do anyone know a installtion guide for this board? Or is there a working
>bootloader and kernel?
>
Look on the MOT website.

Mark

(Continue reading)

Yuxiao Xi | 2 Sep 11:22 2003

DINK32 R13.1 on Sandpoint X2


Hi,all,
    Now I'm working on a Motorola Sandpoint X2 board with ppc8240.
I use DINK32 r13.1 to boot my linux kernel image.
    From DINK32 r13.1 user manual,I know that DINK32 r13.1 supports
ethernet card Realtek 8139,but after these steps:
       DINK32[MPC8240] {7} >>ni -i
        some configrations......

       DINK32[MPC7455] {8} >>ni
       NETWORK INFORMATION
            PCI CARD
            Type 8139/10EC on slot 16
            SETTINGS
            SERVER(TFTP) : 10. 18.15.27
            GATEWAY : 10. 18.15.254
            NETMASK : 255.255.255. 0
            DHCP : 0. 0. 0. 0
            CLIENT(DINK) : 10. 18.15.201
            DHCP: Disabled
            SESSION TIMEOUT: Never

 Then I reset the system,but the Tealtek 8139 seems not to work correctly!:(
 I ping the board from my host computer with OS Redhat linux 9.0,but I can't
 get any response!
 Can anyone help me?

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Yuxiao Xi
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡xiyuxiao <at> harbournetworks.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2003-09-02
(Continue reading)

mss59 | 2 Sep 15:43 2003
Picon
Picon

Memory Profiling Tool


Is there any memory profiling and leak detection tool available which works
for both PPC and X86??

Thanks.

Ravi.

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

Robin Gilks | 3 Sep 05:41 2003
Picon

mpc8xx CPM timer usage


Greetings

Does anyone know of any 'standard' Linux drivers that make use of any of
the 4 CPM timers?

I just want to check before the hardware guys caste our i/o lines into
stone :-))

Many thanks

--
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks <at> tait.co.nz
New Zealand

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

Dan Kegel | 2 Sep 22:51 2003

Re: Memory Profiling Tool


mss59 <at> att.net wrote:
> Is there any memory profiling and leak detection tool available which
> works for both PPC and X86??

Here's what I know about.
1. There's a utility built into glibc which may be of some help:
http://www.gnu.org/manual/glibc-2.2.5/html_node/Allocation-Debugging.html#Allocation%20Debugging
but it's a bit minimal.

2. x86 only - valgrind, of course.  God's gift to x86 programmers.  Shame
it's not been ported to ppc.

3. libmudflap.  This is very promising; see
http://people.redhat.com/dnovillo/Papers/nordu2003-slides.pdf
http://www.linux.org.uk/~ajh/gcc/gccsummit-2003-proceedings.pdf
However, it's part of the SSA branch of gcc-3.4, so you'll need to use
something like http://kegel.com/crosstool to build it.
I am hoping to try this out on ppc sometime, but haven't yet.
FWIW, it's provided with Red Hat's taroon beta, so it must
be getting close to usable.

If you're debugging c++, you should also read
http://gcc.gnu.org/onlinedocs/libstdc++/debug.html
- Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
(Continue reading)

Albert ARIBAUD | 3 Sep 07:32 2003
Picon

Re: mpc8xx CPM timer usage


Le mer 03/09/2003 à 05:41, Robin Gilks a écrit :
> Greetings
>
> Does anyone know of any 'standard' Linux drivers that make use of any of
> the 4 CPM timers?

When I used the DENX ELDK kernel on a custom MPC8XX board with serial
lines and Ethernet mostly, I once found no driver *used by the project*
that used the CPM timers. Note that we wrote our own SPI bus code,
though.

Your best bet is to check arch/ppc/8xx_io/*.[chS].

> I just want to check before the hardware guys caste our i/o lines into
> stone :-))

<ot>
Why bother, since anyway they'll cast them the wrong way around?
</ot>

:)

> Many thanks

HTH,
--
Albert ARIBAUD <albert.aribaud <at> free.fr>

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

Albert ARIBAUD | 3 Sep 07:32 2003
Picon

Re: mpc8xx CPM timer usage


Le mer 03/09/2003 à 05:41, Robin Gilks a écrit :
> Greetings
>
> Does anyone know of any 'standard' Linux drivers that make use of any of
> the 4 CPM timers?

When I used the DENX ELDK kernel on a custom MPC8XX board with serial
lines and Ethernet mostly, I once found no driver *used by the project*
that used the CPM timers. Note that we wrote our own SPI bus code,
though.

Your best bet is to check arch/ppc/8xx_io/*.[chS].

> I just want to check before the hardware guys caste our i/o lines into
> stone :-))

<ot>
Why bother, since anyway they'll cast them the wrong way around?
</ot>

:)

> Many thanks

HTH,
--
Albert ARIBAUD <albert.aribaud <at> free.fr>

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


Gmane