[Android Stick & Console AMLogic based Computers] PrinceOfAbyss:
And this is the dump of the bootloader after running a “adb reboot recovery” through ADB to boot the machine in recovery mode, in which case the machine restarted in a usual Recovery screen (see attached image):

[ 64.685920@0] SysRq : Emergency Remount R/O
[ 64.891360@2] rtk_btusb: bt_reboot_notify: HCI_RUNNING flag cleared
[ 65.912865@0] reboot: Restarting system(init) with command 'recovery'
bl31 reboot reason: 0xd
bl31 reboot reason: 0x3
system cmd 1.
GXL:BL1:9ac50e:bb16dc;FEAT:BF8D39BE:0;POC:3;EMMC:0;READ:0;0.0;0.0;CHK:0;
TE: 192378

BL2 Built : 13:29:27, Oct 20 2017. \ngxl g6cead14 - marco@beast

set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 5
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR4 chl: Rank0 @ 1008MHz
Rank0: 2048MB-2T-18
DataBus test pass!
AddrBus test pass!
-s
emmc switch 3 ok
BL2: rpmb counter: 0x0000001d
emmc switch 0 ok
Load FIP HDR from eMMC, src: 0x0000c200, des: 0x01700000, size: 0x00004000
Load BL3x from eMMC, src: 0x00010200, des: 0x01704000, size: 0x000f4000
NOTICE: BL3-1: v1.0(release):8ede9fe
NOTICE: BL3-1: Built : 20:00:30, Dec 25 2017
[BL31]: GXL CPU setup!
aml log : bl31 detect secure boot !
[SECURE APB] Write to enable Jtag finished
Wait for your jtag pass word...
mpu_config_enable:ok
[Image: gxl_v1.1.3212-44bf1a7 2017-07-24 17:22:09 marco@beast]
OPS=0x04
58 84 36 41 a0 8c 82 ca 5c 8a c0 7a [1.665125 Inits done]
secure task start!
high task start!
low task start!
INFO: BL3-2: ATOS-V2.0.2-g39c4135 #2 Fri Jun 15 18:29:54 CST 2018 arm
INFO: BL3-2: chip version = RevD (21:D - 0:0)
INFO: BL3-2: crypto engine DMA
INFO: BL3-2: secure time TEE

U-Boot 2015.01-g7942d0d (Nov 09 2018 - 16:20:49)

DRAM: 2 GiB
Relocation Offset is: 76edb000
register usb cfg[0][1] = 0000000077f61fb8
[CANVAS]canvas init
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off
vpp: vpp_init
gpio: pin GPIOZ_13 (gpio 72) value is 0
gpio: pin GPIOAO_9 (gpio 109) value is 1
gpio: pin GPIOAO_6 (gpio 106) value is 1
MMC: aml_priv->desc_buf = 0x0000000073edbdc0
aml_priv->desc_buf = 0x0000000073ede0f0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
init_part() 293: PART_TYPE_AML
[mmc_init] mmc init success
dtb magic 4c4d4140
start dts,buffer=0000000073ee0930,dt_addr=0000000073ee0930
parts: 16
00: logo 0000000000800000 1
01: recovery 0000000001200000 1
02: dto 0000000000800000 1
03: cri_data 0000000000800000 1
04: tee 0000000002000000 1
05: param 0000000001000000 1
06: prsv 0000000001000000 1
07: misc 0000000000400000 1
08: oem 0000000006000000 1
09: odm 0000000010000000 1
10: vendor 0000000010000000 1
11: rsv 0000000000800000 1
12: boot 0000000001000000 1
13: system 0000000050000000 1
14: cache 0000000032000000 2
15: data ffffffffffffffff 4
init_part() 293: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x35a00000
Using default environment

In: serial
Out: serial
Err: serial
reboot_mode=update
hpd_state=1
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-917: calc 610379a7, store 610379a7
_verify_dtb_checksum()-917: calc 610379a7, store 610379a7
dtb_read()-1039: total valid 2
dtb_read()-1106: do nothing
Net: dwmac.c9410000amlkey_init() enter!
[EFUSE_MSG]keynum is 8
[BL31]: tee size: 0
[BL31]: tee size: 0

Start read misc partition datas!
info->attemp_times = 0
info->active_slot = 0
info->slot_info[0].bootable = 1
info->slot_info[0].online = 1
info->slot_info[1].bootable = 0
info->slot_info[1].online = 0
info->attemp_times = 0
attemp_times = 0
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=2
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f851000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f851000
[CANVAS]addr=0x7f851000 width=3840, height=2160
[1080p50hz] is invalid for cvbs.
set hdmitx VIC = 31
config HPLL = 2970000
HPLL: 0xc000027b
config HPLL done
j = 4 vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 31
rx version is 1.4 or below div=10
hdmtix: set audio
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 8
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
gpio: pin GPIOAO_2 (gpio 102) value is 1
gpio: pin GPIOX_0 (gpio 0) value is 1
[imgread]secureKernelImgSz=0xc58000
ee_gate_off ...
## Booting Android Image at 0x01080200 ...
reloc_addr =73f60bd0
copy done
Kernel command line: buildvariant=user
load dtb from 0x1000000 ......
Uncompressing Kernel Image ... OK
kernel loaded at 0x01080000, end = 0x0220d6c0
Loading Ramdisk to 73a00000, end 73ec850d ... OK
Loading Device Tree to 000000001fff2000, end 000000001fffff72 ... OK
fdt_instaboot: no instaboot image

Starting kernel ...

uboot time: 3715565 us
[ 0.000000@0] Reserved memory: incorrect alignment of CMA region
[ 0.189718@0] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xbc)
[ 0.192216@0] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xbc)
[ 0.200431@0] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xbc)
[ 0.208306@0] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xbc)
domain-0 init dvfs: 4
[ 0.230327@0] tv_vout: chrdev devno 266338304 for disp
[ 0.895295@0] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.905692@0] amlogic-new-usb3 d0078080.usb3phy: This phy has no usb port
[ 0.917530@0] ATVR driver - init called!
[ 0.970441@2] get_storage_dev return 1
[ 1.075119@1] DI-di_probe: get flag_cma error.
[ 1.077097@1] PPMGRDRV: err: ppmgr_driver_probe called
[ 1.106542@1] DVB:async fifo 0 buf size 524288, flush size 262144
[ 1.107868@1] FE: cannot find resource "tuner0"
[ 1.111870@1] FE: cannot find resource "atv_demod0"
[ 1.116466@1] FE: cannot find resource "tuner1"
[ 1.121290@1] FE: cannot find resource "atv_demod1"
[ 1.125751@1] FE: cannot find resource "dtv_demod1"
efuse_pw_en: 0x17
[ 1.386590@0] cectx aocec: no hdmirx reg resource
[ 1.386620@0] cectx aocec: no hhi reg resource
[ 1.390205@0] cectx aocec: can't find hdmirx
[ 1.611625@0] aml_snd_m8_card aml_m8_snd.46: ASoC: no source widget found for LOUTL
[ 1.613628@0] aml_snd_m8_card aml_m8_snd.46: ASoC: Failed to add route LOUTL -> direct -> Ext Spk
[ 1.622456@0] aml_snd_m8_card aml_m8_snd.46: ASoC: no source widget found for LOUTR
[ 1.630097@0] aml_snd_m8_card aml_m8_snd.46: ASoC: Failed to add route LOUTR -> direct -> Ext Spk
[ [ 2.314522@2] init: waitpid failed: No child processes
[ 2.315595@2] init: property_set("ro.adb.secure", "1") failed
[ 3.029120@3] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 3.220646@0] ueventd: Cannot set 'u:object_r:usbaccessory_device:s0' SELinux label on '/dev/usb_accessory' device (Permission denied)
[ 3.235508@0] ueventd: Cannot set 'u:object_r:mtp_device:s0' SELinux label on '/dev/mtp_usb' device (Permission denied)
[ 3.414310@0] android_usb: already disabled
[ 3.414904@0] fs_mgr: Warning: unknown flag context=u:object_r:oemfs:s0
[ 3.419428@0] fs_mgr: Warning: unknown flag nosuid
[ 3.424648@0] fs_mgr: Warning: unknown flag nodev
[ 3.428859@0] init: /recovery not specified in fstab
[ 3.444758@0] systemcontrol: Error opening file '/etc/mesondisplay.cfg', No such file or directory.systemcontrol: Error -2 opening display config file /etc/mesondisplay.cfg.
[ 3.475482@0] init: no such service 'hdcp_tx22'
[ 3.497587@2] systemcontrol: hdcp_tx exit thread failed
[ 3.499161@2] systemcontrol: readSysFs, open /sys/class/amhdmitx/amhdmitx0/aud_cap fail.fs_mgr: Warning: unknown flag context=u:object_r:oemfs:s0
[ 3.499171@2] fs_mgr: Warning: unknown flag nosuid
[ 3.499179@2] fs_mgr: Warning: unknown flag nodev
[ 3.664420@0] systemcontrol: HDCP authenticate fail, need black screen and disable audio
[ 8.541634@2] fs_mgr: Warning: unknown flag context=u:object_r:oemfs:s0
[ 8.542614@2] fs_mgr: Warning: unknown flag nosuid
[ 8.547352@2] fs_mgr: Warning: unknown flag nodev
[ 9.131073@0] fs_mgr: Warning: unknown flag context=u:object_r:oemfs:s0
[ 9.132056@0] fs_mgr: Warning: unknown flag nosuid
[ 9.136793@0] fs_mgr: Warning: unknown flag nodev

