Hi,
We use DM8168 and DVRRDK based software, linux-04.04.00.01 (2.6.37)
we try to use uboot tools. fw_printenv works fine but we have problems with fw_setenv:
Example:
fw_setenv test yes
Read 0x2000 bytes at 0x0
Can't open /dev/mtd1:
Permission denied Error: can't write fw_env to flash
My NAND configuration is following:
static struct mtd_partition ti816x_nand_partitions_bs128[] =
{
/* mtd0 */
{ .name = "U-Boot",
.offset = 0, /* Offset = 0x0 */
.size = 18 * SZ_128K, },
/* mtd1 */
{ .name = "U-Boot Env",
.offset = MTDPART_OFS_APPEND,
.size = 2 * SZ_128K,
.mask_flags = MTD_WRITEABLE, },
Does anybody have experience with fw_setenv and this error ?