Hardware problems with PineBook Pro
#4
Messing with the partition layout is a bit dangerous, because the start of the eMMC/SD card is layed out in a specific way. 

The RK3399 SoC will read it's idbloader.img from byte 32768 (from the start of the device, sector 0x40). 
After that is the u-boot at the magic offset byte 8388608 (sector 0x4000). 
That's the reason why partitions are starting rather far into the device on the stock images, to make space for the bootloader and SPL.

You can find more information about the boot process in this wiki article from Rockchip:
http://opensource.rock-chips.com/wiki_Boot_option

In short: Don't touch the first ~16-32 MiB of the device and you'll be fine. 
Otherwise, you'll need to dd the bootloader and idbloader back onto the partition after your actions: 
Code:
Code:
dd if=idbloader.img of=/dev/sdb seek=64

dd if=u-boot.itb of=/dev/sdb seek=16384
(as root, these files are probably in /boot)

Tobias

This message was forwarded to me by a friend that does not own a PineBook Pro but does use Linux on his computers.  An earlier message provided a link to a full factory image of the original Manjaro operating system.  I followed the link to the Manjaro operating system and downloaded it to my main computer (which is running Ubuntu 20.04.2 LTS.  That ISO was successfully burned to a new thumb drive which has been labeled and will not be used for any other programs.  When I insert the thumb drive in one of the USB ports on the PBP and power it on, the power light does indicate that the system is trying to boot, but nothing else happens.  If when I power the PBP on, if I quickly press the ESC key, I can get the Manjaro logo and a spinning indicator that the system is at least trying to do something.  If I press the ESC key a second time while the spinning indicator is showing, another page comes up informing me that the ONLY purpose of the image is to flash Manjaro-ARM to internal eMMC or other internal storage.  It will destroy all data on the eMMC.  Do you want to proceed?  [YES]  [no]  When I select YES and try to continue, the next page asks me to choose the eMMC device -- Be sure the correct drive is selected!  Currently, the sdcard is at "sda2 on."  Then there is a chart or list with five entries:  sda, mmcblk2, mmcblk2boot0, mmcblk2boot1, and mmcblk1.  No matter which option is selected, when I press ENTER to continue, I get a terminal screen with these lines: "==> Image does not exist....   [root@manjaro-arm ~]# "  and an empty command line.  The command 'ls' does list the files: "BOOT mmcblk2boot0" then another command line.  The command "cd .. " then another "ls" gives: "bin  boot  dev  etc  home  lib  lost+found  mnt  opt  procv root  run  sbin srv  sys  tmp usr  var."  A "cd bin" returns a long list of files, but no real way to see all of the names.  A "cd lib" and "ls" also returns a long list of files.  There appears to be no way to copy the image file to the eMMC (any one of the eMMC blocks) or to further extract or install the files needed to get the PBP to boot and run as it should.  Any additional help would be very welcome as this PBP is fast becoming an expensive paperweight.
James Good
  Reply


Messages In This Thread
RE: Hardware problems with PineBook Pro - by James Good - 07-08-2021, 05:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Pro Initial Impressions kunger 443 584,895 04-16-2024, 07:29 PM
Last Post: KC9UDX
  looking to buy one pinebook pro (mainland China) duanduan 3 2,238 03-21-2024, 07:44 PM
Last Post: wangyukunshan
  Cellular module for Pinebook Pro Lotech 1 377 03-05-2024, 05:40 AM
Last Post: KC9UDX
  Screen on pinebook stays black but can ssh into machine tuxxpine 0 280 02-23-2024, 04:22 PM
Last Post: tuxxpine
  Sale my ANSI PineBook Pro cuthbertdavies 0 273 02-14-2024, 09:12 PM
Last Post: cuthbertdavies
  Compiling with -j6 on the Pinebook Pro (Overheat) KC9UDX 0 206 02-14-2024, 09:01 AM
Last Post: KC9UDX
  Pinebook Pro in EU for Sale - €90 jan_vdk 2 637 02-07-2024, 02:12 AM
Last Post: 23Ro
  Pinebook Pro for sale tomekdev 2 708 02-01-2024, 11:35 AM
Last Post: tomekdev
  Video Editing Is Possible On The PineBook Pro! ImmyChan 10 7,479 12-17-2023, 09:29 PM
Last Post: insideau786
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 2,171 12-15-2023, 02:11 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)