On Friday 10 August 2007, Marc Leeman wrote: > > no, nor will there probably ever be due to the nature of u-boot ... every > > single board can store its environment in different types of flash in > > different sectors at different offsets in different magical ways ... > > there is no common infrastructure to query such information from > > kernel/user space > > > > you should setup your mtd maps to create a separate partition for your > > u-boot env sector and then use the mtd-utils package to read/write it > > from userspace > > I do not fully agree with you: U-Boot already contains a firmware > version (fw_setenv and fw_printenv) of the U-Boot setenv and the > printenv commands.
thanks, was not aware of those little apps however, the devil is in the details ... there is no requirement the env be stored in flash at all which means mtd access is not guaranteed -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
