Merge tag 'rpi-next-2020.04' of https://gitlab.denx.de/u-boot/custodians/u-boot-raspberrypi
- DFU support file operations lager then the default max size - add dfu support to dwc2 for bcm2835 - enable DFU for RPi4 - Fix RPi4 memory map to include the genet device - add driver for the genet ethernet device - enable network support in RPi4 config
This commit is contained in:
@@ -74,6 +74,25 @@
|
||||
#define CONFIG_TFTP_TSIZE
|
||||
#endif
|
||||
|
||||
/* DFU over USB/UDC */
|
||||
#ifdef CONFIG_CMD_DFU
|
||||
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_1M
|
||||
#define CONFIG_SYS_DFU_MAX_FILE_SIZE SZ_2M
|
||||
|
||||
#ifdef CONFIG_ARM64
|
||||
#define KERNEL_FILENAME "Image"
|
||||
#else
|
||||
#define KERNEL_FILENAME "zImage"
|
||||
#endif
|
||||
|
||||
#define ENV_DFU_SETTINGS \
|
||||
"dfu_alt_info=u-boot.bin fat 0 1;uboot.env fat 0 1;" \
|
||||
"config.txt fat 0 1;" \
|
||||
KERNEL_FILENAME " fat 0 1\0"
|
||||
#else
|
||||
#define ENV_DFU_SETTINGS ""
|
||||
#endif
|
||||
|
||||
/* Console configuration */
|
||||
#define CONFIG_SYS_CBSIZE 1024
|
||||
|
||||
@@ -188,6 +207,7 @@
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"dhcpuboot=usb start; dhcp u-boot.uimg; bootm\0" \
|
||||
ENV_DEVICE_SETTINGS \
|
||||
ENV_DFU_SETTINGS \
|
||||
ENV_MEM_LAYOUT_SETTINGS \
|
||||
BOOTENV
|
||||
|
||||
|
||||
Reference in New Issue
Block a user