Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pinephoneA64: investigate random(?) boot failures #306

Open
samueldr opened this issue Apr 5, 2024 · 0 comments
Open

pinephoneA64: investigate random(?) boot failures #306

samueldr opened this issue Apr 5, 2024 · 0 comments
Labels
0. priority: normal 1. family: allwinner 4. type: bug Something isn't working 9. status: needs information When the issue requires more information to be resolved. * help wanted Extra attention is needed
Milestone

Comments

@samueldr
Copy link
Contributor

samueldr commented Apr 5, 2024

Mobian Testing.
I installed it with the installer for Mobian 12.0 to the internal storage (eMMC) with encryption, and then updated to Mobian Testing.
If i remember correctly, that issue also happened with the pre-installed Manjaro, but that was a long time ago.

My PinePhone is the version with 3GB of RAM and 32GB of eMMC-data-storage.


Logs:

Boot-failure

Tow-Boot SPL 2023.07
DRAM: 3072 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.9(release):
NOTICE:  BL31: Built : 00:00:00, Jan  1 1980
NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE:  BL31: Found U-Boot DTB at 0x20a19d8, model: Pine64 PinePhone (1.2)


Tow-Boot 2023.07 007-rc3-CI [variant: mmcboot]

CPU:   Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM:  3 GiB
Core:  75 devices, 21 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20ca0
MMC:   mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Please press [ESCAPE] or [CTRL+C] to enter the boot menu.
off
off
Adding partition for mmc@1c11000.blk:1 failed
switch to partitions #0, ERROR
MMC: no card present
No ethernet found.
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
Retrieving file: pxelinux.cfg/000000
No ethernet found.
Retrieving file: pxelinux.cfg/00000
No ethernet found.
Retrieving file: pxelinux.cfg/0000
No ethernet found.
Retrieving file: pxelinux.cfg/000
No ethernet found.
Retrieving file: pxelinux.cfg/00
No ethernet found.
Retrieving file: pxelinux.cfg/0
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-sunxi-sunxi
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm-sunxi
No ethernet found.
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.

ERROR: Could not boot anything from distro_bootcmd.

poweroff ...

Booting normally

Tow-Boot SPL 2023.07
DRAM: 3072 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.9(release):
NOTICE:  BL31: Built : 00:00:00, Jan  1 1980
NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE:  BL31: Found U-Boot DTB at 0x20a19d8, model: Pine64 PinePhone (1.2)


Tow-Boot 2023.07 007-rc3-CI [variant: mmcboot]

CPU:   Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM:  3 GiB
Core:  75 devices, 21 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20ca0
MMC:   mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Please press [ESCAPE] or [CTRL+C] to enter the boot menu.
off
off
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
U-Boot menu
1:	Mobian GNU/Linux 6.6-sunxi64
2:	Mobian GNU/Linux 6.1-sunxi64
Enter choice: 1:	Mobian GNU/Linux 6.6-sunxi64
Retrieving file: /vmlinuz-6.6-sunxi64
Retrieving file: /initrd.img-6.6-sunxi64
append: root=/dev/mapper/calamares_crypt consoleblank=0 loglevel=7 ro quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=0
Retrieving file: /dtb-6.6-sunxi64/allwinner/sun50i-a64-pinephone-1.2.dtb
   Uncompressing Kernel Image
Moving Image from 0x40080000 to 0x40200000, end=41830000
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
   Loading Ramdisk to 44ac2000, end 49fff190 ... OK
   Loading Device Tree to 0000000044ab1000, end 0000000044ac1169 ... OK
Working FDT set to 44ab1000

Starting kernel ...

[    9.549177] lima 1c40000.gpu: error -ENODEV: _opp_set_regulators: no regulator (mali) found
[   10.030745] panel-sitronix-st7703 1ca0000.dsi.0: mipi_dsi_attach failed (-517). Is host ready?
[   10.675037] panel-sitronix-st7703 1ca0000.dsi.0: mipi_dsi_attach failed (-517). Is host ready?
[   10.723078] panel-sitronix-st7703 1ca0000.dsi.0: mipi_dsi_attach failed (-517). Is host ready?
[   10.758856] panel-sitronix-st7703 1ca0000.dsi.0: mipi_dsi_attach failed (-517). Is host ready?
[   10.810237] panel-sitronix-st7703 1ca0000.dsi.0: mipi_dsi_attach failed (-517). Is host ready?
[   10.820812] panel-sitronix-st7703 1ca0000.dsi.0: mipi_dsi_attach failed (-517). Is host ready?
[   10.831582] panel-sitronix-st7703 1ca0000.dsi.0: mipi_dsi_attach failed (-517). Is host ready?
[   10.920467] pinephone-keyboard 3-0015: Failed to read device ID: -6
[   10.985156] panel-sitronix-st7703 1ca0000.dsi.0: mipi_dsi_attach failed (-517). Is host ready?

Originally posted by @MoonlightWave-12 in #281 (comment)

See also: #281 (comment)

@samueldr samueldr added this to the 20YY.MM-008 milestone Apr 18, 2024
@samueldr samueldr added 4. type: bug Something isn't working * help wanted Extra attention is needed 9. status: needs information When the issue requires more information to be resolved. 1. family: allwinner 0. priority: normal labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. priority: normal 1. family: allwinner 4. type: bug Something isn't working 9. status: needs information When the issue requires more information to be resolved. * help wanted Extra attention is needed
Development

No branches or pull requests

1 participant