Then, I noticed in the dump this "[ 3.664420@0] systemcontrol: HDCP authenticate fail, need black screen and disable audio" error, so I did another boot into the recovery mode, this time with the HDMI cable unplugged from the TV box. I don't know if this makes any difference, but the two dumps are very similar, though the "black screen needed" error didn't appear this time:

[ 69.101250@3] SysRq : Emergency Remount R/O
[ 69.309540@0] rtk_btusb: bt_reboot_notify: HCI_RUNNING flag cleared
[ 70.334086@0] reboot: Restarting system(init) with command 'recovery'
bl31 reboot reason: 0xd
bl31 reboot reason: 0x3
system cmd 1.
GXL:BL1:9ac50e:bb16dc;FEAT:BF8D39BE:0;POC:3;EMMC:0;READ:0;0.0;0.0;CHK:0;
TE: 190779

BL2 Built : 13:29:27, Oct 20 2017. \ngxl g6cead14 - marco@beast

set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 5
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR4 chl: Rank0 @ 1008MHz
Rank0: 2048MB-2T-18
DataBus test pass!
AddrBus test pass!
-s
emmc switch 3 ok
BL2: rpmb counter: 0x0000001d
emmc switch 0 ok
Load FIP HDR from eMMC, src: 0x0000c200, des: 0x01700000, size: 0x00004000
Load BL3x from eMMC, src: 0x00010200, des: 0x01704000, size: 0x000f4000
NOTICE: BL3-1: v1.0(release):8ede9fe
NOTICE: BL3-1: Built : 20:00:30, Dec 25 2017
[BL31]: GXL CPU setup!
aml log : bl31 detect secure boot !
[SECURE APB] Write to enable Jtag finished
Wait for your jtag pass word...
mpu_config_enable:ok
[Image: gxl_v1.1.3212-44bf1a7 2017-07-24 17:22:09 marco@beast]
OPS=0x04
58 84 36 41 a0 8c 82 ca 5c 8a c0 7a [1.663602 Inits done]
secure task start!
high task start!
low task start!
INFO: BL3-2: ATOS-V2.0.2-g39c4135 #2 Fri Jun 15 18:29:54 CST 2018 arm
INFO: BL3-2: chip version = RevD (21:D - 0:0)
INFO: BL3-2: crypto engine DMA
INFO: BL3-2: secure time TEE

U-Boot 2015.01-g7942d0d (Nov 09 2018 - 16:20:49)

DRAM: 2 GiB
Relocation Offset is: 76edb000
register usb cfg[0][1] = 0000000077f61fb8
[CANVAS]canvas init
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off
vpp: vpp_init
gpio: pin GPIOZ_13 (gpio 72) value is 0
gpio: pin GPIOAO_9 (gpio 109) value is 1
gpio: pin GPIOAO_6 (gpio 106) value is 1
MMC: aml_priv->desc_buf = 0x0000000073edbdc0
aml_priv->desc_buf = 0x0000000073ede0f0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
init_part() 293: PART_TYPE_AML
[mmc_init] mmc init success
dtb magic 4c4d4140
start dts,buffer=0000000073ee0930,dt_addr=0000000073ee0930
parts: 16
00: logo 0000000000800000 1
01: recovery 0000000001200000 1
02: dto 0000000000800000 1
03: cri_data 0000000000800000 1
04: tee 0000000002000000 1
05: param 0000000001000000 1
06: prsv 0000000001000000 1
07: misc 0000000000400000 1
08: oem 0000000006000000 1
09: odm 0000000010000000 1
10: vendor 0000000010000000 1
11: rsv 0000000000800000 1
12: boot 0000000001000000 1
13: system 0000000050000000 1
14: cache 0000000032000000 2
15: data ffffffffffffffff 4
init_part() 293: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x35a00000
Using default environment

In: serial
Out: serial
Err: serial
reboot_mode=update
hpd_state=0
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-917: calc 610379a7, store 610379a7
_verify_dtb_checksum()-917: calc 610379a7, store 610379a7
dtb_read()-1039: total valid 2
dtb_read()-1106: do nothing
Net: dwmac.c9410000amlkey_init() enter!
[EFUSE_MSG]keynum is 8
[BL31]: tee size: 0
[BL31]: tee size: 0

