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
  Total Noob. Need help booting from SD Mattchublean 16 912 08-26-2021, 12:06 AM
Last Post: wdt
  Manjaro i3 Edition not booting mtndew 0 163 08-23-2021, 06:21 PM
Last Post: mtndew
Video Problem Booting from SD card ezryder324r 0 345 05-19-2021, 02:42 PM
Last Post: ezryder324r
  Forgot my Pinebook password. Booting from MIcroSD doesn't work. ksfoodforest 0 549 01-30-2021, 11:08 AM
Last Post: ksfoodforest
Wink Booting Windows on bare-metal rk3399 SBC (no linux involved) strongtz 7 3,143 01-24-2021, 01:33 PM
Last Post: cefre00
  Booting to sdcard stopped working after emmc flash techiedog 3 1,434 12-31-2020, 06:30 PM
Last Post: Anarethos
  Booting - User device selection in U-Boot? Arwen 10 5,221 11-21-2020, 01:22 PM
Last Post: Arwen
Lightbulb Booting from SD card CalmMopey 8 2,529 09-17-2020, 08:23 AM
Last Post: wdt
  Booting OS from SD card: consistency issue pivic 8 4,341 07-21-2020, 09:46 AM
Last Post: pivic
  Non-booting SD lyssa 0 835 07-08-2020, 05:08 PM
Last Post: lyssa

Forum Jump:


Users browsing this thread: 1 Guest(s)