Skip to contentSkip to conversation

Using 2_4_devel to build a kernel for the 8240

DISCUSSION Stephen Noftall 3 participants 3 messages Apr 25, 2002 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hello;

I am using the latest bitkeeper PPC 2_4_devel kernel, and want to configure it for the 8240.

When I run menuconfig, I can see "Sandpoint X3" and "8260" selections, but no 8240 specific selections.

What options should I select to enable 8240 support? I am guessing "Sandpoint X3", is this right? The board is a custom 8240, with Ethernet and SCSI PCI chipsets, but no serial or ISA components. We have previously gotten a 2.3.16 kernel to work on it.

Thanks for any feedback.

Stephen Noftall
LCS

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

#2 lore raw
Quoted 10 lines · Stephen Noftall

Hello;

I am using the latest bitkeeper PPC 2_4_devel kernel, and want to configure it for the 8240.

When I run menuconfig, I can see "Sandpoint X3" and "8260" selections, but no 8240 specific selections.

What options should I select to enable 8240 support? I am guessing "Sandpoint X3", is this right?

No. "Sandpoint" is a platform, not a processor. You select the processor from inside "Platform support"/"Processor Type". Since the 8240 is essentially a 603 core with a 107 bridge, select "6xx/7xx/74xx/8260" for your processory type.

You probably want to make a new "Machine Type" for your board/platform and select it. Look in arch/ppc/platforms and arch/ppc/config.in for lots of examples.

Mark

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

#3 lore raw
In reply to Stephen Noftall
Quoted 6 lines · Stephen Noftall

Hello;

I am using the latest bitkeeper PPC 2_4_devel kernel, and want to configure it for the 8240.

Quoted 7 lines

When I run menuconfig, I can see "Sandpoint X3" and "8260" selections, but no 8240 specific selections.

What options should I select to enable 8240 support? I am guessing "Sandpoint X3", is this right? The board is a custom 8240, with Ethernet and SCSI PCI chipsets, but no serial or ISA components. We have previously gotten a 2.3.16 kernel to work on it.

The Processor Type option text for CONFIG_6xx is wrong. It should say 82xx instead of 8260. Select 6xx/7xx/74xx/8260 for now since you have a "classic PPC" core.

Sandpoint is a board. It does not "enable" 8240 support. An 8240 is more or less a 603e + MPC10x bridge for software purposes. Add an entry for your custom board and use mpc10x_common.c like other examples in 2_4_devel.

Regards,
--
Matt Porter
MontaVista Software, Inc.
[email protected]

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