Start read misc partition datas!
info->attemp_times = 0
info->active_slot = 0
info->slot_info[0].bootable = 1
info->slot_info[0].online = 1
info->slot_info[1].bootable = 0
info->slot_info[1].online = 0
info->attemp_times = 0
attemp_times = 0
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=2
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f851000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f851000
[CANVAS]addr=0x7f851000 width=3840, height=2160
cvbs performance type = 6, table = 0
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 8
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
gpio: pin GPIOAO_2 (gpio 102) value is 1
gpio: pin GPIOX_0 (gpio 0) value is 1
[imgread]secureKernelImgSz=0xc58000
ee_gate_off ...
## Booting Android Image at 0x01080200 ...
reloc_addr =73f60bd0
copy done
Kernel command line: buildvariant=user
load dtb from 0x1000000 ......
Uncompressing Kernel Image ... OK
kernel loaded at 0x01080000, end = 0x0220d6c0
Loading Ramdisk to 73a00000, end 73ec850d ... OK
Loading Device Tree to 000000001fff2000, end 000000001fffff72 ... OK
fdt_instaboot: no instaboot image

Starting kernel ...

uboot time: 3677555 us
[ 0.000000@0] Reserved memory: incorrect alignment of CMA region
[ 0.189691@0] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xbc)
[ 0.192192@0] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xbc)
[ 0.200405@0] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xbc)
[ 0.208282@0] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xbc)
domain-0 init dvfs: 4
[ 0.230302@0] tv_vout: chrdev devno 266338304 for disp
[ 0.898814@0] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.913947@0] amlogic-new-usb3 d0078080.usb3phy: This phy has no usb port
[ 0.923978@0] ATVR driver - init called!
[ 0.934441@0] get_storage_dev return 1
[ 1.036631@1] DI-di_probe: get flag_cma error.
[ 1.039599@1] PPMGRDRV: err: ppmgr_driver_probe called
[ 1.061022@1] DVB:async fifo 0 buf size 524288, flush size 262144
[ 1.062340@1] FE: cannot find resource "tuner0"
[ 1.066020@1] FE: cannot find resource "atv_demod0"
[ 1.070836@1] FE: cannot find resource "tuner1"
[ 1.075292@1] FE: cannot find resource "atv_demod1"
[ 1.080142@1] FE: cannot find resource "dtv_demod1"
efuse_pw_en: 0x17
[ 1.332205@1] cectx aocec: no hdmirx reg resource
[ 1.332236@1] cectx aocec: no hhi reg resource
[ 1.335762@1] cectx aocec: can't find hdmirx
[ 1.557367@1] aml_snd_m8_card aml_m8_snd.46: ASoC: no source widget found for LOUTL
[ 1.559373@1] aml_snd_m8_card aml_m8_snd.46: ASoC: Failed to add route LOUTL -> direct -> Ext Spk
[ 1.568241@1] aml_snd_m8_card aml_m8_snd.46: ASoC: no source widget found for LOUTR
[ 1.575758@1] aml_snd_m8_card aml_m8_snd.46: ASoC: Failed to add route LOUTR -> direct -> Ext Spk
[ [ 2.288686@3] init: waitpid failed: No child processes
[ 2.289771@3] init: property_set("ro.adb.secure", "1") failed
[ 3.008541@1] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 3.180958@3] ueventd: Cannot set 'u:object_r:usbaccessory_device:s0' SELinux label on '/dev/usb_accessory' device (Permission denied)
[ 3.195489@3] ueventd: Cannot set 'u:object_r:mtp_device:s0' SELinux label on '/dev/mtp_usb' device (Permission denied)
[ 3.374226@0] android_usb: already disabled
[ 3.374818@0] fs_mgr: Warning: unknown flag context=u:object_r:oemfs:s0
[ 3.379373@0] fs_mgr: Warning: unknown flag nosuid
[ 3.384080@0] fs_mgr: Warning: unknown flag nodev
[ 3.388875@0] init: /recovery not specified in fstab
[ 3.404549@0] systemcontrol: Error opening file '/etc/mesondisplay.cfg', No such file or directory.systemcontrol: Error -2 opening display config file /etc/mesondisplay.cfg.
[ 3.435135@0] init: no such service 'hdcp_tx22'
[ 3.457252@2] systemcontrol: hdcp_tx exit thread failed
[ 3.458699@2] systemcontrol: readSysFs, open /sys/class/amhdmitx/amhdmitx0/aud_cap fail.fs_mgr: Warning: unknown flag context=u:object_r:oemfs:s0
[ 3.458709@2] fs_mgr: Warning: unknown flag nosuid
[ 3.458718@2] fs_mgr: Warning: unknown flag nodev
[ 8.493782@2] fs_mgr: Warning: unknown flag context=u:object_r:oemfs:s0
[ 8.494768@2] fs_mgr: Warning: unknown flag nosuid
[ 8.499535@2] fs_mgr: Warning: unknown flag nodev
[ 9.077431@0] fs_mgr: Warning: unknown flag context=u:object_r:oemfs:s0
[ 9.078414@0] fs_mgr: Warning: unknown flag nosuid
[ 9.083151@0] fs_mgr: Warning: unknown flag nodev