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

[Bug]: rpi4b build fails with BOOTFS_TYPE="fat" #7612

Open
1 of 2 tasks
MSzturc opened this issue Dec 24, 2024 · 6 comments
Open
1 of 2 tasks

[Bug]: rpi4b build fails with BOOTFS_TYPE="fat" #7612

MSzturc opened this issue Dec 24, 2024 · 6 comments
Labels
Bug Something isn't working as it should Good first issue Feel free to contribute :)

Comments

@MSzturc
Copy link

MSzturc commented Dec 24, 2024

What happened?

When building with BOOTFS_TYPE="fat" the rpi4b failed with the following error message:

[🐳|🌱] Populating /boot/firmware directory [ bcm2711 ]
[🐳|🔨] cp: cannot stat '/boot/vmlinuz-6.6.45-current-bcm2711': No such file or directory
[🐳|💥] Error 1 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211
run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211
chroot_sdcard() --> lib/functions/logging/runners.sh:122
post_family_tweaks__populate_boot_firmware_directory() --> config/sources/families/bcm2711.conf:184
post_family_tweaks() --> <extension_magic>:125
call_extension_method() --> lib/functions/general/extensions.sh:57
install_distribution_agnostic() --> lib/functions/rootfs/distro-agnostic.sh:393
do_with_logging() --> lib/functions/logging/section-logging.sh:81
build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:28
full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36
do_with_default_build() --> lib/functions/main/default-build.sh:42
cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25
armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
main() --> compile.sh:50
]
Error: Error 1 occurred in main shell at /armbian/lib/functions/logging/runners.sh:211

How to reproduce?

Build with following configuration:

ARMBIAN_REPOSITORY="armbian/build"
#ARMBIAN_BRANCH="v24.08"
ARMBIAN_BRANCH="main"
KERNEL_CONFIGURE=prebuilt
CLEAN_LEVEL=""
INSTALL_HEADERS="no"
DOWNLOAD_MIRROR=""
CARD_DEVICE=""
BETA="no"
BRANCH="current"
BOOTFS_TYPE="fat"
COMPRESS_OUTPUTIMAGE="img"
VENDOR="Armbian"
BOARD=rpi4b
RELEASE="bookworm"
KERNEL_CONFIGURE=prebuilt
BUILD_DESKTOP=no
BUILD_MINIMAL=yes

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 22.04 Jammy

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

https://paste.armbian.com/xorotigiza.apache

Code of Conduct

  • I agree to follow this project's Code of Conduct
@MSzturc MSzturc added the Bug Something isn't working as it should label Dec 24, 2024
Copy link
Contributor

Hey @MSzturc !

Looks like it's your first time interacting with Armbian here on GitHub.

Welcome and thank you for taking the time to report an issue ❤️.

Don't forget to star ⭐ the repo.

@github-actions github-actions bot added the Good first issue Feel free to contribute :) label Dec 24, 2024
Copy link
Contributor

github-actions bot commented Dec 24, 2024

Jira ticket: AR-2572

@EvilOlaf
Copy link
Member

lacking full logs

@MSzturc
Copy link
Author

MSzturc commented Dec 24, 2024

added full log

@EvilOlaf
Copy link
Member

Interesting. Since building w/o fat bootfs works just fine may I ask why you need this?
Also /boot/firmware is fat32 by default from what I can see in the build logs.

@MSzturc
Copy link
Author

MSzturc commented Dec 24, 2024

The boot partition allows users of our operating system to configure settings before the initial startup. This workflow is currently implemented on Banana Pi and Orange Pi devices. For Raspberry Pi-based boards, we currently rely on Raspberry Pi OS Lite. However, our goal is to streamline and unify our build pipeline by transitioning entirely to Armbian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should Good first issue Feel free to contribute :)
Development

No branches or pull requests

2 participants