[U-Boot] u-boot-imx on Freescale MX28EVK

Matthias Fuchs matthias.fuchs at esd.eu
Fri Jan 13 13:19:22 CET 2012


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


More information about the U-Boot mailing list