Add enable-fastboot
This commit is contained in:
parent
0b6abdb6bf
commit
5485f133ba
2 changed files with 33 additions and 0 deletions
|
@ -15,6 +15,7 @@ source="
|
|||
u-boot-remarkable-zero-gravitas-$_gittag.tar.gz::https://github.com/reMarkable/uboot/archive/$_gittag.tar.gz
|
||||
gcc-12-u-boot-2020-fix-read-only-segment-has-dynamic-relocations-error.patch
|
||||
uboot-config.patch
|
||||
uboot-enable-fastboot.patch
|
||||
"
|
||||
builddir="$srcdir/uboot-$_gittag"
|
||||
|
||||
|
@ -30,4 +31,5 @@ sha512sums="
|
|||
7cc8d513cac1d63ee5119529caa056164ee3bc3633da5d880fbfb344b770c7c53c41475d42dd129b505390dcd5449e14524afc06f7cdba9354af7e70a7035ef9 u-boot-remarkable-zero-gravitas-97b35fdddf0077abd2e0f0409b94ef20adbe8565.tar.gz
|
||||
b894955579d5a163dc33d689feed7bd6e6d8fcf76952fbf50051debe1f39c60cfde774827e6bb888ecec8f1d22c2ec3d487ee17bae695f63a2357b14e7adf33b gcc-12-u-boot-2020-fix-read-only-segment-has-dynamic-relocations-error.patch
|
||||
673cb917cc565ae245d4a7d659227bc240473112bc9c73ae184a64ce74be7994273d6dc4db17194d348941f83a42b3b67d3140f6f23c37c13d6dc93f7d76cc39 uboot-config.patch
|
||||
26f477cf4b945eb9acbdf541602148a1f279c8b30555ceac40aa82fcff9731e3d8791924b092ac6feedffb92b83101a2071ce499830226d3410e97e58b228071 uboot-enable-fastboot.patch
|
||||
"
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
diff --git a/include/configs/zero-gravitas.h.orig b/include/configs/zero-gravitas.h
|
||||
index 818ed5689..312b10c90 100644
|
||||
--- a/include/configs/zero-gravitas.h.orig
|
||||
+++ b/include/configs/zero-gravitas.h
|
||||
@@ -156,6 +156,26 @@
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC2*/
|
||||
#endif
|
||||
|
||||
+/*Fastboot configs*/
|
||||
+#define CONFIG_CMD_FASTBOOT
|
||||
+#define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR
|
||||
+#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x10000000
|
||||
+#define CONFIG_FASTBOOT_FLASH
|
||||
+#define CONFIG_FASTBOOT_FLASH_MMC_DEV 0
|
||||
+
|
||||
+#define CONFIG_USB_GADGET
|
||||
+#define CONFIG_USB_GADGET_VBUS_DRAW 2
|
||||
+#define CONFIG_USB_GADGET_DUALSPEED
|
||||
+#define CONFIG_G_DNL_MANUFACTURER "Freescale"
|
||||
+#define CONFIG_G_DNL_VENDOR_NUM 0x18d1
|
||||
+#define CONFIG_G_DNL_PRODUCT_NUM 0x0d02
|
||||
+#define CONFIG_CI_UDC
|
||||
+#define CONFIG_USBDOWNLOAD_GADGET
|
||||
+
|
||||
+#define CONFIG_EFI_PARTITION
|
||||
+#define CONFIG_PARTITION_UUIDS
|
||||
+#define CONFIG_CMD_GPT
|
||||
+
|
||||
#define CONFIG_IMX_THERMAL
|
||||
|
||||
#endif /* __ZERO_GRAVITAS_H */
|
Loading…
Reference in a new issue