Can I update core rbf (QSPI flash) using kernel?

I am using 10AS057K4F40E3SG custom board and QSPI boot scheme.

Conventionally, I programmed core.rbf file using uboot & TPTF server. But I want to program core.rbf file using linux kernel.

I found a mtd_debug write cmd to update QSPI mem. as below link.

This solution can be applied to Cyclone V SOC.

Can I update core.rbf using linux kernel? (not uboot)
And Can I use the mtd-util cmds(mtd_debug write) at Arria10 SOC family?

Thanks and happy new year.