From: Jaehoon Chung Date: Mon, 12 Feb 2018 05:47:19 +0000 (+0900) Subject: config: rpi3: enable the configurations relevant to NFSDOWN X-Git-Tag: submit/tizen/20191107.042334~82 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0306c0dd053552f36916af5c06464bf1ba22b17b;p=platform%2Fkernel%2Fu-boot.git config: rpi3: enable the configurations relevant to NFSDOWN Enable the configurations relevant to nfsdown command for rpi3. Change-Id: Ic050057e75f4e92b1507ca84c642ba3c798ba6fc Signed-off-by: Jaehoon Chung --- diff --git a/configs/rpi_3_defconfig b/configs/rpi_3_defconfig index d4391d20ee..0701afd788 100644 --- a/configs/rpi_3_defconfig +++ b/configs/rpi_3_defconfig @@ -69,3 +69,4 @@ CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y CONFIG_OF_LIBFDT_OVERLAY=y # CONFIG_EFI_LOADER is not set +CONFIG_CMD_NFS_DOWNLOAD=y diff --git a/include/configs/rpi.h b/include/configs/rpi.h index f00e6ec27a..1a00378330 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -97,6 +97,30 @@ #define CONFIG_CMDLINE_TAG #define CONFIG_INITRD_TAG +#define CONFIG_DFU_ALT_SYSTEM \ + "Image fat 0 1;" \ + "bcm2710-rpi3-b.dtb fat 0 1;" \ + "bcm2837-rpi3-b.dtb fat 0 1;" \ + "u-boot.img fat 0 1;" \ + "u-boot.env fat 0 1;" \ + "optee.bin fat 0 1;" \ + "boot.img part 0 1;" \ + "rootfs part 0 2;" \ + "system-data part 0 3;" \ + "user part 0 5;" \ + "module part 0 6;" \ + "ramdisk.img part 0 7;" \ + "ramdisk-recovery part 0 8\0" + +#define CONFIG_DFU_ALT_BOOT_EMMC "" + +/* NFSDOWN */ +#define CONFIG_IP_DEFRAG +#define CONFIG_NFS_READ_SIZE 65536 + +#define CONFIG_SET_DFU_ALT_INFO +#define CONFIG_SET_DFU_ALT_BUF_LEN (SZ_1K) + /* Environment */ #define ENV_DEVICE_SETTINGS \ "stdin=serial,usbkbd\0" \