As for tftp, make use of the initramfs if one is present on the SD card. Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxx> --- .../boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd b/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd index 1a6f9706b..48476bd14 100644 --- a/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd +++ b/arch/arm/boards/zii-vf610-dev/defaultenv-zii-vf610-dev/boot/sd @@ -12,3 +12,8 @@ path="/mnt/mmc${sd}.0" global.bootm.image="${path}/zImage" global.bootm.oftree="${path}/${global.bootm.oftree}" + +initramfs="${path}/initramfs" +if [ -f "${initramfs}" ]; then + global.bootm.initrd="$initramfs" +fi -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox