Comments (3)
This is likely because of the broken default U-Boot environment with the new version, which strictly requires boot configs/scripts and kernel image on a 3rd partition with FAT filesystem. Previously there was a moreless generic fallback, looping through all partitions, but that is gone.
So you must overwrite the U-Boot environment to again support the EFI partition provided by your IPFire image. Here is an example of a generic environment which supports all types of boot scripts/methods from all filesystems on all partitions from all boot media (SD card, eMMC, NVMe, USB, DHCP/TFTP), and at least tries to still support the StarFive DTB load+edit+write and SDK images: https://github.com/MichaIng/linux/blob/6.1-visionfive2/linux-image-visionfive2/etc/u-boot-initial-env
from visionfive2.
Thanks for the insight, could you please tell me the source where I can find this information? Bugtracker, mailing list, release notes, version history, changelog etc., thanks.
from visionfive2.
This commit broke it: starfive-tech/u-boot@1f26242
distro_bootcmd
loops through all boot targets and checks all partitions for boot scripts/methods, so it was a generic fallback if the prior StarFive specific commands did not succeed. Now this has gone and only two StarFive-specific commands run, which hardcode a dedicated boot partition 3 with FAT filesystem, extlinux, and root partition 4, without any fallback. You can see both functions/methods added here: starfive-tech/u-boot@af8ba43
This is not a bug, but a totally unnecessary and complex hardcoding of needs for the image this U-Boot is able to boot. The upstream defaults do everything pretty well in a generic way, so there is actually no point to interfere. The only reasons for a custom environment are the in-memory U-Boot DTB rewrites for A revision Ethernet and different RAM sizes, and the (IMO problematic) on-disk DTB file rewrite done on every reboot with StarFive images to achieve the same for the Linux distribution. However, this can be done without breaking generic boot support, which is what we do with the bottom part of the environment I linked.
from visionfive2.
Related Issues (20)
- VisionFive 2 with 8GB failing to boot after flashing v3.6.1 HOT 4
- Boot from USB is broken with "upstream" u-boot (2023.10-rc4+) HOT 8
- Cold boot SD Card is fine but warm boot is shutdown instead HOT 6
- No Linux bridge or veth drivers on the distribution HOT 1
- How to resize the SPL partition to 40000 from the 20000 in QSPL flash
- what dose "Support BT function for WIFI/BT dongle AIC8800" mean in 3.8.2 release? HOT 1
- QEMU fails to boot
- I cannot upgrade to 5.10.3 HOT 2
- /dev/net/tun does not exist HOT 8
- VisionFive2 Build error HOT 2
- make buildroot_rootfs -j$(nproc) error HOT 1
- address of the fdt is invalid (NULL) HOT 6
- img gpu downloading failed HOT 5
- compile linux kernel error HOT 2
- Build error with img-gpu-powervr package is not found. HOT 1
- some of the libs is not able to download HOT 1
- How to build it step by step๏ผ HOT 4
- Linking C executable ISP_test error HOT 2
- crash observed in the PVRSRVDebugRequest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visionfive2.