PINE64
Booting from SD Works for Installers, not OS's ?? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: PinePhone Pro Software (https://forum.pine64.org/forumdisplay.php?fid=179)
+--- Thread: Booting from SD Works for Installers, not OS's ?? (/showthread.php?tid=18555)



Booting from SD Works for Installers, not OS's ?? - Diagon - 07-29-2023

Odd PPP boot issue (Explorer Edition, 2022.01.27 - I had to install tow-boot on this one).  

I can pwr+vol.dn to SD when flashed with the tow-boot or mobian installer, but these fail to boot:

Mobian (via installer from SD->SD) (tried twice)
Manjaro (`dd if=manjaro.img of=/dev/mmcblk1` from Mobian on eMMC) (+ read/hash check)

From eMMC, both OS's work fine.  And, I've successfully installed both on SD with PP (OG).  I suspect there's something wrong in the boot sequence.  How might I debug this?


RE: Booting from SD Works for Installers, not OS's ?? - Diagon - 07-30-2023

(07-29-2023, 07:30 PM)Diagon Wrote: Manjaro (`dd if=manjaro.img of=/dev/mmcblk1` from Mobian on eMMC) (+ read/hash check)

I tried to boot my as yet unbooted Manjaro SD install, by using the "RE" button.  I took a pic and transcribed the output.  Does this say anything to anyone?

Code:
OF: graph: no port node found in /i2c@ff3d000/typec-portc@22
bootsplash: Failed to initialize.
Starting systemd-udevd version 252.2-4-arch
ROOT_MNJRO: clean, 164550/379008 files, 1305472/1515187 blocks
systemd[1]: local-fs.target: Job ppp-prepare-fstab.service/start deleted to break ordering cycle starting with local-fs.target/start
[ SKIP ] Ordering cycle found, skipping Prepare Partition Mounts
brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 w10: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e



RE: Booting from SD Works for Installers, not OS's ?? - Diagon - 07-30-2023

I got the advice to turn off wifi/bluetooth (hardware switch #2) and try rebooting.  That worked (with the "RE" switch), allowing me to get into Manjaro on SD and update.  Then I was able to shut down/ turn the switch back on/ reboot into Manjaro with working wifi.  I am still unable to boot the SD using tow-boot.

While booting with RE works, I do get the following output on the screen:

Code:
spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
bootsplash: Failed to initialize.
ROOT_MNJRO: clean, 169513/1895040 files, 1656870/7690163 blocks
(sd-execu[2398]: /usr/lib/systemd/system-generators/ostree-system-generator failed with exit status 1.
brcmfmac_wcc: brcmf_wcc_attach: executing
brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 w10: Apr 15 2021 03:03:20 version 7:45.234 (4ca95bb CY) FWID 01-996384e2



RE: Booting from SD Works for Installers, not OS's ?? - fxc - 08-13-2023

@Diagon, you sure you flashed the right Manjaro images? Usually they are not named that way so this looks rather surprising. Mind that images for the regular PinePhone are not compatible with the Pro either. Plus the dd command is not correct, you need to at least sync subsequently, otherwise it will not get completely written (see the wiki for the correct syntax).

mmcblk1 also looks like the wrong device, make sure to flash the correct device by verifying the "lsblk" output.

If booting only works without WiFi you likely have a drained battery. Would recommend to join the community chat for further debugging.