Notes about VisionFive 2 U-Boot
fun with uboot partitioning.md
1Noticing something peculiar about the layouts. The various sgdisk commands disagree with each other!
2
3All images have u-boot SPL with GUID `2E54B353-1271-4842-806F-E436D6AF6985`. From then on, they differ:
4
5## Arch Linux
6
7This is taken from the cwt build script:
8
9* U-Boot is: `5B193300-FC78-40CD-8002-E86C45580B47` (?)
10
11* EFI is: `C12A7328-F81F-11D2-BA4B-00A0C93EC93B` (EFI System Partition)
12
13* The data partition is: `0FC63DAF-8483-4772-8E79-3D69D8477DE4` (Linux partition)
14
15## Gentoo Wiki
16
17The wiki uses:
18
19* U-Boot: `BC13C2FF-59E6-4262-A352-B275FD6F7172` (XBOOTLDR)
20
21* EFI/Kernel: `EBD0A0A2-B9E5-4433-87C0-68B6B72699C7` (Basic data partition)
22
23* Root FS: `0FC63DAF-8483-4772-8E79-3D69D8477DE4`
24
25Unrelated but there's no EFI partition marked here which may be why it doesn't boot by itself and has to be coerced with serial commands
26
27## Debian U-Boot StarFive documentation
28
29Layout is a bit different as there's no EFI:
30
31* U-Boot is: `BC13C2FF-59E6-4262-A352-B275FD6F7172` (XBOOTLDR)
32
33* "System": `EBD0A0A2-B9E5-4433-87C0-68B6B72699C7` (Basic data partition)
34
35
36
37It has optional BTRFS support, poking at config files suggests its not enabled for the Debian build which sucks. However my conversion from ext4 to btrfs on Ubuntu server worked out so maybe that version supports BTRFS? Update Ubuntu also suggests no but it works anyway lol
38
398/15 update: Ubuntu works with Btrfs because it uses an ESP
40
41## LAYOUT WE'RE GOING WITH
42
43* U-Boot SPL: `2E54B353-1271-4842-806F-E436D6AF6985`
44
45* U-Boot: `BC13C2FF-59E6-4262-A352-B275FD6F7172`
46
47* EFI System Partition: `C12A7328-F81F-11D2-BA4B-00A0C93EC93B` (/boot/efi)
48
49* Actual FS: `0FC63DAF-8483-4772-8E79-3D69D8477DE4`