From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 29 Oct 2013 06:20:21 +0100 Subject: [U-Boot] [PATCH] arm: at91: support for the Calao USB-A9263 board (based on AT91SAM9263) In-Reply-To: <526ED792.6070203@gmail.com> References: <1382902453-6659-1-git-send-email-mateusz.kulikowski@gmail.com> <526DEEAB.4090403@atmel.com> <526ED792.6070203@gmail.com> Message-ID: <526F4595.9060009@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Mateusz, Am 28.10.2013 22:30, schrieb Mateusz Kulikowski: > Hi Bo Shen, > > Thanks for the check, please see below. > > On 28.10.2013 05:57, Bo Shen wrote: >> Hi Mateusz Kulikowski, >> Add Andreas in loop. >> >> On 10/28/2013 03:34, Mateusz Kulikowski wrote: > (...) [...] >>> +#define CONFIG_SYS_TEXT_BASE 0x23f00000 >> >> This address should be considered as u-boot is top down map, so if your system only 64MiB, there is only 1MiB left. > > I don't understand something here: > - this address is hardcoded in AT91bootstrap (as well as image size - 0x31000), Do you have the source code? > - I can change it, but it will not boot on "stock" board - should we force > people to recompile AT91bootstrap if they want to use new U-Boot? Not the preferred way ... > or > - Should I add low-level initialization to boot U-Boot from Dataflash > without AT91bootstrap (this is a bit more work)? Thats the way I would prefer! We decided for the siemens at91 board ports I recently posted, see here: [U-Boot,v1,1/3] at91: add defines for reset type http://patchwork.ozlabs.org/patch/285365/ [U-Boot,v1,2/3] arm, at91: add Siemens board taurus (based on AT91SAM9G20) http://patchwork.ozlabs.org/patch/285366/ [U-Boot,v1,3/3] arm, at91: add siemens corvus board http://patchwork.ozlabs.org/patch/285367/ to start a try using spl instead of at91bootstrap. I hope to get this ASAP (serial output works :-) running and post a RFC patch. They boot from NAND but that should be no big problem to add dataflash support ... > or > - There is another way I'm not aware of (perhaps relocate U-Boot in RAM)? You need always some first stage bootloader, currently this is at91bootstrap, but we should integrate this into U-Boot SPL code ... U-Boot gets relocated in RAM, but that is later in the boot process... bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany