* RE: Linux 2.6-10.rc3 8xx - Only 3 characters are printed well i n __ init start_kernel() upon kernel booting - why ?
@ 2005-01-17 13:07 Povolotsky, Alexander
2005-01-18 8:32 ` Hans Schillstrom
0 siblings, 1 reply; 2+ messages in thread
From: Povolotsky, Alexander @ 2005-01-17 13:07 UTC (permalink / raw)
To: 'Hans Schillstrom'; +Cc: 'linuxppc-dev@ozlabs.org'
Hi Hans,
Unfortunately I am not using u-boot.
I am using "custom" bootloader (modified pSOS bootloader),
for which I do not have the source (and on top of - even if I would
have the source for this bootloader - JTAG is not available to me to=20
reflash new version of the bootloader).
Is there any way to control (change) this in the kernel source itself ?
Thanks,
Best Regards,
Alex
-----Original Message-----
From: Hans Schillstrom [mailto:hans.schillstrom@pwav.com]
Sent: Monday, January 17, 2005 2:10 AM
To: Povolotsky, Alexander
Subject: Re: Linux 2.6-10.rc3 8xx - Only 3 characters are printed well
in __ init start_kernel() upon kernel booting - why ?
Hi,
If you are using u-boot,
have you checked the env. varialbe "clocks_in_mhz" ?
if that one is set it turn out like that.
Regards
/Hans
On Sun, 2005-01-16 at 20:54, Povolotsky, Alexander wrote:
> > Per kind advise I have got, I have added baud rate to the command =
line
(I
> > did not have it there before):
> >=20
> > CONFIG_CMDLINE=3D"console=3DttyCPM0,115200 panic=3D3 =
root=3D/dev/ram"
> >=20
> > However, my real current problem (just 3 characters get printed
> > correctly during the kernel boot) did not go away.
> >=20
> > Is there a way to check if the baud rate specified in the =
.config's
> > commandline is indeed in effect for the kernel booting ?
> >=20
> > Any other reasons/explanation for my "3 character" problem ?
> >=20
> > -----Original Message-----
> > From: Povolotsky, Alexander =20
> > Sent: Sunday, January 16, 2005 5:59 AM
> > To: 'linuxppc-dev@ozlabs.org'
> > Subject: Linux 2.6-10.rc3 8xx kernel booting - how to set
> > baud rate for the serial driver ?
> >=20
> > Hi,
> > ...=20
> > =20
> > My bootloader uses 115200 baud rate for the serial output during
> > boot strapping.
> >=20
> > I have:
> > CONFIG_SERIAL_CPM_CONSOLE
> > in my .config=20
> > ...=20
> > I could see some output during the kernel boot -
> > I noticed that (only 3) characters (see below) from the =
linux_banner are
> > printed
> > in __init start_kernel() upon booting . Then a lot of garbage is
outputted
> > and eventually kernel hangs ...
> >=20
> > after gunzip
> > done.
> > Now booting the kernel
> >
Lin=FF=FF=FF=FF=FF=FF=FF=FF=C0=FF=FF=FF=FF=FF=FF=FF=FF=C08=C0=FF=FF=FF=FF=
=FF=FF=FF=FF=C0X=C0=FF=FF=FF=FF=FF=FF=FF=FF=C0x=C0=FF=FF=FF=FF=FF=FF=FF=FF=
=C0~=C0=FF=FF=FF=FF=FF=FF=FF=FF=C0=B8=C0=FF=FF=FF=FF=FF=FF=FF
> > =FF=C0=D8=C0=FF=FF
> > <more garbage>
> > <hangs>
> >=20
> > to prove it I added printk("ALEX\n"); in __init start_kernel() =
prior to
> > printk(linux_banner);
> >=20
> > ...=20
> > lock_kernel();
> > page_address_init();
> > printk("ALEX\n");
> > printk(linux_banner);
> > setup_arch(&command_line);
> > setup_per_cpu_areas();
> > ...
> >=20
> > after gunzip
> > done.
> > Now booting the kernel
> >
ALE=FF=FF=FF=FF=FF=FF=FF=FF=C0=FF=FF=FF=FF=FF=FF=FF=FF=C08=C0=FF=FF=FF=FF=
=FF=FF=FF=FF=C0X=C0=FF=FF=FF=FF=FF=FF=FF=FF=C0x=C0=FF=FF=FF=FF=FF=FF=FF=FF=
=C0~=C0=FF=FF=FF=FF=FF=FF=FF=FF=C0=B8=C0=FF=FF=FF=FF=FF=FF=FF
> > =FF=C0=D8=C0=FF=FF
> > <more garbage>
> > <hangs>
> >=20
> > Why would first 3 characters come out right ?
> > Any ideas ?
> > Thanks,
> >=20
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>=20
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Linux 2.6-10.rc3 8xx - Only 3 characters are printed well i n __ init start_kernel() upon kernel booting - why ?
2005-01-17 13:07 Linux 2.6-10.rc3 8xx - Only 3 characters are printed well i n __ init start_kernel() upon kernel booting - why ? Povolotsky, Alexander
@ 2005-01-18 8:32 ` Hans Schillstrom
0 siblings, 0 replies; 2+ messages in thread
From: Hans Schillstrom @ 2005-01-18 8:32 UTC (permalink / raw)
To: Povolotsky, Alexander; +Cc: 'linuxppc-dev@ozlabs.org'
On Mon, 2005-01-17 at 14:07, Povolotsky, Alexander wrote:
> Hi Hans,
>=20
> Unfortunately I am not using u-boot.
> I am using "custom" bootloader (modified pSOS bootloader),
> for which I do not have the source (and on top of - even if I would
> have the source for this bootloader - JTAG is not available to me to=20
> reflash new version of the bootloader).
>=20
> Is there any way to control (change) this in the kernel source itself ?
Actualy it's the bd_info struct that has to be correct=20
when calling _start: (in head_8xx.c)=20
I'm not shure about the behavior if it's null (I always use it).
>=20
> Thanks,
> Best Regards,
> Alex
>=20
> -----Original Message-----
> From: Hans Schillstrom [mailto:hans.schillstrom@pwav.com]
> Sent: Monday, January 17, 2005 2:10 AM
> To: Povolotsky, Alexander
> Subject: Re: Linux 2.6-10.rc3 8xx - Only 3 characters are printed well
> in __ init start_kernel() upon kernel booting - why ?
>=20
> Hi,
> If you are using u-boot,
> have you checked the env. varialbe "clocks_in_mhz" ?
> if that one is set it turn out like that.
>=20
> Regards
> /Hans
>=20
> On Sun, 2005-01-16 at 20:54, Povolotsky, Alexander wrote:
> > > Per kind advise I have got, I have added baud rate to the command lin=
e
> (I
> > > did not have it there before):
> > >=20
> > > CONFIG_CMDLINE=3D"console=3DttyCPM0,115200 panic=3D3 root=3D/dev/ram"
> > >=20
> > > However, my real current problem (just 3 characters get printed
> > > correctly during the kernel boot) did not go away.
> > >=20
> > > Is there a way to check if the baud rate specified in the .config's
> > > commandline is indeed in effect for the kernel booting ?
> > >=20
> > > Any other reasons/explanation for my "3 character" problem ?
> > >=20
> > > -----Original Message-----
> > > From: Povolotsky, Alexander =20
> > > Sent: Sunday, January 16, 2005 5:59 AM
> > > To: 'linuxppc-dev@ozlabs.org'
> > > Subject: Linux 2.6-10.rc3 8xx kernel booting - how to set
> > > baud rate for the serial driver ?
> > >=20
> > > Hi,
> > > ...=20
> > > =20
> > > My bootloader uses 115200 baud rate for the serial output during
> > > boot strapping.
> > >=20
> > > I have:
> > > CONFIG_SERIAL_CPM_CONSOLE
> > > in my .config=20
> > > ...=20
> > > I could see some output during the kernel boot -
> > > I noticed that (only 3) characters (see below) from the linux_banner =
are
> > > printed
> > > in __init start_kernel() upon booting . Then a lot of garbage is
> outputted
> > > and eventually kernel hangs ...
> > >=20
> > > after gunzip
> > > done.
> > > Now booting the kernel
> > >
> Lin=FF=FF=FF=FF=FF=FF=FF=FF=C0=FF=FF=FF=FF=FF=FF=FF=FF=C08=C0=FF=FF=FF=FF=
=FF=FF=FF=FF=C0X=C0=FF=FF=FF=FF=FF=FF=FF=FF=C0x=C0=FF=FF=FF=FF=FF=FF=FF=FF=
=C0~=C0=FF=FF=FF=FF=FF=FF=FF=FF=C0=B8=C0=FF=FF=FF=FF=FF=FF=FF
> > > =FF=C0=D8=C0=FF=FF
> > > <more garbage>
> > > <hangs>
> > >=20
> > > to prove it I added printk("ALEX\n"); in __init start_kernel() prior =
to
> > > printk(linux_banner);
> > >=20
> > > ...=20
> > > lock_kernel();
> > > page_address_init();
> > > printk("ALEX\n");
> > > printk(linux_banner);
> > > setup_arch(&command_line);
> > > setup_per_cpu_areas();
> > > ...
> > >=20
> > > after gunzip
> > > done.
> > > Now booting the kernel
> > >
> ALE=FF=FF=FF=FF=FF=FF=FF=FF=C0=FF=FF=FF=FF=FF=FF=FF=FF=C08=C0=FF=FF=FF=FF=
=FF=FF=FF=FF=C0X=C0=FF=FF=FF=FF=FF=FF=FF=FF=C0x=C0=FF=FF=FF=FF=FF=FF=FF=FF=
=C0~=C0=FF=FF=FF=FF=FF=FF=FF=FF=C0=B8=C0=FF=FF=FF=FF=FF=FF=FF
> > > =FF=C0=D8=C0=FF=FF
> > > <more garbage>
> > > <hangs>
> > >=20
> > > Why would first 3 characters come out right ?
> > > Any ideas ?
> > > Thanks,
> > >=20
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >=20
>=20
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-18 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-17 13:07 Linux 2.6-10.rc3 8xx - Only 3 characters are printed well i n __ init start_kernel() upon kernel booting - why ? Povolotsky, Alexander
2005-01-18 8:32 ` Hans Schillstrom
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).