This adds building the u-boot tools for target.
(fw_printenv, fw_setenv).
They are put into a separate package
With these files it becomes possible to modify
the u-boot environment when linux is booted
The #ifdef's in fw_env.h were needed to avoid compilation issues
The constants have been changed
Forgot to mention this but it could be decided to make a separate recipe
for the env utils (like there is for mkimage).
And if you are interested in the reason why HOSTCC is being used to compile
fw_printenv and friends:
read this thread:
http://old.nabble.com/-U-Boot---PATCH-1-4--tools%3A-enable-
On 12/27/2011 12:35 PM, Frans Meulenbroeks wrote:
This adds building the u-boot tools for target.
(fw_printenv, fw_setenv).
They are put into a separate package
With these files it becomes possible to modify
the u-boot environment when linux is booted
The #ifdef's in fw_env.h were needed to avoi
Op 27 dec. 2011, om 23:00 heeft Saul Wold het volgende geschreven:
> On 12/27/2011 12:35 PM, Frans Meulenbroeks wrote:
>> This adds building the u-boot tools for target.
>> (fw_printenv, fw_setenv).
>> They are put into a separate package
>> With these files it becomes possible to modify
>> the u
On 27 dec 2011, at 21:35, "Frans Meulenbroeks"
wrote:
> This adds building the u-boot tools for target.
> (fw_printenv, fw_setenv).
> They are put into a separate package
> With these files it becomes possible to modify
> the u-boot environment when linux is booted
>
> The #ifdef's in fw_env.h
2011/12/28 Anders Darander
>
> On 27 dec 2011, at 21:35, "Frans Meulenbroeks" <
> fransmeulenbro...@gmail.com> wrote:
>
> > This adds building the u-boot tools for target.
> > (fw_printenv, fw_setenv).
> > They are put into a separate package
> > With these files it becomes possible to modify
> >
On 28 dec 2011, at 14:36, "Frans Meulenbroeks"
mailto:fransmeulenbro...@gmail.com>> wrote:
2011/12/28 Anders Darander mailto:and...@chargestorm.se>>
On 27 dec 2011, at 21:35, "Frans Meulenbroeks"
mailto:fransmeulenbro...@gmail.com>> wrote:
> This adds building the u-boot tools for target.
>
Triggered by the remarks of Anders I've been digging into this a little bit
more.
I suggest to ignore tools_fwenv.patch, and only add the changes to the .inc
file.
For fw_env.h a better solution exists, namely using the value from the
config file.
I'll try to submit a patch to upstream to fix that