Hi,
On 21.12.2021 15.19, Stefan Hellermann wrote:
> Hi,
>
> I tested the series on a Mikrotik LHG 2.
>
> # cat /proc/mtd
> dev:size erasesize name
> mtd0: 0002 0001 "RouterBoot"
> mtd1: e000 0001 "bootloader1"
> mtd2: 1000 0001 "hard_config"
> mtd3: 1000
Hi,
I tested the series on a Mikrotik LHG 2.
# cat /proc/mtd
dev:size erasesize name
mtd0: 0002 0001 "RouterBoot"
mtd1: e000 0001 "bootloader1"
mtd2: 1000 0001 "hard_config"
mtd3: 1000 0001 "bios"
mtd4: f000 0001 "bootloader2"
mtd5: 1000
In order to change boot loader variables in small soft_config partition
SPI NOR need to support erasing 4k blocks.
Adding support for variable size erase blocks and enable it to all
targets which has mikrotik devices.
In some of mikrotik devices parent mtd device is read-only.
It makes