From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Tue, 03 Jul 2012 07:15:51 +0200 Subject: [U-Boot] [PATCH 2/2] microblaze: move ENV onto top of flash In-Reply-To: <1341257778.4045.17.camel@keto> References: <1341153878-13253-1-git-send-email-linz@li-pro.net> <1341153878-13253-2-git-send-email-linz@li-pro.net> <1341257778.4045.17.camel@keto> Message-ID: <4FF28007.4020503@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/02/2012 09:36 PM, Stephan Linz wrote: > Am Montag, den 02.07.2012, 07:52 +0200 schrieb Michal Simek: >> 2012/7/1 Stephan Linz: >>> On Microblaze systems with BPI configuration from CFI flash >>> the first 1-10 MB will occupied by the FPGA configuration >>> data (BIN file). So we can not use this area for the U-Boot >>> environment. >>> >>> In most of all FPGA configuration cases the upper sector in >>> flash memory will be free for individuell usage. >> >> is it based on any statistic? I don't think so. > > Hi Michal, > > yes, there isn't ... you are right ;) > >> >>> >>> Signed-off-by: Stephan Linz >>> --- >>> include/configs/microblaze-generic.h | 8 +++----- >>> 1 files changed, 3 insertions(+), 5 deletions(-) >> >> nack for this. >> One configuration file can't cover all fpga cases. >> The reason why there is only one configuration file for microblaze is >> that fpga variability. >> If you want to use this option just create new board with your configuration >> and use it. > > I can live with that, but the current configuration file defines a > memory hole of 256kB in the first 2 sectors in flash. For what? -- The > environment is placed in the 3rd sector. All other sectors are free for > anything. For u-boot itself. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian