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/Pinetab replacement as400 11 245 07-30-2021, 04:40 AM
Last Post: as400
  PineBook Pro revision 2.2: Wishlist for the hardware issue fixes dsimic 76 20,516 07-28-2021, 09:17 AM
Last Post: KC9UDX
  Touchpad notchy on new 2021 pinebook pro Neilcob 21 3,044 07-28-2021, 09:14 AM
Last Post: dsimic
Question PINEBOOK Pro USB-C Docking Deck issues pawzy 2 220 07-18-2021, 09:15 AM
Last Post: bluekeys
  Fix your Pinebook Pro speaker connection KC9UDX 12 3,268 07-08-2021, 02:10 AM
Last Post: KC9UDX
  Pinebook Pro Critique KABA 0 162 07-06-2021, 12:45 PM
Last Post: KABA
  Pinebook Pro Docking Deck Seems to be DOA Inig0M0nt0ya 0 157 07-02-2021, 07:54 AM
Last Post: Inig0M0nt0ya
  Pinebook Pro Docking Deck Ethernet Port MickTheGeek 1 426 06-16-2021, 07:49 PM
Last Post: Kuawi
  Pinebook Pro Revised Keyboard Firmware jackhumbert 72 63,296 06-05-2021, 09:48 AM
Last Post: dsimic
  pinebook pro trackpad randomly stops working chewie 3 651 05-08-2021, 06:53 AM
Last Post: KC9UDX

Forum Jump:


Users browsing this thread: 1 Guest(s)