Re: [uClinux-dev] Palm V arch tree...

From: Tom Walsh (tom@cyberiansoftware.com)
Date: Mon Dec 10 2001 - 17:37:20 EST


David McCullough wrote:
> 
> Jivin Jody Pearson lays it down ...
> > Hi All,
> >
> > Got the latest uClinux 2.4.x from CVS.
> >
> > It seems that the PalmV directory structure under
> >
> > ${UCLINUX}/linux/arch/m68knommu/platform/68EZ328/
> >
> > is missing.
> >
> > I tried to replicate it from
> >
> > ${UCLINUX}/linux/arch/m68knommu/platform/68328/pilot
> 
> There is no Palm support in the 2.4 tree yet.  If you want something that
> works I would go with the the 2.0 kernel.  On the other hand it should not
> be a major task to get 2.4 going.
> 
> I believe romfs.h is how the Palm version used to include the rom
> filesystem into the kernel.  There are much cleaner ways to do this (IMO)
> using objcopy and friends.
> 

Hello David,

I can see that this may become a recurring problem in the future with
newer platforms only being supported in the 2.4 and not 2.0 kernels. 
Also, older platforms not being supported yet by the 2.4 kernel..  IMO,
the solution that I had proposed a while back about a ./linux &
./linux-2.4.x directory under the vendor/{VENDOR}/{PLATFORM} tree could
be used to correct for this?

We could modify the scripts so that if a ./linux dir (or ./linux-2.4.x
dir) does not exist under that platform, it would announce that "this
platform is not yet supported under this kernel version".  That type of
directory structure also makes it possible to keep two seperate sets of
rc, config.vendor, config.linux, etc. files in those dirs.   I had
modified the scripts to symlink these files under the {platform} dir
based upon the version of kernel to be used.

If you would like, I could do this in the near future and submit such a
system to you for inspection?  Yes, there are a lot of current platforms
that would need to be modified to this approach, but a perl script
should be able to quickly do this.


Regards,

TomW


-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:20:35 EDT