Go to file
Dustin 5bce7dfab3 build-rootfs: Copy GCC libs to target
Software written in C++ typically depends on `libstdc++.so.6` and
`libgcc_s.so.1`.  These library dependencies are implicit, as Gentoo
expects GCC to be installed as part of the _@system_ set.  Since that
set does not get installed in the target root, anything that depends on
those libraries will not function.

Rather than install _sys-devel/gcc_ in the target environment to get
those libraries, we can copy ones built by `crossdev` manually.  This
way, we do not end up with a full C compiler and development toolchain
in the target environment, while still making the libraries available
for applications that need them.
2024-12-30 13:15:00 -06:00
overlay system-update: Reload systemd before beginning 2024-12-13 19:32:49 -06:00
portage prepare: Ignore ACCEPT_KEYWORDS in crossdev.conf 2024-12-13 19:34:29 -06:00
repos selinux: Allow passing tty devices to containers 2023-04-16 20:07:40 -05:00
.gitignore build: Implement CONFIGDIR setting 2023-03-15 21:12:04 -05:00
.gitmodules wip: build u-boot with Portage 2023-03-12 12:47:36 -05:00
Makefile make: rootfs: Support customize.sh 2024-12-13 19:26:05 -06:00
README.md Initial commit 2023-02-13 23:24:36 -06:00
build-grub.sh build-grub: Support setting rootflags from config 2024-12-13 18:58:08 -06:00
build-kernel.sh build-kernel: Set USE=symlink as env var 2024-12-05 22:40:24 -06:00
build-rootfs.sh build-rootfs: Copy GCC libs to target 2024-12-30 13:15:00 -06:00
build-squashfs.sh build-squashfs: Allow defining pseudo files 2023-03-30 09:03:45 -05:00
build-update.sh build: Implement CONFIGDIR setting 2023-03-15 21:12:04 -05:00
build.packages build: Install GRUB, but not RPi firmware 2024-12-05 22:45:41 -06:00
build.sh build{,-rootfs}: Do not force TTY 2024-12-09 12:11:53 -06:00
busybox.symlinks busybox: Enable find applet 2024-12-13 19:15:33 -06:00
flash.sh Add flash.sh script 2023-03-30 09:31:12 -05:00
genimage.cfg genimage: Fix partition alignment 2023-03-30 09:31:12 -05:00
genimage.sh build: Implement CONFIGDIR setting 2023-03-15 21:12:04 -05:00
grub.cfg Initial commit 2023-02-13 23:24:36 -06:00
install-update.sh install-update: Do not use find -printf 2024-12-13 19:17:21 -06:00
install.packages install.packages: Add kbd 2024-12-13 19:30:31 -06:00
ocivm.sh ocivm.sh: Allow projects to specify build VM name 2023-04-16 20:09:05 -05:00
podman-build.sh Add start-container.sh script 2023-02-21 09:58:18 -06:00
post-build.sh Move post-build script to configdir 2023-03-21 19:40:51 -05:00
prepare.sh prepare: disable preserve-libs for glibc 2024-12-29 15:02:25 -06:00
rebuild-pkg.sh portage: Provide a base Portage configuration 2024-12-08 16:00:57 -06:00
semanage.mods Support semanage.mods 2023-03-30 09:23:44 -05:00
semanage.sh Add semanage.sh script 2023-03-30 11:02:44 -05:00
setup-local-repo.sh portage: Provide a base Portage configuration 2024-12-08 16:00:57 -06:00
squashfs.exclude squashfs.exclude: Add /usr/src 2024-12-13 19:32:01 -06:00
start-container.sh Use host tools from build container 2024-12-05 17:56:34 -06:00
vm-build.sh vm-build: Add script to build in a microvm 2023-03-08 11:12:00 -06:00

README.md

Errors

SWIOTLB Buffer

OF: reserved mem: failed to allocate memory for node … Can not allocate SWIOTLB buffer earlier and can't now provide you with the DMA bounce buffer

Ensure start_x=1 is in config.txt and start_file/fixup_file are not specified.

U-Boot: Overwrite Reserved Memory

** Reading file would overwrite reserved memory **

Set CONFIG_LMB_MAX_REGIONS=16 in u-boot/.config