[Android Stick & Console AMLogic based Computers] recrof:
UART Pins for TTL (I used Nokia CA-42 USB cable)

Boot log:

GXL:BL1:9ac50e:bb16dc;FEAT:BDFD71BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0;
TE: 112230

BL2 Built : 14:26:56, Dec 14 2017. gxl g56303a2 - xiaobo.gu@droid12

set vcck to 1120 mv
set vddee to 1000 mv
Board ID = 5
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 912MHz
bist_test rank: 0 18 01 30 2b 16 41 17 00 2f 2e 1a 43 19 04 2f 2c 1a 3f 17 00 2f 2d 17 43 702 rank: 1 15 01 2a 2a 16 3f 14 00 29 2f 1b 43 14 02 26 2c 18 41 15 00 2a 2d 17 44 702 - PASS

Rank0: 1024MB(auto)-2T-13

Rank1: 1024MB(auto)-2T-13
AddrBus test pass!
-s
emmc switch 3 ok
Authentication key not yet programmed
emmc_rpmb_key_is_programmed: error 0x00000007
emmc switch 0 ok
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
aml log : R1024 check pass!
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x01700000, size: 0x0000d600
aml log : R1024 check pass!
Load bl31 from eMMC, src: 0x00020200, des: 0x01700000, size: 0x0002c600
aml log : R1024 check pass!
Load bl32 from eMMC, src: 0x00050200, des: 0x01700000, size: 0x00033e00
aml log : R1024 check pass!
Load bl33 from eMMC, src: 0x00084200, des: 0x01700000, size: 0x00053c00
aml log : R1024 check pass!
NOTICE: BL3-1: v1.0(release):b60a036
NOTICE: BL3-1: Built : 17:03:54, Apr 10 2018
[BL31]: GXL CPU setup!
NOTICE: BL3-1: GXL secure boot!
NOTICE: BL3-1: BL33 decompress pass
mpu_config_enable:ok
[Image: gxl_v1.1.3255-1a77b01 2017-09-15 16:58:02 xiaobo.gu@droid12]
OPS=0x84
31 ab f1 38 a4 4e b b1 c6 9f 14 93 [1.440554 Inits done]
secure task start!
high task start!
low task start!
INFO: BL3-2: ATOS-V2.4-69-gc1e2fb5 #1 Wed Jan 31 06:57:06 UTC 2018 arm
INFO: BL3-2: Chip: GXL Rev: D (21:D - 80:2)
INFO: BL3-2: crypto engine DMA
INFO: BL3-2: secure time TEE
INFO: BL3-2: CONFIG_DEVICE_SECURE 0xb200000e

U-Boot 2015.01-gccdffc5-dirty (Nov 18 2018 - 10:53:49), Build: jenkins-oneday-430

