I develop my own router board based on HLK-7621 module ( MT-7621 chip, ralink ). This module is equipped 32MB NOR flash chip.
I need to get more space to install optional packages ( marked as "M" in menuconfig ) from my own repository.
To do this I want to do the following:
- Add new NOR flash chip ( SPI bus, CS1 pin available )
- Move rootfs_data partition to this chip
- Expand rootfs partition on flash@0 chip using available free space
In DTS file add section in spi0 part ( after flash0 ):
flash@1 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor";
reg = <1>;
spi-max-frequency = <44000000>;
broken-flash-reset;
partitions {
compatible = "fixed-partitions";
partition@0 {
label = "rootfs_data";
reg = <0x0 0x2000000>;
};
};
};
Is this possible? What to do with the "firmware" partition ?