PINE64
Pinebook serial console usage - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Pinebook Pro Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=116)
+--- Thread: Pinebook serial console usage (/showthread.php?tid=8253)



Pinebook serial console usage - nemunaire - 11-08-2019

Hi,

Is the Pinebook Serial Console usable with the Pinebook Pro?

On mine PBP, when I used the Pinebook serial console, it seems to lead to eMMC not responding: when plugged-in from cold boot, I got DDR initialization then it hangs; if I plug the jack after DDR initialization, I got eMMC timeout.

Here is a sample serial output, from a cold boot:

Code:
DDR Version 1.20 20190314 In channel 0 CS = 0 MR0=0x98 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 CS = 1 MR0=0x18 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 1 CS = 0 MR0=0x98 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 CS = 1 MR0=0x18 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 0 training pass! channel 1 training pass! change freq to 400MHz 0,1 channel 0 CS = 0 MR0=0x98 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 CS = 1 MR0=0x18 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 1 CS = 0 MR0=0x98 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 CS = 1 MR0=0x18 MR4=0x1 MR5=0xFF MR8=0x8 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 0 training pass! channel 1 training pass! change freq to 800MHz 1,0 Channel 0: LPDDR4,800MHz Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB Channel 1: LPDDR4,800MHz Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB 256B stride ch 0 ddrconfig = 0x101, ddrsize = 0x2020 ch 1 ddrconfig = 0x101, ddrsize = 0x2020 pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD OUT DDR Version 1.20 20190314 In soft reset SRX
Then it hangs indefinitely. The power LED stays off.

When attaching the jack after u-boot load from eMMC:

Code:
1:      PINEBOOKPRO 2:      PINEBOOKPRO-prev-kernel Enter choice: 1 1:      PINEBOOKPRO Retrieving file: /Image ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** Skipping PINEBOOKPRO for failure retrieving kernel 2:      PINEBOOKPRO-prev-kernel Retrieving file: /Image.bak ** Unable to read file /Image.bak ** Skipping PINEBOOKPRO-prev-kernel for failure retrieving kernel SCRIPT FAILED: continuing... ** fs_devread read error - block Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** ** Can't read partition table on 0:0 ** ** Invalid partition 1 ** rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc fail to send stop cmd rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc fail to send stop cmd mmc_bread: Re-init mmc_read_blocks error rkparm_init_param_from_storage param read fail RKPARM: Invalid parameter part table mmc fail to send stop cmd ...

With the jack plugged-in but the USB plug not attached to a computer, it boots normally.

What am I doing wrong?


RE: Pinebook serial console usage - zaius - 11-08-2019

(11-08-2019, 10:25 AM)nemunaire Wrote: With the jack plugged-in but the USB plug not attached to a computer, it boots normally.

What am I doing wrong?

Perhaps nothing?  There are problems reported with using the Pine64 cable with the PBP.

https://forum.pine64.org/showthread.php?tid=7746&page=2

According to this page, https://nixos.wiki/wiki/NixOS_on_ARM/PINE64_ROCKPro64#Serial_console :

"It is not recommended to connect the serial adapter to pin 10 (RX) while booting, as this often causes the board to hang early in the bootloader."