Jim and Walter,
Thank you both so much for help with process priority.
I implemented the change of process priority in my application and it seems to
work correctly (changing process priority is working correctly, TS-ADC24
hardware is still having problem, but I will post it separate message thread)
- Alex
--- In walter marvin <> wrote:
>
> I've had problems with the provided cross libraries
>
>
>
>
> ________________________________
> From: Jim Jackson <>
> To:
> Sent: Sat, September 4, 2010 10:36:01 AM
> Subject: Re: [ts-7000] TS-7260 linux : how to change process priority
>
> Â
>
>
> On Sat, 4 Sep 2010, walter marvin wrote:
>
> > I also looked at rebuilding busybox, but that's a big project. Putting
> > together a small utility using the unbpard libraries is sinple
>
> Actually in general, compiling busybox is not that big a deal, and maybe
> easier for non-programmers[1]. Anyway choice is good - rebuild busybox or
> code your own.
>
> Jim
>
> [1] However finding a version that compiled with the TS crosscompiler was
> more of a problem. And compiling an all features busybox gave me lots of
> utilities that TS in their wisdom left out of their build, or were not
> present in the very early busybox version TS built from.
>
> > ________________________________
> > From: Jim Jackson <>
> > To:
> > Sent: Sat, September 4, 2010 4:44:29 AM
> > Subject: Re: [ts-7000] TS-7260 linux : how to change process priority
> >
> > Â
> >
> > >> I am trying to change process priority on TS-7260 (running ts-linux).
> > >> Can somebody tell me if it's possible on Ts-linux and how to do it? It
> > >> looks like there is no "nice" or "renice" available (I am getting error
> > >> message: -sh nice not found)
> > >>
> > >
> > > roll your own! I believe the level 2 system call is still there. busy box
> > > is kind of limited. Technologic should put the full suite on the disk
> >
> > roll your own could be a couple of things.
> >
> > Write your own C code to call the system call nice (see man 2 nice)
> >
> > or rebuild busybox to include the renice command (and many others!)
> >
> > I've had trouble compiling upto date busyboxes with the cross compilation
> > kit TS provide, but I did get busybox 1.1 recompiled fairly easily with
> > lots of extra commands included. I needed e2fsck for checking an SDcard
> > used for logged data.
> >
> > Jim
> > p.s. Alex, if you are stuck I can email you the busybox 1.1 executable.
> >
> >
> >
>
------------------------------------
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/
|