Can this be done using boot parameters?
Something like(?):
LABEL Arria10 SOCDK SDMMC
KERNEL ../zImage
FDT ../socfpga_arria10_phead.dtb
APPEND root=/dev/mmcblk0p2 rw rootwait earlyprintk console=ttyS0,115200n8
ip=192.168.0.101:255.255.255.0:eth0