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

VisionFive 2 cannot find dtb #1431

Open
idlecodinggoats opened this issue Mar 28, 2025 · 0 comments
Open

VisionFive 2 cannot find dtb #1431

idlecodinggoats opened this issue Mar 28, 2025 · 0 comments

Comments

@idlecodinggoats
Copy link

After compiling the sd image and writing it to an sd card I can start booting but I get:

Retrieving file: /boot/extlinux/../nixos/4pmgb30ammlgxlcb717d54xaz5rs58i1-linux-riscv64-unknown-linux-gnu-6.13.6-dtbs/starfive/starfive_visionfive2.dtb
Failed to load '/boot/extlinux/../nixos/4pmgb30ammlgxlcb717d54xaz5rs58i1-linux-riscv64-unknown-linux-gnu-6.13.6-dtbs/starfive/starfive_visionfive2.dtb'
Device tree not found or missing FDT support

The required file is actually (for my board) at 4pmgb30ammlgxlcb717d54xaz5rs58i1-linux-riscv64-unknown-linux-gnu-6.13.6/dtbs/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb. I think this should be solvable by allowing one to pass extraConfig to uboot and in the extraConfig include CONFIG_DEFAULT_FDT_FILE starfive/jh7110-starfive-visionfive-2-v1.3b.dtb, or getting u-boot.nix to copy the required file to starfive/starfive_visionfive2.dtb. However, both of these would require selecting the board revision specifically when importing visionfive/v2 from nixos-hardware.

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

No branches or pull requests

1 participant