From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29446 invoked by alias); 21 Dec 2002 14:32:56 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 29439 invoked from network); 21 Dec 2002 14:32:54 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by 209.249.29.67 with SMTP; 21 Dec 2002 14:32:54 -0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 224DD235E6; Sat, 21 Dec 2002 07:32:41 -0700 (MST) From: Gary Thomas To: zhang_zhe_163@163.com Cc: eCos Discussion In-Reply-To: <20021221135742.066511C73067A@sm204.163.com> References: <20021221135742.066511C73067A@sm204.163.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sat, 21 Dec 2002 11:45:00 -0000 Message-Id: <1040481161.22212.7567.camel@hermes.chez-thomas.org> Mime-Version: 1.0 Subject: [ECOS] Re: X-SW-Source: 2002-12/txt/msg00274.txt.bz2 On Sat, 2002-12-21 at 06:54, zhe zhang wrote: > Sorry to send mail to u directly , my mail server can not send mail to the ecos mail list . > Note: help via the ecos-discuss mailing is free. Professional assistance is available from many companies, including my own. Sorry, but email sent directly to me without a support contract will be ignored. > You gave me an helpful response on the mail list , and I worked it out , that is to say , I got a floppy to boot my pc(x86) > > but I found I can not run the executable loaded to the target via serial/xmodem, as below: > > RedBoot> load -v -m xmodem -c 1 -b 0x0007c000 > CAddress offset = 0xfff7c000 > Entry point: 0x0007c00c, address range: 0x0007c000-0x000949a4 > xyzModem - CRC mode, 7535(SOH)/0(STX)/0(CAN) packets, 3 retries > RedBoot> exec > ** Error: Illegal command: "exec" > > I read the document and found pc-redboot do not support "exec" . Does it mean that I can not load another RTOS executable to my target by use of redboot ? > The "exec" command is normally designed for running Linux from RedBoot. This is not currently implemented for the x86 PC target. This does not mean that you can't run arbitrary programs from RedBoot. You can, but some rules will have to be followed. When you type 'go' (as below), RedBoot simply hands the CPU over to the program. That program must be capable of managing the processor completely. On the PC, this may mean switching modes, setting up MMU tables, etc. > When I tried "go 0x007c000", target reboot . > > Can u give me some advice ? Without knowing more about what you are trying to run, I can't help more than what I've already given. What sort of program are you trying to load/run on this device? If you're interested in contracted help (pay by the hour), this can certainly be arranged. If you only want free help, ask on ecos-discuss. -- ------------------------------------------------------------ Gary Thomas | MLB Associates | Consulting for the +1 (970) 229-1963 | Embedded world http://www.mlbassoc.com/ | email: | gpg: http://www.chez-thomas.org/gary/gpg_key.asc ------------------------------------------------------------ -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss