@Lili :
I’ve been finding it to be a problem that the console disconnects early in the boot.
The kernel is configured to put the console on ttyFIQ0;
# cat /proc/cmdline
storagemedia=sd androidboot.mode=normal androidboot.dtbo_idx=1 root=PARTUUID=dea56848-7334-409d-a484-aed61e98819a androidboot.verifiedbootstate=orange androidboot.slot_suffix= androidboot.serialno=d1a806d913c70dbe console=ttyFIQ0 androidboot.baseband=N/A androidboot.wificountrycode=US androidboot.veritymode=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 firmware_class.path=/vendor/etc/firmware init=/init rootwait ro init=/init loop.max_part=7 androidboot.selinux=permissive earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m
But there is no such device;
# ls /dev
__properties__ cg2_bpf dri graphics iep loop-control network_latency ptmx rtc0 tty uhid vpu_service
ashmem console event-log-tags hdmi_hdcp1x iio:device0 mali0 network_throughput pts rtkbt_dev ttyS0 uinput xt_qtaguid
binder cpu_dma_latency fd hwbinder input mem null random snd ttyS2 urandom zero
block cpuctl fscklogs i2c-0 keychord memcg opteearmtz00 rfkill socket ttyS3 usb-ffs
bus cpuset full i2c-4 kmsg memory_bandwidth pmsg0 rga stune ttyS4 usb_accessory
cec0 device-mapper fuse i2c-9 kmsg_debug mtp_usb ppp rkvdec sw_sync tun vndbinder
Based on the u-boot configuration, it looks like it should be on 0xFF1A0000, which is ttyS2, so probably should be parameters as;
console=ttyS2,1500000n8 androidboot.console=ttyS2