I've just done...
booted libreelec, erased bootloader,
rebooted with second sd card prepared with:
sudo dd if=u-boot.bin.sd.bin of=/dev/sdX bs=1 count=442 && sync
sudo dd if=u-boot.bin.sd.bin of=/dev/sdX bs=512 skip=1 seek=1 && sync
but is not working....seems a problem with ddr4 memory... this is the log:
LibreELEC:~ # dd if=/dev/zero of=/dev/env bs=8M count=1 && sync
1+0 records in
1+0 records out
8388608 bytes (8.0MB) copied, 0.586481 seconds, 13.6MB/s
LibreH96:~ # dd if=/dev/zero of=/dev/bootloader
dd: writing '/dev/bootloader': No space left on device
8193+0 records in
8192+0 records out
4194304 bytes (4.0MB) copied, 0.205306 seconds, 19.5MB/s
LibreH96:~ # shutdown -h now
LibreH96:~ # [ 88.723902@0] reboot: Power down
bl31 reboot reason: 0x108
bl31 reboot reason: 0x108
system cmd 0.
bl30 get wakeup sources!
process command 00000006
bl30 enter suspend!
cpu clk suspend rate 1000000000
suspend_counter: 1
Enter ddr suspend
first time suspend
ddr suspend time: 1878us
store restore gp0 pll
process command 00000001
CEC cfg:0x0000
set vddee to 0x035cmv
08915d0000000000GXM:GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;CHK:AA;SD:0;READ:0;0.0;CHK:0;
no sdio debug board detected
TE: 312568
BL2 Built : 13:27:37, Oct 25 2017. gxl g56b77aa - xiaobo.gu@droid12
set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 3
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR4 chl: Rank0+1 @ 1008MHz
Train Err PGSR0: 0x840007ff.Retry...
DX0GSR0: 0x00952520....
DX1GSR0: 0x009626a0....
DX2GSR0: 0x009925a0....
DX3GSR0: 0x00942620....
DX0GSR2: 0x26000018....
DX1GSR2: 0x26000018....
DX2GSR2: 0x26000018....
DX3GSR2: 0x25800018....
DX0GSR3: 0x00000000....
DX1GSR3: 0x00000000....
DX2GSR3: 0x00000000....
DX3GSR3: 0x00000000....
Train Err PGSR0: 0x840007ff.Retry...
DX0GSR0: 0x009725a0....
DX1GSR0: 0x009a27a0....
DX2GSR0: 0x00992520....
DX3GSR0: 0x00962620....
DX0GSR2: 0x27000018....
DX1GSR2: 0x27000018....
DX2GSR2: 0x26000018....
DX3GSR2: 0x25800018....
DX0GSR3: 0x00000000....
DX1GSR3: 0x00000000....
DX2GSR3: 0x00000000....
DX3GSR3: 0x00000000....
Train Err PGSR0: 0x840007ff.Retry...
DX0GSR0: 0x00932520....
DX1GSR0: 0x009626a0....
DX2GSR0: 0x00972520....
DX3GSR0: 0x00942620....
DX0GSR2: 0x26000018....
DX1GSR2: 0x26000018....
DX2GSR2: 0x26000018....
DX3GSR2: 0x26000018....
DX0GSR3: 0x00000000....
DX1GSR3: 0x00000000....
DX2GSR3: 0x00000000....
DX3GSR3: 0x00000000....
Train Err PGSR0: 0x840007ff.Retry...
DX0GSR0: 0x00952520....
DX1GSR0: 0x00942620....
DX2GSR0: 0x00992520....
Display More
i've restored Android with amlogic usb burning tool.
Maybe i need a different u-boot.