Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package/irqbalance: bump version to latest commit #30

Closed
wants to merge 44 commits into from

Conversation

mascheiber
Copy link

Update irqbalance to latest commit to include bugfixes not included in a release yet. (like this one)

automated build + check-package + legal-info.

Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@paral.in>
systemd builds correctly on older toolchains.

This is required to continue supporting Jetson TX2 on kernel 4.9.x.

Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Add option to avoid build failures on older kernels.

Signed-off-by: Christian Stewart <christian@aperture.us>
Update to latest 5.1.1.r38 from 4.2.2.

Dropped old patches and added several compat patches.

Signed-off-by: Christian Stewart <christian@aperture.us>

---

v1: CHANGES REQUESTED (pending)

https://patchwork.ozlabs.org/project/buildroot/patch/20220724234718.676572-1-christian@paral.in/
Android bootimg utilities: mkbootimg and unpackbootimg.

Signed-off-by: Christian Stewart <christian@paral.in>

---

v1: CHANGES REQUESTED (Pending)

https://patchwork.ozlabs.org/project/buildroot/patch/20220724235818.679881-1-christian@paral.in/
Some Linux kernels do not correctly generate the include/generated path when
running "make all" without first running "make prepare"

Since running "make prepare" is always valid on any Linux kernel, take the extra
step to explicitly run "make prepare" before "make all."

Signed-off-by: Christian Stewart <christian@aperture.us>
Some kernels have device tree overlay files:

make arch/arm64/boot/dts/amlogic/overlays/odroidn2/i2c0.dtbo

Add an option to add these dtbo files to the LINUX_DTBS list.

BR2_LINUX_KERNEL_INTREE_DTS_OVERLAY_NAME="amlogic/overlays/odroidn2/i2c0"

Signed-off-by: Christian Stewart <christian@aperture.us>
Switch to the skiffos fork which has additional features:

 - Try to use findmnt to lookup mountpoint information.
 - If findmnt fails, fallback to the older approach.
 - Add no-resize-partition and ignore-resize-partition flags.

Signed-off-by: Christian Stewart <christian@aperture.us>
For a full changelog, please see the repository:

https://github.com/raspberrypi/firmware

Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Add a symlink to the expected location for vpdma-1ba in the root of the firmware directory.

Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
This series is currently marked "stable" on the gentoo repo.

Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@paral.in>
Lack of an RNG source can block boot-up on headless systems with few hardware
entropy sources. This patch allows rngd to start earlier than the current
"basic.target" when systemd is used. Removing the dependency on "basic.target"
and by extension, "sockets.target" will allow rngd to start before, for example,
docker.sock - which can take some time to become ready without entropy.

This is a cherry-pick of a peer project patch:

https://patchwork.openembedded.org/patch/163303/

Signed-off-by: Christian Stewart <christian@aperture.us>
rEFInd is a user-friendly EFI GUI for boot selection.

It can be used as an alternative to Grub with a user-friendly graphical and/or
text interface for selecting a boot option.

Enabling the BR2_TARGET_REFIND option builds rEFInd with gnu-efi, placing the
files intended for the EFI partition in images/efi-part.

The default refind.conf interactively displays a list of boot options on
startup, including detected Buildroot Linux kernel/initrd files.

https://www.rodsbooks.com/refind/

Signed-off-by: Christian Stewart <christian@aperture.us>

---

v1: CHANGES REQUESTED (some items remain TODO)

https://patchwork.ozlabs.org/project/buildroot/patch/20220904190940.200587-1-christian@paral.in/

v1 -> v2:

 - Add more information to commit message
 - Removed refind-install patch
 - Implemented simpler install steps in the .mk file instead
rEFInd is a user-friendly EFI GUI for boot selection.

It can be used as an alternative to Grub with a user-friendly graphical and/or
text interface for selecting a boot option.

Enabling the BR2_TARGET_REFIND option builds rEFInd with gnu-efi, placing the
files intended for the EFI partition in images/efi-part.

The default refind.conf interactively displays a list of boot options on
startup, including detected Buildroot Linux kernel/initrd files.

https://www.rodsbooks.com/refind/

Add a binary release variant.

Signed-off-by: Christian Stewart <christian@aperture.us>

---

note: in future refind and refind-bin might be merged.
Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Signed-off-by: Christian Stewart <christian@aperture.us>
Running "make host-go" in a clean Buildroot tree causes a build failure:

Building Go cmd/dist using /host/lib/go-1.19.10. (go1.19.10 linux/amd64)
go tool dist: cannot invoke C compiler ["/host/bin/arm-linux-gcc"]:
fork/exec /host/bin/arm-linux-gcc: no such file or directory

Go needs a system C compiler for use with cgo.
To set a C compiler, set CC=the-compiler.
To disable cgo, set CGO_ENABLED=0.

Despite the fact that we're compiling the Go compiler and not compiling anything
for the target system, the Go compiler make.bash still attempts to call the
target C compiler during the build process.

The dependency on toolchain is necessary only for host-go and not the other
host-go-bootstrap packages as we only pass the path to the target compiler to
the final host-go compiler package make.bash.

Fix the issue by adding toolchain to the host-go package dependencies.

Signed-off-by: Christian Stewart <christian@aperture.us>
All Go compiler versions > 1.4.x (old) are written in Go, and require a existing
compiled Go version to use to build from source.

https://golang.org/doc/install/source#bootstrapFromSource

The process for "bootstrapping" the Go compiler in Buildroot is:

1. Compile a C/C++ cross-compiler (gcc) as the host toolchain.
2. Build go-bootstrap-stage1 (which is Go 1.4.x and written in C)
3. Build go-bootstrap-stage2 (which is Go 1.19.x and written in Go)
3. Build go 1.20 (written in Go) using go-bootstrap-stage2.

go-bootstrap-stage1 does not work on 64-bit arm. The Go 1.4.x bootstrap compiler
is compatible with x86, x86_64, and arm (32 bit) only.

This patch adds a fallback to require a host Go compiler to build host-go when
BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE2_ARCH_SUPPORTS is not set.

Signed-off-by: Christian Stewart <christian@aperture.us>

---

changes prior to inclusion in this series:

 - thanks Thomas for the review & suggestions
 - added NEEDS_HOST_GO boolean
 - added dependency checks to support/dependencies/dependencies.sh
 - removed unnecessary changes to go-bootstrap package
 - add dependency on toolchain if Cgo is enabled
 - updates for go1.20
 - updates for go-bootstrap-stage{1,2}

changes from v1 -> v2:

 - remove whitespace fix in bootstrap stage2

changes from v2 -> v3:

 - rebase

Signed-off-by: Christian Stewart <christian@aperture.us>
@paralin
Copy link
Collaborator

paralin commented May 18, 2024

This has already been applied, thanks!

@paralin paralin closed this May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants