@gardin, it seems you are not getting your kernel boot up log on your serial console because it is disabled by default in the kernel source - see drivers/soc/qcom/console_setup.c, there is static int need_serial_console; variable (not set, i.e. it defaults to 0). The init_console_setup() enables the initial console only if this variable is set. By default it disables the device tree node for the uart ("/soc/qcom,qup_uart@0xa84000") which would be handled by the drivers/tty/serial/msm_geni_serial.c driver mentioned here. So to enable kernel boot log on that serial, either patch the drivers/soc/qcom/console_setup.c setting need_serial_console variable to 1 or you might set 0x09a9 TA unit to 0x01 in order to make bootloader to add "oemandroidboot.babe09a9=01" to kernel commandline, so the setup_serial_console() function could set the variable on boot. I am not sure if patching the kernel as described is sufficient in itself or if setting the 0x09a9 TA unit to 0x01 is the crucial thing - but for sure, when that TA unit is set, the "EFI_SobaStop Stop DebugPort for anti-corroding" message disappears from bootloader bootlog in case of XZ1 Compact (as found in the log history available in TA since 0x802 units). Could you please let me know, how did you connect serial to your XZ2? Do you use some test pins on the phone's motherboard or is it possible to get serial/debug connection over USB-C connector? Could you please log the bootloader bootlog when entering sony flash mode, i.e. Vol- held when connecting the usb cable from PC to the phone (if possible to get at the same time with your serial console connection)? I am wondering if it logs "Service mode detected: [SONY - USB]" or instead for your serial console connection following: "Service mode detected: [SONY - UART]". Thank you. @devjerpelea, could you please provide details about how to get serial console/uart connection (from hw point of view) with XZ1 Compact as that information is missing at https://developer.sony.com/develop/open-devices/guides/access-uart-ports/ Thank you.
... View more