Re: [PATCH 0/3] mikrotik: make soft_config partition writable

2022-01-04 Thread Oskari Lemmelä
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

Re: [PATCH 0/3] mikrotik: make soft_config partition writable

2021-12-21 Thread Stefan Hellermann
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

[PATCH 0/3] mikrotik: make soft_config partition writable

2021-12-20 Thread Oskari Lemmela
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