~alexghiti/livecd-rootfs:int/alex/riscv_no_beaglev_container_jammy

Last commit made on 2022-07-13
Get this branch:
git clone -b int/alex/riscv_no_beaglev_container_jammy https://git.launchpad.net/~alexghiti/livecd-rootfs
Only Alexandre Ghiti can upload to this branch. If you are Alexandre Ghiti please log in for upload directions.

Branch merges

Branch information

Name:
int/alex/riscv_no_beaglev_container_jammy
Repository:
lp:~alexghiti/livecd-rootfs

Recent commits

7e3e328... by Alexandre Ghiti

d/changelog: Add FK_FORCE_CONTAINER entry

Signed-off-by: Alexandre Ghiti <email address hidden>

bbcf3c5... by Alexandre Ghiti

riscv: Use FK_FORCE_CONTAINER to force flash-kernel to run in a container

As explained in LP: #1980929, we need this in order to build RISC-V
images.

Signed-off-by: Alexandre Ghiti <email address hidden>

6f9d5b7... by Alexandre Ghiti

disk-image-uefi.binary: Fix wrong parenthesis

Signed-off-by: Alexandre Ghiti <email address hidden>

9358672... by Alexandre Ghiti

d/changelog: Add entry for the VisionFive and Nezha support

81614c6... by Alexandre Ghiti

riscv: Bump image size to 4.5G

3.5G is not enough for riscv64 preinstalled as the creation of the initrd fails
with the following error:

Creating config file /etc/default/grub with new version
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-1011-generic
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25
update-initramfs: failed for /boot/initrd.img-5.15.0-1011-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1

Signed-off-by: Alexandre Ghiti <email address hidden>

b9873fb... by Alexandre Ghiti

riscv: Use UEFI bootflow for the Nezha Board

Signed-off-by: Alexandre Ghiti <email address hidden>

ce9f5ca... by Alexandre Ghiti

riscv: Add support for StarFive VisionFive

The image created uses a UEFI bootflow, so we install grub for this board
only. We also need flash-kernel to install the dtb where grub can find
it.

This image is specifically architectured so that it can be installed on
a "factory" board, meaning using the u-boot firmware which was
originally implemented for Fedora, so we need the p3 partition that
embeds a uEnv.txt file to tell u-boot what/where to load next stage.

Signed-off-by: Alexandre Ghiti <email address hidden>

80c5ccd... by Alexandre Ghiti

riscv: Fix nezha hardcoded password attempt

Signed-off-by: Alexandre Ghiti <email address hidden>

1527ac2... by Alexandre Ghiti

RISC-V: enable building for Nezha board

Signed-off-by: Heinrich Schuchardt <email address hidden>

312d922... by Heinrich Schuchardt

riscv: define partitioning scheme for Nezha board

Define the image layout for the Nezha board.

The U-Boot SPL based boot0 may be installed starting in sector 16 or 256.
As sector 16 is incompatible with GPT partitioning use sector 256.

The primary U-Boot image is expected to start at sector 32800 and its
backup in sector 24576.

Cf. https://linux-sunxi.org/index.php?title=Allwinner_Nezha&oldid=24469

Signed-off-by: Heinrich Schuchardt <email address hidden>