PINE64
Unable to Boot - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: General Discussion of PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=178)
+--- Thread: Unable to Boot (/showthread.php?tid=15896)



Unable to Boot - codefossa - 01-29-2022

I'm using Manjaro Phosh linked from here: https://wiki.pine64.org/wiki/PinePhone_Pro_Software_Releases#Manjaro_ARM

It was running fine, but this morning I ran an update and now cannot boot.  I did receive an error with initcpios, and uboot was updated as well.  I'll paste the update output below.

When I boot, I get a red light then it turns yellow(?).  If I put my hand near it, I see red, yellow, and green light.  Nothing displays on the screen, and I cannot seem to boot into either the system or SD card.

Code:
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (11) alsa-card-profiles-1:0.3.44-1  gst-plugin-pipewire-1:0.3.44-1  libpamac-11.2.0-5  linux-pinephonepro-5.16.3-1  mesa-21.3.5-1.1  phoc-0.12.0-2
              phosh-0.15.0+13+g1ad304a-1  pipewire-1:0.3.44-1  pipewire-alsa-1:0.3.44-1  pipewire-pulse-1:0.3.44-1  uboot-pinephonepro-3:2021.07-1

Total Download Size:    33.17 MiB
Total Installed Size:  114.54 MiB
Net Upgrade Size:       -0.14 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
libpamac-11.2.0-5-aarch64                                         846.0 KiB   583 KiB/s 00:01 [#######################################################] 100%
phosh-0.15.0+13+g1ad304a-1-aarch64                                577.8 KiB   362 KiB/s 00:02 [#######################################################] 100%
pipewire-1:0.3.44-1-aarch64                                      1336.1 KiB   689 KiB/s 00:02 [#######################################################] 100%
phoc-0.12.0-2-aarch64                                             484.1 KiB   846 KiB/s 00:01 [#######################################################] 100%
uboot-pinephonepro-3:2021.07-1-aarch64                            397.9 KiB   524 KiB/s 00:01 [#######################################################] 100%
pipewire-pulse-1:0.3.44-1-aarch64                                 136.8 KiB   233 KiB/s 00:01 [#######################################################] 100%
gst-plugin-pipewire-1:0.3.44-1-aarch64                             40.1 KiB   124 KiB/s 00:00 [#######################################################] 100%
alsa-card-profiles-1:0.3.44-1-aarch64                              26.2 KiB  81.8 KiB/s 00:00 [#######################################################] 100%
pipewire-alsa-1:0.3.44-1-aarch64                                    4.5 KiB  14.9 KiB/s 00:00 [#######################################################] 100%
mesa-21.3.5-1.1-aarch64                                            15.5 MiB  2.52 MiB/s 00:06 [#######################################################] 100%
linux-pinephonepro-5.16.3-1-aarch64                                13.9 MiB  2.03 MiB/s 00:07 [#######################################################] 100%
Total (11/11)                                                      33.2 MiB  4.76 MiB/s 00:07 [#######################################################] 100%
(11/11) checking keys in keyring                                                               [#######################################################] 100%
(11/11) checking package integrity                                                             [#######################################################] 100%
(11/11) loading package files                                                                  [#######################################################] 100%
(11/11) checking for file conflicts                                                            [#######################################################] 100%
(11/11) checking available disk space                                                          [#######################################################] 100%
:: Processing package changes...
( 1/11) upgrading alsa-card-profiles                                                           [#######################################################] 100%
( 2/11) upgrading pipewire                                                                     [#######################################################] 100%
New optional dependencies for pipewire
    pipewire-x11-bell: X11 bell
    realtime-privileges: realtime privileges with rt module
    rtkit: realtime privileges with rtkit module [installed]
( 3/11) upgrading mesa                                                                         [#######################################################] 100%
( 4/11) upgrading gst-plugin-pipewire                                                          [#######################################################] 100%
( 5/11) upgrading libpamac                                                                     [#######################################################] 100%
( 6/11) upgrading linux-pinephonepro                                                           [#######################################################] 100%
( 7/11) upgrading pipewire-alsa                                                                [#######################################################] 100%
( 8/11) upgrading pipewire-pulse                                                               [#######################################################] 100%
( 9/11) upgrading phoc                                                                         [#######################################################] 100%
(10/11) upgrading phosh                                                                        [#######################################################] 100%
(11/11) upgrading uboot-pinephonepro                                                           [#######################################################] 100%
Re-generating U-Boot boot script /boot/boot.scr... done.
Flashing U-Boot components... done.
Required U-Boot components flashed to /dev/mmcblk2 successfully.
Please reboot your phone for the changes to take effect.
:: Running post-transaction hooks...
( 1/10) Reloading system manager configuration...
( 2/10) Reloading device manager configuration...
( 3/10) Arming ConditionNeedsUpdate...
( 4/10) Updating the MIME type database...
( 5/10) Updating module dependencies...
( 6/10) Updating linux-pinephonepro module dependencies...
( 7/10) Updating linux-pinephonepro initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-pinephonepro.preset: 'default'
  -> -k 5.16.3-1-MANJARO-ARM -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.16.3-1-MANJARO-ARM
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [bootsplash-manjaro]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> ERROR: module not found: `panel_edp'
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
( 8/10) Reloading system bus configuration...
( 9/10) Compiling GSettings XML schema files...
(10/10) Updating the desktop file MIME type cache...



RE: Unable to Boot - Barugon - 01-31-2022

(01-29-2022, 09:36 AM)codefossa Wrote: I'm using Manjaro Phosh linked from here: https://wiki.pine64.org/wiki/PinePhone_Pro_Software_Releases#Manjaro_ARM

It was running fine, but this morning I ran an update and now cannot boot.  I did receive an error with initcpios, and uboot was updated as well.  I'll paste the update output below.

When I boot, I get a red light then it turns yellow(?).  If I put my hand near it, I see red, yellow, and green light.  Nothing displays on the screen, and I cannot seem to boot into either the system or SD card.

Code:
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (11) alsa-card-profiles-1:0.3.44-1  gst-plugin-pipewire-1:0.3.44-1  libpamac-11.2.0-5  linux-pinephonepro-5.16.3-1  mesa-21.3.5-1.1  phoc-0.12.0-2
              phosh-0.15.0+13+g1ad304a-1  pipewire-1:0.3.44-1  pipewire-alsa-1:0.3.44-1  pipewire-pulse-1:0.3.44-1  uboot-pinephonepro-3:2021.07-1

Total Download Size:    33.17 MiB
Total Installed Size:  114.54 MiB
Net Upgrade Size:       -0.14 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
libpamac-11.2.0-5-aarch64                                         846.0 KiB   583 KiB/s 00:01 [#######################################################] 100%
phosh-0.15.0+13+g1ad304a-1-aarch64                                577.8 KiB   362 KiB/s 00:02 [#######################################################] 100%
pipewire-1:0.3.44-1-aarch64                                      1336.1 KiB   689 KiB/s 00:02 [#######################################################] 100%
phoc-0.12.0-2-aarch64                                             484.1 KiB   846 KiB/s 00:01 [#######################################################] 100%
uboot-pinephonepro-3:2021.07-1-aarch64                            397.9 KiB   524 KiB/s 00:01 [#######################################################] 100%
pipewire-pulse-1:0.3.44-1-aarch64                                 136.8 KiB   233 KiB/s 00:01 [#######################################################] 100%
gst-plugin-pipewire-1:0.3.44-1-aarch64                             40.1 KiB   124 KiB/s 00:00 [#######################################################] 100%
alsa-card-profiles-1:0.3.44-1-aarch64                              26.2 KiB  81.8 KiB/s 00:00 [#######################################################] 100%
pipewire-alsa-1:0.3.44-1-aarch64                                    4.5 KiB  14.9 KiB/s 00:00 [#######################################################] 100%
mesa-21.3.5-1.1-aarch64                                            15.5 MiB  2.52 MiB/s 00:06 [#######################################################] 100%
linux-pinephonepro-5.16.3-1-aarch64                                13.9 MiB  2.03 MiB/s 00:07 [#######################################################] 100%
Total (11/11)                                                      33.2 MiB  4.76 MiB/s 00:07 [#######################################################] 100%
(11/11) checking keys in keyring                                                               [#######################################################] 100%
(11/11) checking package integrity                                                             [#######################################################] 100%
(11/11) loading package files                                                                  [#######################################################] 100%
(11/11) checking for file conflicts                                                            [#######################################################] 100%
(11/11) checking available disk space                                                          [#######################################################] 100%
:: Processing package changes...
( 1/11) upgrading alsa-card-profiles                                                           [#######################################################] 100%
( 2/11) upgrading pipewire                                                                     [#######################################################] 100%
New optional dependencies for pipewire
    pipewire-x11-bell: X11 bell
    realtime-privileges: realtime privileges with rt module
    rtkit: realtime privileges with rtkit module [installed]
( 3/11) upgrading mesa                                                                         [#######################################################] 100%
( 4/11) upgrading gst-plugin-pipewire                                                          [#######################################################] 100%
( 5/11) upgrading libpamac                                                                     [#######################################################] 100%
( 6/11) upgrading linux-pinephonepro                                                           [#######################################################] 100%
( 7/11) upgrading pipewire-alsa                                                                [#######################################################] 100%
( 8/11) upgrading pipewire-pulse                                                               [#######################################################] 100%
( 9/11) upgrading phoc                                                                         [#######################################################] 100%
(10/11) upgrading phosh                                                                        [#######################################################] 100%
(11/11) upgrading uboot-pinephonepro                                                           [#######################################################] 100%
Re-generating U-Boot boot script /boot/boot.scr... done.
Flashing U-Boot components... done.
Required U-Boot components flashed to /dev/mmcblk2 successfully.
Please reboot your phone for the changes to take effect.
:: Running post-transaction hooks...
( 1/10) Reloading system manager configuration...
( 2/10) Reloading device manager configuration...
( 3/10) Arming ConditionNeedsUpdate...
( 4/10) Updating the MIME type database...
( 5/10) Updating module dependencies...
( 6/10) Updating linux-pinephonepro module dependencies...
( 7/10) Updating linux-pinephonepro initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-pinephonepro.preset: 'default'
  -> -k 5.16.3-1-MANJARO-ARM -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.16.3-1-MANJARO-ARM
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [bootsplash-manjaro]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> ERROR: module not found: `panel_edp'
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
( 8/10) Reloading system bus configuration...
( 9/10) Compiling GSettings XML schema files...
(10/10) Updating the desktop file MIME type cache...

There are apparently two contacts on the motherboard (I believe they're labeled DIS eMMC) that you have to short in order to bypass eMMC and boot from the SD card.


RE: Unable to Boot - codefossa - 01-31-2022

(01-31-2022, 11:46 AM)Barugon Wrote: There are apparently two contacts on the motherboard (I believe they're labeled DIS eMMC) that you have to short in order to bypass eMMC and boot from the SD card.

So I had some people on the Pinephone chat try to help me out a bit with this. There is a RE button on the explorer edition that can do it instead. I was getting into mask ROM mode which I was informed means that it's unable to boot from the SD card I have inserted as well. I tried multiple SD cards, both of which worked before this happened and used them both for OS images, so they worked in my PPP. The result didn't change with different SD cards, and I'm still stuck unable to boot from either internal or inserted SD.


RE: Unable to Boot - codefossa - 01-31-2022

Forgot to mention, but I also tried charging the phone for a while as some thought it may have been a low battery. I used a 5v/3a charger, and when I disconnect for a couple minutes and connect back to the PC while in mask ROM mode, it shows right back up indicating my battery is working.


RE: Unable to Boot - Conjada - 01-31-2022

https://wiki.pine64.org/wiki/PinePhone_Pro#Boot_order

Hope this helps


RE: Unable to Boot - Ulfnic - 01-31-2022

(01-31-2022, 01:19 PM)codefossa Wrote:
(01-31-2022, 11:46 AM)Barugon Wrote: There are apparently two contacts on the motherboard (I believe they're labeled DIS eMMC) that you have to short in order to bypass eMMC and boot from the SD card.

So I had some people on the Pinephone chat try to help me out a bit with this.  There is a RE button on the explorer edition that can do it instead.  I was getting into mask ROM mode which I was informed means that it's unable to boot from the SD card I have inserted as well.  I tried multiple SD cards, both of which worked before this happened and used them both for OS images, so they worked in my PPP.  The result didn't change with different SD cards, and I'm still stuck unable to boot from either internal or inserted SD.

Barugon: I saw a post with a picture of those contacts, they're not on my Explorer Edition motherboard though I do have the Re switch.

codefossa: I encountered the same issue of not being able to load to sdcard because of a bad eMMC install. I wrote a guide here: https://forum.pine64.org/showthread.php?tid=15921 but to summarize:

1. Remove USB-C power and the battery.
2. Hold down the power button for 10 seconds, release for 3 seconds, hold down the power for 10 seconds, release the power button.
3. Re-insert the battery.
4. Hold reset (pinhole top left named Re) while inserting USB-C power.
5. Release reset after 4 seconds.

Please let me know if it works for you.


RE: Unable to Boot - codefossa - 02-01-2022

(01-31-2022, 07:44 PM)Ulfnic Wrote: codefossa: I encountered the same issue of not being able to load to sdcard because of a bad eMMC install. I wrote a guide here: https://forum.pine64.org/showthread.php?tid=15921 but to summarize:

1. Remove USB-C power and the battery.
2. Hold down the power button for 10 seconds, release for 3 seconds, hold down the power for 10 seconds, release the power button.
3. Re-insert the battery.
4. Hold reset (pinhole top left named Re) while inserting USB-C power.
5. Release reset after 4 seconds.

Please let me know if it works for you.

Thanks for the instructions, but sadly after following these I am still instantly going into mask ROM mode.