public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* Problems porting to a custom PPC405GPr board using a vanilla 2.6.10 kernel
@ 2005-02-26 22:28 Niklaus Giger
  2005-02-27 15:10 ` Niklaus Giger
  2005-02-27 15:59 ` Matt Porter
  0 siblings, 2 replies; 6+ messages in thread
From: Niklaus Giger @ 2005-02-26 22:28 UTC (permalink / raw)
  To: linuxppc-embedded

Hi

I would like to port Linux to a custom PPC405GPr board. Its hardware runs=20
vxWorks fine for more than a year.=20

Within a few days I had a working U-boot image, which allows me to download=
=20
via TFTP Linux-kernels.

I started with a vanilla 2.6.10 kernel, added the entries in the=20
arch/ppc/platforms/4xx/Makefile and Kconfig, two file hcu3.c and hcu3.h whi=
ch=20
are very minimal. The board has no PCI and I do not want to add support for=
=20
the CFI-Flashs or the onboard CAN-Chips.=20
Enabling the SERIAL_TEXT_DEBUG I got the following output
## Transferring control to Linux (at address 00000000) ...
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
hcu3_map_io
MMU:exit
setup_arch: enter ngng
setup_arch: bootmem
ocp: exit
arch: exit
If I attach a BDI, I get a lot of "- TARGET: target has entered debug mode"=
=20
lines and then
DI>i
    Target state      : debug mode
    Debug entry cause : unconditional debug event
    Current PC        : 0xfffffffc
    Current CR        : 0x00000000
    Current MSR       : 0x00000000
    Current LR        : 0xc019a15c
BDI>               =20
The corresponding line from my System.map are
c0199e20 t free_bootmem_core
c0199ecc t __alloc_bootmem_core
c019a278 t free_all_bootmem_core
c019a4c8 T init_bootmem_node

My board has no RTC. Is this a problem?=20

Should I start with another kernel? Can anybody point me to a known good=20
kernel version for a specific PPC405 board?

Any hint would be greatly appreciated.

Best regards

=2D-=20
Niklaus Giger
Wieshoschet 6
CH-8753 Mollis
Tel. ++41 55 612 20 54 (privat)
Tel. ++41 55 618 64 68 (Gesch=E4ft)

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

end of thread, other threads:[~2005-04-17 20:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-26 22:28 Problems porting to a custom PPC405GPr board using a vanilla 2.6.10 kernel Niklaus Giger
2005-02-27 15:10 ` Niklaus Giger
2005-02-27 16:08   ` Matt Porter
2005-02-27 17:20     ` Niklaus Giger
2005-04-17 20:13       ` Niklaus Giger
2005-02-27 15:59 ` Matt Porter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox