Giter Club home page Giter Club logo

Comments (8)

XECDesign avatar XECDesign commented on June 1, 2024 1

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.

XECDesign avatar XECDesign commented on June 1, 2024 1

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.

XECDesign avatar XECDesign commented on June 1, 2024

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.

XECDesign avatar XECDesign commented on June 1, 2024

Reproduced the issues. Taking a look now.

from pi-gen.

XECDesign avatar XECDesign commented on June 1, 2024

Okay, the issue is that you need either v7l or v8 kernel, not v7.

from pi-gen.

XECDesign avatar XECDesign commented on June 1, 2024

@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.

vanbuong avatar vanbuong commented on June 1, 2024

@XECDesign Thank you so much, I tried your options then RPi can boot up.

from pi-gen.

XECDesign avatar XECDesign commented on June 1, 2024

Thanks for checking. Hopefully this commit means that nobody else will hit this issue.

from pi-gen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.