DRAM: 2 GiB
Relocation Offset is: 76ed6000
gpio: pin gpiodv_24 (gpio 43) value is 1
gpio: pin gpioh_3 (gpio 52) value is 1
register usb cfg[0][1] = 0000000077f5f388
MMC: aml_priv->desc_buf = 0x0000000073ed6b40
aml_priv->desc_buf = 0x0000000073ed8e60
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
aml log : R1024 check pass!
start dts,buffer=0000000073edb690,dt_addr=0000000073edb690
get_partition_from_dts() 103: ret 0
parts: 14
00: logo 0000000000800000 1
01: recovery 0000000001800000 1
02: misc 0000000000800000 1
03: dto 0000000000800000 1
04: cri_data 0000000000800000 2
05: param 0000000001000000 2
06: boot 0000000001000000 1
07: rsv 0000000001000000 1
08: tee 0000000002000000 1
09: vendor 0000000006400000 1
10: oem 0000000012c00000 1
11: system 0000000046000000 1
12: cache 0000000010000000 2
13: data ffffffffffffffff 4
init_part() 293: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x17400000
In: serial
Out: serial
Err: serial
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-2610: calc 723413d2, store 723413d2
_verify_dtb_checksum()-2610: calc 723413d2, store 723413d2
dtb_read()-2827: total valid 2
update_old_dtb()-2808: do nothing
aml log : R1024 check pass!
vpu: clk_level in dts: 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpu: vpu_clk_gate_init_off finish
hpd_state=0
cvbs performance type = 6, table = 0
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[BL31]: tee size: 0
[KM]Error:f[keymanage_dts_get_key_device]L85:carrier key name is not exist
[KM]Error:f[_get_km_ops_by_name]L231:key carrier not know device 4
[KM]Error:f[key_manage_query_exist]L546:There isn't dts cfg for key[carrier]
[KM]Error:f[key_manage_query_size]L503:Fail in query key exist
Start read misc partition datas!
info->magic =
info->version_major = 1
info->version_minor = 0
info->slots[0].priority = 15
info->slots[0].tries_remaining = 7
info->slots[0].successful_boot = 0
info->slots[1].priority = 14
info->slots[1].tries_remaining = 7
info->slots[1].successful_boot = 0
info->crc32 = -1075449479
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=2
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[CANVAS]canvas init
[CANVAS]addr=0x7f800000 width=5760, height=2160
pull down bt_reset
pull up bt_reset
set hci reset
04 0e 04 01 03 0c 00
set scan parameters
04 0e 04 01 0b 20 00
set scan enable
04 0e 04 01 0c 20 00
04 3e 2b 02 01 00 01 9d 53 be 6c e1 67 1f 02 01 02 03 03 9f fe 17 16 9f fe 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 cf
04 3e 16 02 01 04 01 9d 53 be 6c e1 67 0a 09 ff e0 00 01 43 a5 4c 5a 24 cd
04 3e 21 02 01 00 01 88 0a 0b 55 03 54 15 02 01 02 11 07 fc 9d d0 b3 cb 84 e0 84 06 42 f3 f7 e1 e0 bf cb b8
04 3e 0c 02 01 04 01 88 0a 0b 55 03 54 00 b8
pull down bt_enable
Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
[imgread]szTimeStamp[2018111811300118]
[imgread]secureKernelImgSz=0xa96800
aml log : R-1024 check pass!
aml log : R1024 check pass!
aml log : R1024 check pass!
aml log : R1024 check pass!
ee_gate_off ...
## Booting Android Image at 0x01080000 ...
reloc_addr =73f5b8e0
copy done
Kernel command line: buildvariant=user
load dtb from 0x1000000 ......
Uncompressing Kernel Image ... OK
kernel loaded at 0x01080000, end = 0x02604a00
Loading Ramdisk to 73cad000, end 73ec3800 ... OK
Loading Device Tree to 000000001fff1000, end 000000001ffff000 ... OK

Starting kernel ...

uboot time: 3849048 us
[ 0.000000@0] Booting Linux on physical CPU 0x0
[ 0.000000@0] Linux version 4.9.61-g92463ee (jenkins@c3-mitv-bsp-build05.bj) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP PREEMPT Sun Nov 18 10:56:38 CST 2018
[ 0.000000@0] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000@0] earlycon: aml_uart0 at MMIO 0x00000000c81004c0 (options '')
[ 0.000000@0] bootconsole [aml_uart0] enabled
[ 0.000000@0] efi: Getting EFI parameters from FDT:
[ 0.000000@0] efi: UEFI not found.
[ 0.000000@0] OF: reserved mem: __reserved_mem_alloc_size, start:5000000, end:7400000, len:2400000
[ 0.000000@0] Reserved memory: created CMA memory pool at 0x0000000005000000, size 36 MiB
[ 0.000000@0] OF: reserved mem: initialized node linux,secmon, compatible id shared-dma-pool
[ 0.000000@0] OF: reserved mem: __reserved_mem_alloc_size, start:7f800000, end:80000000, len:800000
[ 0.000000@0] Reserved memory: created CMA memory pool at 0x000000007f800000, size 8 MiB
[ 0.000000@0] OF: reserved mem: initialized node linux,meson-fb, compatible id shared-dma-pool
[ 0.000000@0] Reserved memory: created CMA memory pool at 0x000000007d800000, size 32 MiB
[ 0.000000@0] OF: reserved mem: initialized node linux,di_cma, compatible id shared-dma-pool
[ 0.000000@0] Reserved memory: created CMA memory pool at 0x0000000075c00000, size 124 MiB
[ 0.000000@0] OF: reserved mem: initialized node linux,ion-dev, compatible id shared-dma-pool
[ 0.000000@0] Reserved memory: created CMA memory pool at 0x0000000074c00000, size 16 MiB
[ 0.000000@0] OF: reserved mem: initialized node linux,vdin1_cma, compatible id shared-dma-pool
[ 0.000000@0] Reserved memory: created DMA memory pool at 0x0000000074c00000, size 0 MiB
[ 0.000000@0] OF: reserved mem: initialized node linux,ppmgr, compatible id shared-dma-pool
[ 0.000000@0] Reserved memory: created CMA memory pool at 0x0000000060800000, size 308 MiB
[ 0.000000@0] OF: reserved mem: initialized node linux,codec_mm_cma, compatible id shared-dma-pool
[ 0.000000@0] Reserved memory: unable to setup CMA region
[ 0.000000@0] OF: reserved mem: initialized node linux,codec_mm_reserved, compatible id amlogic, codec-mm-reserved
[ 0.000000@0] cma: Reserved 8 MiB at 0x0000000074400000
[ 0.000000@0] psci: probing for conduit method from DT.
[ 0.000000@0] psci: PSCIv0.2 detected in firmware.
[ 0.000000@0] psci: Using standard PSCI v0.2 function IDs
[ 0.000000@0] psci: Trusted OS migration not required
[ 0.000000@0] percpu: Embedded 23 pages/cpu @ffffffc074355000 s53528 r8192 d32488 u94208
[ 0.000000@0] Detected VIPT I-cache on CPU0
[ 0.000000@0] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000@0] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515844
[ 0.000000@0] Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,576cvbs maxcpus=4 vout=576cvbs,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=c8:28:32:2d:a2:36 androidboot.wifimac=c8:28:32:2b:0a:26 androidboot.wificountrycode=US androidboot.bootloader=oneday androidboot.serialno=18554280002242 androidboot.rpmb_state=0 androidboot.verifiedbootstate=orange androidboot.slot_suffix=_a buildvariant=user
[ 0.000000@0] fb: osd1
[ 0.000000@0] fb: loaded
[ 0.000000@0] fb: 0x3d800000
[ 0.000000@0] fb: 576cvbs
[ 0.000000@0] vout: 576cvbs
[ 0.000000@0] vout: enable: 1
[ 0.000000@0] vout: get hdmimode: 1080p60hz
[ 0.000000@0] vout: get cvbsmode: 576cvbs
[ 0.000000@0] cvbs_out: cvbs performance line = 0
[ 0.000000@0] jtag: jtag select apao
[ 0.000000@0] (NULL device *): [mac_addr_set] try to wifi mac from emmc key!
[ 0.000000@0] (NULL device *): [mac_addr_set] uboot setup mac-addr: c8:28:32:2b:a:26
[ 0.000000@0] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000@0] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000@0] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000@0] Memory: 1488104K/2096128K available (11644K kernel code, 1426K rwdata, 4472K rodata, 4416K init, 1434K bss, 63256K reserved, 544768K cma-reserved)
[ 0.000000@0] Virtual kernel memory layout:
[ 0.000000@0] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000@0] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000@0] .text : 0xffffff8009080000 - 0xffffff8009be0000 ( 11648 KB)
[ 0.000000@0] .rodata : 0xffffff8009be0000 - 0xffffff800a050000 ( 4544 KB)
[ 0.000000@0] .init : 0xffffff800a050000 - 0xffffff800a4a0000 ( 4416 KB)
[ 0.000000@0] .data : 0xffffff800a4a0000 - 0xffffff800a604a00 ( 1427 KB)
[ 0.000000@0] .bss : 0xffffff800a604a00 - 0xffffff800a76b324 ( 1435 KB)
[ 0.000000@0] fixed : 0xffffffbefe7fd000 - 0xffffffbefec00000 ( 4108 KB)
[ 0.000000@0] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000@0] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000@0] 0xffffffbf00004000 - 0xffffffbf02000000 ( 31 MB actual)
[ 0.000000@0] memory : 0xffffffc000100000 - 0xffffffc080000000 ( 2047 MB)
[ 0.000000@0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000@0] Preemptible hierarchical RCU implementation.
[ 0.000000@0] Build-time adjustment of leaf fanout to 64.
[ 0.000000@0] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000@0] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4
[ 0.000000@0] NR_IRQS:64 nr_irqs:64 0
[ 0.000000@0] amlogic_init_sdemmc: register amlogic sdemmc clk
[ 0.000000@0] amlogic_init_sdemmc: register amlogic sdemmc clk
[ 0.000000@0] success set parent gpu_p1_composite rate to 400000000
[ 0.000000@0] amlogic_init_gpu: register meson gpu clk
[ 0.000000@0] amlogic_init_media: register meson media clk
[ 0.000000@0] amlogic_init_misc: register meson misc clk
[ 0.000000@0] gxl_clkc_init initialization complete
[ 0.000000@0] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000@0] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000004@0] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008255@0] meson_bc_timer: mclk->mux_reg =ffffff8008006990,mclk->reg =ffffff8008008994
[ 0.016902@0] Console: colour dummy device 80x25
[ 0.021104@0] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.031586@0] pid_max: default: 32768 minimum: 301
[ 0.036460@0] Security Framework initialized
[ 0.040695@0] SELinux: Initializing.
[ 0.044435@0] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.051285@0] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.059206@0] ftrace: allocating 38256 entries in 150 pages
[ 0.125674@0] sched-energy: CPU device node has no sched-energy-costs
[ 0.126483@0] CPU0: update cpu_capacity 1024
[ 0.130802@0] ASID allocator initialised with 65536 entries
[ 0.169016@0] EFI services will not be available.
[ 0.169120@0] Meson chip version = RevD (21:D - 84:0)
[ 0.213483@1] Detected VIPT I-cache on CPU1
[ 0.213535@1] CPU1: update cpu_capacity 1024
[ 0.213538@1] CPU1: Booted secondary processor [410fd034]
[ 0.245541@2] Detected VIPT I-cache on CPU2
[ 0.245585@2] CPU2: update cpu_capacity 1024
[ 0.245587@2] CPU2: Booted secondary processor [410fd034]
[ 0.277625@3] Detected VIPT I-cache on CPU3
[ 0.277667@3] CPU3: update cpu_capacity 1024
[ 0.277669@3] CPU3: Booted secondary processor [410fd034]
[ 0.277755@0] Brought up 4 CPUs

