realtek: rename u-boot-env2 to board-name
Some realtek boards have two u-boot-env partitions. However, in the
DGS-1210 series, the mtdblock2 partition is not a valid u-boot env
and simply contains the board/device name, followed by nulls.
00000000 44 47 53 2d 31 32 31 30 2d 32 38 2d 46 31 00 00 |DGS-1210-28-F1..|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00040000
00000000 44 47 53 2d 31 32 31 30 2d 35 32 2d 46 31 00 00 |DGS-1210-52-F1..|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00040000
The misleading u-boot-env2 name also confuses uboot-envtools.
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
(cherry picked from commit 8b798dbb39
)
This commit is contained in:
parent
9081098273
commit
128575d0fd
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
||||||
read-only;
|
read-only;
|
||||||
};
|
};
|
||||||
partition@c0000 {
|
partition@c0000 {
|
||||||
label = "u-boot-env2";
|
label = "board-name";
|
||||||
reg = <0x000c0000 0x40000>;
|
reg = <0x000c0000 0x40000>;
|
||||||
};
|
};
|
||||||
partition@280000 {
|
partition@280000 {
|
||||||
|
|
Loading…
Reference in a new issue