mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
fs/jffs2: Fix mkfs.jffs2 --pagesize parameter usage
Fixes #8186 Mkfs.jffs2 accepts a --pagesize parameter, which allows specifying the size of the virtual memory page size of the target machine, where the image will be used. (This is the value of the PAGE_SIZE macro in Linux.) In most cases the parameter doesn't need to be set as the default value of 4 kB is usually correct. The parameter was used incorrectly in Buildroot -- it was set to the page size of flash memory chip -- this commit fixes this problem. Now the --pagesize parameter is not used at all (unless the user explicitly chooses to use a custom value during configuration). All existing defconfigs were corrected to match the new configuration variable names. [Peter: reword, add Config.in.legacy handling] Signed-off-by: Michał Leśniewski <mlesniew@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
e8f4f052b1
commit
e3904a890d
@@ -107,6 +107,22 @@ endif
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2015.05"
|
||||
|
||||
config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K
|
||||
bool "jffs2 16kB erasesize NAND flash option renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K
|
||||
help
|
||||
The JFFS2 NAND flash options now longer include the page
|
||||
size.
|
||||
|
||||
config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K
|
||||
bool "jffs2 128kB erasesize NAND flash option renamed"
|
||||
select BR2_LEGACY
|
||||
select BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K
|
||||
help
|
||||
The JFFS2 NAND flash options now longer include the page
|
||||
size.
|
||||
|
||||
config BR2_PACKAGE_MONO_20
|
||||
bool "2.0/3.5 .Net Runtime"
|
||||
select BR2_LEGACY
|
||||
|
||||
Reference in New Issue
Block a user