From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Date: Tue, 6 Dec 2011 10:41:58 +0100 Subject: [U-Boot] [PATCH] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board In-Reply-To: <4EDDD64E.1070705@denx.de> References: <1323089828-20841-1-git-send-email-jason.hui@linaro.org> <4EDCC6A3.60607@de.bosch.com> <4EDDD64E.1070705@denx.de> Message-ID: <4EDDE366.7070705@de.bosch.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06.12.2011 09:46, Stefano Babic wrote: > On 05/12/2011 14:26, Dirk Behme wrote: >> On 05.12.2011 14:23, Fabio Estevam wrote: >>> On Mon, Dec 5, 2011 at 10:57 AM, Jason Liu wrote: >>> >>>> +IMAGE_VERSION 2 >>>> + >>>> +# Boot Device : one of >>>> +# spi, sd (the board has no nand neither onenand) >>>> + >>>> +BOOT_FROM sd >>> This board does not boot from sd, only from SPI NOR. >>> >>> Could you please let me know how it was tested? > > Hi Dirk, > >> There is a 'workaround/patch' available from Freescale which switches >> the board to SD boot. It's a small program written to the SPI NOR >> replacing the U-Boot in SPI NOR, which then itself jumps back to the SD >> boot routines. From user point of view the boards boots from SD then. > > But if I really understand, the board boots always from SPI NOR, in > other words the SPI NOR cannot be empty, as it can be if the board boots > drirectly from SD. Yes, this is correct. The ~20 line workaround is executed first in the SPI NOR and then jumps back to the SD boot routines. Hopefully there will be updated/modified boards in the future were the boot mode is configurable, again. >> With a small, invisible indirection via the SPI NOR. > > Then we need a document / README, as remarked by Fabio, to describe this > process. Fabio: Do you think you could provide such a readme after your tests? Many thanks Dirk