![Michał Leśniewski](/assets/img/avatar_default.png)
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>
38 lines
949 B
Plaintext
38 lines
949 B
Plaintext
# Architecture
|
|
BR2_arm=y
|
|
BR2_arm920t=y
|
|
|
|
# Serial port
|
|
BR2_TARGET_GENERIC_GETTY=y
|
|
BR2_TARGET_GENERIC_GETTY_PORT="ttySAC0"
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_JFFS2=y
|
|
BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y
|
|
BR2_TARGET_ROOTFS_JFFS2_PAGESIZE=0x800
|
|
BR2_TARGET_ROOTFS_JFFS2_EBSIZE=0x20000
|
|
BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y
|
|
BR2_TARGET_ROOTFS_JFFS2_LE=y
|
|
BR2_TARGET_ROOTFS_TAR=y
|
|
|
|
|
|
# Lock down headers to avoid breaking with new defaults
|
|
BR2_KERNEL_HEADERS_VERSION=y
|
|
BR2_DEFAULT_KERNEL_VERSION="3.0.4"
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0=y
|
|
|
|
# Bootloader
|
|
BR2_TARGET_UBOOT=y
|
|
BR2_TARGET_UBOOT_BOARDNAME="mini2440"
|
|
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
|
|
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="http://repo.or.cz/w/u-boot-openmoko/mini2440.git/snapshot/dev-mini2440-stable.tar.gz"
|
|
|
|
#
|
|
# Kernel
|
|
#
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="3.0.4"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="mini2440"
|
|
BR2_LINUX_KERNEL_UIMAGE=y
|