Bug 1936709

Summary: 3GB pinephone doesn't boot
Product: [Fedora] Fedora Reporter: Kevin Fenzi <kevin>
Component: uboot-toolsAssignee: Peter Robinson <pbrobinson>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dan, dennis, nrevo, ole.d, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: uboot-tools-2021.04-0.5.rc3.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-15 22:54:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kevin Fenzi 2021-03-09 00:19:30 UTC
Trying to boot a 3GB pinephone fails. 

ON serial: 

U-Boot SPL 2021.04-rc2 (Feb 16 2021 - 00:00:00 +0000)
DRAM: 4096 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.4(release):
NOTICE:  BL31: Built : 20:42:48, Nov 17 2020
NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE:  BL31: Found U-Boot DTB at 0x408bfa8, model: Pine64 PinePhone (1.2)
NOTICE:  PSCI: System suspend is unavailable


U-Boot 2021.04-rc2 (Feb 16 2021 - 00:00:00 +0000) Allwinner Technology

CPU:   Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM:  3 GiB

and then it hangs. :( 

I think we need: 

https://gitlab.com/pine64-org/u-boot/-/commit/3a91c39966b6e5a63bfc5d11c765ad856a6f5f50.patch

Happy to test scratch builds or whatever. 

There is also:
https://gitlab.com/pine64-org/u-boot/-/commit/b2f2ff6913788437dddf64fa9bcef875e260ec1e
for wifi, but not sure the driver is upstream yet.

Comment 1 Peter Robinson 2021-03-09 00:41:54 UTC
> https://gitlab.com/pine64-org/u-boot/-/commit/
> 3a91c39966b6e5a63bfc5d11c765ad856a6f5f50.patch

There's an upstream discussion ongoing about that with a slightly tweaked patch set I was going to pull in shortly, just waiting to see where some of the discussion goes:
https://lists.denx.de/pipermail/u-boot/2021-February/442396.html

Was planning on pulling that in for F-34 anyway, plus likely a few other bits for u-boot.

> Happy to test scratch builds or whatever. 
> 
> There is also:
> https://gitlab.com/pine64-org/u-boot/-/commit/
> b2f2ff6913788437dddf64fa9bcef875e260ec1e
> for wifi, but not sure the driver is upstream yet.

That's actually already a version of that upstream but there is no matching driver as yet (also unrelated to u-boot ;-)

Comment 2 Kevin Fenzi 2021-03-09 02:29:26 UTC
Cool. Feel free to keep this to track it, or close if it's being tracked elsewhere, just wanted to make sure it was known. :) 

Thanks!