full bootlog at https://pastebin.com/GaRRd76p

Uboot env:

oneday#printenv
1080p60hz_deepcolor=444,8bit
1080p_h=1080
1080p_w=1920
1080p_x=0
1080p_y=0
480p60hz_deepcolor=rgb,8bit
EnableSelinux=enforcing
active_slot=_a
baudrate=115200
bcb_cmd=get_valid_slot;
boot_part=boot
bootargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=enforcing logo=osd1,loaded,0x3d800000,1080p60hz maxcpus=4 vout=1080p60hz,enable hdmimode=1080p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=c8:28:32:2d:a2:36 androidboot.wifimac=c8:28:32:2b:0a:26 androidboot.wificountrycode=US androidboot.bootloader=oneday androidboot.serialno=18554280002242 androidboot.rpmb_state=0 androidboot.verifiedbootstate=orange androidboot.slot_suffix=_a
bootcmd=run storeboot;
bootdelay=1
bootloader=oneday
bootup_offset=0x10dbbb0
bootup_size=0x5eec7a
btmac=c8:28:32:2d:a2:36
cmdline_keys=keyman init 0x1234; setkeys;
colorattribute=444,8bit
cvbs_drv=0
cvbsmode=576cvbs
display_bpp=24
display_color_bg=0
display_color_fg=0xffff
display_color_index=24
display_height=1080
display_layer=osd1
display_width=1920
dtb_mem_addr=0x1000000
factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run init_display; run storeargs;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi; if test ${wipe_cache} = failed; then run init_display; run storeargs;if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;fi;
fb_addr=0x3d800000
fb_height=1080
fb_width=1920
fdt_high=0x20000000
firstboot=0
hdmimode=1080p60hz
init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale
initargs=rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000
is.bestmode=false
jtag=apao
loadaddr=1080000
maxcpus=4
outputmode=1080p60hz
preboot=run cmdline_keys;run bcb_cmd; run factory_reset_poweroff_protect;run upgrade_check;run init_display;run storeargs;run switch_bootmode;
reboot_mode=cold_boot
recovery_from_flash=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if itest ${upgrade_step} == 3; then if ext4load mmc 1:2 ${dtb_mem_addr} /recovery/dtb.img; then echo cache dtb.img loaded; fi;if ext4load mmc 1:2 ${loadaddr} /recovery/recovery.img; then echo cache recovery.img loaded; wipeisb; bootm ${loadaddr}; fi;else fi;if imgread kernel ${recovery_part} ${loadaddr} ${recovery_offset}; then wipeisb; bootm ${loadaddr}; fi;
recovery_from_udisk=setenv bootargs ${bootargs} aml_dt=${aml_dt} recovery_part={recovery_part} recovery_offset={recovery_offset};if fatload usb 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;if fatload usb 0 ${loadaddr} recovery.img; then if fatload usb 0 ${dtb_mem_addr} dtb.img; then echo udisk dtb.img loaded; fi;wipeisb; bootm ${loadaddr};fi;
recovery_offset=0
recovery_part=recovery
rpmb_state=0
sdc_burning=sdc_burn ${sdcburncfg}
sdcburncfg=aml_sdc_burn.ini
serialno=18554280002242
sn2=3138353534323830303032323432
stderr=serial
stdin=serial
stdout=serial
storeargs=setenv bootargs ${initargs} androidboot.selinux=${EnableSelinux} logo=${display_layer},loaded,${fb_addr},${outputmode} maxcpus=${maxcpus} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig} cvbsdrv=${cvbs_drv} androidboot.firstboot=${firstboot} jtag=${jtag}; setenv bootargs ${bootargs} androidboot.veritymode=enforcing androidboot.hardware=amlogic androidboot.btmacaddr=${btmac} androidboot.wifimac=${wifimac} androidboot.wificountrycode=${wifi_ccode} androidboot.bootloader=${bootloader} androidboot.serialno=${serialno};setenv bootargs ${bootargs} androidboot.rpmb_state=${rpmb_state};setenv bootargs ${bootargs} androidboot.verifiedbootstate=${verifiedbootstate};setenv bootargs ${bootargs} androidboot.slot_suffix=${active_slot};
storeboot=if imgread kernel ${boot_part} ${loadaddr}; then bootm ${loadaddr}; fi;run update;
switch_bootmode=get_rebootmode;if test ${reboot_mode} = factory_reset; then run recovery_from_flash;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = cold_boot; then else if test ${reboot_mode} = fastboot; then fastboot;fi;fi;fi;fi;if monitor_bt_cmdline; then run recovery_from_flash; fi;
try_auto_burn=update 700 750;
update=run usb_burning; run sdc_burning; if usb start 0; then run recovery_from_udisk;fi;run recovery_from_flash;
upgrade_check=echo upgrade_step=${upgrade_step}; if itest ${upgrade_step} == 3; then run init_display; run storeargs; run update;else fi;
upgrade_step=0
usb_burning=update 1000
verifiedbootstate=orange
wifi_ccode=US
wifimac=c8:28:32:2b:0a:26
wipe_cache=successful
wipe_data=successful