Hi Jon, 

Jon Povey spiffera, alle venerdì 28 novembre 2008 circa:
> Andrea Gasparini wrote:
> > I'm trying to compile fw_{print,save}env from uboot-1.2.0 for
> > dm355 environment.
> > I got a lot of errors for (imho) broken include directives.
> >
> > fw_env has a bug,and erroneusly includes <linux/mtd/mtd.h>,
> > while it should include <mtd/mtd-user.h>.
>
> I got this working just the other day :)

First of all, thanks for _your_ patch. ;) I started working on this just 
this morning.
I'm although against a different issue. fw_setenv is not able to open 
/dev/mtd1 (my bootargs partition), as it says ( with a little more 
verbosity) :

# ./fw_setenv bootdelay 5
opening /dev/mtd1 ...
reading CRC on /dev/mtd1 [len:4] Success
Read error on /dev/mtd1: Success
environment.data: baudrate=115200 
opening /dev/mtd1 ...
Can't open /dev/mtd1: Permission denied
Error: can't write fw_env to flash

While in a python shell, I'm able to open read-write the device without any 
worry.

Suggestions? :)
Bye!
-- 
Andrea Gasparini 
---- ImaVis S.r.l. ----
web: www.imavis.com

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to