I am trying to boot @balbes150 libreelec on my khadas vim. I don’t need multiboot or anything else, just to boot it from microsd card. I don’t have Khadas VIM remote so this is also not needed. Have Any Logitech Smart Keyboard on USB.
I followed these instruction but it does not boot to libreelec on microSD. Any hints?
used this u-boot: Vim_Marshmallow_Root_170303.7z
find microSD card:
# dmesg | tail -n 10
sd 6:0:0:0: [sdb] 3921920 512-byte logical blocks: (2.01 GB/1.87 GiB)
sdb: sdb1 sdb2
#
unmount (if automounted)
# umount /dev/sdb1 /dev/sdb2
zero the beginning of the micro SD card:
# dd if=/dev/zero of=/dev/sdb bs=1M count=8
8+0 records in
8+0 records out
8388608 bytes (8,4 MB, 8,0 MiB) copied, 1,37043 s, 6,1 MB/s
#
write image to disk
# cd balbes150/
# gunzip -d LibreELEC-S905.aarch64-17.3_20170614.img.gz
# dd if=LibreELEC-S905.aarch64-17.3_20170614.img of=/dev/sdb bs=4M
137+0 records in
137+0 records out
574619648 bytes (575 MB, 548 MiB) copied, 92,1211 s, 6,2 MB/s
# sync
list partitions
# fdisk -l /dev/sdb
....
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 1050624 1048577 512M c W95 FAT32 (LBA)
/dev/sdb2 1052672 1118208 65537 32M 83 Linux
mount first partition and delete dtb.img
# mount /dev/sdb1 /mnt/sdb1
# ls -al /mnt/sdb1
total 148676
drwxr-xr-x 2 root root 16384 Jan 1 1970 .
drwxr-xr-x 5 root root 4096 May 12 10:13 ..
-rwxr-xr-x 1 root root 143765504 Jun 14 18:18 SYSTEM
-rwxr-xr-x 1 root root 48 Jun 14 18:18 SYSTEM.md5
-rwxr-xr-x 1 root root 751 Jun 14 18:18 aml_autoscript
-rwxr-xr-x 1 root root 427 Jun 14 18:18 aml_autoscript.zip
-rwxr-xr-x 1 root root 159744 Jun 14 18:18 dtb.img
-rwxr-xr-x 1 root root 3781 Jun 14 18:18 install.sh
-rwxr-xr-x 1 root root 8210432 Jun 14 18:18 kernel.img
-rwxr-xr-x 1 root root 48 Jun 14 18:18 kernel.img.md5
-rwxr-xr-x 1 root root 3149 Jun 14 18:18 remote.conf.i7pro
-rwxr-xr-x 1 root root 2479 Jun 14 18:18 remote.conf.vegas95
-rwxr-xr-x 1 root root 1994 Jun 14 18:18 remote.conf.vim
-rwxr-xr-x 1 root root 1520 Jun 14 18:18 s905_autoscript
# rm /mnt/sdb1/dtb.img
# umount /mnt/sdb1
# eject /dev/sdb
#
@balbes150 wrote this, but here it does not work
- To write the image to the media (SD or USB)
- Delete media file “dtb.img”
- Rename the file “remote.conf.vim” in “remote.conf”
- To activate the multi-boot using this media (as an option, using the launch application in Android “Update&Backup”, details are in this thread and in the subject of Ubuntu).
- Start LE with external media, to verify and customize yourself. If you are satisfied, choose off menu item “Reboot to Install to eMMC”. The system will automatically install the LE in the internal memory (eMMC).
To work the remote control, you need to use the old version of the firmware (with Android 6). The new version of the firmware (with Android 7) changed the format of the processing codes for the remote control and this format is not compatible with existing images LE. Therefore, the remote LE will not work if you attempt to run LE on a version 7 Android. So for those who wanted to install the LE in the internal memory (eMMC), you need to have the firmware in eMMC with the previous version of Android 6. Only then, after the install LE in the eMMC, will operate the remote control.
In this paste log at the first are instruction i used and after line 30 the u-boot (from Vim_Marshmallow_Root_170303.7z) boot log.
These instruction i took from @Gouwa in this post without copying any new dtb, only your in image.
I also tested with deleting dtb.img but it still does not boot.
Thank you!