Open ww898 opened 9 months ago
You might try the u-boot command efidebug bootmgr
I don't think it would work, but there is an EFI System Partition so... something might happen.
$ sfdisk -l -J ubuntu-23.10-preinstalled-server-riscv64+visionfive2.img
{
"partitiontable": {
"label": "gpt",
"id": "929FFB77-0985-440B-8E6C-BBB8269ABC09",
"device": "ubuntu-23.10-preinstalled-server-riscv64+visionfive2.img",
"unit": "sectors",
"firstlba": 34,
"lastlba": 9437150,
"sectorsize": 512,
"partitions": [
{
"node": "ubuntu-23.10-preinstalled-server-riscv64+visionfive2.img1",
"start": 253952,
"size": 9183199,
"type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
"uuid": "7B68C7C2-8B08-4D31-AF6D-8F13127433D0",
"attrs": "LegacyBIOSBootable"
},{
"node": "ubuntu-23.10-preinstalled-server-riscv64+visionfive2.img2",
"start": 8192,
"size": 32768,
"type": "7A097280-70D2-44BC-886C-FF5FFBB7B098",
"uuid": "426463FE-B76E-44F4-9140-495535FFB516",
"name": "loader2"
},{
"node": "ubuntu-23.10-preinstalled-server-riscv64+visionfive2.img12",
"start": 40960,
"size": 8192,
"type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4",
"uuid": "E218E23D-26F3-4924-9CCF-696D9C61118C",
"name": "CIDATA"
},{
"node": "ubuntu-23.10-preinstalled-server-riscv64+visionfive2.img13",
"start": 4096,
"size": 4096,
"type": "2E54B353-1271-4842-806F-E436D6AF6985",
"uuid": "960D1817-69C8-4CCC-9CAD-5812D7531FE7",
"name": "loader1"
},{
"node": "ubuntu-23.10-preinstalled-server-riscv64+visionfive2.img15",
"start": 49152,
"size": 204800,
"type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
"uuid": "BCE19F78-2A2E-430D-8BE9-295842194994",
"name": "ESP"
}
]
}
}
I ran Ubuntu on another StarFive VisionFive 2 board. The only problem was with u-boot (see https://wiki.ubuntu.com/RISC-V/StarFive%20VisionFive%202):
Vendor U-Boot releases are available at https://github.com/starfive-tech/VisionFive2/releases/. Or you can build U-Boot from the upstream source as described in the online documentation.
As both for with some vendor U-Boot releases as well as with the upstream U-Boot v2023.10 we found some issues we have prebuilt a binary package u-boot-starfive available in ppa:ubuntu-risc-v-team/release.
Ubuntu 23.10 is better than Debian because it has the new versions of libc/libstdc++.
Hi there, Is there manual to install Ubuntu 23.10 (see https://ubuntu.com/download/risc-v) on Milk-V? I tried "StarFive VisionFive 2" image (
ubuntu-23.10-preinstalled-server-riscv64+visionfive2.img
) and the boot process failed. Can anybody help me with it?