How To installing u-boot.bin to internal memory (eMMC)
For better understanding:
sdcard1 = external storage, contains the LE firmware that you are currently using
sdcard2 = external storage, used to install the emergency firmware LE and write the bootloader to emmc
PART I
Installing the emergency system LE to sdcard2
# Linux
gunzip -c LibreELEC-S912.arm-8.90.6-h96pp-emergency-sdcard.img.tar.gz | dd of=/dev/sdX bs=4M conv=sync,noerror
# Windows
try this guide
Download LibreELEC-S912.arm-8.90.6-h96pp-emergency-sdcard.img.tar.gz
PART II
1.
Run the system with sdcard1 or emmc.
Connect to your Box with SSH.
2.
In order to run the emergency system LE (u-boot.bin.sd.bin -> kernel LE -> SYSTEM) from the SD card, you need to change the boot sequence.
You can do this in many ways - destroy the eMMC-MBR + Bootloader, make a short circuit while holding the DAT0 <=> DAT1 pins directly on the eMMC chip, etc.
I will consider the first option, since it is available for less experienced users.
We execute commands one by one, please do not confuse the order of execution!
# set default environment
dd if=/dev/zero of=/dev/env bs=8M count=1 && sync
# destruction of the original bootloader
dd if=/dev/zero of=/dev/bootloader
# At this point your box will hang, do not be afraid -> unplug the power adapter from the socket -> remove the SD card1 and insert the SD card2 -> plug the power adapter into the socket and wait until the booting process of the emergency system is completed.
3.
(This step is optional and only necessary for a backup) Connect To Your Box with SSH
# Set Permission to write into /flash
mount -o rw,remount /flash
# (optional) We make a backup copy of the android system -> recovery.img + dtb.img
dd if=/dev/dtb | gzip > /flash/dtb_orig.img.gz
dd if=/dev/recovery bs=64k conv=sync,noerror | gzip > /flash/recovery_orig.img.gz
4.
# write new u-boot.bin to eMMC
dd if=/flash/u-boot.bin of=/dev/bootloader bs=512 seek=1 && sync
5.
Turn off the box, remove sdcard2 from the card reader and insert sdcard1 again.
Turn on and enjoy!
EDIT:
I have updated the u-boot binary
-Added support for RGMII interface, since all versions of the X96Pro + boards use the H5007NL 1000BASE-T module
-For the correct functioning of the network connection, you must use the gxm_q201_3g_gbit_phy.dtb or gxm_q200_3g.dtb file
u-boot update guide
1. Go through the installation instructions
2. Before you write u-boot.bin to the emmc memory, replace the dtb.img file with gxm_q201_3g_gbit_phy.dtb or gxm_q200_3g.dtb in the / flash directory and rename it dtb.img again. Then replace existing u-boot.bin by updating version and follow the installation instructions.
download
updated u-boot.bin@LPDDR3-792Mhz