Uboot is broken when I put a filesystem on the SD card

I am trying to compile uboot so it looks for env vars on the sd card. I can get it to compile and load on a le potato SBC but if I place a filesystem on the card afterward, it breaks uboot. If I put it on before uboot, uboot breaks it. I have already tried shifting the beginning of the first partition later on the sd card but it just keeps happening. GPT vs MBR doesn’t seem to matter either.

What am I doing wrong? I can’t seem to find this last piece of the puzzle anywhere. They seem like they are at least partially overwriting eachother but I haven’t been able to stop that from happening.

6 points · 2 comments · view on lemmy.world

2 Comments

thericcer@reddthat.com · 3 pts · 319d (1 reply)

How are you putting the filesystem and uboot on the card?

muusemuuse@sh.itjust.works · 1 pts · 319d

I put uboot on the SD card as the uboot documentation tells me to. I tried doing it before and after using paged and disk to throw partitions into on there. Nothing goes my way on here.