M16 tv box

MiBox, X96 to name a few...
bumerc
Administrator & Developer
Posts: 1551
Joined: Tue Oct 02, 2018 6:19 pm
Answers: 0
Has thanked: 211 times
Been thanked: 334 times

#31

Did you set the baud rate „115200“ correctly?
Alessio47
Posts: 7
Joined: Thu Jan 31, 2019 5:16 pm
Answers: 0

#32

bumerc wrote: Sun Feb 03, 2019 1:21 pm Did you set the baud rate „115200“ correctly?
Yes all set as guide
bumerc
Administrator & Developer
Posts: 1551
Joined: Tue Oct 02, 2018 6:19 pm
Answers: 0
Has thanked: 211 times
Been thanked: 334 times

#33

Check if GND is ok, use another location for GND. It may be that TX and RX are placed elsewhere. You have to test this.
Make sure there is sufficient contact with the cable, check if these pins are not provided with a coat of varnish.
darkholokaust
Verified Member
Posts: 25
Joined: Sun Jan 13, 2019 11:26 pm
Answers: 0

#34

i made some tests, referring to this image
https://ibb.co/9GjH6Xy

- left pin is grounded and do not produce voltage
- right pin is not grounded or behind a capacitor, it produces 3,42v constantly and when the power turns off, it decrease voltage slowy

so maybe left pin si GND and right pin is Vcc or not uart pins...
bumerc
Administrator & Developer
Posts: 1551
Joined: Tue Oct 02, 2018 6:19 pm
Answers: 0
Has thanked: 211 times
Been thanked: 334 times

#35

Look for the datasheet for S905X/W and do a PCB-Tracing. I can not help you here because I do not have this device. One thing we can do without uart, we can short-circuit the emmc pins and try to find out with which bootloader your device can start. For this you have to prepare an mSD with CoreElec or LibreElec. Then we install the uboot from the 0 sector on the same mSD card and try to boot from this mSD.
darkholokaust
Verified Member
Posts: 25
Joined: Sun Jan 13, 2019 11:26 pm
Answers: 0

#36

Referring to this guide
https://forum.libreelec.tv/thread/9319- ... 905-s905x/
i downloaded the Amlogic S905/S905D/S905W/S905X build without suffix and then overwrite the device tree with the "gxl_p212_2g.dtb" from libreelec repo.
The device started libreelec from mSD (without nand) and worked well..

but i think i missed the point with the bootloader, right? :grinning:
bumerc
Administrator & Developer
Posts: 1551
Joined: Tue Oct 02, 2018 6:19 pm
Answers: 0
Has thanked: 211 times
Been thanked: 334 times

#37

darkholokaust wrote: Sun Feb 03, 2019 6:17 pm Referring to this guide
https://forum.libreelec.tv/thread/9319- ... 905-s905x/
i downloaded the Amlogic S905/S905D/S905W/S905X build without suffix and then overwrite the device tree with the "gxl_p212_2g.dtb" from libreelec repo.
The device started libreelec from mSD (without nand) and worked well..

but i think i missed the point with the bootloader, right? :grinning:
Ok, open the ssh terminal and enter this command:

Code: Select all

fw_printenv aml_dt
post the output
darkholokaust
Verified Member
Posts: 25
Joined: Sun Jan 13, 2019 11:26 pm
Answers: 0

#38

aml_dt=gxl_p214_2g
O_o
custom board, isn't it??
bumerc
Administrator & Developer
Posts: 1551
Joined: Tue Oct 02, 2018 6:19 pm
Answers: 0
Has thanked: 211 times
Been thanked: 334 times

#39

darkholokaust wrote: Sun Feb 03, 2019 10:49 pm aml_dt=gxl_p214_2g
O_o
custom board, isn't it??
Yes. :)

I suspect that in your stock uboot the dtb selection cycle was defined according to the hwid or something similar. This is apparently the reason why you get disconnected during the installation. I will compile an uboot version, which you have to install on the mSD from the 0 sector, as already mentioned. Instructions for this, as well as the instructions with short-circuiting of the pins will follow.
If you can then boot to the LE, then we can safely write the new uboot to the internal bootloader partition of the eMMC memory.
bumerc
Administrator & Developer
Posts: 1551
Joined: Tue Oct 02, 2018 6:19 pm
Answers: 0
Has thanked: 211 times
Been thanked: 334 times

#40

In the meantime you could do a backup of the stock bootloader. To do this, please boot to the LE and execute the following commands:

Code: Select all

mount -o rw,remount /flash

Code: Select all

dd if=/dev/bootloader skip=1 conv=sync,noerror | gzip > /flash/u-boot_orig.bin.gz

Code: Select all

mount -o remount,ro /flash
The BL-Backup can now be found in the root directory (/ flash) on the mSD card.
Post Reply