Restore default Debian system
#17
(11-08-2019, 05:36 PM)bcnaz Wrote: >>  The pre-boot is on the eMMC,  that points it to boot from the sd card...
     So if something is messed up on the EMMc it will not boot from the sd card..
      I am not a pro at this, but I have read that in a bunch of posts.

The onboard rk3399 bootloader looks for a boot payload in this order: SPI > eMMC > SD; it then loads the first payload it finds (we're using u-boot) and the boot process continues.

Googling "rk3399 boot sequence" should give a bunch of useful information but this is a concise overview:
http://wiki.t-firefly.com/en/Firefly-RK3...-mode.html

Das u-boot is a little confusing right now: the default boot order is to look for bootable partitions on devices in this order: eMMC > SD. Mrfixit has released a patched u-boot that boots in the reverse order: SD > eMMC. If you have unpatched u-boot on your eMMC (old mrfixit image, or any ayufan image) and your eMMC system image is damaged to the point of failing to boot you're going to bootloop and be unable to boot from the SD card.

If you're unable to boot due to a broken u-boot or unbootable eMMC system image you could use the recovery switch on the mainboard to boot into recovery mode and reflash the eMMC over USB from another computer. I'm not sure how exactly to do this as I haven't ever needed to and the wiki documentation for the PBP is sparse right now so I'd go ask in IRC and see if someone can help. Once you've done that you should install the patched u-boot to your eMMC so that you can boot from an SD card in the future.

If you have a USB or SD adapter for your eMMC you can pop the eMMC out and patch your u-boot from another machine, then you'll be able to boot from an SD card to fix whatever is wrong with your eMMC system image.

Yes, all of this is a bit of a mess right now. If you're unable to boot your PBP at all and don't know what you're doing then go on the pine64 IRC and politely ask someone to help you fix things.


Messages In This Thread
Restore default Debian system - by perceg - 11-06-2019, 11:29 PM
RE: Restore default Debian system - by Blackr0se - 11-07-2019, 02:19 AM
RE: Restore default Debian system - by fire219 - 11-07-2019, 08:29 AM
RE: Restore default Debian system - by bcnaz - 11-07-2019, 08:37 AM
RE: Restore default Debian system - by fire219 - 11-07-2019, 09:47 AM
RE: Restore default Debian system - by perceg - 11-07-2019, 12:10 PM
RE: Restore default Debian system - by perceg - 11-07-2019, 05:27 PM
RE: Restore default Debian system - by evj - 02-06-2020, 11:18 AM
RE: Restore default Debian system - by bcnaz - 11-07-2019, 11:31 PM
RE: Restore default Debian system - by xircledev - 11-08-2019, 12:17 AM
RE: Restore default Debian system - by perceg - 11-08-2019, 05:15 AM
RE: Restore default Debian system - by zaius - 11-08-2019, 06:33 AM
RE: Restore default Debian system - by FeMike - 02-01-2020, 05:39 AM
RE: Restore default Debian system - by uby89 - 02-03-2020, 03:27 AM
RE: Restore default Debian system - by MIchael - 02-03-2020, 06:35 AM
RE: Restore default Debian system - by uby89 - 02-03-2020, 08:13 AM
RE: Restore default Debian system - by MIchael - 02-03-2020, 11:23 AM
RE: Restore default Debian system - by bcnaz - 02-03-2020, 01:04 PM
RE: Restore default Debian system - by uby89 - 02-03-2020, 01:14 PM
RE: Restore default Debian system - by Thovthe - 02-20-2020, 05:28 PM
RE: Restore default Debian system - by PineFan - 02-03-2020, 07:39 PM
RE: Restore default Debian system - by MIchael - 02-04-2020, 07:19 AM
RE: Restore default Debian system - by Thovthe - 02-20-2020, 05:21 PM
RE: Restore default Debian system - by bcnaz - 11-08-2019, 05:36 PM
RE: Restore default Debian system - by Arglebargle - 11-08-2019, 07:31 PM
RE: Restore default Debian system - by bcnaz - 11-08-2019, 12:40 AM
RE: Restore default Debian system - by markh66509 - 12-29-2019, 08:47 AM
RE: Restore default Debian system - by markh66509 - 01-01-2020, 07:59 PM
RE: Restore default Debian system - by bcnaz - 01-01-2020, 10:39 PM
RE: Restore default Debian system - by bcnaz - 01-02-2020, 12:00 AM
RE: Restore default Debian system - by xircledev - 01-06-2020, 08:05 PM
RE: Restore default Debian system - by pmb_nl - 01-26-2020, 03:32 PM
RE: Restore default Debian system - by binholz - 01-28-2020, 05:44 AM
RE: Restore default Debian system - by binholz - 01-28-2020, 11:28 AM
RE: Restore default Debian system - by MIchael - 01-28-2020, 06:06 PM
RE: Restore default Debian system - by bcnaz - 02-03-2020, 01:34 PM
RE: Restore default Debian system - by uby89 - 02-04-2020, 03:21 PM
RE: Restore default Debian system - by weskerfoot - 02-06-2020, 12:24 AM
RE: Restore default Debian system - by weskerfoot - 02-06-2020, 10:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian on Pinebook Pro u974615 7 1,181 03-31-2024, 10:11 AM
Last Post: u974615
Exclamation 'failed to open panfrost' after system update using archarm Puckla 1 344 03-01-2024, 06:46 PM
Last Post: Puckla
  Nethunter default password failed lamlarryyyy 0 361 11-23-2023, 02:48 AM
Last Post: lamlarryyyy
  install debian on pbp jsch 7 4,127 11-22-2023, 04:22 PM
Last Post: TRS-80
  Fedora 36 -> 37 upgrade kills system tydeman 0 464 10-28-2023, 09:53 AM
Last Post: tydeman
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,559 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 4,117 07-15-2023, 02:58 PM
Last Post: u974615
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,294 12-09-2022, 12:43 PM
Last Post: as365n4
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 2 2,362 12-09-2022, 05:04 AM
Last Post: ndp
  How can I install Debian? ImmyChan 1 2,066 10-19-2022, 03:09 AM
Last Post: alpopa

Forum Jump:


Users browsing this thread: 1 Guest(s)