From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mis011-2.exch011.intermedia.net (mis011-2.exch011.intermedia.net [64.78.21.129]) by ozlabs.org (Postfix) with ESMTP id 1DBEE67B96 for ; Mon, 17 Jul 2006 15:23:47 +1000 (EST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6A95F.1F7DDCD7" Subject: uboot environment variables size for Yosemite board. Date: Sun, 16 Jul 2006 22:09:04 -0700 Message-ID: From: "Leonid" To: List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C6A95F.1F7DDCD7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi: =20 I'm using uboot-1.1.4 for AMCC PPC440E Yosemite board. I've downloaded this uboot from DENX site. It uses EEPROM to store environment variables. Since EEPROM on Yosemite board is only 512 bytes, there can not be more environment variables which is not very convenient. =20 There is theoretical possibility to save these variables on flash (64M from which I use only part) and yosemite.h header file even has defines, allowing this option. But is it going work in reality? What is simplest way for Yosemite board to increase environment variables storage space? =20 Thanks, =20 Leonid.=20 ------_=_NextPart_001_01C6A95F.1F7DDCD7 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi:

 

I’m using uboot-1.1.4 for AMCC PPC440E Yosemite = board. I’ve downloaded this uboot from DENX site. It uses EEPROM to store environment variables. Since EEPROM on Yosemite board is only 512 bytes, there can not be more environment variables = which is not very convenient.

 

There is theoretical possibility to save these = variables on flash (64M from which I use only part) and yosemite.h header file even = has defines, allowing this option. But is it going work in reality? What is simplest = way for Yosemite board to increase = environment variables storage space?

 

Thanks,

 

Leonid.

------_=_NextPart_001_01C6A95F.1F7DDCD7-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by ozlabs.org (Postfix) with ESMTP id DFB1C67B9F for ; Mon, 17 Jul 2006 17:00:20 +1000 (EST) To: "Leonid" From: Wolfgang Denk Subject: Re: uboot environment variables size for Yosemite board. Mime-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 In-reply-to: Your message of "Sun, 16 Jul 2006 22:09:04 PDT." Date: Mon, 17 Jul 2006 09:00:18 +0200 Sender: wd@denx.de Message-Id: <20060717070018.21ED1353C61@atlas.denx.de> Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , In message you wrote: > > I'm using uboot-1.1.4 for AMCC PPC440E Yosemite board. I've downloaded Note that this is off topic here. You should have posted this on the U-Boot-Users mailing list instead. > this uboot from DENX site. It uses EEPROM to store environment > variables. Since EEPROM on Yosemite board is only 512 bytes, there can > not be more environment variables which is not very convenient. Thisi s wrong. The Yosemite configuration uses (like most (all?) AMCC eval boards - two redundand flash sectors to store the environment. And available environment size is 8 kB: => print ... Environment size: 1355/8187 bytes > There is theoretical possibility to save these variables on flash (64M > from which I use only part) and yosemite.h header file even has defines, > allowing this option. But is it going work in reality? What is simplest > way for Yosemite board to increase environment variables storage space? I have no idea where you got your board configuration from, but it is definitely not current code, nor the binary image at ftp://ftp.denx.de/pub/u-boot/images/amcc/yosemite/u-boot.bin The current code does use (redundand) flash for environment storage. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de The idea of male and female are universal constants. -- Kirk, "Metamorphosis", stardate 3219.8 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from elasmtp-galgo.atl.sa.earthlink.net (elasmtp-galgo.atl.sa.earthlink.net [209.86.89.61]) by ozlabs.org (Postfix) with ESMTP id 4EE3567B7D for ; Mon, 17 Jul 2006 21:02:58 +1000 (EST) Message-ID: <44BB6E49.3030505@softadvances.com> Date: Mon, 17 Jul 2006 06:02:33 -0500 From: John Otken MIME-Version: 1.0 To: Wolfgang Denk Subject: Re: uboot environment variables size for Yosemite board. References: <20060717070018.21ED1353C61@atlas.denx.de> In-Reply-To: <20060717070018.21ED1353C61@atlas.denx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Leonid , linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Wolfgang Denk wrote: > In message you wrote: >> I'm using uboot-1.1.4 for AMCC PPC440E Yosemite board. I've downloaded > > Note that this is off topic here. You should have posted this on the > U-Boot-Users mailing list instead. > >> this uboot from DENX site. It uses EEPROM to store environment >> variables. Since EEPROM on Yosemite board is only 512 bytes, there can >> not be more environment variables which is not very convenient. > > Thisi s wrong. The Yosemite configuration uses (like most (all?) AMCC > eval boards - two redundand flash sectors to store the environment. > And available environment size is 8 kB: He has an older Yosemite. The original Yosemite U-Boot used the EEPROM for environment variables. > => print > ... > Environment size: 1355/8187 bytes > >> There is theoretical possibility to save these variables on flash (64M >> from which I use only part) and yosemite.h header file even has defines, >> allowing this option. But is it going work in reality? What is simplest >> way for Yosemite board to increase environment variables storage space? > > I have no idea where you got your board configuration from, but it is > definitely not current code, nor the binary image at > ftp://ftp.denx.de/pub/u-boot/images/amcc/yosemite/u-boot.bin > > The current code does use (redundand) flash for environment storage. > > Best regards, > > Wolfgang Denk >