From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21404 invoked by alias); 11 Jul 2009 11:44:31 -0000 Received: (qmail 21392 invoked by uid 22791); 11 Jul 2009 11:44:29 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f227.google.com (HELO mail-fx0-f227.google.com) (209.85.220.227) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 11 Jul 2009 11:44:21 +0000 Received: by fxm27 with SMTP id 27so1433021fxm.30 for ; Sat, 11 Jul 2009 04:44:18 -0700 (PDT) Received: by 10.204.115.135 with SMTP id i7mr2891305bkq.178.1247312658096; Sat, 11 Jul 2009 04:44:18 -0700 (PDT) Received: from ?192.168.0.23? (host7-230-dynamic.55-79-r.retail.telecomitalia.it [79.55.230.7]) by mx.google.com with ESMTPS id c28sm4238279fka.19.2009.07.11.04.44.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Jul 2009 04:44:17 -0700 (PDT) Message-ID: <4A587B0E.6090409@gmail.com> Date: Sat, 11 Jul 2009 11:44:00 -0000 From: Alessio Bianchi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org References: <93b50ea30907110121k314b478bm4d1bf9148a0c3c99@mail.gmail.com> <4A58502D.2060701@meduna.org> In-Reply-To: <4A58502D.2060701@meduna.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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/msg00071.txt.bz2 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? Thanks ;) -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss