[OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-27 Thread Frans Meulenbroeks
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

Re: [OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-27 Thread Frans Meulenbroeks
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-

Re: [OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-27 Thread Saul Wold
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

Re: [OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-27 Thread Koen Kooi
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

Re: [OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-28 Thread Anders Darander
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

Re: [OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-28 Thread Frans Meulenbroeks
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 > >

Re: [OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2011-12-28 Thread Anders Darander
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. >

Re: [OE-core] [PATCH 2/2] u-boot: added generating the env utils (fixes bug 1800)

2012-01-02 Thread Frans Meulenbroeks
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