[U-Boot] u-boot environment tool

Ran Shalit ranshalit at gmail.com
Thu Mar 29 08:28:24 UTC 2018


On Thu, Mar 29, 2018 at 10:57 AM, Chris Packham <judge.packham at gmail.com> wrote:
> On Thu, Mar 29, 2018 at 8:19 PM, Ran Shalit <ranshalit at gmail.com> wrote:
>> Hello,
>>
>> Is there a tool to create u-boot environment from text and save into
>> SPI NOR flash ?
>>
>
> You'll get some mileage out of tools/env. It's intended for use on a
> target so that you can access the target's own u-boot environment from
> a Linux userland. I'm not sure if it suits your use-case or if you
> want something you can run on a different host.

I need to prepare the environment from text , then create the binary
and then program into spi nor flash.
As I understand now, it seems that this tool can do this.
https://bootlin.com/blog/mkenvimage-uboot-binary-env-generator/

 Thanks,
ranran


More information about the U-Boot mailing list