From 207f998bf6f8eadba450f8aa475f24b363a5d326 Mon Sep 17 00:00:00 2001 From: Pavithra Palanisamy Date: Thu, 2 Jul 2020 18:31:00 +0530 Subject: [PATCH] ipq5018: Enable USB FAT FS configs This patch is to enable USB FAT filesystem and fatwrite commands so as to enable crashdump collection in connected USB device. Usage: Set dump_to_usb to 1 as U-boot environment variable. Signed-off-by: Pavithra Palanisamy Change-Id: Ifc05b26a1952052fa521f2975ca7c27b1b4fc5a3 --- include/configs/ipq5018.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/configs/ipq5018.h b/include/configs/ipq5018.h index 02400375ff..173c7eb2dd 100644 --- a/include/configs/ipq5018.h +++ b/include/configs/ipq5018.h @@ -253,6 +253,14 @@ extern loff_t board_env_size; #define CONFIG_USB_STORAGE #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 + +/* + * USB crashdump collection + */ +#define CONFIG_FS_FAT +#define CONFIG_FAT_WRITE +#define CONFIG_CMD_FAT + /* * Block Device & Disk Partition Config */