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
  Does anyone know which testpoint is for Fel boot? Jodiwe 1 194 03-27-2025, 11:25 AM
Last Post: Jodiwe
  Pinephone not booting sd card... bruv 1 156 03-25-2025, 08:51 PM
Last Post: Kevin Kofler
Question Third-party cheap touchscreen/LCD for the Pinephone - lost knowledge? mikeb 0 427 02-05-2025, 01:39 PM
Last Post: mikeb
  Pinephone + Keyboard for sale, little use ruemoo 5 1,272 01-15-2025, 07:59 PM
Last Post: elonnmusk
  Pinephone - broken power button rorus 13 12,811 12-16-2024, 08:32 PM
Last Post: tllim
  Modem Issues with the Pinephone Temmie19 2 731 10-16-2024, 07:54 AM
Last Post: Temmie19
  various tricks to open the pinephone shengchieh 3 1,870 09-16-2024, 03:42 AM
Last Post: biketool
  my pinephone melted norayr 6 2,845 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 1,945 04-02-2024, 10:54 AM
Last Post: joH_N_Doe64
  pinephone can provide more than 500mA to a usb-c displayport device? unrznbl 2 1,391 03-21-2024, 08:52 AM
Last Post: unrznbl

Forum Jump:


Users browsing this thread: 1 Guest(s)