Re: SIMpad kernel in OE

[email protected] (Alex Lange) Sat, 3 Apr 2004 13:56:55 +0200
Newsgroups gmane.comp.handhelds.simpad.linux
Message-ID <[email protected]>
Hi,

I've compared 2.4.18 to 2.4.19, but as far as I can see this mq200 code is 
identical. 2.4.19 just does
#ifdef CONFIG_SA1100_SIMPAD
     GPDR |=   (1<<3);
     GAFR |=  ~(1<<3);
     GPSR |=   (1<<3);
#endif
but this is also in my bootloader so I guess it's not the case. Any other 
hints?

regards,
Alex

On Friday 02 April 2004 12:50, you wrote:
> Hi Alex
>
> The problem you describe happens when the MQ200 is not initialised at all.
> The LCD does not get any signal at all and the pixels slowly turn white.
> The Linux kernel driver for the MQ200 in 2.4.18 has code to initialise the
> chip even if the bootloader did not. Maybe this code is missing in 2.4.19.
>
> I can't remember what code it was. I will need to check.
>
> Regards
> Walter
>
> > -----Original Message-----
> > From: Alex Lange [mailto:[email protected]]
> > Sent: Friday, April 02, 2004 11:41 AM
> > To: Juergen Messerer
> > Cc: [email protected]
> > Subject: Re: [Simpad-general] SIMpad kernel in OE
> >
> >
> > Hi,
> >
> > the screen doesn't show anything when booting, it's just
> > black (turning white
> > after some time)
> >
> > Alex
> >
> > On Friday 02 April 2004 09:14, you wrote:
> > > Okay I think I know the problem. Another question..
> > >
> > > Do you call mq200_on over the following line:
> > >
> > > COMMAND(mq200_on, mq200_on, "turn on the mq200 display",
> >
> > BB_RUN_FROM_RAM);
> >
> > > Does the screen show somthing during the boot process?
> > >
> > >
> > > If  the initialization of the mq200 doesn't work properbly
> >
> > then we have
> >
> > > to add some lines directly
> > > to the kernel driver.
> > >
> > > I know that Walter had a similar problem when we played
> >
> > around with the
> >
> > > current bootloader.
> > >
> > > He left out the mq200 part from the bootloader but then the kernel
> > > didn't boot.
> > > So he had to add some lines from the bootloader to kernel
> >
> > mq200 driver.
> >
> > > I have asked him allready. I hope we can get an answer soon.
> > >
> > > I will test it than tomorrow maybe today.
> > >
> > > regards
> > >
> > > Juergen
> > >
> > > Alex Lange wrote:
> > > >Hi Juergen,
> > > >
> > > >it's indeed 2.4.19-rmk7-jpm2. The kernel boots fine up to
> >
> > initialising the
> >
> > > >framebuffer. I just get "set_mqmode before reset" or
> >
> > something like this,
> >
> > > >can't remember exactly. When compiling the kernel without
> >
> > mw200fb support,
> >
> > > > it boots fine.
> > > >
> > > >Alex
> > > >
> > > >On Thursday 01 April 2004 17:31, you wrote:
> > > >>He Alex,
> > > >>
> > > >>which kernel did you used ?
> > > >>
> > > >>2.4.19-rmk7-jpm2 ?
> > > >>
> > > >>Does it hang just in the beginning? No output or so?
> > > >>
> > > >>regards
> > > >>
> > > >>Juergen
> > > >>
> > > >>Alex Lange wrote:
> > > >>>Hi Chris,
> > > >>>
> > > >>>the kernel partition will be removed with the new
> >
> > bootloader we'll just
> >
> > > >>>have a 256KB bootloader partition and the rest will be
> >
> > root. It's just
> >
> > > >>>the mq200 that doesn't work yet and which causes the
> >
> > kernel to hang
> >
> > > >>> while booting. I hope Walter/Juergen will find a way to
> >
> > fix this. I
> >
> > > >>> don't have enough hardware info right now.
> > > >>>
> > > >>>Alex
> > > >>>
> > > >>>On Thursday 01 April 2004 09:40, Chris Martin wrote:
> > > >>>>Hi Alex,
> > > >>>>
> > > >>>>I'm still here. And it looks like I'll be able to get
> >
> > involved some
> >
> > > >>>> more again.
> > > >>>>Since OZ Buildroot is more or less stalled and OE isn't
> >
> > far enough that
> >
> > > >>>>we can build Images for the SIMpad from it, it may be
> >
> > better to just
> >
> > > >>>>build some images for testing purposes. I think an
> >
> > official release is
> >
> > > >>>>only meaningful when we have a common base system.
> > > >>>>For instance if you were to build your images based on
> >
> > familiar then it
> >
> > > >>>>would be a little different than what was created from
> >
> > OZ. Now that
> >
> > > >>>>hh.org is contributing to OpenEmbedded (which is very
> >
> > good news!!) the
> >
> > > >>>>possibility of having a common base for Opie and GPE
> >
> > (or whatever else
> >
> > > >>>>is worth while) images for the SIMpad just increased greatly.
> > > >>>>
> > > >>>>As soon as the bootldr works you may want to write up a
> >
> > small HOWTO on
> >
> > > >>>>getting that on the SIMpad without JTAG. This will be
> >
> > essential before
> >
> > > >>>>releasing it to the public ;-)
> > > >>>>But, whip up an Image for testing purposes and I'll
> >
> > test it a bit.
> >
> > > >>>>BTW: can we do away with the seperate kernel partition
> >
> > when using the
> >
> > > >>>>new bootldr. I hope so, since this makes it a pain when
> >
> > it gets down to
> >
> > > >>>>updating kernel stuff. I would like to be able to
> >
> > update the kernel via
> >
> > > >>>>ipkg like I can on my ipaq.
> > > >>>>
> > > >>>>So, now I need to get familiar with OE and help there a
> >
> > little ;-) I'm
> >
> > > >>>>also going to get involved with the port to the ipaq
> >
> > 2210 (maybe LAB
> >
> > > >>>>also). So I have alot to do :)
> > > >>>>
> > > >>>>Regards,
> > > >>>>Chris Martin
> > > >>>>
> > > >>>>Alex Lange wrote:
> > > >>>>>Hi,
> > > >>>>>If the new bootloader is working, I'll build some
> >
> > simpad images if no
> >
> > > >>>>>one else will do it.
> > > >>>>>
> > > >>>>>Alex
> > > >>>>>
> > > >>>>>On Wednesday 31 March 2004 17:48, Michael Lauer wrote:
> > > >>>>>>I'm not sure if anyone is still interested in SIMpad stuff,
> > > >>>>>>however fyi: I added two SIMpad kernels to OpenEmbedded,
> > > >>>>>>
> > > >>>>>>1.) 2.4.19-rmk7-jpm2 - as appearing in OpenSIMpad 0.8.1
> > > >>>>>>and
> > > >>>>>>2.) 2.4.25-vrs2-pxa1-jpm1. No idea if that thing boots, but I
> > > >>>>>> forwarded ported the jpm2 patches.
> > > >>>>>>
> > > >>>>>>Kernel 2.6.4 should just be a matter of forward
> >
> > pushing zecke's
> >
> > > >>>>>> patches which are in buildroot.
> > > >>>>>>
> > > >>>>>>Now volunteers could start adding some missing SIMpad device
> > > >>>>>> specifics into OpenEmbedded and then there could be
> >
> > new OpenSIMpad
> >
> > > >>>>>> releases...
> > > >>>>>
> > > >>>>>-------------------------------------------------------
> > > >>>>>This SF.Net email is sponsored by: IBM Linux Tutorials
> > > >>>>>Free Linux tutorial presented by Daniel Robbins,
> >
> > President and CEO of
> >
> > > >>>>>GenToo technologies. Learn everything from
> >
> > fundamentals to system
> >
> > >>>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3
> >
> > 638&op=click
> >
> > > >>>>>_______________________________________________
> > > >>>>>Simpad-general mailing list
> > > >>>>>[email protected]
> > > >>>>>https://lists.sourceforge.net/lists/listinfo/simpad-general
> > > >>>>
> > > >>>>-------------------------------------------------------
> > > >>>>This SF.Net email is sponsored by: IBM Linux Tutorials
> > > >>>>Free Linux tutorial presented by Daniel Robbins,
> >
> > President and CEO of
> >
> > > >>>>GenToo technologies. Learn everything from fundamentals
> >
> > to system
> >
> > >>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=36
> >
> > 38&op=click
> >
> > > >>>>_______________________________________________
> > > >>>>Simpad-general mailing list
> > > >>>>[email protected]
> > > >>>>https://lists.sourceforge.net/lists/listinfo/simpad-general
> > > >>>
> > > >>>-------------------------------------------------------
> > > >>>This SF.Net email is sponsored by: IBM Linux Tutorials
> > > >>>Free Linux tutorial presented by Daniel Robbins,
> >
> > President and CEO of
> >
> > > >>>GenToo technologies. Learn everything from fundamentals to system
> > >>>
> > >>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=363
> >
> > 8&op=click
> >
> > > >>>_______________________________________________
> > > >>>Simpad-general mailing list
> > > >>>[email protected]
> > > >>>https://lists.sourceforge.net/lists/listinfo/simpad-general
> > > >
> > > >-------------------------------------------------------
> > > >This SF.Net email is sponsored by: IBM Linux Tutorials
> > > >Free Linux tutorial presented by Daniel Robbins, President
> >
> > and CEO of
> >
> > > >GenToo technologies. Learn everything from fundamentals to system
> > >
> > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > >
> > > >_______________________________________________
> > > >Simpad-general mailing list
> > > >[email protected]
> > > >https://lists.sourceforge.net/lists/listinfo/simpad-general
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IBM Linux Tutorials
> > Free Linux tutorial presented by Daniel Robbins, President and CEO of
> > GenToo technologies. Learn everything from fundamentals to system
> > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> > _______________________________________________
> > Simpad-general mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/simpad-general


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click