Skip to content

Initramfs and bootargs support? #90

Description

@YannikSc

Hello,

I'm currently trying to setup an alpine with a custom initramfs and with mainline u-boot.

So far I got u-boot to boot the kernel. The kernel however seems to not get any boot args, like root= and also the initramfs is not entered at all.

I've tried the 5.10-main and 5.15-main branches. Both running into a Kernel Panic, as no root is set/can be mounted.

Is this something hardcoded in the kernel to prevent problems caused by (faulty) bootloaders (I read, that sometime this can be a problem) or is it that u-boot, not passing the args properly the the kernel and not correctly reading the initramfs?

I built the kernel with the default configs and even tried to embed the initramfs, all without success. The default config seems to be correctly configured to support this however.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions