From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ex01.ads.ubidyne.de (mail.ubidyne.com [212.211.133.238]) by ozlabs.org (Postfix) with ESMTP id 9CDD0DDEF7 for ; Thu, 8 Feb 2007 23:42:03 +1100 (EST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C74B7C.D5F5DF87" Subject: Target reset after linux reboot Date: Thu, 8 Feb 2007 13:29:53 +0100 Message-ID: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> From: "Frank Prepelica" To: List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C74B7C.D5F5DF87 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi everybody! =20 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? =20 Many thanks for help =20 Best regards Frank =20 =20 =20 ------_=_NextPart_001_01C74B7C.D5F5DF87 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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

 

 

 

------_=_NextPart_001_01C74B7C.D5F5DF87-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from signal-networks.com (unknown [61.95.204.104]) by ozlabs.org (Postfix) with ESMTP id 6F973DDEBB for ; Fri, 9 Feb 2007 00:04:16 +1100 (EST) Received: from pjmaiya ([192.168.1.70]) by signal-networks.com (mail.signal-networks.com [192.168.1.1]) (MDaemon Standard v9.0.1) with ESMTP id md50000068480.msg for ; Thu, 08 Feb 2007 18:32:09 +0530 Message-ID: <011b01c74b81$5604ad80$4601a8c0@signet> From: "pjmaiya" To: References: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> Subject: CLI for embedded system Date: Thu, 8 Feb 2007 18:32:06 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0118_01C74BAF.6FB102A0" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0118_01C74BAF.6FB102A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ------=_NextPart_000_0118_01C74BAF.6FB102A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
   Can anybody give me = link/built in=20 package or source code for implmenting CLI for embedded system on = linux. We=20 have tried to implement our own CLI on linux(with bash shell as = base), but=20 it is massive work since we need to support Tab feature, history = feature,help=20 etc..
 
 
thanx in advance.
pjmaiya
------=_NextPart_000_0118_01C74BAF.6FB102A0-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp101.biz.mail.re2.yahoo.com (smtp101.biz.mail.re2.yahoo.com [68.142.229.215]) by ozlabs.org (Postfix) with SMTP id BA86CDDED8 for ; Fri, 9 Feb 2007 02:42:43 +1100 (EST) Subject: Re: CLI for embedded system From: Ben Warren To: pjmaiya In-Reply-To: <011b01c74b81$5604ad80$4601a8c0@signet> References: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> <011b01c74b81$5604ad80$4601a8c0@signet> Content-Type: text/plain Date: Thu, 08 Feb 2007 10:42:39 -0500 Message-Id: <1170949359.14627.66.camel@saruman.qstreams.net> Mime-Version: 1.0 Cc: linuxppc-embedded@ozlabs.org Reply-To: bwarren@qstreams.com List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp103.biz.mail.re2.yahoo.com (smtp103.biz.mail.re2.yahoo.com [68.142.229.217]) by ozlabs.org (Postfix) with SMTP id EA6FFDDEDD for ; Fri, 9 Feb 2007 02:46:37 +1100 (EST) Subject: Re: Target reset after linux reboot From: Ben Warren To: Frank Prepelica In-Reply-To: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> References: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> Content-Type: text/plain; charset=iso-8859-13 Date: Thu, 08 Feb 2007 10:46:34 -0500 Message-Id: <1170949595.14627.70.camel@saruman.qstreams.net> Mime-Version: 1.0 Cc: linuxppc-embedded@ozlabs.org Reply-To: bwarren@qstreams.com List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by ozlabs.org (Postfix) with ESMTP id 7B5F8DDEEC for ; Fri, 9 Feb 2007 03:20:03 +1100 (EST) Received: by wx-out-0506.google.com with SMTP id i31so518421wxd for ; Thu, 08 Feb 2007 08:20:02 -0800 (PST) Message-ID: <528646bc0702080820k6e6093bfv1f45d6f45071e4ff@mail.gmail.com> Date: Thu, 8 Feb 2007 09:20:00 -0700 From: "Grant Likely" Sender: glikely@gmail.com To: pjmaiya Subject: Re: CLI for embedded system In-Reply-To: <011b01c74b81$5604ad80$4601a8c0@signet> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed References: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> <011b01c74b81$5604ad80$4601a8c0@signet> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 2/8/07, 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.. 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from signal-networks.com (unknown [61.95.204.104]) by ozlabs.org (Postfix) with ESMTP id 81DC4DDE26 for ; Fri, 9 Feb 2007 21:34:34 +1100 (EST) Received: from pjmaiya ([192.168.1.70]) by signal-networks.com (mail.signal-networks.com [192.168.1.1]) (MDaemon Standard v9.0.1) with ESMTP id md50000068928.msg for ; Fri, 09 Feb 2007 16:07:17 +0530 Message-ID: <00c401c74c36$42aeded0$4601a8c0@signet> From: "pjmaiya" To: References: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> <011b01c74b81$5604ad80$4601a8c0@signet> <1170949359.14627.66.camel@saruman.qstreams.net> Subject: Re: CLI for embedded system Date: Fri, 9 Feb 2007 16:07:13 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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" To: "pjmaiya" 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 > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from signal-networks.com (unknown [61.95.204.104]) by ozlabs.org (Postfix) with ESMTP id C8324DDE00 for ; Thu, 15 Feb 2007 22:36:43 +1100 (EST) Received: from pjmaiya ([192.168.1.70]) by signal-networks.com (mail.signal-networks.com [192.168.1.1]) (MDaemon Standard v9.0.1) with ESMTP id md50000070852.msg for ; Thu, 15 Feb 2007 17:09:25 +0530 Message-ID: <01a901c750f5$ef392de0$4601a8c0@signet> From: "pjmaiya" To: "pjmaiya" , References: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de><011b01c74b81$5604ad80$4601a8c0@signet><1170949359.14627.66.camel@saruman.qstreams.net> <00c401c74c36$42aeded0$4601a8c0@signet> Subject: Re: CLI for embedded system Date: Thu, 15 Feb 2007 17:09:21 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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" To: 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" > To: "pjmaiya" > 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 > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp106.biz.mail.re2.yahoo.com (smtp106.biz.mail.re2.yahoo.com [206.190.52.175]) by ozlabs.org (Postfix) with SMTP id 7A24DDDF82 for ; Fri, 16 Feb 2007 03:07:41 +1100 (EST) Subject: Re: CLI for embedded system From: Ben Warren To: pjmaiya In-Reply-To: <01a901c750f5$ef392de0$4601a8c0@signet> References: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> <011b01c74b81$5604ad80$4601a8c0@signet> <1170949359.14627.66.camel@saruman.qstreams.net> <00c401c74c36$42aeded0$4601a8c0@signet> <01a901c750f5$ef392de0$4601a8c0@signet> Content-Type: text/plain Date: Thu, 15 Feb 2007 11:07:38 -0500 Message-Id: <1171555658.7029.49.camel@saruman.qstreams.net> Mime-Version: 1.0 Cc: linuxppc-embedded@ozlabs.org Reply-To: bwarren@qstreams.com List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from signal-networks.com (unknown [61.95.204.104]) by ozlabs.org (Postfix) with ESMTP id 002F9DDD0C for ; Wed, 21 Feb 2007 22:45:43 +1100 (EST) Received: from pjmaiya ([192.168.1.70]) by signal-networks.com (mail.signal-networks.com [192.168.1.1]) (MDaemon Standard v9.0.1) with ESMTP id md50000072889.msg for ; Wed, 21 Feb 2007 17:18:37 +0530 Message-ID: <000d01c755ae$364a7bf0$4601a8c0@signet> From: "pjmaiya" To: References: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> <011b01c74b81$5604ad80$4601a8c0@signet> <1170949359.14627.66.camel@saruman.qstreams.net> <00c401c74c36$42aeded0$4601a8c0@signet> <01a901c750f5$ef392de0$4601a8c0@signet> <1171555658.7029.49.camel@saruman.qstreams.net> Subject: Re: CLI for embedded system Date: Wed, 21 Feb 2007 17:18:32 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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" To: "pjmaiya" 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 > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp101.biz.mail.re2.yahoo.com (smtp101.biz.mail.re2.yahoo.com [68.142.229.215]) by ozlabs.org (Postfix) with SMTP id 0148FDDD0D for ; Thu, 22 Feb 2007 02:29:16 +1100 (EST) Subject: Re: CLI for embedded system From: Ben Warren To: pjmaiya In-Reply-To: <000d01c755ae$364a7bf0$4601a8c0@signet> References: <29DC34A6B43468409F5A371CFE34E849091044@ex01.ads.ubidyne.de> <011b01c74b81$5604ad80$4601a8c0@signet> <1170949359.14627.66.camel@saruman.qstreams.net> <00c401c74c36$42aeded0$4601a8c0@signet> <01a901c750f5$ef392de0$4601a8c0@signet> <1171555658.7029.49.camel@saruman.qstreams.net> <000d01c755ae$364a7bf0$4601a8c0@signet> Content-Type: text/plain Date: Wed, 21 Feb 2007 10:29:13 -0500 Message-Id: <1172071753.22834.87.camel@saruman.qstreams.net> Mime-Version: 1.0 Cc: linuxppc-embedded@ozlabs.org Reply-To: bwarren@qstreams.com List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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