* 8272ADS and Linux 2.6.12
@ 2005-07-14 6:55 SIP COP 009
2005-07-14 13:25 ` Kumar Gala
2005-07-17 6:52 ` Mike Rapoport
0 siblings, 2 replies; 10+ messages in thread
From: SIP COP 009 @ 2005-07-14 6:55 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
We have a MPC8272 Eval Board which came with Linux 2.4 and U-boot. We
wanted to move to 2.6. I downloaded the latest 2.6.12 sources and
compiled the sources for this platform. The kernel is built, have run
the mkimage tool, but the kernel wont boot. It just hangs after
decompressing the image.
Any ideas ? Anything different that needs to be done for 2.6 ? Or any
known issues ?
Thanks!
ashutosh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 8272ADS and Linux 2.6.12
2005-07-14 6:55 8272ADS and Linux 2.6.12 SIP COP 009
@ 2005-07-14 13:25 ` Kumar Gala
2005-07-14 19:05 ` SIP COP 009
2005-07-17 6:52 ` Mike Rapoport
1 sibling, 1 reply; 10+ messages in thread
From: Kumar Gala @ 2005-07-14 13:25 UTC (permalink / raw)
To: SIP COP 009; +Cc: linuxppc-embedded
You may need to check the bootargs to insure that console=ttyCPM0
- kumar
On Jul 14, 2005, at 1:55 AM, SIP COP 009 wrote:
> Hello,
>
> We have a MPC8272 Eval Board which came with Linux 2.4 and U-boot. We
> wanted to move to 2.6. I downloaded the latest 2.6.12 sources and
> compiled the sources for this platform. The kernel is built, have run
> the mkimage tool, but the kernel wont boot. It just hangs after
> decompressing the image.
>
> Any ideas ? Anything different that needs to be done for 2.6 ? Or any
> known issues ?
>
> Thanks!
> ashutosh
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 8272ADS and Linux 2.6.12
2005-07-14 13:25 ` Kumar Gala
@ 2005-07-14 19:05 ` SIP COP 009
2005-07-15 3:05 ` Allen Curtis
0 siblings, 1 reply; 10+ messages in thread
From: SIP COP 009 @ 2005-07-14 19:05 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-embedded
Kumar,
Thanks for u'r reply. I tried it but it does not seem to work.
Here's my uboot info...
U-Boot 1.1.1 (Oct 29 2004 - 18:28:57)
MPC8272 Reset Status: External Soft, External Hard
MPC8272 Clock Configuration
- Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq 25-75 , Core Freq 100-300
- dfbrg 1, corecnf 0x0a, busdf 3, cpmdf 1, plldf 0, pllmf 3
- vco_out 400000000, scc_clk 100000000, brg_clk 25000000
- cpu_clk 400000000, cpm_clk 200000000, bus_clk 100000000
- pci_clk 66666666
CPU: MPC8272 (HiP7 Rev 13, Mask 0.0 0K50M) at 400 MHz
Board: Motorola MPC8272ADS
DRAM: 64 MB
Now running in RAM - U-Boot at: 03fc4000
FLASH: 8 MB
In: serial
Out: serial
Err: serial
Net: FCC1 ETHERNET
Hit any key to stop autoboot: 0=20
=3D> setenv bootargs console=3DttyCPM0,115200 root=3D/dev/ram
=3D> bootm fe600000
## Booting image at fe600000 ...
Image Name: 2.6.12 for 8272
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 875845 Bytes =3D 855.3 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Hang here...
Anymore thots and pointers ?
Thanks!
ashutosh
On 7/14/05, Kumar Gala <kumar.gala@freescale.com> wrote:
> You may need to check the bootargs to insure that console=3DttyCPM0
>=20
> - kumar
>=20
> On Jul 14, 2005, at 1:55 AM, SIP COP 009 wrote:
>=20
> > Hello,
> >
> > We have a MPC8272 Eval Board which came with Linux 2.4 and U-boot. We
> > wanted to move to 2.6. I downloaded the latest 2.6.12 sources and
> > compiled the sources for this platform. The kernel is built, have run
> > the mkimage tool, but the kernel wont boot. It just hangs after
> > decompressing the image.
> >
> > Any ideas ? Anything different that needs to be done for 2.6 ? Or any
> > known issues ?
> >
> > Thanks!
> > ashutosh
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >
>=20
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 8272ADS and Linux 2.6.12
2005-07-14 19:05 ` SIP COP 009
@ 2005-07-15 3:05 ` Allen Curtis
2005-07-15 3:11 ` Allen Curtis
2005-07-15 14:14 ` SIP COP 009
0 siblings, 2 replies; 10+ messages in thread
From: Allen Curtis @ 2005-07-15 3:05 UTC (permalink / raw)
To: SIP COP 009; +Cc: linuxppc-embedded
> => setenv bootargs console=ttyCPM0,115200 root=/dev/ram
> => bootm fe600000
> ## Booting image at fe600000 ...
> Image Name: 2.6.12 for 8272
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 875845 Bytes = 855.3 kB
> Load Address: 00000000
> Entry Point: 00000000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
>
Can you provide your kernel configuration information regarding the
serial ports. Which serial port is your console port? Check the
following configuration options:
CONFIG_SERIAL_CONSOLE
CONFIG_SCC_CONSOLE
CONFIG_SERIAL_CORE
CONFIG_SERIAL_CORE_CONSOLE
Another observation is that you are trying to boot with a RAM disk but
you have not provided the RAM disk address to the bootm command. This
is not your current problem since you don't get that far.
- Allen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 8272ADS and Linux 2.6.12
2005-07-15 3:05 ` Allen Curtis
@ 2005-07-15 3:11 ` Allen Curtis
2005-07-15 14:14 ` SIP COP 009
1 sibling, 0 replies; 10+ messages in thread
From: Allen Curtis @ 2005-07-15 3:11 UTC (permalink / raw)
To: Allen Curtis; +Cc: SIP COP 009, linuxppc-embedded
It would also be beneficial if you turned on CONFIG_DEBUG_KERNEL. You
will get lots more messages early in the boot.
>> => setenv bootargs console=ttyCPM0,115200 root=/dev/ram
>> => bootm fe600000
>> ## Booting image at fe600000 ...
>> Image Name: 2.6.12 for 8272
>> Image Type: PowerPC Linux Kernel Image (gzip compressed)
>> Data Size: 875845 Bytes = 855.3 kB
>> Load Address: 00000000
>> Entry Point: 00000000
>> Verifying Checksum ... OK
>> Uncompressing Kernel Image ... OK
>>
>
> Can you provide your kernel configuration information regarding the
> serial ports. Which serial port is your console port? Check the
> following configuration options:
> CONFIG_SERIAL_CONSOLE
> CONFIG_SCC_CONSOLE
> CONFIG_SERIAL_CORE
> CONFIG_SERIAL_CORE_CONSOLE
>
> Another observation is that you are trying to boot with a RAM disk but
> you have not provided the RAM disk address to the bootm command. This
> is not your current problem since you don't get that far.
>
> - Allen
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 8272ADS and Linux 2.6.12
2005-07-15 3:05 ` Allen Curtis
2005-07-15 3:11 ` Allen Curtis
@ 2005-07-15 14:14 ` SIP COP 009
2005-07-15 15:29 ` Allen Curtis
1 sibling, 1 reply; 10+ messages in thread
From: SIP COP 009 @ 2005-07-15 14:14 UTC (permalink / raw)
To: Allen Curtis; +Cc: linuxppc-embedded
Here's my serial config..., also these dont show up if i just=20
run "make ads8272_defconfig". I have to explicitly go and enable the
serial options.
#
# Serial drivers
#
CONFIG_SERIAL_8250=3Dy
CONFIG_SERIAL_8250_CONSOLE=3Dy
CONFIG_SERIAL_8250_NR_UARTS=3D4
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=3Dy
CONFIG_SERIAL_CORE_CONSOLE=3Dy
# CONFIG_SERIAL_CPM is not set
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=3Dy
CONFIG_LEGACY_PTYS=3Dy
CONFIG_LEGACY_PTY_COUNT=3D256
Thanks!
ashutosh
On 7/14/05, Allen Curtis <acurtis@onz.com> wrote:
> > =3D> setenv bootargs console=3DttyCPM0,115200 root=3D/dev/ram
> > =3D> bootm fe600000
> > ## Booting image at fe600000 ...
> > Image Name: 2.6.12 for 8272
> > Image Type: PowerPC Linux Kernel Image (gzip compressed)
> > Data Size: 875845 Bytes =3D 855.3 kB
> > Load Address: 00000000
> > Entry Point: 00000000
> > Verifying Checksum ... OK
> > Uncompressing Kernel Image ... OK
> >
>=20
> Can you provide your kernel configuration information regarding the
> serial ports. Which serial port is your console port? Check the
> following configuration options:
> CONFIG_SERIAL_CONSOLE
> CONFIG_SCC_CONSOLE
> CONFIG_SERIAL_CORE
> CONFIG_SERIAL_CORE_CONSOLE
>=20
> Another observation is that you are trying to boot with a RAM disk but
> you have not provided the RAM disk address to the bootm command. This
> is not your current problem since you don't get that far.
>=20
> - Allen
>=20
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 8272ADS and Linux 2.6.12
2005-07-15 14:14 ` SIP COP 009
@ 2005-07-15 15:29 ` Allen Curtis
0 siblings, 0 replies; 10+ messages in thread
From: Allen Curtis @ 2005-07-15 15:29 UTC (permalink / raw)
To: SIP COP 009; +Cc: linuxppc-embedded
> Here's my serial config..., also these dont show up if i just
> run "make ads8272_defconfig". I have to explicitly go and enable the
> serial options.
>
> #
> # Serial drivers
> #
> CONFIG_SERIAL_8250=y
> CONFIG_SERIAL_8250_CONSOLE=y
> CONFIG_SERIAL_8250_NR_UARTS=4
> # CONFIG_SERIAL_8250_EXTENDED is not set
>
> #
> # Non-8250 serial port support
> #
> CONFIG_SERIAL_CORE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
> # CONFIG_SERIAL_CPM is not set
> # CONFIG_SERIAL_JSM is not set
> CONFIG_UNIX98_PTYS=y
> CONFIG_LEGACY_PTYS=y
> CONFIG_LEGACY_PTY_COUNT=256
Unless something has changed recently, the 8272 is configured like a
8260 and uses arch/ppc/8260_io/uart.c. CONFIG_SERIAL_CONSOLE should be
defined. By default, SMC1 will be your console port. I will very later
but you may want to have a look for yourself.
Regards
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 8272ADS and Linux 2.6.12
2005-07-14 6:55 8272ADS and Linux 2.6.12 SIP COP 009
2005-07-14 13:25 ` Kumar Gala
@ 2005-07-17 6:52 ` Mike Rapoport
2005-07-19 17:18 ` SIP COP 009
1 sibling, 1 reply; 10+ messages in thread
From: Mike Rapoport @ 2005-07-17 6:52 UTC (permalink / raw)
To: SIP COP 009; +Cc: linuxppc-embedded
SIP COP 009 wrote:
>Hello,
>
>We have a MPC8272 Eval Board which came with Linux 2.4 and U-boot. We
>wanted to move to 2.6. I downloaded the latest 2.6.12 sources and
>compiled the sources for this platform. The kernel is built, have run
>the mkimage tool, but the kernel wont boot. It just hangs after
>decompressing the image.
>
>
>
>Any ideas ? Anything different that needs to be done for 2.6 ? Or any
>known issues ?
>
>
>
If you're using the u-boot that came with MPC8272 Eval board it may
happen that BCSR is mapped differently in u-boot and the kernel 2.6.
That's what happened when I tried to boot linux 2.6 on MPC8272ADS. Check
the value of CFG_BCSR in u-boot/include/configs/MPC8260ADS.h and
BCSR_ADDR in linux/arch/ppc/platforms/pq2ads.h
>Thanks!
>ashutosh
>
>
--
Sincerely yours,
Mike
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 8272ADS and Linux 2.6.12
2005-07-17 6:52 ` Mike Rapoport
@ 2005-07-19 17:18 ` SIP COP 009
2005-08-19 16:42 ` Matthew McClintock
0 siblings, 1 reply; 10+ messages in thread
From: SIP COP 009 @ 2005-07-19 17:18 UTC (permalink / raw)
To: Mike Rapoport; +Cc: linuxppc-embedded
Thanks all for the replies and help. I have the 2.6 Kernel running
now. Here are few of the things that i did to make it happen:
1: make ads8272_defconfig
2: edit .config to add the follow:
CONFIG_SERIAL_CORE=3Dy
CONFIG_SERIAL_CORE_CONSOLE=3Dy
CONFIG_SERIAL_CPM=3Dy
CONFIG_SERIAL_CPM_CONSOLE=3Dy
CONFIG_SERIAL_CPM_SCC1=3Dy
CONFIG_SERIAL_CPM_SCC2=3Dy
3. In u-boot, set the bootargs to
bootargs=3Droot=3D/dev/ram rw console=3DttyCPM0,115200
4.Modify the file arch/ppc/platforms/pq2ads.h,
// #define BCSR_ADDR ((uint)0xf4500000)
#define BCSR_ADDR ((uint)0xff080000)
Thanks!
ashutosh
On 7/16/05, Mike Rapoport <mike@compulab.co.il> wrote:
> SIP COP 009 wrote:
>=20
> >Hello,
> >
> >We have a MPC8272 Eval Board which came with Linux 2.4 and U-boot. We
> >wanted to move to 2.6. I downloaded the latest 2.6.12 sources and
> >compiled the sources for this platform. The kernel is built, have run
> >the mkimage tool, but the kernel wont boot. It just hangs after
> >decompressing the image.
> >
> >
> >
>=20
> >Any ideas ? Anything different that needs to be done for 2.6 ? Or any
> >known issues ?
> >
> >
> >
> If you're using the u-boot that came with MPC8272 Eval board it may
> happen that BCSR is mapped differently in u-boot and the kernel 2.6.
> That's what happened when I tried to boot linux 2.6 on MPC8272ADS. Check
> the value of CFG_BCSR in u-boot/include/configs/MPC8260ADS.h and
> BCSR_ADDR in linux/arch/ppc/platforms/pq2ads.h
>=20
> >Thanks!
> >ashutosh
> >
> >
> --
> Sincerely yours,
> Mike
>=20
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: 8272ADS and Linux 2.6.12
2005-07-19 17:18 ` SIP COP 009
@ 2005-08-19 16:42 ` Matthew McClintock
0 siblings, 0 replies; 10+ messages in thread
From: Matthew McClintock @ 2005-08-19 16:42 UTC (permalink / raw)
To: SIP COP 009; +Cc: linuxppc-embedded
On Tue, 2005-07-19 at 10:18 -0700, SIP COP 009 wrote:
> Thanks all for the replies and help. I have the 2.6 Kernel running
> now. Here are few of the things that i did to make it happen:
>
> 1: make ads8272_defconfig
> 2: edit .config to add the follow:
> CONFIG_SERIAL_CORE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
> CONFIG_SERIAL_CPM=y
> CONFIG_SERIAL_CPM_CONSOLE=y
> CONFIG_SERIAL_CPM_SCC1=y
> CONFIG_SERIAL_CPM_SCC2=y
Are you sure it should not be SCC1 and SCC4? Can you verify SCC2 works
for you?
-Matthew
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-08-19 16:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 6:55 8272ADS and Linux 2.6.12 SIP COP 009
2005-07-14 13:25 ` Kumar Gala
2005-07-14 19:05 ` SIP COP 009
2005-07-15 3:05 ` Allen Curtis
2005-07-15 3:11 ` Allen Curtis
2005-07-15 14:14 ` SIP COP 009
2005-07-15 15:29 ` Allen Curtis
2005-07-17 6:52 ` Mike Rapoport
2005-07-19 17:18 ` SIP COP 009
2005-08-19 16:42 ` Matthew McClintock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).