Skip to content

Commit

Permalink
Fix zswap and U-Boot env mtd device
Browse files Browse the repository at this point in the history
zswap is currently not built, probably due to missing dependency in kernel config.

/dev/mtd2 pointed to a wrong SPI storage address:
https://forum.rvspace.org/t/emmc-boot-though-spi-flash/1320
starfive-tech#81

Signed-off-by: MichaIng <micha@dietpi.com>
  • Loading branch information
MichaIng committed Mar 17, 2023
1 parent 460e320 commit dbd2367
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/riscv/boot/dts/starfive/jh7110.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@
uboot@100000 {
reg = <0x100000 0x300000>;
};
data@f00000 {
reg = <0xf00000 0x100000>;
data@f0000 {
reg = <0xf0000 0x10000>;
};
};
};
Expand Down
1 change: 1 addition & 0 deletions dietpi_visionfive2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CONFIG_SOC_SIFIVE=n
CONFIG_LEGACY_PTYS=n
CONFIG_FB_SIMPLE=y
CONFIG_MODULE_COMPRESS_XZ=y
CONFIG_FRONTSWAP=y
CONFIG_ZSWAP=y
CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD=y
CONFIG_F2FS_FS=y
Expand Down

0 comments on commit dbd2367

Please sign in to comment.