modify boot environment parameters
Hi all,
Are there utilities to modify the boot environment (like u-boot) block on the flash from within the linux ?
I am looking for information to modify the boot environment block on the NOR (/dev/mtd0) flash at offset 0x5000.
Thanks
Sara
Quoted 3 lines · In message <[email protected]> you wrote:
Are there utilities to modify the boot environment (like u-boot) block on the flash from within the linux ?
Of course there are. But this is off topic here.
Quoted 2 lines
I am looking for information to modify the boot environment block on the NOR (
/dev/mtd0) flash at offset0x5000.
See u-boot/tools/env/
Best regards,
Wolfgang Denk
Signature · 5 lines
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: [email protected] I think there's a world market for about five computers. -- attr. Thomas J. Watson (Chairman of the Board, IBM), 1943
Hello Denk,
I am using proprietary (ARMmon) binary version of bootloader (like u-boot and not u-boot bootloader) that gives support to modify environment variables only from the bootloader prompt. But, In my case, I want to modify boot environment option
"root=/dev/mtdblock1" to "root=/dev/mtdblock2" and viceversa on successive reboot.
The environment variables are stored at the offset 0x00050000 ( 4th block) on the NOR flash (/dev/mtdblock0).
Is there any utility tool to access and modify a particular block 0x00050000 on the NOR flash ? I came across u-boot/tools/env but its ment for u-boot. Will it give support to other flash env access with some modification ?
Thanks
Sara
Le Lundi 24 Septembre 2007 00:03, Wolfgang Denk a écrit :
Quoted 14 lines
Quoted 2 lines · In message <[email protected]> you wrote:
Are there utilities to modify the boot environment (like u-boot) block on the flash from within the linux ?
Of course there are. But this is off topic here.
Quoted 2 lines
I am looking for information to modify the boot environment block on the NOR (
/dev/mtd0) flash at offset0x5000.See u-boot/tools/env/
Best regards,
Wolfgang Denk