Skip to contentSkip to conversation

Linux on PowerCore CPCI-3750

DISCUSSION luca gambazzi 3 participants 3 messages Mar 27, 2003

lore
Share & tools
lore
#0 lore raw

hi

i'm swiss student, i'm trying to crosscompile a linux kernel for a Force Computers PowerCore CPCI-3750.

i've found an old image and works fine but when i try to complile myself a new kernel image the PowerBoot (bios on the card) give me an error

Starting image at address 0x00010000...

exception occured: 0x700
SRR0 = 0x00000000
SRR1 = 0x00080000
MSR = 0x00000030
HID0 = 0x8010008D
HID1 = 0x70000000
L2CR = 0x00000016
*** Program Exception ***

so my kernel image is wrong,... to create the kernel image (v2.5 patched for ppc) i've used the make bzImage and then with powerpc-linux-objcopy i've changed the ELF32bit file in a binary data file.
what's worng? can somebody tell me where fine documentation?

thanks a lot
luca gambazzi

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

#1 lore raw
Quoted 2 lines · luca gambazzi

i'm swiss student, i'm trying to crosscompile a linux kernel for a Force Computers PowerCore CPCI-3750.

[snip]

Quoted 4 lines

so my kernel image is wrong,... to create the kernel image (v2.5 patched for ppc) i've used the make bzImage and then with powerpc-linux-objcopy i've changed the ELF32bit file in a binary data file.
what's worng? can somebody tell me where fine documentation?

You should probably be using the 'linuxppc_2_4_devel' tree, see
http://penguinppc.org/dev/kernel.shtml. Second, 'bzImage' is an alias for 'zImage' on PPC. Finally, 'arch/ppc/boot/images/zImage.pcore' should work as-is. This is true for 2.5 as well, so you can test with your current kernel tree and just boot that file as is

--
Tom Rini
http://gate.crashing.org/~trini/

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

#2 lore raw
Quoted 4 lines · Tom Rini
Quoted 2 lines · luca gambazzi

i'm swiss student, i'm trying to crosscompile a linux kernel for a Force Computers PowerCore CPCI-3750.

Quoted 8 lines

[snip]

Quoted 4 lines

so my kernel image is wrong,... to create the kernel image (v2.5 patched for ppc) i've used the make bzImage and then with powerpc-linux-objcopy i've changed the ELF32bit file in a binary data file.
what's worng? can somebody tell me where fine documentation?

You should probably be using the 'linuxppc_2_4_devel' tree, see
http://penguinppc.org/dev/kernel.shtml. Second, 'bzImage' is an alias

I want to make a comment here. On the web page you mention there is no clear indication on what kernel should be used for PowerCore CPCI-3750 or other embedded platforms especially it does not explain the difference between the "linuxppc_2_4" and "linuxppc_2_4_devel" tree:

linuxppc_2_4 stable branch
linuxppc_2_4_devel stable branch testing tree

A bit more explanation would be useful.

Wolfgang.

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