PinePhone Beta Edition will not boot from MicroSD card
#28
Same here. Got myself 2 SD card extenders, but after popping in one of them, my Pinephone stopped booting from sd card, referring to error -123. Sad

Finally managed to get it back to business by compiling u-boot with the above mentioned CONFIG_MMC_BROKEN_CD option, and modifying the device tree for the kernel: removed cd-gpios, and added broken-cd to mmc0's node:

Code:
--- ./arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi   2001-01-01 00:00:00.000000000 +0000
+++ ./arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi   2001-01-01 00:00:00.000000000 +0000
@@ -744,7 +744,7 @@
        pinctrl-0 = <&mmc0_pins>;
        vmmc-supply = <&reg_dcdc1>;
        vqmmc-supply = <&reg_dcdc1>;
-       cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
+       broken-cd;
        disable-wp;
        bus-width = <4>;
        post-power-on-delay-ms = <1>; /* power is already turned on by the bootloader */


This way I can boot my own system from SD card again... thought would have been nicer if it doesn't break at all. Anyway, I'm off to give my extender a healthy dose of sandpaper.
  Reply


Messages In This Thread
RE: PinePhone Beta Edition will not boot from MicroSD card - by skandigraun - 01-29-2023, 12:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad PinePhone USB-C port and audio jack failure Kevin Kofler 6 6,201 12-16-2025, 12:29 AM
Last Post: RobinHayes
Bug PinePhone modem keeps "disappearing" Kevin Kofler 18 15,055 12-12-2025, 05:23 AM
Last Post: RobinHayes
  Recycling pinephone as home server mdk 6 923 12-01-2025, 02:57 AM
Last Post: mdk
  Pinephone + Keyboard for sale, little use ruemoo 11 6,250 11-30-2025, 06:29 AM
Last Post: biketool
  PinePhone, PinePhone Pro, Keyboard/Accessories for sale brb78 5 645 11-30-2025, 05:45 AM
Last Post: biketool
  Modem Issues with the Pinephone Temmie19 5 3,981 07-02-2025, 12:50 PM
Last Post: biketool
Question Third-party cheap touchscreen/LCD for the Pinephone - lost knowledge? mikeb 2 2,800 06-21-2025, 05:19 PM
Last Post: mikeb
  Does anyone know which testpoint is for Fel boot? Jodiwe 1 1,890 03-27-2025, 11:25 AM
Last Post: Jodiwe
  Pinephone not booting sd card... bruv 1 2,117 03-25-2025, 08:51 PM
Last Post: Kevin Kofler
  Pinephone - broken power button rorus 13 18,410 12-16-2024, 08:32 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)