Booting
#1
Hi

I'm not sure if this is the way its supposed to be, but currently I've got debian installed on my eMMC. I've also got debian running on an SD card, but whenever I want to boot from the SD card I first have to boot debian on the eMMC, log in and reboot in order for the PBP to boot from the SD card. Is this the way its supposed to be, or is there a setting to not have to do this procedure and just boot directly from SD without having to reboot?
#2
What debian do you have on the eMMC, installed how?

The default build has uboot on the eMMC, with a boot order of SD, eMMC.

If you're using something else, you'll need to make sure that the bootloader is configured the way you want.
#3
I've installed regular debian, through the Thompson installer (in order to get LUKS to work).

So its the boot loader of the OS that decides the boot order, its not hardware?
Where should I look?
#4
(05-21-2020, 03:21 AM)GloriousCoffee Wrote: I've installed regular debian, through the Thompson installer (in order to get LUKS to work).

So its the boot loader of the OS that decides the boot order, its not hardware?
Where should I look?

Yes and no. The SoC has it's own boot order of SPI>eMMC>SD. u-boot (the bootloader) is typically on the eMMC, and from there the boot priority using u-boot to put SD before eMMC.
#5
Okay,

I've never really played around with any bootloader,
what config file do I need to look into, to change the priority?
#6
(05-21-2020, 07:59 AM)GloriousCoffee Wrote: Okay,

I've never really played around with any bootloader,
what config file do I need to look into, to change the priority?

I think the problem you're facing is due to the u-boot on your eMMC or SD, one (or both) may need updated. I saw you're using mainline Debian on your eMMC, so it should be using mainline u-boot, what are the details of the Debian on your SD card? Is it also mainline, or mrfixit's OOTB Debian?
#7
Okay,

I'm running mainline debian on the SD as well, encrypted.
#8
(05-21-2020, 08:23 AM)GloriousCoffee Wrote: Okay,

I'm running mainline debian on the SD as well, encrypted.

Hmm, well if they're both full updated, that shouldn't be it. What's the full behavior of the PBP when you try to boot from the SD without booting through the eMMC first? Is the LED behavior different from when booting up from the eMMC?
#9
Hm, thats strange..

I notice no difference to the LED when booting with the SD inserted, it just goes directly to boot from eMMC.
#10
(05-21-2020, 08:34 AM)GloriousCoffee Wrote: Hm, thats strange..

I notice no difference to the LED when booting with the SD inserted, it just goes directly to boot from eMMC.

That is strange. I've had that happen to me a few times before, and I can usually resolve it by reinserting my SD and booting again.

Have you by chance tested whether you can boot to another OS from SD without booting into the eMMC first?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Followed the blog post to install Fedora: PBP not booting anymore koenigs 6 1,736 06-01-2023, 10:58 AM
Last Post: wdt
  I'm booting from NVME but I want to switch back to eMMC acruhl 4 1,384 04-23-2023, 06:58 AM
Last Post: acruhl
Exclamation PineBook Pro shuts down immediately after booting zogkarndon 5 1,839 01-10-2023, 10:16 AM
Last Post: Perl6_user
  Total Noob. Need help booting from SD Mattchublean 18 12,951 07-23-2022, 11:54 PM
Last Post: LivingLinux
Wink Booting Windows on bare-metal rk3399 SBC (no linux involved) strongtz 9 10,279 05-26-2022, 11:36 PM
Last Post: strongtz
  PInebook not booting with eMMC enabled aragaer 4 4,099 10-25-2021, 09:11 PM
Last Post: wdt
  Manjaro i3 Edition not booting mtndew 0 1,539 08-23-2021, 06:21 PM
Last Post: mtndew
Video Problem Booting from SD card ezryder324r 0 1,430 05-19-2021, 02:42 PM
Last Post: ezryder324r
  Forgot my Pinebook password. Booting from MIcroSD doesn't work. ksfoodforest 0 1,713 01-30-2021, 11:08 AM
Last Post: ksfoodforest
  Booting to sdcard stopped working after emmc flash techiedog 3 3,839 12-31-2020, 06:30 PM
Last Post: Anarethos

Forum Jump:


Users browsing this thread: 2 Guest(s)