[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sheeveplug u-boot environment



On 2016-01-06, Rick Thomas wrote:
> For what it’s worth, by grepping about in /dev/mtd0, I located what
> seems to be the place where the u-boot environment is located.
>
> It’s 0x80000.
>
> And to verify that, I have changed /etc/fw_env.config to
>
>> # MTD device name   Device offset   Env. size   Flash sector size
>> /dev/mtd0           0x80000         0x20000     0x20000
>
> then I did “fw_printenv".
>
> Guess what!  No message about bad CRC or default environment, and the
> environment that it printed matched the output of “printenv” under
> u-boot.
>
> So I guess it’s all explained by https://bugs.debian.org/781874 .

I really don't understand the logic outlined in that bug report, and
your results don't exactly come to the same conclusion, which is why
I've never "fixed" it.


> I’ve certainly learned a lot!

Great!


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: