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.

    • muusemuuse@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 days ago

      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.