From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27244 invoked by alias); 23 Oct 2014 21:21:55 -0000 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 Received: (qmail 27232 invoked by uid 89); 23 Oct 2014 21:21:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_WEB,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f51.google.com Received: from mail-la0-f51.google.com (HELO mail-la0-f51.google.com) (209.85.215.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 23 Oct 2014 21:21:52 +0000 Received: by mail-la0-f51.google.com with SMTP id ge10so1606022lab.38 for ; Thu, 23 Oct 2014 14:21:49 -0700 (PDT) X-Received: by 10.152.22.194 with SMTP id g2mr167264laf.33.1414099309431; Thu, 23 Oct 2014 14:21:49 -0700 (PDT) Received: from sg-laptop ([178.124.205.189]) by mx.google.com with ESMTPSA id dw2sm1173558lbc.38.2014.10.23.14.21.47 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 23 Oct 2014 14:21:48 -0700 (PDT) Date: Thu, 23 Oct 2014 21:21:00 -0000 From: Sergei Gavrikov To: Oleg Uzenkov cc: eCos Discussion In-Reply-To: <544918B9.7000601@unicore.co.ua> Message-ID: References: <544618E5.90101@unicore.co.ua> <54479031.9080106@unicore.co.ua> <5447C1D0.3070906@unicore.co.ua> <544918B9.7000601@unicore.co.ua> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Subject: Re: [ECOS] small custom bootloader to start an app stored in flash X-SW-Source: 2014-10/txt/msg00043.txt.bz2 On Thu, 23 Oct 2014, Oleg Uzenkov wrote: > At last got some progress! :-) Congrats! [snip] > HAL_PLF_ARCH_GETRESETVECTOR(exec, 0x08020000); ^^^^^ Oleg, you reserve 128K for "small custom bootloader", 128K is more than enough to use RedBoot. If you can donate 128K for boot-loader then use RedBoot. I am sure that RedBoot can run and your "ROMROM" applications. If standard RedBoot lacks some behaviors, just provide new functionality with custom RedBoot command(s) FYI: this code can be part platform HAL. Paraphrasing Greenspun's Tenth Rule, Any custom boot-loader for eCos will contain an ad hoc, informally-specified, bug-ridden, implementation of half of RedBoot :-) I assure you if you can donate 128K for your own bootstrap code then using RedBoot will save your time and efforts. Sergei -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss