Problem running Linux 2.6.11 on MPC8272ADS
Hi,
I'm trying to bring up the Linux 2.6.11 on MPC8272ADS and it seem to hang up at the very beginning. I use ads8272_defconfig and then enable console on SCC:
CONFIG_SERIAL_CPM=yCONFIG_SERIAL_CPM_CONSOLE=yCONFIG_SERIAL_CPM_SCC1=y
when I boot the kernel from the u-boot the system hangs up right after the kernel decompression.
Signature · 9 lines
Sincerely Yours, Mike Rapoport ----------------------------------------------------------------- CompuLab Ltd. MALAT Bldg., Technion, Haifa, ISRAEL Mailing address: P.O. Box 66, Nesher 36770, ISRAEL Tel: 972-4-8290146 Fax: 972-4-8325251 Web: http://www.compulab.co.il
Hi Mike,
I had the same "hang" experience. The file arch/ppc/platforms/pq2ads.c contains the following function:
void __init
m82xx_board_setup(void)
{
/* Enable the 2nd UART port */
*(volatile uint *)(BCSR_ADDR + 4) &= ~BCSR1_RS232_EN2;
}I had to ifdef-out the assignment statement above. It appears that the definition for BCSR_ADDR in the kernel code differs from what U-Boot is using, and that area of memory isn't properly mapped into the kernel address space this early in the boot sequence. As a result, I was getting an Oops() before the console was even enabled (I could see the Oops message by examining the kernel's printk log buffer using a BDI-2000 hardware debugger).
Good luck,
Walt Wimer
TimeSys Corporation
Quoted 13 lines · Mike Rapoport
Hi,
I'm trying to bring up the Linux 2.6.11 on MPC8272ADS and it seem to hang up at the very beginning.
I useads8272_defconfigand then enable console on SCC:
CONFIG_SERIAL_CPM=yCONFIG_SERIAL_CPM_CONSOLE=yCONFIG_SERIAL_CPM_SCC1=ywhen I boot the kernel from the u-boot the system hangs up right after the kernel decompression.
A patch to make this work properly would be appreciated.
- kumar
Quoted 5 lines · Walter L. Wimer III
Hi Mike,
I had the same "hang" experience.=A0 The file =
arch/ppc/platforms/pq2ads.c
Quoted 7 lines
contains the following function:
=A0 void
__init
=A0m82xx_board_setup(void)
=A0 {
=A0 =A0=A0=A0=A0=A0 /* Enable the 2nd UART port */ =A0 =A0=A0=A0=A0=A0 *(volatile uint *)(BCSR_ADDR + 4) &=3D =
~BCSR1_RS232_EN2;
Quoted 5 lines
=A0 }
I had to ifdef-out the assignment statement above.=A0 It appears that =
the
Quoted 6 lines
definition for
BCSR_ADDRin the kernel code differs from what U-Boot=20=is
using, and that area of memory isn't properly mapped into the kernel address space this early in the boot sequence.=A0 As a result, I was getting anOops()before the console was even enabled (I could see =
the
Quoted 8 lines
Oops message by examining the kernel's printk log buffer using a BDI-2000 hardware debugger).
Good luck,
Quoted 10 lines
Walt Wimer
TimeSys CorporationQuoted 2 lines · Mike Rapoport
Hi,
I'm trying to bring up the Linux 2.6.11 on MPC8272ADS and it seem =
to
Quoted 17 lines
Quoted 9 lines
hang up at the very beginning.
I useads8272_defconfigand then enable console on SCC:
CONFIG_SERIAL_CPM=3DyCONFIG_SERIAL_CPM_CONSOLE=3DyCONFIG_SERIAL_CPM_SCC1=3Dywhen I boot the kernel from the u-boot the system hangs up right=20
after
Quoted 2 lines
the kernel decompression.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
I'll submit one once I get everything else working on this board that I need.... :-)
Walt
Quoted 64 lines · Kumar Gala
A patch to make this work properly would be appreciated.
- kumar
Quoted 57 lines · Walter L. Wimer III
Hi Mike,
I had the same "hang" experience. The file
arch/ppc/platforms/pq2ads.ccontains the following function:void __init m82xx_board_setup(void) { /* Enable the 2nd UART port */ *(volatile uint *)(BCSR_ADDR + 4) &= ~BCSR1_RS232_EN2; }I had to ifdef-out the assignment statement above. It appears that the
definition forBCSR_ADDRin the kernel code differs from what U-Boot
is
using, and that area of memory isn't properly mapped into the kernel address space this early in the boot sequence. As a result, I was getting anOops()before the console was even enabled (I could see the Oops message by examining the kernel's printk log buffer using a BDI-2000 hardware debugger).Good luck,
Walt Wimer
TimeSys CorporationQuoted 11 lines · Mike Rapoport
Hi,
I'm trying to bring up the Linux 2.6.11 on MPC8272ADS and it seem to hang up at the very beginning.
I useads8272_defconfigand then enable console on SCC:
CONFIG_SERIAL_CPM=yCONFIG_SERIAL_CPM_CONSOLE=yCONFIG_SERIAL_CPM_SCC1=ywhen I boot the kernel from the u-boot the system hangs up right
after
Quoted 2 lines
the kernel decompression.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded