From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Fri, 13 Jan 2012 13:19:22 +0100 Subject: [U-Boot] u-boot-imx on Freescale MX28EVK In-Reply-To: <60B6DB04-E46A-49B0-9FD0-43EE00AF3826@delien.nl> References: <4F0D9F8E.3000504@esd.eu> <4F0EB0E5.8020205@esd.eu> <4F0FDA52.9020609@esd.eu> <60B6DB04-E46A-49B0-9FD0-43EE00AF3826@delien.nl> Message-ID: <4F10214A.7090209@esd.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Robert, On 13.01.2012 11:33, Robert Deli?n wrote: > Hi Matthias, > >> I a patch would be welcome. I only need USB and SPI flash for my >> application. And USB was easy to setup. Currently I am also jiggling >> around the SPI / SPI flash support. > > For USB, all you need to do is to configure it in and to copy Marek's clock > setup in board_early_init_f for m28evk_config into your own config. Make > sure you change SSP2 into SSP1, because the m28evk module uses a > different SSP2 for it's second MMC controller, whereas the FreeScale > mx28evk board uses SSP1. > > To store your environment in MMC, you still need to patch > board/freescale/common/sdhc_boot.c to make sure it's stored at the correct > offset. You can find this patch on this mailing list. Without it, saving your > environment will overwrite the MBR/ptable and you board won't boot next time. yes, this was all easy to integrate. > >> But there is still the difference that I can download 2009.08 + >> imx-bootlets via USB (sb_loader). This does not work with the recent >> u-boot-imx repo and the generated u-boot.sb target. > > I don't know why that doesn't work, but I don't have any experience there. > Early this year I rewrote the broken FreeScale scripts to create boot streams, > so I know a little about the way it works, but I no longer use those since the > U-Boot tools do such a good job. You can have the scripts though. thanks, but the USB download and booting from an SPI flash I expect the u-boot.sb as generated by the u-boot build system should work fine. MMC/SD does not bring me any further :-( Matthias