bash: Segmentation fault on 8280
Dear All,
We have 2 identical custom board with MPC-8260 and MPC-8280 CPUs. The bash (Came with denx CD) works fine on MPC-8260 board. But the same bash program encounters a "Segmentation Fault" on 8280 based custom board.
We are using ppc_82xx-gcc compiler to build the linux. The linux version is denx-2.4.20
Any help is highly appreciated.
Regards,
S. Hebbar.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Srinivasa Hebbar
Dear All,
We have 2 identical custom board with MPC-8260 and MPC-8280 CPUs. The bash (Came with denx CD) works fine on MPC-8260 board. But the same bash program encounters a "Segmentation Fault" on 8280 based custom board.
We are using ppc_82xx-gcc compiler to build the linux. The linux version is denx-2.4.20
Your kernel might not have 8280 support. See if something like the attached patch has been applied.
--Guy
Quoted 6 lines
Any help is highly appreciated.
Regards,
S. Hebbar.
arch/ppc/kernel/cputable.c +8 -0
@@ -299,6 +299,14 @@ struct cpu_spec cpu_specs[] = {32 ,32 , __setup_cpu_603 }, + { /* 8280 is a G2_LE (603e core, plus some) */ +0x7fff0000 ,0x00820000 ,"8280" , +CPU_FTR_SPLIT_ID_CACHE |CPU_FTR_CAN_DOZE |CPU_FTR_USE_TB | +CPU_FTR_CAN_NAP |CPU_FTR_HAS_HIGH_BATS , +COMMON_PPC , +32 ,32 , + __setup_cpu_603 + }, { /* default match, we assume split I/D cache & TB (non-601)... */0x00000000 ,0x00000000 ,"(generic PPC)" , CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB | CPU_FTR_HPTE_TABLE,