Bring the build to libreelec community

Hi, kszaq:
I downloaded the new DTB with new issue:

  • Got the VIM logo displayed when update the new DTB, but still can’t boot into LibreELEC
  • full printing is here

It seem that the configuration of USB/OTG cause the problem which I also met before:

[    2.039066@3] WARN::dwc_otg_core_reset:5150: dwc_otg_core_reset() HANG! Soft Reset GRSTCTL=80000001
[    2.039066@3] 
[    2.056426@3] WARN::dwc_otg_core_reset:5150: dwc_otg_core_reset() HANG! Soft Reset GRSTCTL=80000001
[    2.056426@3] 
[    2.072467@3] dwc_otg: Using Buffer DMA mode
[    2.072489@3] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
[    2.076363@3] dwc_otg: Working on port type = SLAVE
[    2.081211@2] dwc_otg: Dedicated Tx FIFOs mode

And following steps to resolved that:

  1. boot into U-Boot and run below first:
kvim# usb start 0
  1. boot LE:
kvim# run recovery_from_sdcard

regarding the issue, can be resolved by setup the U-Boot ENV, or just enable USB configuration of Linux. I’m not sure which one is better, so just let me know if we can do anything to got Khadas users to use your ROM. :slight_smile:

Update:
I’m not quite sure, but I remembered it’s CONFIG_SUB_DWC3=y resolved this here for me months ago:

-# CONFIG_USB_DWC3 is not set
+CONFIG_USB_DWC3=y
+CONFIG_USB_DWC3_HOST=y
+# CONFIG_USB_DWC3_GADGET is not set
+# CONFIG_USB_DWC3_DUAL_ROLE is not set