Import U-Boot v2026.07 (unmodified upstream source, base for rtwo patches)

This commit is contained in:
2026-09-16 23:15:56 -03:00
commit 391981275c
38022 changed files with 8370285 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0+
#
# Sample script to build a disk image suitable for use with coreboot. The image
# includes a kernel and initrd.
#
# YOU WILL NEED to modify this for your needs, e.g. select a kernel.
#
# Run this with:
# qemu-system-i386 -bios coreboot.rom -drive file=disk.img,if=virtio
qemu-img create -f raw disk.img 120M
mkfs.ext2 -F disk.img
sudo mkdir -p /mnt/rootfs
sudo mount -o loop disk.img /mnt/rootfs
sudo mkdir -p /mnt/rootfs/boot
sudo cp /boot/vmlinuz /mnt/rootfs/boot/.
sudo cp /boot/initrd.img /mnt/rootfs/boot/.
sudo umount /mnt/rootfs