Pinebook serial console usage
#1
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?
#2
(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/PIN...al_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."


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro on Debian 12 Power Issue u974615 1 230 03-13-2024, 10:46 AM
Last Post: u974615
  Pinebook Pro Source for Trackpad Flex / Ribbon Cable rankharris 1 180 02-17-2024, 07:06 PM
Last Post: tllim
  HDMI or VGA From Pinebook Pro via Pinebook Pro Docking Deck? segaloco 0 151 02-13-2024, 10:43 PM
Last Post: segaloco
  Pinebook Pro charging issues tomekdev 1 525 01-05-2024, 08:40 PM
Last Post: tomekdev
  Replacement battery for PineBook Pro DrYak 3 955 11-07-2023, 10:09 AM
Last Post: DrYak
  Pinebook Pro Revised Keyboard Firmware jackhumbert 73 127,007 09-13-2023, 03:43 AM
Last Post: k3dAR
  PineBook Pro dead ottahe 9 5,712 01-18-2023, 07:41 PM
Last Post: ottahe
  Pinebook Pro malfunctioned hardware samtux 10 4,140 12-27-2022, 03:31 PM
Last Post: samtux
  PineBook Pro revision 2.2: Wishlist for the hardware issue fixes dsimic 115 131,728 11-30-2022, 04:28 PM
Last Post: KC9UDX
  Decent Pinebook Pro barrel PSU / Charger petaramesh 3 1,762 10-21-2022, 07:57 AM
Last Post: dachalife

Forum Jump:


Users browsing this thread: 1 Guest(s)