> I figured out how to modify the u-boot environment variables from Linux userspace
> and now I am trying to write a Linux Kernel image to a difference location in flash so
> that I can perform Kernel Firmware updates in the field.
That's cool.
> /mnt/apps/qspi_app e s 0x800000
> /mnt/apps/qspi_app p s 0x800000 /tmp/xipImage.bin
You are only erasing 1 flash block, then writing out a lot more data than that.
SIDE NOTE:
One thing that the driver is missing is that it's not flushing L2 cache. This is a RZ/A1 product on the market that does remote updates so it can be done. But, I heard that they found that they needed to flush L2 cache after a write to make it fully stable. I haven't put that into the Renesas version yet (it requires exporting some functions inside the kernel core so the driver can actually initiate a cache flush on it's own). I haven't seen that issue, but I've only been programming smaller images.