* Target reset after linux reboot @ 2007-02-08 12:29 Frank Prepelica 2007-02-08 13:02 ` CLI for embedded system pjmaiya 2007-02-08 15:46 ` Target reset after linux reboot Ben Warren 0 siblings, 2 replies; 10+ messages in thread From: Frank Prepelica @ 2007-02-08 12:29 UTC (permalink / raw) To: linuxppc-embedded [-- Attachment #1: Type: text/plain, Size: 264 bytes --] Hi everybody! I got a problem. After rebooting linux system on the target, the target "hangs". How could I get that the target makes a reset to start u-boot or linux again? Many thanks for help Best regards Frank [-- Attachment #2: Type: text/html, Size: 3265 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* CLI for embedded system 2007-02-08 12:29 Target reset after linux reboot Frank Prepelica @ 2007-02-08 13:02 ` pjmaiya 2007-02-08 15:42 ` Ben Warren 2007-02-08 16:20 ` Grant Likely 2007-02-08 15:46 ` Target reset after linux reboot Ben Warren 1 sibling, 2 replies; 10+ messages in thread From: pjmaiya @ 2007-02-08 13:02 UTC (permalink / raw) To: linuxppc-embedded [-- Attachment #1: Type: text/plain, Size: 308 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 2066 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: CLI for embedded system 2007-02-08 13:02 ` CLI for embedded system pjmaiya @ 2007-02-08 15:42 ` Ben Warren 2007-02-09 10:37 ` pjmaiya 2007-02-08 16:20 ` Grant Likely 1 sibling, 1 reply; 10+ messages in thread From: Ben Warren @ 2007-02-08 15:42 UTC (permalink / raw) To: pjmaiya; +Cc: linuxppc-embedded 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: CLI for embedded system 2007-02-08 15:42 ` Ben Warren @ 2007-02-09 10:37 ` pjmaiya 2007-02-15 11:39 ` pjmaiya 0 siblings, 1 reply; 10+ messages in thread From: pjmaiya @ 2007-02-09 10:37 UTC (permalink / raw) To: bwarren; +Cc: linuxppc-embedded 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" <bwarren@qstreams.com> To: "pjmaiya" <pjmaiya@signal-networks.com> Cc: <linuxppc-embedded@ozlabs.org> 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 > > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: CLI for embedded system 2007-02-09 10:37 ` pjmaiya @ 2007-02-15 11:39 ` pjmaiya 2007-02-15 16:07 ` Ben Warren 0 siblings, 1 reply; 10+ messages in thread From: pjmaiya @ 2007-02-15 11:39 UTC (permalink / raw) To: pjmaiya, bwarren; +Cc: linuxppc-embedded 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" <pjmaiya@signal-networks.com> To: <bwarren@qstreams.com> Cc: <linuxppc-embedded@ozlabs.org> 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" <bwarren@qstreams.com> > To: "pjmaiya" <pjmaiya@signal-networks.com> > Cc: <linuxppc-embedded@ozlabs.org> > 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 > > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: CLI for embedded system 2007-02-15 11:39 ` pjmaiya @ 2007-02-15 16:07 ` Ben Warren 2007-02-21 11:48 ` pjmaiya 0 siblings, 1 reply; 10+ messages in thread From: Ben Warren @ 2007-02-15 16:07 UTC (permalink / raw) To: pjmaiya; +Cc: linuxppc-embedded 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: CLI for embedded system 2007-02-15 16:07 ` Ben Warren @ 2007-02-21 11:48 ` pjmaiya 2007-02-21 15:29 ` Ben Warren 0 siblings, 1 reply; 10+ messages in thread From: pjmaiya @ 2007-02-21 11:48 UTC (permalink / raw) To: bwarren; +Cc: linuxppc-embedded 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" <bwarren@qstreams.com> To: "pjmaiya" <pjmaiya@signal-networks.com> Cc: <linuxppc-embedded@ozlabs.org> 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 > > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: CLI for embedded system 2007-02-21 11:48 ` pjmaiya @ 2007-02-21 15:29 ` Ben Warren 0 siblings, 0 replies; 10+ messages in thread From: Ben Warren @ 2007-02-21 15:29 UTC (permalink / raw) To: pjmaiya; +Cc: linuxppc-embedded On Wed, 2007-02-21 at 17:18 +0530, pjmaiya wrote: > 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!!! I really doubt you need to mess with any of these files. Have you tried the host parameter that I suggested (--host=ppc-linux-gnu)? I believe that worked for me, but it's been a while. Unfortunately I can't spare any time on this right now. Have you checked to see if there's a mailing list for the clish project? I imagine building this for a 32-bit PowerPC has been done before many times over. regards, Ben ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: CLI for embedded system 2007-02-08 13:02 ` CLI for embedded system pjmaiya 2007-02-08 15:42 ` Ben Warren @ 2007-02-08 16:20 ` Grant Likely 1 sibling, 0 replies; 10+ messages in thread From: Grant Likely @ 2007-02-08 16:20 UTC (permalink / raw) To: pjmaiya; +Cc: linuxppc-embedded On 2/8/07, pjmaiya <pjmaiya@signal-networks.com> 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.. Have you looked at libreadline? It will do a bunch of that stuff for you. -- Grant Likely, B.Sc. P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Target reset after linux reboot 2007-02-08 12:29 Target reset after linux reboot Frank Prepelica 2007-02-08 13:02 ` CLI for embedded system pjmaiya @ 2007-02-08 15:46 ` Ben Warren 1 sibling, 0 replies; 10+ messages in thread From: Ben Warren @ 2007-02-08 15:46 UTC (permalink / raw) To: Frank Prepelica; +Cc: linuxppc-embedded On Thu, 2007-02-08 at 13:29 +0100, Frank Prepelica wrote: > > I got a problem. After rebooting linux system on the target, > > the target “hangs”. How could I get that the target makes a reset > > to start u-boot or linux again? You'll need to provide some details. With the information you've provided, I'd suggest cycling power. regards, Ben ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-02-21 15:29 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-02-08 12:29 Target reset after linux reboot Frank Prepelica 2007-02-08 13:02 ` CLI for embedded system pjmaiya 2007-02-08 15:42 ` Ben Warren 2007-02-09 10:37 ` pjmaiya 2007-02-15 11:39 ` pjmaiya 2007-02-15 16:07 ` Ben Warren 2007-02-21 11:48 ` pjmaiya 2007-02-21 15:29 ` Ben Warren 2007-02-08 16:20 ` Grant Likely 2007-02-08 15:46 ` Target reset after linux reboot Ben Warren
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.