Package: u-boot-tools
Version: 2016.11+dfsg1-4
Severity: normal

Dear Maintainer,

I upgraded my Buffalo Linkstation Live from Jessie to Stretch which required
that I add "iomem=relaxed" to the bootargs_root environment variable.
/etc/fw_env.config was not present so I copied
/usr/share/doc/u-boot-tools/examples/linkstation_pro_live.config to
/etc/fw_env.config. This allowed me to see the current environment variables
with fw_printenv but any attempt to modify an environment variable with
fw_setenv generated the error:

MTD erase error on /dev/mtd2: Invalid argument
Error: can't write fw_env to flash

/etc/fw_env.config contained a single entry:

/dev/mtd2 0x3F000 0x1000 0x1000

This was similar to the entry I had seen in Jessie except that there was only
a single device for all 3 regions. I changed the offset to 0x00000:

/dev/mtd2 0x00000 0x1000 0x1000

and I was able to successfully change bootargs_root

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 4.9.0-3-marvell
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages u-boot-tools depends on:
ii  libc6  2.24-11+deb9u1

Versions of packages u-boot-tools recommends:
ii  device-tree-compiler  1.4.2-1

u-boot-tools suggests no packages.

-- no debconf information

Reply via email to