Dear Stefano Babic, In message <4ecdfab9.70...@denx.de> you wrote: > > In the default settings I put a basic environment, using the same > variables that are already used on several boards - I know there is > neither standard nor rules for a standard environment in U-Boot, but I > find nice if different boards maintain the same behavior, using some > quite standard commands to boot from network or from storage. I like to > have a "net_nfs" (not important which is the chosen name) on all boards > I work with, as well as the same commands to boot from internal storage.
There are at least a few attempts to define such standard settings. Unfortunately they did not get really far yet, not has this been documented yet (only a few variables like u-boot, u-boot_addr_r, u-boot_addr, bootfile, kernel_addr_r, kernel_addr, fdtfile, fdt_addr_r, fdt_addr, ... have been documented in the README). More such patches are welcome. But I agree that your settings make much more sense as they fit into a pretty common "look and feel". > We could use partition names as "kernel", "rootfs" to split the NAND. In > this way, the boot command still works if the customer rearrange the > size of partitions with the mtdparts variable. Of course, this wiorks > only if in the kernel the mtdparts variable is parsed > (CONFIG_MTD_CMDLINE_PARTS must be set). This should be done indeed. It will also be needed to support UBI / UBIFS which I consider mandatory on NAND based devices. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de The sooner our happiness together begins, the longer it will last. -- Miramanee, "The Paradise Syndrome", stardate 4842.6 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot