Hi Timo!

On Thu, 12 Feb 2009 01:44:57 +0100, Timo Juhani Lindfors wrote:
> Luca Capello <l...@pca.it> writes:
>> I packaged that version (available at [2]) and indeed it works.  Timo,
>> can you confirm it, please?
>
> $ sudo fw_printenv
> Too few good blocks within range

/usr/share/doc/uboot-envtools/README:

  DEVICEx_ENVSECTORS defines the number of sectors that may be used for
  this environment instance. On NAND this is used to limit the range
  within which bad blocks are skipped, on NOR it is not used.

This means that (/usr/share/doc/uboot-envtools/fw_env.config):

--8<---------------cut here---------------start------------->8---
# Configuration file for fw_(printenv/saveenv) utility.
# Up to two entries are valid, in this case the redundand
# environment sector is assumed present.
# Notice, that the "Number of sectors" is ignored on NOR.

# MTD device name       Device offset   Env. size       Flash sector size       
Number of sectors
/dev/mtd2               0x0000          00040000        00020000                
2
--8<---------------cut here---------------end--------------->8---

Thx, bye,
Gismo / Luca

Attachment: pgpXr634loujV.pgp
Description: PGP signature

Reply via email to