Hello,<div><br></div><div>I set my outgoing my in gmail to be <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(2, 19, 36); font-weight: bold; ">UTF-8</span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(2, 19, 36); ">, is the message plain text now? I can't tell the difference on my side. </span></div>
<div><font class="Apple-style-span" color="#021324" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" color="#021324" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Ok so i figured out that one of my problems was that I was using the "</span></font>devfs_add_partition" call wrong. The second parameter is an offset not the base address ... oops. Now I can see env0 under devices.</div>
<div><br></div><div>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.</div>
<div><br></div><div>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?</div>
<div><br></div><div>Thanks,</div><div>Marko</div><div><br><div class="gmail_quote">On Tue, Apr 12, 2011 at 9:01 PM, Jean-Christophe PLAGNIOL-VILLARD <span dir="ltr"><<a href="mailto:plagnioj@jcrosoft.com">plagnioj@jcrosoft.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
could you send your board patch and the log of your console<br>
so we can help you more<br>
<br>
btw please do not post in HTML<br>
<br>
Best Regards,<br>
J.<br>
<div><div></div><div class="h5">On 12:42 Tue 12 Apr , Marko Milutinovic wrote:<br>
> Hello,<br>
> 1. I don't think that I took any steps to save the environment. Not sure<br>
> how to go about doing that. I have the 'env\bin\init' file under my board<br>
> directory. I was under the impressions this would get built in<br>
> automatically. Additionally in my init.c file for my board I have the<br>
> following lines:<br>
> devfs_add_partition("nor0", 0x01000000, 0x10000, PARTITION_FIXED,<br>
> "self_raw");<br>
> devfs_add_partition("nor0", 0x01010000, 0x1000, PARTITION_FIXED, "env0");<br>
> 2. When my board boots i get the following output lines<br>
> Malloc space: .(rest of text ...)<br>
> Stack space: (rest of text ...)<br>
> Open /dev/env0 error2<br>
> running /env/bin/init...<br>
> not found<br>
> barebox:<br>
> Thanks<br>
> Marko<br>
><br>
> On Mon, Apr 11, 2011 at 10:25 PM, Baruch Siach <<a href="mailto:baruch@tkos.co.il">baruch@tkos.co.il</a>> wrote:<br>
><br>
> Hi Marko,<br>
> On Mon, Apr 11, 2011 at 09:18:53PM -0600, Marko Milutinovic wrote:<br>
> > I have barebox working almost fully on my board, except I can't get<br>
> the<br>
> > environment to load ... I have an env0 partition allocated and under<br>
> my<br>
> > board I have the /env/bin/init file. Anyone have any tips as to what I<br>
> am<br>
> > missing or can they point me to another resource?<br>
><br>
> More info is needed:<br>
><br>
> 1. What did you do to save the environment?<br>
><br>
> 2. What is your indication that the environment doesn't "load"?<br>
><br>
> baruch<br>
> --<br>
> ~. .~ Tk Open<br>
> Systems<br>
> =}------------------------------------------------ooO--U--Ooo------------{=<br>
> - <a href="mailto:baruch@tkos.co.il">baruch@tkos.co.il</a> - tel: <a href="tel:%2B972.2.679.5364" value="+97226795364">+972.2.679.5364</a>, <a href="http://www.tkos.co.il" target="_blank">http://www.tkos.co.il</a> -<br>
<br>
</div></div>> _______________________________________________<br>
> barebox mailing list<br>
> <a href="mailto:barebox@lists.infradead.org">barebox@lists.infradead.org</a><br>
> <a href="http://lists.infradead.org/mailman/listinfo/barebox" target="_blank">http://lists.infradead.org/mailman/listinfo/barebox</a><br>
<br>
</blockquote></div><br></div>