05-11-2021, 10:36 AM
Success. I compiled the fix/3gb-boot branch and it boots on 3GB and 2GB PinePhone. https://github.com/8bitgc/Jumpdrive/tree/master/test
I also broke the pin on my phone with the switch stuck closed, so that it won't boot with regular JumpDrive.
Two failed boots with normal JumpDrive then a successful boot with the modified JumpDrive.
My first attempt was using U-Boot 2020.04, the fix\3gb-boot branch uses U-Boot 2020.07.
I also broke the pin on my phone with the switch stuck closed, so that it won't boot with regular JumpDrive.
Code:
DRAM: 2048 MiB
Trying to boot from MMC1
MMC: no card present
spl: mmc init failed with error: -123
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
DRAM: 2048 MiB
Trying to boot from MMC1
MMC: no card present
spl: mmc init failed with error: -123
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.2():0.6-alpha
NOTICE: BL31: Built : 05:43:34, May 11 2021
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x4064a40, model: PinePhone
NOTICE: PSCI: System suspend is unavailable
U-Boot 2020.07 (May 11 2021 - 05:57:00 -1000)
DRAM: 2 GiB
MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000'
mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
starting USB...
No working controllers found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
653 bytes read in 3 ms (211.9 KiB/s)
## Executing script at 4fc00000
gpio: pin 114 (gpio 114) value is 1
8940791 bytes read in 397 ms (21.5 MiB/s)
Uncompressed size: 19458056 = 0x128E808
35950 bytes read in 4 ms (8.6 MiB/s)
1119110 bytes read in 52 ms (20.5 MiB/s)
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
Loading Ramdisk to 49eee000, end 49fff386 ... OK
Loading Device Tree to 0000000049ee2000, end 0000000049eedc6d ... OK
Starting kernel ...
My first attempt was using U-Boot 2020.04, the fix\3gb-boot branch uses U-Boot 2020.07.