From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ew0-f49.google.com ([209.85.215.49]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1Q9iYH-000371-1S for barebox@lists.infradead.org; Tue, 12 Apr 2011 18:43:02 +0000 Received: by ewy3 with SMTP id 3so2304574ewy.36 for ; Tue, 12 Apr 2011 11:42:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20110412042538.GA20619@jasper.tkos.co.il> References: <20110412042538.GA20619@jasper.tkos.co.il> Date: Tue, 12 Apr 2011 12:42:58 -0600 Message-ID: From: Marko Milutinovic List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1024872149==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: First time on this list To: Baruch Siach Cc: barebox@lists.infradead.org --===============1024872149== Content-Type: multipart/alternative; boundary=0016e6d58963ac0ac404a0bd0f59 --0016e6d58963ac0ac404a0bd0f59 Content-Type: text/plain; charset=ISO-8859-1 Hello, 1. I don't think that I took any steps to save the environment. Not sure how to go about doing that. I have the 'env\bin\init' file under my board directory. I was under the impressions this would get built in automatically. Additionally in my init.c file for my board I have the following lines: devfs_add_partition("nor0", 0x01000000, 0x10000, PARTITION_FIXED, "self_raw"); devfs_add_partition("nor0", 0x01010000, 0x1000, PARTITION_FIXED, "env0"); 2. When my board boots i get the following output lines Malloc space: .(rest of text ...) Stack space: (rest of text ...) Open /dev/env0 error2 running /env/bin/init... not found barebox: Thanks Marko On Mon, Apr 11, 2011 at 10:25 PM, Baruch Siach wrote: > Hi Marko, > > On Mon, Apr 11, 2011 at 09:18:53PM -0600, Marko Milutinovic wrote: > > I have barebox working almost fully on my board, except I can't get the > > environment to load ... I have an env0 partition allocated and under my > > board I have the /env/bin/init file. Anyone have any tips as to what I am > > missing or can they point me to another resource? > > More info is needed: > > 1. What did you do to save the environment? > > 2. What is your indication that the environment doesn't "load"? > > baruch > > -- > ~. .~ Tk Open Systems > =}------------------------------------------------ooO--U--Ooo------------{= > - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il - > --0016e6d58963ac0ac404a0bd0f59 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

1. I don't think that I took any steps to sav= e the environment. Not sure how to go about doing that. I have the 'env= \bin\init' file under my board directory. I was under the impressions t= his would get built in automatically. Additionally in my init.c file for my= board I have the following lines:

devfs_add_partition("nor0", 0x01000000, 0x100= 00, PARTITION_FIXED, "self_raw");
devfs_add_partition(&= quot;nor0", 0x01010000, 0x1000, PARTITION_FIXED, "env0");

2. When my board boots i get the following output lines=

Malloc space: .(rest of text ...)
Stack= space: (rest of text ...)
Open /dev/env0 error2=A0
run= ning /env/bin/init...
not found
barebox:

Thanks
Marko


On Mon, Apr 11, 2011 at= 10:25 PM, Baruch Siach <baruch@tkos.co.il> wrote:
Hi Marko,

On Mon, Apr 11, 2011 at 09:18:53PM -0600, Marko Milutinovic wrote:
> I have barebox working almost fully on my board, except I can't ge= t the
> environment to load ... I have an env0 partition allocated and under m= y
> board I have the /env/bin/init file. Anyone have any tips as to what I= am
> missing or can they point me to another resource?

More info is needed:

1. What did you do to save the environment?

2. What is your indication that the environment doesn't "load"= ;?

baruch

--
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ~. .~ =A0 Tk Open Systems
=3D}------------------------------------------------ooO--U--Ooo------------= {=3D
=A0 - baruch@tkos.co.il - tel: +972.2.679.5364,= http://www.tkos.co.il<= /a> -

--0016e6d58963ac0ac404a0bd0f59-- --===============1024872149== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============1024872149==--