config: rpi3: enable the configurations relevant to NFSDOWN
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 12 Feb 2018 05:47:19 +0000 (14:47 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 01:39:02 +0000 (10:39 +0900)
Enable the configurations relevant to nfsdown command for rpi3.

Change-Id: Ic050057e75f4e92b1507ca84c642ba3c798ba6fc
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
configs/rpi_3_defconfig
include/configs/rpi.h

index 4b7882805f05587c8fe605f2190e105c7b8a49e3..e2601ab1e8a1f588ae919e101edc0bee01c4399a 100644 (file)
@@ -68,3 +68,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
index 2476a598c683519f14b8c77bb4923eec5f1f2e51..53bb791d7d411f6e1281b27ca7981a76844ba5c7 100644 (file)
 #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" \