[meta-freescale] [u-boot-fslc] QSPI driver
Esponde, Joel
Joel.Esponde at Honeywell.com
Wed Feb 17 13:39:07 PST 2016
> -----Message d'origine-----
> De : Fabio Estevam [mailto:festevam at gmail.com]
> Envoyé : mercredi 17 février 2016 20:16
> À : Esponde, Joel
> Cc : meta-freescale at yoctoproject.org
> Objet : Re: [meta-freescale] [u-boot-fslc] QSPI driver
>
>
> Just tested with mainline U-boot with this change:
>
> --- a/include/configs/mx6ul_14x14_evk.h
> +++ b/include/configs/mx6ul_14x14_evk.h
> @@ -195,6 +195,7 @@
> #define CONFIG_CMD_CACHE
> #endif
>
> +#define CONFIG_FSL_QSPI
> #ifdef CONFIG_FSL_QSPI
> #define CONFIG_CMD_SF
> #define CONFIG_SPI_FLASH
>
> Then I can see the SPI being probed correctly:
>
> U-Boot SPL 2016.03-rc1-00144-gd6bf29b-dirty (Feb 17 2016 - 17:11:44) Trying
> to boot from MMC
>
>
> U-Boot 2016.03-rc1-00144-gd6bf29b-dirty (Feb 17 2016 - 17:11:44 -0200)
>
> CPU: Freescale i.MX6UL rev1.0 792 MHz (running at 396 MHz)
> CPU: Commercial temperature grade (0C to 95C)Reset cause: POR
> Board: MX6UL 14x14 EVK
> I2C: ready
> DRAM: 512 MiB
> MMC: FSL_SDHC: 0, FSL_SDHC: 1
> Video: MXSFB: 'videomode' variable not set!
> In: serial
> Out: serial
> Err: serial
> Net: FEC1
> Warning: FEC1 MAC addresses don't match:
> Address in SROM is 00:04:9f:03:c3:d2
> Address in environment is 00:04:9f:03:c3:d1
>
> Hit any key to stop autoboot: 0
> => sf probe
> SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32
> MiB
Ok thanks a lot Fabio!
So I will try tomorrow to build the latest mainline u-boot and load it in my evaluation board.
I found a recent commit that could explain the issue and its resolution:
http://git.denx.de/?p=u-boot.git;a=patch;h=c6d3d812fefabd0807fca485fef89e0c32ed4190
I checked my code and I already had this new define... I do not see which difference with u-boot-fslc could have made it work...
More information about the meta-freescale
mailing list