From: Niklaus Giger Date: Sat, 29 Jul 2006 18:31:42 +0200 Subject: [U-Boot-Users] Howto reserve the first 64kB sector in the boot flash In-Reply-To: <20060729124200.3F2B6352625@atlas.denx.de> References: <20060729124200.3F2B6352625@atlas.denx.de> Message-ID: <200607291831.43382.niklaus.giger@member.fsf.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Samstag, 29. Juli 2006 14:42 schrieb Wolfgang Denk: > In message <200607291428.05648.niklaus.giger@member.fsf.org> you wrote: > > I tried to change CFG_FLASH_BASE from 0xFFF80000 to 0xFFFC0000 as the > > U-board code uses less than 3*64 kB. > > And TEXT_BASE ? > > > Any hints how to reserve 64KB at 0xFFF80000 would be appreciated. > > It should be no problem to move U-Boot to any address you like, but > you must make sure to come up with a consistent configuration, i. e. > take care that all addresses (like TEXT_BASE, CFG_FLASH_BASE, etc.) > match. Thanks a lot for your tip. It solved my problem, once I discovered that besides the .h also the config.mk had to be changed. However I would suggest a small patch for the README, like this diff --git a/README b/README index e772c1a..b358161 100644 --- a/README +++ b/README @@ -1747,6 +1747,7 @@ Configuration Settings: make config files to be same as the text base address (TEXT_BASE) used when linking) - same as CFG_FLASH_BASE when booting from flash. + Note: TEXT_BASE is defined in the config.mk of each board - CFG_MONITOR_LEN: Size of memory reserved for monitor code, used to Best regards, -- Niklaus Giger