[U-Boot] u-boot device model SPI + SPI Flash
Hoefle Marco
Marco.Hoefle at nanotronic.ch
Thu Nov 5 15:40:29 CET 2015
Hello Michal,
I have already adapted microblaze-generic.h accordingly (I think):
#define CONFIG_DM
#define CONFIG_DM_SPI 1
# define CONFIG_DM_SPI_FLASH 1
Only with these settings u-boot xilinx_spi.c will compile.
Without DM driver wont compile and with DM SPI does not work.
Thanks,
Marco
________________________________________
Von: Michal Simek <michal.simek at xilinx.com>
Gesendet: Mittwoch, 4. November 2015 13:04
An: Hoefle Marco; Michal Simek; Jagan Teki
Cc: u-boot at lists.denx.de; emanuel stiebler
Betreff: Re: AW: AW: [U-Boot] u-boot device model SPI + SPI Flash
Hi,
you have to change microblaze configuration to enable DM. If you look at
xilinx git tree then you will have all patches what you need.
Unfortunatelly there is no configuration for SPI DM because petalinux is
not using microblaze-generic configuration.
When I have time I will try to fix this but that's why I don't have now.
Thanks,
Michal
On 11/03/2015 10:08 AM, Hoefle Marco wrote:
> Hello Michal,
> I saw a change on this file drivers/mtd/spi/sf-uclass.c regarding the dm problem.
> I replaced this file on mainline u-boot but the result is the same.
> Is there anything else to change?
> I looked at your here:
> https://github.com/Xilinx/u-boot-xlnx/commits/master/drivers/spi
>
> Thanks,
> Marco
>
>
> ________________________________________
> Von: Michal Simek <michal.simek at xilinx.com>
> Gesendet: Donnerstag, 29. Oktober 2015 09:22
> An: Hoefle Marco; Michal Simek; Jagan Teki
> Cc: u-boot at lists.denx.de; emanuel stiebler
> Betreff: Re: AW: [U-Boot] u-boot device model SPI + SPI Flash
>
> Hi,
>
> On 10/27/2015 04:03 PM, Hoefle Marco wrote:
>> Hello Michal,
>> ok I will then stop trying to get SPI working on mainline and watch your commits on
>> https://github.com/Xilinx/u-boot-xlnx
>>
>> We have a custom Artix Board here and I would be happy to test your commits on our hardware.
>
> I have sent patches to mainline mailing list and also update xilinx tree.
>
> petalinux bsp which uses this configuration should be out at the end of Nov.
>
> Thanks,
> Michal
>
>
>
More information about the U-Boot
mailing list