--- In "Gonzalo A. de la
Vega" <> wrote:
>
> On Thu, May 29, 2008 at 12:06 PM, Gonzalo A. de la Vega
> <> wrote:
> > On Thu, May 29, 2008 at 10:39 AM, charliem_1216
<> wrote:
> >> --- In "Gonzalo A. de la Vega"
> >> <gadelavega@> wrote:
> >>>
> >>> On Tue, May 27, 2008 at 11:35 PM, charliem_1216
<charliem_1216@>
> >> wrote:
> >>> > Hi Gonzalo --
> >>> >
> >>> > --- In "Gonzalo A. de la Vega"
> >>> >
> >>> > <gadelavega@> wrote:
> >>> >>
> >>> >> On Tue, May 27, 2008 at 8:52 PM, Oliver Martin
> >>> >> <oliver.martin@> wrote:
> >>> >> > Am Tue, 27 May 2008 22:46:36 -0000 schrieb Gonzalo A. de
la
> >>> > Vega:
> >>> >> >
> >>> >> >> Allright guys... I give up. How do you get udev to show
all the
> >>> >> >> devices at startup with TS-Linux? I can boot the 2.6
kernel but
> >>> > then
> >>> >> >> the /dev/ directory is empty. Isn't udev supposed to
manage
> >>> > that?
> >>> >> >> I can make nodes like /dev/null but the /dev/ttyAM*
won't work.
> >>> >> >>
> >>> >> > If your board comes with 2.4, then it doesn't use udev but
> >>> > devfs. You
> >>> >> > either have to manually install udev in TS-Linux or build
your
> >>> > own
> >>> >> > "distro" (i.e., root fs). Have a look at ptxdist, it will
give
> >>> > you
> >>> >> > something workable with a bit of experimentation.
> >>> >>
> >>> >> It's a TS7260 so it comes with 2.4, but I built a 2.6,
booted, but
> >>> > I
> >>> >> get no devices, despite having installed udev. I'll try
ptxdist,
> >>> > at
> >>> >> least to check how they handle this.
> >>> >>
> >>> >> Thanks!
> >>> >>
> >>> >> Gonzalo
> >>> >>
> >>> >
> >>> > I always thought that udev was a little overkill for embedded
> >>> > systems, where you generally know ahead of time what devices
you
> >>> > will need, and can make the device nodes the old fashioned
way.
> >>> > That's what I did for my 2.6 development, but IIRC there
were some
> >>> > devices required that were not immediately obvious.
> >>> >
> >>> > Regards, ...... Charlie
> >>>
> >>> Agree about udev on embedded systems. So you created the nodes
> >>> manually and it worked?
> >>>
> >>
> >> Yep, worked great once I got everything that was needed. From
memory,
> >> check for device nodes: console, ptmx, tty, tty#, ttyS#,
ttyAM#, sd?
> >>
> >> And links: ft, stdin, stdout, stderr
> >>
> >> And directories: pts (to mount devpts FS), maybe shmem (to
mount tmpfs
> >> FS).
> >>
> >> I probably forgot some, but look into Documentation/devices.txt
in any
> >> recent kernel tree for more details. IIRC I had trouble until I
> >> figured out pts and ptmx.
> >>
> >> Regards, ..... Charlie
> >
> > Thanks Charlie,
> > I tried creating the ttyAM# devices and didn't work, but not I'm
sure
> > I did something wrong. I'll try again right away.
>
> I was using the wrong mayor,minor pair!!! It works now, so we
don't need udev.
> BTW: in the previous message it should say "... but now I' m
sure..."
>
Hi,
great to see you sussed it.
Could you post details of all the devices , that will save me
duplicationg what you've just done.
Thx.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|