Installing Ubuntu 20.04 (Focal) with BSP uBoot with deep sleep and sound
#11
Well, the top is unreadable with all the control characters in it - can you strip those out?

The bottom is more clear, it's unable to read anything it thinks it should be able to boot from.

I'm not sure if the block read error means it can't read the block, or can't find anything valid there.

Can you try with dd? I've had zero luck with Etcher writing out the images properly - though mine is at least kind enough to refuse to write the image instead of writing something invalid. Either your SD card is bad, your SD card reader is bad, or there's not data where it's supposed to be. My experience with Etcher for these images leads me to believe the last is the most likely. I don't know why there's a difference, and I haven't felt the desire to find out when dd works fine.

Step 1: Get it booting off the SD card. Record the serial log from the boot.
Step 2: DD the image onto the eMMC while booted into the SD card.
Step 3: Boot (which should pull the firmware blobs and such off the eMMC), and see what serial says.
#12
I just tried to write the image to the MicroSD card with DD using the exact same command you gave in your how-to post (except for changing the of in DD to match my MicroSD card) and then boot with the EMMC disabled...no luck. I got the same error:
U-Boot TPL 2020.01-ayufan-2013-gdb96b24f (Apr 13 2020 - 08:44:03)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2020.01-ayufan-2013-gdb96b24f (Apr 13 2020 - 08:44:03 +0000)
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Then I re-enabled the EMMC (which has Ubuntu on it), and now I have the same error, except now the serial output is stopped on the line: Trying to boot from MMC2.

So the Ubuntu .img file boots just fine from MicroSD card when a different bootable OS is installed on the EMMC, but when there isn't (or the EMMC is disabled or the OS on the EMMC is Ubuntu), the image suddenly just doesn't boot??
#13
PROGRESS! I flashed the BSP uboot onto the MicroSD card Ubuntu install and it actually (I think) tried to boot! Unfortunately, it got stuck on a lot of GPT-related error messages (see attached log), and I can't figure out how to fix them (flashing the BSP uboot probably messed up some stuff). Ideas? Is there a way to fix the GPT from the recovery command line with the gpt (or other) command?
.txt   log.txt (Size: 70.09 KB / Downloads: 380)
#14
When you flash uboot (and friends), it is easiest to flash whole 16M
But that will overwrite mbr (1 sector) or gpt-mbr (34 sectors)
So, the trick is to save it first, 1 sector or 34, depending on disk partition system,
and then write it back at end, a lot easier than typing a bunch of numbers,
all of which have to be right
The easiest way to get whole 16M is a mrfixit install on SD, updated
Also a good emergency recovery SD
Save all this on usb key (16M, original 16M (you may change mind), mbr, all appropriately named)
#15
Sorry, I'm totally out of ideas. Are you sure that whatever you're writing the SD card with is correct? Not writing from a VM or anything that might drop USB packets?

You might try reading it back and validating before you try to boot. Something is seriously wrong if you're getting GPT header magic mismatches, and I've no idea where in your setup it is.
#16
Sorry for bumping an older thread, but do we have to use ubuntu? I'm not that experienced to know what to mix and match. I currently have Manjaro running on the Emmc, can I use this on my current Manjaro to have deep sleep?
#17
(11-17-2020, 02:25 PM)FeMike Wrote: Sorry for bumping an older thread, but do we have to use ubuntu? I'm not that experienced to know what to mix and match. I currently have Manjaro running on the Emmc, can I use this on my current Manjaro to have deep sleep?

The BSp uboot package in the OP is actually Manjaro's BSP uboot. You can download and install it from their repos, and if you do it through terminal, it'll give you the line-by-line instructions to write it to the emmc, too!
#18
(11-17-2020, 03:08 PM)tophneal Wrote:
(11-17-2020, 02:25 PM)FeMike Wrote: Sorry for bumping an older thread, but do we have to use ubuntu? I'm not that experienced to know what to mix and match. I currently have Manjaro running on the Emmc, can I use this on my current Manjaro to have deep sleep?

The BSp uboot package in the OP is actually Manjaro's BSP uboot. You can download and install it from their repos, and if you do it through terminal, it'll give you the line-by-line instructions to write it to the emmc, too!
wasn't sure and I read thru the pages to see before asking. Thank you for clearing that up for me.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,221 12-13-2023, 07:22 PM
Last Post: trillobite
  Sleep and external display - Are there any options? chris88233 7 3,022 09-04-2023, 09:03 PM
Last Post: wdt
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 7,420 08-31-2023, 04:20 PM
Last Post: TRS-80
  Sound on Armbian Bram 1 1,380 04-01-2023, 03:16 PM
Last Post: TRS-80
  With the help of a friend, I installed a beautiful deep os distribution, but I won't wangyukunshan 0 823 03-03-2023, 10:56 PM
Last Post: wangyukunshan
  DiY - Installing Void Linux ARM On The Pinebook Pro vincele 1 1,613 11-28-2022, 05:03 PM
Last Post: tllim
  Hibernation and Speaker Sound Issues, First Month of PBP kebab 7 4,020 11-02-2022, 02:33 PM
Last Post: kebab
  Loud distorted speaker sound when connecting to power supply myself600 2 1,620 09-21-2022, 12:11 PM
Last Post: myself600
  How to make manjaro sleep or hibernate? KDE? regretfulpineuser 0 1,204 06-20-2022, 12:56 AM
Last Post: regretfulpineuser
  Problems installing/ booting a different Linux on PinebookPro v-man 3 3,725 03-22-2022, 06:37 PM
Last Post: pentamassiv

Forum Jump:


Users browsing this thread: 1 Guest(s)