[meta-xilinx] u-boot/UBIFS
Edward Wingate
edwingate8 at gmail.com
Wed Sep 23 14:10:35 PDT 2015
On Wed, Sep 23, 2015 at 9:55 AM, Joe Hershberger
<joe.hershberger at gmail.com> wrote:
> I'm gonna guess that if you have this enabled, the only thing you need
> to do is debug where the crash is... it may be a simple bug. It looks
> like it should work.
I was able to trace it to this read callback that was null (or else
pointing to lala land):
https://github.com/Xilinx/u-boot-xlnx/blob/master/drivers/mtd/spi/sf-uclass.c#L16
It was resolved by simply running "sf probe" to first set that
callback, I think done here:
https://github.com/Xilinx/u-boot-xlnx/blob/master/drivers/mtd/spi/sf_probe.c#L188
With that, I'm booting Linux from UBIFS volumes in flash for
kernel/DTB and rootfs.
Thanks Joe, Mike, Alan, for your help.
More information about the meta-xilinx
mailing list