[meta-xilinx] u-boot/UBIFS

Edward Wingate edwingate8 at gmail.com
Wed Sep 23 08:31:11 PDT 2015


On Wed, Sep 23, 2015 at 7:56 AM, Joe Hershberger
<joe.hershberger at gmail.com> wrote:
> I'm surprised that you are using "nor0". I wouldn't be surprised if
> you are getting a null pointer or garbage dereference since you don't
> have a driver that is using the nor subsystem, right?

I thought that was the point of that experimental MTD translation
layer driver.
By enabling it and specifying "nor0=spiXXX.Y", it "does the right thing".

> Chances are you need to add a spi flash type to mtdparts, reference
> that, then hook it to the serial flash subsystem.

It looks to me like the experimental driver has these hooks, but I'm
no expert on this code:
https://github.com/Xilinx/u-boot-xlnx/blob/master/drivers/mtd/spi/sf_mtd.c

I'll take this to the u-boot list and see what they have to say.

Thanks for all the help!



More information about the meta-xilinx mailing list