Comments (8)
Seems like I'm a bit too trigger-happy to close this one. Nope, that didn't fix it for me either. Starting to look like a bootloader issue.
from pi-gen.
If you format it with the default options or with -F 16 -s 4
, it seems to work. If you need a temporary work-around, you can make the change here.
from pi-gen.
Did it work before you made that change? Are those the only two changes you made?
Off the top of my head, I can't think of why it would cause issues. Do the checksums of the files on the boot partition match what you'd expect?
If that's all it is, I can try to reproduce the problem a bit later and take a closer look.
from pi-gen.
Reproduced the issues. Taking a look now.
from pi-gen.
Okay, the issue is that you need either v7l or v8 kernel, not v7.
from pi-gen.
@timg236 It looks like there's an issue with booting from a 64MB FAT32-formatted partition. File contents seem identical between working and non-working cases, but it doesn't even get to the splash screen. Enabling UART output in bootcode.bin didn't seem to work either.
I'm not quite sure what the limitations are, but in the working case I see:
1044480 bytes per FAT (= 2040 sectors)
Data area starts at byte 2105344 (sector 4112)
261115 data clusters (534763520 bytes)
63 sectors/track, 128 heads
In the non-working case, it's:
Warning: Filesystem is FAT32 according to fat_length and fat32_length fields,
but has only 32624 clusters, less than the required minimum of 65525.
This may lead to problems on some systems.
131072 bytes per FAT (= 256 sectors)
Data area starts at byte 278528 (sector 544)
32624 data clusters (66813952 bytes)
63 sectors/track, 64 heads
I'm guessing the issue is that we force -F 32 -s 4
options, when they're not appropriate for a smaller partition size, but I have no idea.
I've saved a backup of the non-working partition for when you get back, in case it's useful (pi-gen/bootpart.img.xz).
from pi-gen.
@XECDesign Thank you so much, I tried your options then RPi can boot up.
from pi-gen.
Thanks for checking. Hopefully this commit means that nobody else will hit this issue.
from pi-gen.
Related Issues (20)
- Image size and build time drastically increased HOT 1
- Cannot build 32-bit images (bullseye, bookworm) using standard build.sh on i686 Debian any more HOT 8
- Customization Using RPi Imager Cause Images to Fail on Boot HOT 7
- Use gpt and btrfs as root filesystem HOT 2
- Problems with `initramfs` not being generated HOT 4
- Removal of config.txt symlinks breaks postinst for fbturbo package HOT 1
- When building an image with zfs-dkms and DEBIAN_FRONTEND=noninteractive and still getting confirmation window HOT 3
- MacOS + Docker: qemu-user-static check from #685 breaking build early HOT 5
- /usr/bin/raspi-config: 847: lxpanelctl: not found HOT 6
- The apt caching proxy we use currently is unreliable - let's replace it with nginx? HOT 1
- stage_list availability during build HOT 2
- ./build-docker.sh error "setarch: failed to set personality to linux32: Invalid argument" HOT 1
- adduser error when setting FIRST_USER_NAME in config HOT 2
- FR: Option to enable Real Time kernel HOT 1
- Integrating cusom kernel builds & packaging with pi-gen HOT 6
- Change docker to build in the host filesystem directly HOT 2
- If source directory has been bind-mounted, build breaks HOT 4
- debootstrap not empty during stage 0 HOT 18
- Add new one partition to image HOT 1
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 pi-gen.