html tag creation using 'C'
hi, Using 'C' code I need to generate HTML tag for 'table' creation. Each table row may contain one more table and I need to control each parameter of the table. I don't want to use printf since my table may grow dyanmically. I want to use data structure(especially linked list). Does anybody has idea on this. To organzie my data in HTML page, I will be putting data inside 'table'. This organization becomes complex as different group of data arises. Each cell of table may contain one more table to show these grouped data. For example. Table1 _ _ _ __ _ _ _ _ _ _ __ _ _ _ _ | | || | _Table2 _ _ | _ _ _ __ _ _ | | || | | _ _ _ | _ _ | _ _ _ _ _ _ _| || | |_ _ _ __ _ _ _|_ _ _ __ _ _ _ | pjmaiya___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
tiny login
hi, I am using tiny login provided by montavista. Binaries already obtained from tool provided from montavista.We are able to add only 10 users. But I need to add more than 10 users. I have already downloaded free open source for tinylogin (tinylogin-1.4). Can we modifiy this source code of this version and support users more than 10?? If yes, can somebody inform step to build tiny login and installation method. thanx in advance pjmaiya___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
tiny login
hi, I am using tiny login provided by montavista. Binaries already obtained from tool provided from montavista.We are able to add only 10 users. But I need to add more than 10 users. I have already downloaded free open source for tinylogin (tinylogin-1.4). Can we modifiy this source code of this version and support users more than 10?? If yes, can somebody inform step to build tiny login and installation method. thanx in advance pjmaiya___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Tiny login: user add command
Hi, I am using montavista linux. Using TCT tool i have added package for user creation. I am having following problem a.. If I use tiny login package, I will be getting useradd binary but number of parameter are few like Usage: adduser [OPTIONS]... Options: -h specify home directory -s specify shell -g specify GECOS stringa.. If I don't use tiny login package, I will be selecting useradd package from admin menu. But I am unable to execute this command since it gives follwing error /usr/sbin/groupadd missing.. a.. Actually I want useradd command similar to linux where more argument are taken, especially I wanted 'user' to be part of more than one group. can anyone help me out.. thanx in advance, pjmaiya___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
tiny login: useradd command
Hi, I am using montavista linux. Using TCT tool i have added package for user creation. I am having following problem a.. If I use tiny login package, I will be getting useradd binary but number of parameter are few like Usage: adduser [OPTIONS]... Options: -h specify home directory -s specify shell -g specify GECOS stringa.. If I don't use tiny login package, I will be selecting useradd package from admin menu. But I am unable to execute this command since it gives follwing error /usr/sbin/groupadd missing.. a.. Actually I want useradd command similar to linux where more argument are taken, especially I wanted 'user' to be part of more than one group. can anyone help me out.. thanx in advance, pjmaiya___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
RTC drift in PPC
hi, We are running RTC on mpc860 board with external crystal. During boot we get date and time from h/w RTC chip and then it runs pn software tick, which is handled by kernel. We are getting 4 minutes drift for 21 hours. Can any one suggest, how to reduce the drift. thnax in advance, pjmaiya___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Problem in adding user and group
Hi, Can anyone tell me how to add user and group in hard hat linux(montavista distribution). Whenever I type the command adduser on the target prompt, I get a error saying "unable to find /usr/sbin/groupadd". I tried to find this file in the package given by montavista, but unable to find it. (Used TCT tool package option, but still unable to find it) rgds, pjmaiya ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: CLI for embedded system
Dear Ben, I have tried following option, with host as ppc_8xx, since we are using mpc860 processor and also we are using montavista provided compiler (ppc_8xx). Our embedded target runs on montavista linux with mpc860 processor and compiler given by monta vista(hard hat linux). host$ ./configure --host=ppc_8xx --build=i686 CC=ppc_8xx-gcc We are getting error ppc_8xx unkown host at some stage. When we further investigated "clish" code we found that we need to add our new architecture in aux_scripts/configure.sub file. We have successfully built that part. But for some libarary we are getting error in /usr/lib/libbstd++, but we need to change this path..only option left for us to change in "configure" file which requires autoconf tool..Also we need to change some thing in "configure.in". We are little bit stuck in this part..Can U help in this regard.. Writing our make for clish is massive work!!! thanx for help. -pjmaiya - Original Message - From: "Ben Warren" <[EMAIL PROTECTED]> To: "pjmaiya" <[EMAIL PROTECTED]> Cc: Sent: Thursday, February 15, 2007 9:37 PM Subject: Re: CLI for embedded system > On Thu, 2007-02-15 at 17:09 +0530, pjmaiya wrote: > > hi, > > I have successfully complied and used 'clish' in host system (i686 > > machine) > > But I need to port the same for PPC platform. Can anyone suggest me how to > > do the same. > > > > thanx in advace, > > pjmaiya > > > > Like many other projects, I believe this one uses autoconf (I think > that's the term). As a starting point, try: > > host$ ./configure --host=ppc-linux-gnu --build=i686 CC= > ${CROSS_COMPILE}gcc > > /* Monitor the output of configure to make sure that everything looks > kosher. You'll probably want to add a "--prefix=" option that tells it > where to place the end result, and there may be other options you want > too. Read and understand the Makefile that configure creates. Then: > > host$ make > > I reiterate - this is only a starting point. This may not compile > cleanly and you will need to experiment a bit, I'm sure. Hopefully it's > not too bad, but these projects can sometimes be a pain to get exactly > as you want. > > regards, > Ben > > ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: CLI for embedded system
hi, I have successfully complied and used 'clish' in host system (i686 machine) But I need to port the same for PPC platform. Can anyone suggest me how to do the same. thanx in advace, pjmaiya - Original Message - From: "pjmaiya" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Friday, February 09, 2007 4:07 PM Subject: Re: CLI for embedded system > Dear Ben, > Thanx for giving such a wonderful reference. We are going thru document, > hope we can use the same. > > rgds, > pjmaiya > > - Original Message - > From: "Ben Warren" <[EMAIL PROTECTED]> > To: "pjmaiya" <[EMAIL PROTECTED]> > Cc: > Sent: Thursday, February 08, 2007 9:12 PM > Subject: Re: CLI for embedded system > > > > Pjmaiya, > > > > On Thu, 2007-02-08 at 18:32 +0530, pjmaiya wrote: > > > Hi, > > >Can anybody give me link/built in package or source code for > > > implmenting CLI for embedded system on linux. We have tried to > > > implement our own CLI on linux(with bash shell as base), but it is > > > massive work since we need to support Tab feature, history > > > feature,help etc.. > > > > If you're looking for something to emulate Cisco's IOS shell, there's an > > open source project called 'clish': > > > > http://sourceforge.net/projects/clish/ > > > > I haven't really used this myself, so can't recommend for or against. > > > > regards, > > Ben > > > > > > > > ___ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > > ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Re: CLI for embedded system
Dear Ben, Thanx for giving such a wonderful reference. We are going thru document, hope we can use the same. rgds, pjmaiya - Original Message - From: "Ben Warren" <[EMAIL PROTECTED]> To: "pjmaiya" <[EMAIL PROTECTED]> Cc: Sent: Thursday, February 08, 2007 9:12 PM Subject: Re: CLI for embedded system > Pjmaiya, > > On Thu, 2007-02-08 at 18:32 +0530, pjmaiya wrote: > > Hi, > >Can anybody give me link/built in package or source code for > > implmenting CLI for embedded system on linux. We have tried to > > implement our own CLI on linux(with bash shell as base), but it is > > massive work since we need to support Tab feature, history > > feature,help etc.. > > If you're looking for something to emulate Cisco's IOS shell, there's an > open source project called 'clish': > > http://sourceforge.net/projects/clish/ > > I haven't really used this myself, so can't recommend for or against. > > regards, > Ben > > ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
CLI for embedded system
Hi, Can anybody give me link/built in package or source code for implmenting CLI for embedded system on linux. We have tried to implement our own CLI on linux(with bash shell as base), but it is massive work since we need to support Tab feature, history feature,help etc.. thanx in advance. pjmaiya___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded
SPI and ttyS1 problem
hi I am working on powerpc(Mpc860T) with linux-2.4 kernnel, As I am developping application using spi and with irqs: For each 10 millisec I am getting siu interrupt(timer),In the interrupt handler I have to read my device (using spi communication) I am able to write it (I am able drive my device) All other interrupts I am using are cpm interrupts(smc2.timer2,spi),one siu interrupt for the present , I am facing the following problems: 1.No more spi read takes place : case-if i tried to do continous serial print using ttyS1(SMC2) 2. if I limited number of times of print then SPI read will not have probelm How can i solve this with prbklem thanks to all ... pjmaiya ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded