Boot Linux 2.4.25 on MPC8270 board errors.
Alex Zeffertt
ajz at cambridgebroadband.com
Tue Jan 16 23:11:18 EST 2007
onetarget at sina.com wrote:
> Dear all,
> I am now using ELDK 3.1.1 to build Linux-2.4.25 for an MPC8270
> board. The board has 128MB SDRAM, and in fcc_enet.c
> I configured the followings,
> #define FCC_ENET_RX_PAGES 32 /*16 */
> #define FCC_ENET_RX_FRSIZE 2048
> #define FCC_ENET_RX_FRPPG (PAGE_SIZE / FCC_ENET_RX_FRSIZE)
> #define RX_RING_SIZE (FCC_ENET_RX_FRPPG * FCC_ENET_RX_PAGES)
> #define TX_RING_SIZE 128 /*16 /* Must be power of two */
> #define TX_RING_MOD_MASK 127 /*15 /* for this to work */
>
> but when boot the image, I got following errors.
>
>
>
> Register rtc driver 1.0 successfully!
> eth0: FCC1 ENET Version 0.4, 00:08:02:06:00:00
> eth0: Phy @ 0x10, type LXT971 (0x001378e2)
> Oops: kernel access of bad area, sig: 11
> NIP: C01E93B8 XER: 00000000 LR: C01E9288 SP: C03BDED0 REGS: c03bde20
> TRAP: 0300 Not tainted
> MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
> DAR: 00000000, DSISR: 22000000
> TASK = c03bc000[1] 'swapper' Last syscall: 120
> last math 00000000 last altivec 00000000
> GPR00: 00000000 C03BDED0 C03BC000 F000B0C0 88888888 00000000 F000B0DC
> 00000000
> GPR08: 00000200 00000000 00000000 000005F0 84004044 10052210 07FE2000
> 007FFF10
> GPR16: 00000001 00000000 007FFF00 FFFFFFFF 003FF000 00000000 07F7FBF8
> C00A1BA0
> GPR24: C01F2C2C C01D0B5C F00119C0 C7FCB000 C03BE600 00000000 FFFFFFFF
> F0008500
> Call backtrace:
> C01A78C0 C01E8DD8 C01E77E8 C01E7824 C01E9BC4 C01E73A4 C01E0624
> C00039D0 C00081B8
> Kernel panic: Attempted to kill init!
>
> My question is, what should I set the above values??
> Thank you and regards,
>
> W.Target
Leave these defines at the values in the original source code. Use ksymoops to
examine the oops text and determine where the bad access occurred.
Alex
More information about the Linuxppc-embedded
mailing list