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
  Pinephone + Keyboard for sale, little use ruemoo 4 380 10-28-2024, 08:37 PM
Last Post: AltonFox
  Modem Issues with the Pinephone Temmie19 2 242 10-16-2024, 07:54 AM
Last Post: Temmie19
  various tricks to open the pinephone shengchieh 3 1,330 09-16-2024, 03:42 AM
Last Post: biketool
  my pinephone melted norayr 6 2,031 04-04-2024, 07:22 PM
Last Post: Zebulon Walton
  Pinephone refusing to charge while suspended tiol 1 1,565 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 913 03-21-2024, 08:52 AM
Last Post: unrznbl
  pinephone keyboard + dock question tuxcall 7 4,176 02-05-2024, 03:17 PM
Last Post: wigan
  Unsatisfactory GPS reception on PinePhone? LinAdmin2 53 65,816 12-17-2023, 11:42 AM
Last Post: robin.com.au
  PinePhone Pro not booting (Cap error!, pctl timeout) jealda 2 2,057 11-16-2023, 05:03 AM
Last Post: DrYak
  Pinephone frame damages Uturn 2 1,615 10-23-2023, 02:49 AM
Last Post: Uturn

Forum Jump:


Users browsing this thread: 1 Guest(s)