The "nixos.sd_image_new_kernel.aarch64-linux" image from unstable channel fails to boot when flashed to a USB drive. The boot process hangs early in the boot process.
The boot proceeds from U-Boot to the kernel, but then hangs there.
Additional context
According to [1], it seems like in 5.14 the option CONFIG_RESET_RASPBERRYPI is demoted from y to m. The same email seems to suggest that the module (reset-raspberry.ko) is needed for USB to work. I checked the initrd of the image; the module isn't there. So, I guess if this module is included in the initrd, it could fix the problem. I'll try to create a PR to do that.
Assumes that nixos/modules/profiles/all-hardware.nix is how kernel modules is included in the SD card image: @samueldr
Also tag SD card installer file for good measure: @petabyteboy
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
-- Not applicable, image does not boot.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
Describe the bug
The "nixos.sd_image_new_kernel.aarch64-linux" image from unstable channel fails to boot when flashed to a USB drive. The boot process hangs early in the boot process.
Steps To Reproduce
Steps to reproduce the behavior:
/boot/extlinux/extlinux.conf
and changettyS0
tottyS1
.Expected behavior
The image boots to the shell.
Screenshots
The boot process hangs with the following boot message, logged from UART:
RPi4HangBoot.txt
The boot proceeds from U-Boot to the kernel, but then hangs there.
Additional context
According to [1], it seems like in 5.14 the option
CONFIG_RESET_RASPBERRYPI
is demoted fromy
tom
. The same email seems to suggest that the module (reset-raspberry.ko
) is needed for USB to work. I checked the initrd of the image; the module isn't there. So, I guess if this module is included in the initrd, it could fix the problem. I'll try to create a PR to do that.[1] https://www.spinics.net/lists/arm-kernel/msg920676.html
Notify maintainers
Assumes that
nixos/modules/profiles/all-hardware.nix
is how kernel modules is included in the SD card image: @samueldr Also tag SD card installer file for good measure: @petabyteboyMetadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result. -- Not applicable, image does not boot.Maintainer information: