I set my outgoing my in gmail to beÂUTF-8, is the message plain text now? ÂI can't tell the difference on my side.Â
Ok so i figured out that one of my problems was that I was using the "devfs_add_partition" call wrong. The second parameter is an offset not the base address ... oops. Now I can see env0 under devices.
It's still not able to load it but the error I'm getting is "envfs: wrong magic on /dev/env0". I think this is just a matter of this section being empty. Thanks for the help guys, I can probably figure it out from here.
One last question though, does this section have to be populated manually? Do i have to explicitly load a env.bin file to my device and then copy it to the env0 partition? Is there a way to have this loaded onto my main bootloader .bin file when it gets compiled?
Thanks,
Marko
On Tue, Apr 12, 2011 at 9:01 PM, Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> wrote:
Hi,
   Âcould you send your board patch and the log of your console
   Âso we can help you more
   Âbtw please do not post in HTML
Best Regards,
J.
> _______________________________________________On 12:42 Tue 12 Apr   , Marko Milutinovic wrote:
> Â ÂHello,
> Â Â1. I don't think that I took any steps to save the environment. Not sure
> Â Âhow to go about doing that. I have the 'env\bin\init' file under my board
> Â Âdirectory. I was under the impressions this would get built in
> Â Âautomatically. Additionally in my init.c file for my board I have the
> Â Âfollowing lines:
> Â Âdevfs_add_partition("nor0", 0x01000000, 0x10000, PARTITION_FIXED,
> Â Â"self_raw");
> Â Âdevfs_add_partition("nor0", 0x01010000, 0x1000, PARTITION_FIXED, "env0");
> Â Â2. When my board boots i get the following output lines
> Â ÂMalloc space: .(rest of text ...)
> Â ÂStack space: (rest of text ...)
> Â ÂOpen /dev/env0 error2
> Â Ârunning /env/bin/init...
> Â Ânot found
> Â Âbarebox:
> Â ÂThanks
> Â ÂMarko
>
> Â ÂOn Mon, Apr 11, 2011 at 10:25 PM, Baruch Siach <baruch@xxxxxxxxxx> wrote:
>
> Â Â ÂHi Marko,
> Â Â ÂOn Mon, Apr 11, 2011 at 09:18:53PM -0600, Marko Milutinovic wrote:
> Â Â Â> I have barebox working almost fully on my board, except I can't get
> Â Â Âthe
> Â Â Â> environment to load ... I have an env0 partition allocated and under
> Â Â Âmy
> Â Â Â> board I have the /env/bin/init file. Anyone have any tips as to what I
> Â Â Âam
> Â Â Â> missing or can they point me to another resource?
>
> Â Â ÂMore info is needed:
>
> Â Â Â1. What did you do to save the environment?
>
> Â Â Â2. What is your indication that the environment doesn't "load"?
>
> Â Â Âbaruch
> Â Â Â--
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â~. .~ Â Tk Open
> Â Â ÂSystems
> Â Â Â=}------------------------------------------------ooO--U--Ooo------------{=
> Â Â Â Â- baruch@xxxxxxxxxx - tel: +972.2.679.5364, http://www.tkos.co.il -
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
_______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox