From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22176 invoked by alias); 11 Jul 2009 12:47:26 -0000 Received: (qmail 22166 invoked by uid 22791); 11 Jul 2009 12:47:25 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 11 Jul 2009 12:47:19 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1MPbz1-0002Nd-00; Sat, 11 Jul 2009 14:47:15 +0200 Date: Sat, 11 Jul 2009 12:47:00 -0000 From: Andrew Lunn To: Alessio Bianchi Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20090711124715.GO8175@lunn.ch> Mail-Followup-To: Alessio Bianchi , ecos-discuss@ecos.sourceware.org References: <93b50ea30907110121k314b478bm4d1bf9148a0c3c99@mail.gmail.com> <4A58502D.2060701@meduna.org> <4A587B0E.6090409@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A587B0E.6090409@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Installing Redboot on a pendrive X-SW-Source: 2009-07/txt/msg00073.txt.bz2 On Sat, Jul 11, 2009 at 01:44:14PM +0200, Alessio Bianchi wrote: > On 07/11/2009 10:41 AM, Stanislav Meduna wrote: > >Alessio Bianchi wrote: > >>Hi, I've been trying to create a pendrive (to boot off a regular PC) > >>with Redboot, but unfortunately without much success. > > > >AFAIK on a PC the eCos only supports booting RedBoot from a floppy. > >If the pendrive can't masquerade itself as floppy to the > >machine (I happen to have one that can, but most can't), > >I think you are out of luck. > > > >The recommended way to boot eCos applications is via GRUB. > > Thanks for your fast reply. > I tried putting GRUB on a pendrive and building eCos with the 'GRUB' > flag in the HAL section. I started from a 'net' template, and I > built an hello world application (prints hello world via printf), > linking it to the generated ecos library. > When I boot the pendrive, GRUB accepts the generated file, but when I > give GRUB the 'boot' command, just a black screen appears (I waited > several minutes). > What I'm doing wrong? Probably you should be listening to the serial port for the hello world. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss