04-20-2024, 09:00 AM
So, I've learned a bit more on bauds and setserial baud_base and my conclusion about the locked in 1.5mb/s is likely wrong. For some reason the serial wasn't displaying on my pc even though I was receiving data. Little did I know about divisors and aliases and still not sure but it's working for the moment and I have the output for the latest kernel image. The text shows the boot process being stuck in a loop and since there is no indication of activity on the phone it looks shutdown but not. Here are the first two boot attempts since the initial is a little different the the subsequent:
U-Boot SPL 2023.07-rc6-sun50iw1 (Sep 24 2023 - 21:04:22 +0300)
DRAM: 3072 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.9(release):v2.9.0
NOTICE: BL31: Built : 21:03:41, Sep 24 2023
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x2093dd8, model: Pine64 PinePhone (1.2)
U-Boot 2023.07-rc6-sun50iw1 (Sep 24 2023 - 21:04:22 +0300) Allwinner Technology
CPU: Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM: 3 GiB
Core: 70 devices, 18 uclasses, devicetree: separate
WDT: Not starting watchdog@1c20ca0
MMC: mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1...
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2716 bytes read in 4 ms (663.1 KiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
148 bytes read in 3 ms (47.9 KiB/s)
53952 bytes read in 7 ms (7.3 MiB/s)
23429128 bytes read in 940 ms (23.8 MiB/s)
Working FDT set to 4fa00000
3821 bytes read in 5 ms (746.1 KiB/s)
Applying kernel provided DT fixup script (sun50i-a64-fixup.scr)
## Executing script at 45000000
6940813 bytes read in 291 ms (22.7 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=418d0000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 6940749 Bytes = 6.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
Loading Ramdisk to 49961000, end 49fff84d ... OK
Loading Device Tree to 00000000498eb000, end 0000000049960fff ... OK
Working FDT set to 498eb000
Starting kernel ...
[ 1.229944] scpi_protocol scpi: incorrect or no SCP firmware found
[ 24.060293] sun4i-drm display-engine: Couldn't bind all pipelines components
[ 71.775036] reboot: Restarting system
U-Boot SPL 2023.07-rc6-sun50iw1 (Sep 24 2023 - 21:04:22 +0300)
DRAM: 3072 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.9(release):v2.9.0
NOTICE: BL31: Built : 21:03:41, Sep 24 2023
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x2093dd8, model: Pine64 PinePhone (1.2)
U-Boot 2023.07-rc6-sun50iw1 (Sep 24 2023 - 21:04:22 +0300) Allwinner Technology
CPU: Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM: 3 GiB
Core: 70 devices, 18 uclasses, devicetree: separate
WDT: Not starting watchdog@1c20ca0
MMC: mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1...
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2716 bytes read in 4 ms (663.1 KiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
148 bytes read in 3 ms (47.9 KiB/s)
53952 bytes read in 8 ms (6.4 MiB/s)
23429128 bytes read in 941 ms (23.7 MiB/s)
Working FDT set to 4fa00000
3821 bytes read in 6 ms (621.1 KiB/s)
Applying kernel provided DT fixup script (sun50i-a64-fixup.scr)
## Executing script at 45000000
6940813 bytes read in 292 ms (22.7 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=418d0000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 6940749 Bytes = 6.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
Loading Ramdisk to 49961000, end 49fff84d ... OK
Loading Device Tree to 00000000498eb000, end 0000000049960fff ... OK
Working FDT set to 498eb000
Starting kernel ...
[ 1.229956] scpi_protocol scpi: incorrect or no SCP firmware found
[ 10.781967] i2c i2c-2: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 10.788581] stk3310 2-0048: register read failed: -110
[ 19.964300] sun4i-drm display-engine: Couldn't bind all pipelines components
[ 22.013946] i2c i2c-2: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 22.020617] stk3310 2-0048: register read failed: -110
[ 72.627576] reboot: Restarting system
U-Boot SPL 2023.07-rc6-sun50iw1 (Sep 24 2023 - 21:04:22 +0300)
DRAM: 3072 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.9(release):v2.9.0
NOTICE: BL31: Built : 21:03:41, Sep 24 2023
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x2093dd8, model: Pine64 PinePhone (1.2)
U-Boot 2023.07-rc6-sun50iw1 (Sep 24 2023 - 21:04:22 +0300) Allwinner Technology
CPU: Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM: 3 GiB
Core: 70 devices, 18 uclasses, devicetree: separate
WDT: Not starting watchdog@1c20ca0
MMC: mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1...
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2716 bytes read in 4 ms (663.1 KiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
148 bytes read in 3 ms (47.9 KiB/s)
53952 bytes read in 7 ms (7.3 MiB/s)
23429128 bytes read in 940 ms (23.8 MiB/s)
Working FDT set to 4fa00000
3821 bytes read in 5 ms (746.1 KiB/s)
Applying kernel provided DT fixup script (sun50i-a64-fixup.scr)
## Executing script at 45000000
6940813 bytes read in 291 ms (22.7 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=418d0000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 6940749 Bytes = 6.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
Loading Ramdisk to 49961000, end 49fff84d ... OK
Loading Device Tree to 00000000498eb000, end 0000000049960fff ... OK
Working FDT set to 498eb000
Starting kernel ...
[ 1.229944] scpi_protocol scpi: incorrect or no SCP firmware found
[ 24.060293] sun4i-drm display-engine: Couldn't bind all pipelines components
[ 71.775036] reboot: Restarting system
U-Boot SPL 2023.07-rc6-sun50iw1 (Sep 24 2023 - 21:04:22 +0300)
DRAM: 3072 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.9(release):v2.9.0
NOTICE: BL31: Built : 21:03:41, Sep 24 2023
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x2093dd8, model: Pine64 PinePhone (1.2)
U-Boot 2023.07-rc6-sun50iw1 (Sep 24 2023 - 21:04:22 +0300) Allwinner Technology
CPU: Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM: 3 GiB
Core: 70 devices, 18 uclasses, devicetree: separate
WDT: Not starting watchdog@1c20ca0
MMC: mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 0:1...
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Autoboot in 2 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2716 bytes read in 4 ms (663.1 KiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
148 bytes read in 3 ms (47.9 KiB/s)
53952 bytes read in 8 ms (6.4 MiB/s)
23429128 bytes read in 941 ms (23.7 MiB/s)
Working FDT set to 4fa00000
3821 bytes read in 6 ms (621.1 KiB/s)
Applying kernel provided DT fixup script (sun50i-a64-fixup.scr)
## Executing script at 45000000
6940813 bytes read in 292 ms (22.7 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=418d0000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 6940749 Bytes = 6.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
Loading Ramdisk to 49961000, end 49fff84d ... OK
Loading Device Tree to 00000000498eb000, end 0000000049960fff ... OK
Working FDT set to 498eb000
Starting kernel ...
[ 1.229956] scpi_protocol scpi: incorrect or no SCP firmware found
[ 10.781967] i2c i2c-2: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 10.788581] stk3310 2-0048: register read failed: -110
[ 19.964300] sun4i-drm display-engine: Couldn't bind all pipelines components
[ 22.013946] i2c i2c-2: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 22.020617] stk3310 2-0048: register read failed: -110
[ 72.627576] reboot: Restarting system