@kszaq i have that mode (default mit u-boot) but it stays on same line. Here you can find complete log . Line 28 shows hdmimode.
While in u-boot i see on TV (FullHD 50" Panasonic) VIM logo, as soon i write “run update” as @Gouwa wrote in his instruction screen goes black, nothing on it.
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.056426@3] WARN::dwc_otg_core_reset:5150: dwc_otg_core_reset() HANG! Soft Reset GRSTCTL=80000001
[ 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:
boot into U-Boot and run below first:
kvim# usb start 0
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.
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_GADGET is not set
+# CONFIG_USB_DWC3_DUAL_ROLE is not set
The one from Vim_Marshmallow_Root_170303.7z but I activated the multiboot with @balbes150 Libreelec image. I am not sure if that do any other update then adding some env definitions. I compared printenv with and without activated multiboot and i only see following difference.
bootcmd=run storeboot -> bootcmd=run start_autoscript; run storeboot;
start_autoscript=if usb start ; then run start_usb_autoscript; fi; if mmcinfo; then run start_mmc_autoscript; fi;
start_mmc_autoscript=if fatload mmc 0 1020000 s905_autoscript; then autoscr 1020000; fi;
start_usb_autoscript=if fatload usb 0 1020000 s905_autoscript; then autoscr 1020000; fi; if fatload usb 1 1020000 s905_autoscript; then autoscr 1020000; fi; if fatload usb 2 1020000 s905_autoscript; then autoscr 1020000; fi; if fatload usb 3 1020000 s905_autoscript; then autoscr 1020000; fi;
Also i see this in my boot, but in your pastelog i dont see it:
Hit Enter or space or Ctrl+C key to stop autoboot – : 0
USB0: USB3.0 XHCI init start
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices… 3 USB Device(s) found
scanning usb for storage devices… 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
So I startet everything from beginning just to test it. Flashed to eMMC Vim_Marshmallow_Root_170303.7z. Boot from Android was successful. I did then copy new v2 dbt.img to FAT32 partition of microSD and did boot to u-boot and run ‘run update’ (paste log from line 157).
As you can see in complete log (1) the first boot was successful (paste log from line 157 till 1012) I got picture on TV and I was able to move with keyboard around, and seems multiboot was installed. If you compare printenv you will see there is new env ‘run librefromsd’ and such.
Then i did reboot to u-boot run that ‘run librefromsd’ (paste log from line 1258) it stops booting on same place as @Gouwa posted. I also did reset/power off but it stops on same place.
So it seems only first boot was successful second not.
That version works first and many other boots (tried 4 time). I again started with flashing Android to have clean eMMC and u-boot. Then ‘dd’ the 8.0.2a img to microSD, copied dtb.img v2 to fat32 partition. Then boot to u-boot “run update” and all went fine (installed multiboot and booted).
What is a bit annoying ist goint trough LibreELEC settings while WiFi on, every time it stays there for 20sec or more to scan for all network…
And it seems updates can not be found ? Or your community image does not have such kind of updates?
kvim:~ # tail -f .kodi/temp/kodi.log
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
13:19:46.555 T:3772879776 ERROR: ## LibreELEC Addon ## system::check_updates_v2 ## ERROR: (TypeError('expected string or buffer',))
13:19:46.556 T:3772879776 ERROR: Traceback (most recent call last):
File "/home/kszaq/ocz/le-master/build.LibreELEC-S905.arm-8.0-devel/LibreELEC-settings-6336f1e/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/system.py", line 768, in check_updates_v2
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
TypeError: expected string or buffer
@zewen so you don’t have Android ROM flashed before? I use Vim_Marshmallow_Root_170303.7z . You need to have Android on eMMC to activate multiboot (by going to Android Menu “update&backup” (settings - about - update&backup - updateLocale-select - aml_autoscript.zip - update), or inside u-boot by running “run update”. Then it should automatically boot LibreELEC from microSD (you may see reboot few times).
Hi vrabac: @vrabac
boot with Vim_Marshmallow_Root_170303.7z in emmc, 1.At Android/Settings/About Device/System/updates, under the UpdateLocale section, click Select, but there have not an selection window, which means i canot select aml_autoscript.zip file
2.Not have an aml_autoscript.zip :in this topic How to boot balbes150 libreelec image? I have know that when you burned LibreELEC.img to microSD, there will be an file named aml_autoscript.zip. But when I do this there have not this file.(my image is compile from the sourced code at khadas github)
How is this going？ thank you！
I don’t have anymore Android on eMMC so i can’t do this settings - about - update&backup - updateLocale-select - aml_autoscript.zip - update
I flashed Ubuntu server image from khadas (as android u-boot does not have ext4 boot support), but I don’t know how to activate back that multiboot, to boot your LibreELEC image which is already on microSD and working fine for weeks.