DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k
@ 2024-08-16 12:52 Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 2/9] mipsel: kernel-malta: enable UBIFS Oleksij Rempel
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

QA tool complains:
4KiB page size is the most common supported page size across
architecture with best software compatibility and least internal
fragmentation.  This comes at the cost of increased TLB usage and page
table size.

For more server-like workloads (more processes, larger executables), a
bigger page size can be a better trade-off, but the rationale should be
explicitly documented by overriding this check.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mipsel/kernelconfig-malta      | 4 ++--
 configs/platform-mipsel/kernelconfig-malta.diff | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configs/platform-mipsel/kernelconfig-malta b/configs/platform-mipsel/kernelconfig-malta
index 5fdfd84d..ba066e4a 100644
--- a/configs/platform-mipsel/kernelconfig-malta
+++ b/configs/platform-mipsel/kernelconfig-malta
@@ -338,8 +338,8 @@ CONFIG_HARDWARE_WATCHPOINTS=y
 #
 CONFIG_32BIT=y
 CONFIG_ZBOOT_LOAD_ADDRESS=0x0
-# CONFIG_PAGE_SIZE_4KB is not set
-CONFIG_PAGE_SIZE_16KB=y
+CONFIG_PAGE_SIZE_4KB=y
+# CONFIG_PAGE_SIZE_16KB is not set
 # CONFIG_PAGE_SIZE_64KB is not set
 CONFIG_ARCH_FORCE_MAX_ORDER=11
 CONFIG_BOARD_SCACHE=y
diff --git a/configs/platform-mipsel/kernelconfig-malta.diff b/configs/platform-mipsel/kernelconfig-malta.diff
index a8ee88c1..9e30a228 100644
--- a/configs/platform-mipsel/kernelconfig-malta.diff
+++ b/configs/platform-mipsel/kernelconfig-malta.diff
@@ -1107,8 +1107,6 @@ CONFIG_OF_MDIO=m
 # CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is undefined
 # CONFIG_OVERLAY_FS_REDIRECT_DIR is undefined
 CONFIG_PAGE_POOL_STATS=y
-CONFIG_PAGE_SIZE_16KB=y
-# CONFIG_PAGE_SIZE_4KB is not set
 # CONFIG_PANIC_ON_OOPS is not set
 CONFIG_PANIC_ON_OOPS_VALUE=0
 CONFIG_PANIC_TIMEOUT=0
-- 
2.39.2




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [DistroKit] [PATCH v1 2/9] mipsel: kernel-malta: enable UBIFS
  2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
@ 2024-08-16 12:52 ` Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 3/9] reason: MIPS malta has pci, but distrokit no pciutils Oleksij Rempel
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

Other platform are enabling UBIFS now. Enable it for MIPS malta too.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mipsel/kernelconfig-malta    | 42 ++++++++++++++++---
 .../platform-mipsel/kernelconfig-malta.diff   | 38 +----------------
 2 files changed, 38 insertions(+), 42 deletions(-)

diff --git a/configs/platform-mipsel/kernelconfig-malta b/configs/platform-mipsel/kernelconfig-malta
index ba066e4a..aacb935c 100644
--- a/configs/platform-mipsel/kernelconfig-malta
+++ b/configs/platform-mipsel/kernelconfig-malta
@@ -1427,7 +1427,7 @@ CONFIG_MTD_CFI_UTIL=y
 # CONFIG_MTD_LPDDR is not set
 # end of LPDDR & LPDDR2 PCM memory drivers
 
-CONFIG_MTD_UBI=m
+CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
 CONFIG_MTD_UBI_BEB_LIMIT=20
 # CONFIG_MTD_UBI_FASTMAP is not set
@@ -3241,7 +3241,39 @@ CONFIG_MEMFD_CREATE=y
 # CONFIG_CONFIGFS_FS is not set
 # end of Pseudo filesystems
 
-# CONFIG_MISC_FILESYSTEMS is not set
+CONFIG_MISC_FILESYSTEMS=y
+# CONFIG_ORANGEFS_FS is not set
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_ECRYPT_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+# CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+CONFIG_UBIFS_FS_ZSTD=y
+# CONFIG_UBIFS_ATIME_SUPPORT is not set
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_SECURITY=y
+# CONFIG_UBIFS_FS_AUTHENTICATION is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_SQUASHFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_QNX6FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_PSTORE is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+# CONFIG_EROFS_FS is not set
 CONFIG_NETWORK_FILESYSTEMS=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V2=y
@@ -3500,7 +3532,7 @@ CONFIG_CRYPTO_CRC32C=y
 #
 # Compression
 #
-CONFIG_CRYPTO_DEFLATE=m
+CONFIG_CRYPTO_DEFLATE=y
 CONFIG_CRYPTO_LZO=y
 # CONFIG_CRYPTO_842 is not set
 # CONFIG_CRYPTO_LZ4 is not set
@@ -3624,8 +3656,8 @@ CONFIG_LIBCRC32C=m
 # CONFIG_CRC8 is not set
 CONFIG_XXHASH=y
 # CONFIG_RANDOM32_SELFTEST is not set
-CONFIG_ZLIB_INFLATE=m
-CONFIG_ZLIB_DEFLATE=m
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
 CONFIG_LZO_COMPRESS=y
 CONFIG_LZO_DECOMPRESS=y
 CONFIG_ZSTD_COMMON=y
diff --git a/configs/platform-mipsel/kernelconfig-malta.diff b/configs/platform-mipsel/kernelconfig-malta.diff
index 9e30a228..a81e7543 100644
--- a/configs/platform-mipsel/kernelconfig-malta.diff
+++ b/configs/platform-mipsel/kernelconfig-malta.diff
@@ -4,8 +4,6 @@
 # CONFIG_ACENIC is not set
 # CONFIG_ACORN_PARTITION is undefined
 # CONFIG_ADAPTEC_STARFIRE is not set
-# CONFIG_ADFS_FS is undefined
-# CONFIG_AFFS_FS is undefined
 # CONFIG_AHCI_CEVA is not set
 # CONFIG_AHCI_DWC is not set
 CONFIG_AIC7XXX_CMDS_PER_DEVICE=32
@@ -76,8 +74,6 @@ CONFIG_AX88796=m
 CONFIG_BCM_NET_PHYLIB=m
 # CONFIG_BE2ISCSI is not set
 # CONFIG_BE2NET is not set
-# CONFIG_BEFS_FS is undefined
-# CONFIG_BFS_FS is undefined
 CONFIG_BLK_DEBUG_FS=y
 CONFIG_BLK_DEV_3W_XXXX_RAID=m
 CONFIG_BLK_DEV_BSG=y
@@ -153,7 +149,6 @@ CONFIG_CPU_MIPS32_R1=y
 CONFIG_CPU_MIPSR1=y
 # CONFIG_CPU_MIPSR2 is undefined
 # CONFIG_CPU_SUPPORTS_MSA is undefined
-# CONFIG_CRAMFS is undefined
 CONFIG_CRASH_CORE=y
 # CONFIG_CRC32_SARWATE is not set
 CONFIG_CRC32_SLICEBY8=y
@@ -179,7 +174,6 @@ CONFIG_CRYPTO_CCM=m
 CONFIG_CRYPTO_CMAC=m
 CONFIG_CRYPTO_CRYPTD=m
 CONFIG_CRYPTO_CTR=m
-CONFIG_CRYPTO_DEFLATE=m
 CONFIG_CRYPTO_DES=m
 # CONFIG_CRYPTO_DEV_AMLOGIC_GXL is not set
 # CONFIG_CRYPTO_DEV_ATMEL_ECC is not set
@@ -269,14 +263,11 @@ CONFIG_DNOTIFY=y
 # CONFIG_E1000 is not set
 # CONFIG_E1000E is not set
 # CONFIG_E100 is not set
-# CONFIG_ECRYPT_FS is undefined
-# CONFIG_EFS_FS is undefined
 CONFIG_ELF_CORE=y
 # CONFIG_EMBEDDED is not set
 # CONFIG_ENIC is not set
 # CONFIG_EPIC100 is not set
 CONFIG_EQUALIZER=m
-# CONFIG_EROFS_FS is undefined
 # CONFIG_ET131X is not set
 CONFIG_FB=y
 # CONFIG_FB_3DFX is not set
@@ -377,8 +368,6 @@ CONFIG_GARP=m
 # CONFIG_HAMACHI is not set
 # CONFIG_HAPPYMEAL is not set
 # CONFIG_HAVE_KVM is undefined
-# CONFIG_HFSPLUS_FS is undefined
-# CONFIG_HFS_FS is undefined
 CONFIG_HID=m
 # CONFIG_HIDRAW is not set
 # CONFIG_HID_A4TECH is not set
@@ -477,7 +466,6 @@ CONFIG_HOSTAP_FIRMWARE_NVRAM=y
 CONFIG_HOSTAP_PCI=m
 CONFIG_HOSTAP_PLX=m
 # CONFIG_HOTPLUG_PCI is not set
-# CONFIG_HPFS_FS is undefined
 # CONFIG_HP_ILO is not set
 CONFIG_HW_RANDOM=m
 # CONFIG_HW_RANDOM_BA431 is not set
@@ -629,7 +617,6 @@ CONFIG_IP_VS_WRR=m
 CONFIG_ISCSI_TCP=m
 # CONFIG_ISDN is not set
 # CONFIG_IXGBE is not set
-# CONFIG_JFFS2_FS is undefined
 # CONFIG_JME is not set
 # CONFIG_JZ4740_WDT is undefined
 # CONFIG_KARMA_PARTITION is undefined
@@ -759,7 +746,6 @@ CONFIG_MD_RAID456=m
 # CONFIG_MFD_RDC321X is not set
 # CONFIG_MFD_VX855 is not set
 CONFIG_MII=y
-# CONFIG_MINIX_FS is undefined
 # CONFIG_MINIX_SUBPARTITION is undefined
 # CONFIG_MIPS_CDMM is undefined
 CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER=y
@@ -770,7 +756,6 @@ CONFIG_MIPS_PLATFORM_DEVICES=y
 # CONFIG_MIPS_RAW_APPENDED_DTB is not set
 # CONFIG_MIPS_SPRAM is undefined
 # CONFIG_MISC_ALCOR_PCI is not set
-# CONFIG_MISC_FILESYSTEMS is not set
 # CONFIG_MISC_RTSX_PCI is not set
 # CONFIG_MISDN is undefined
 CONFIG_MODULE_SRCVERSION_ALL=y
@@ -826,7 +811,6 @@ CONFIG_MTD_OOPS=m
 # CONFIG_MTD_PHYSMAP_OF is undefined
 # CONFIG_MTD_PHYSMAP_VERSATILE is undefined
 # CONFIG_MTD_PMC551 is not set
-CONFIG_MTD_UBI=m
 CONFIG_MTD_UBI_GLUEBI=m
 CONFIG_MULTIPLEXER=y
 # CONFIG_MUX_ADG792A is not set
@@ -1098,8 +1082,6 @@ CONFIG_NVMEM_SYSFS=y
 # CONFIG_NVMEM_U_BOOT_ENV is not set
 # CONFIG_OF_GPIO is undefined
 CONFIG_OF_MDIO=m
-# CONFIG_OMFS_FS is undefined
-# CONFIG_ORANGEFS_FS is undefined
 # CONFIG_OSF_PARTITION is undefined
 # CONFIG_OVERLAY_FS is not set
 # CONFIG_OVERLAY_FS_INDEX is undefined
@@ -1227,12 +1209,9 @@ CONFIG_POWER_RESET_SYSCON=y
 # CONFIG_PRESTERA is undefined
 CONFIG_PROC_KCORE=y
 CONFIG_PROC_PAGE_MONITOR=y
-# CONFIG_PSTORE is undefined
 # CONFIG_QED is not set
 # CONFIG_QLA3XXX is not set
 # CONFIG_QLCNIC is not set
-# CONFIG_QNX4FS_FS is undefined
-# CONFIG_QNX6FS_FS is undefined
 CONFIG_QSEMI_PHY=m
 # CONFIG_R6040 is not set
 # CONFIG_R8169 is not set
@@ -1325,7 +1304,6 @@ CONFIG_RFKILL=m
 # CONFIG_RFKILL_INPUT is not set
 # CONFIG_RFKILL_LEDS is undefined
 # CONFIG_RMI4_CORE is not set
-# CONFIG_ROMFS_FS is undefined
 CONFIG_RTC_CLASS=y
 # CONFIG_RTC_DEBUG is not set
 # CONFIG_RTC_DRV_ABB5ZES3 is not set
@@ -1527,7 +1505,7 @@ CONFIG_SKB_EXTENSIONS=y
 CONFIG_SMSC_PHY=m
 # CONFIG_SOFT_WATCHDOG is undefined
 # CONFIG_SOLARIS_X86_PARTITION is undefined
-# CONFIG_SQUASHFS is undefined
+# CONFIG_SQUASHFS is not set
 # CONFIG_SQUASHFS_4K_DEVBLK_SIZE is undefined
 # CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is undefined
 # CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI is undefined
@@ -1557,7 +1535,6 @@ CONFIG_STP=m
 CONFIG_SYSFS_SYSCALL=y
 # CONFIG_SYSTEM_TRUSTED_KEYRING is not set
 # CONFIG_SYSV68_PARTITION is undefined
-# CONFIG_SYSV_FS is undefined
 CONFIG_TARGET_ISA_REV=1
 # CONFIG_TASKS_TRACE_RCU_READ_MB is undefined
 CONFIG_TC35815=m
@@ -1592,18 +1569,8 @@ CONFIG_TEXTSEARCH_KMP=m
 # CONFIG_TPS65010 is undefined
 CONFIG_TUN=m
 # CONFIG_TXGBE is not set
-# CONFIG_UBIFS_ATIME_SUPPORT is undefined
-# CONFIG_UBIFS_FS is undefined
-# CONFIG_UBIFS_FS_ADVANCED_COMPR is undefined
-# CONFIG_UBIFS_FS_AUTHENTICATION is undefined
-# CONFIG_UBIFS_FS_LZO is undefined
-# CONFIG_UBIFS_FS_SECURITY is undefined
-# CONFIG_UBIFS_FS_XATTR is undefined
-# CONFIG_UBIFS_FS_ZLIB is undefined
-# CONFIG_UBIFS_FS_ZSTD is undefined
 # CONFIG_UEVENT_HELPER is not set
 # CONFIG_UEVENT_HELPER_PATH is undefined
-# CONFIG_UFS_FS is undefined
 # CONFIG_UHID is not set
 CONFIG_UIO=m
 # CONFIG_UIO_AEC is not set
@@ -1651,7 +1618,6 @@ CONFIG_VLAN_8021Q=m
 CONFIG_VLAN_8021Q_GVRP=y
 # CONFIG_VMXNET3 is not set
 CONFIG_VM_EVENT_COUNTERS=y
-# CONFIG_VXFS_FS is undefined
 # CONFIG_WATCHDOG is not set
 # CONFIG_WATCHDOG_CORE is undefined
 # CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED is undefined
@@ -1706,5 +1672,3 @@ CONFIG_XOR_BLOCKS=m
 # CONFIG_XZ_DEC_X86 is undefined
 # CONFIG_YELLOWFIN is not set
 # CONFIG_ZIIRAVE_WATCHDOG is undefined
-CONFIG_ZLIB_DEFLATE=m
-CONFIG_ZLIB_INFLATE=m
-- 
2.39.2




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [DistroKit] [PATCH v1 3/9] reason: MIPS malta has pci, but distrokit no pciutils
  2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 2/9] mipsel: kernel-malta: enable UBIFS Oleksij Rempel
@ 2024-08-16 12:52 ` Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 4/9] mipsel: kernel-malta: enable SQUASHFS Oleksij Rempel
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/bsp.ref | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/bsp.ref b/configs/bsp.ref
index 680148db..6c8e8be0 100644
--- a/configs/bsp.ref
+++ b/configs/bsp.ref
@@ -13,6 +13,8 @@ ptxdist_debug_pci:
       value: False
     - condition: kconfig.PTXPlatformConfig()['ARCH_ARM64']
       value: False
+    - condition: kconfig.PTXPlatformConfig()['ARCH_MIPS']
+      value: False
     - value: True
 
 kernel_dtb_partitions:
-- 
2.39.2




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [DistroKit] [PATCH v1 4/9] mipsel: kernel-malta: enable SQUASHFS
  2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 2/9] mipsel: kernel-malta: enable UBIFS Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 3/9] reason: MIPS malta has pci, but distrokit no pciutils Oleksij Rempel
@ 2024-08-16 12:52 ` Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 5/9] mipsel: kernel-malta: disable BLOCK_LEGACY_AUTOLOAD Oleksij Rempel
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

squashfs and loop support is needed to mount rauc bundles.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mipsel/kernelconfig-malta    | 27 ++++++++++++++++---
 .../platform-mipsel/kernelconfig-malta.diff   | 24 +++--------------
 2 files changed, 27 insertions(+), 24 deletions(-)

diff --git a/configs/platform-mipsel/kernelconfig-malta b/configs/platform-mipsel/kernelconfig-malta
index aacb935c..66255873 100644
--- a/configs/platform-mipsel/kernelconfig-malta
+++ b/configs/platform-mipsel/kernelconfig-malta
@@ -1731,9 +1731,9 @@ CONFIG_MD_MULTIPATH=m
 CONFIG_MD_FAULTY=m
 # CONFIG_BCACHE is not set
 CONFIG_BLK_DEV_DM_BUILTIN=y
-CONFIG_BLK_DEV_DM=m
+CONFIG_BLK_DEV_DM=y
 # CONFIG_DM_DEBUG is not set
-CONFIG_DM_BUFIO=m
+CONFIG_DM_BUFIO=y
 # CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set
 # CONFIG_DM_UNSTRIPED is not set
 CONFIG_DM_CRYPT=m
@@ -1755,9 +1755,12 @@ CONFIG_DM_MULTIPATH=m
 # CONFIG_DM_MULTIPATH_IOA is not set
 # CONFIG_DM_DELAY is not set
 # CONFIG_DM_DUST is not set
+# CONFIG_DM_INIT is not set
 # CONFIG_DM_UEVENT is not set
 # CONFIG_DM_FLAKEY is not set
-# CONFIG_DM_VERITY is not set
+CONFIG_DM_VERITY=y
+# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set
+# CONFIG_DM_VERITY_FEC is not set
 # CONFIG_DM_SWITCH is not set
 # CONFIG_DM_LOG_WRITES is not set
 # CONFIG_DM_INTEGRITY is not set
@@ -3262,7 +3265,23 @@ CONFIG_UBIFS_FS_XATTR=y
 CONFIG_UBIFS_FS_SECURITY=y
 # CONFIG_UBIFS_FS_AUTHENTICATION is not set
 # CONFIG_CRAMFS is not set
-# CONFIG_SQUASHFS is not set
+CONFIG_SQUASHFS=y
+# CONFIG_SQUASHFS_FILE_CACHE is not set
+CONFIG_SQUASHFS_FILE_DIRECT=y
+CONFIG_SQUASHFS_DECOMP_SINGLE=y
+CONFIG_SQUASHFS_DECOMP_MULTI=y
+CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y
+CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT=y
+CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS=y
+# CONFIG_SQUASHFS_XATTR is not set
+CONFIG_SQUASHFS_ZLIB=y
+# CONFIG_SQUASHFS_LZ4 is not set
+# CONFIG_SQUASHFS_LZO is not set
+# CONFIG_SQUASHFS_XZ is not set
+# CONFIG_SQUASHFS_ZSTD is not set
+# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set
+# CONFIG_SQUASHFS_EMBEDDED is not set
+CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
 # CONFIG_VXFS_FS is not set
 # CONFIG_MINIX_FS is not set
 # CONFIG_OMFS_FS is not set
diff --git a/configs/platform-mipsel/kernelconfig-malta.diff b/configs/platform-mipsel/kernelconfig-malta.diff
index a81e7543..da5d3886 100644
--- a/configs/platform-mipsel/kernelconfig-malta.diff
+++ b/configs/platform-mipsel/kernelconfig-malta.diff
@@ -79,7 +79,6 @@ CONFIG_BLK_DEV_3W_XXXX_RAID=m
 CONFIG_BLK_DEV_BSG=y
 CONFIG_BLK_DEV_BSGLIB=y
 CONFIG_BLK_DEV_BSG_COMMON=y
-CONFIG_BLK_DEV_DM=m
 CONFIG_BLK_DEV_LOOP=m
 CONFIG_BLK_DEV_MD=m
 # CONFIG_BLK_DEV_NVME is not set
@@ -241,9 +240,7 @@ CONFIG_DEVPORT=y
 # CONFIG_DEVTMPFS_MOUNT is not set
 CONFIG_DEV_APPLETALK=m
 # CONFIG_DL2K is not set
-CONFIG_DM_BUFIO=m
 CONFIG_DM_CRYPT=m
-# CONFIG_DM_INIT is undefined
 # CONFIG_DM_LOG_USERSPACE is not set
 CONFIG_DM_MIRROR=m
 CONFIG_DM_MULTIPATH=m
@@ -252,9 +249,6 @@ CONFIG_DM_MULTIPATH=m
 # CONFIG_DM_MULTIPATH_QL is not set
 # CONFIG_DM_MULTIPATH_ST is not set
 CONFIG_DM_SNAPSHOT=m
-# CONFIG_DM_VERITY is not set
-# CONFIG_DM_VERITY_FEC is undefined
-# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is undefined
 CONFIG_DM_ZERO=m
 CONFIG_DNOTIFY=y
 # CONFIG_DNS_RESOLVER is not set
@@ -1505,23 +1499,13 @@ CONFIG_SKB_EXTENSIONS=y
 CONFIG_SMSC_PHY=m
 # CONFIG_SOFT_WATCHDOG is undefined
 # CONFIG_SOLARIS_X86_PARTITION is undefined
-# CONFIG_SQUASHFS is not set
-# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is undefined
-# CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT is undefined
+CONFIG_SQUASHFS_CHOICE_DECOMP_BY_MOUNT=y
 # CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI is undefined
 # CONFIG_SQUASHFS_COMPILE_DECOMP_MULTI_PERCPU is undefined
 # CONFIG_SQUASHFS_COMPILE_DECOMP_SINGLE is undefined
-# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is undefined
-# CONFIG_SQUASHFS_EMBEDDED is undefined
-# CONFIG_SQUASHFS_FILE_CACHE is undefined
-# CONFIG_SQUASHFS_FILE_DIRECT is undefined
-# CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE is undefined
-# CONFIG_SQUASHFS_LZ4 is undefined
-# CONFIG_SQUASHFS_LZO is undefined
-# CONFIG_SQUASHFS_XATTR is undefined
-# CONFIG_SQUASHFS_XZ is undefined
-# CONFIG_SQUASHFS_ZLIB is undefined
-# CONFIG_SQUASHFS_ZSTD is undefined
+CONFIG_SQUASHFS_DECOMP_MULTI=y
+CONFIG_SQUASHFS_DECOMP_SINGLE=y
+CONFIG_SQUASHFS_MOUNT_DECOMP_THREADS=y
 # CONFIG_STAGING is not set
 # CONFIG_STAGING_BOARD is undefined
 # CONFIG_STAGING_MEDIA is undefined
-- 
2.39.2




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [DistroKit] [PATCH v1 5/9] mipsel: kernel-malta: disable BLOCK_LEGACY_AUTOLOAD
  2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
                   ` (2 preceding siblings ...)
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 4/9] mipsel: kernel-malta: enable SQUASHFS Oleksij Rempel
@ 2024-08-16 12:52 ` Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 6/9] mipsel: barebox-malta: enable MMU Oleksij Rempel
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

BLOCK_LEGACY_AUTOLOAD and RAID is not used. So, can be disabled

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mipsel/kernelconfig-malta    | 42 +++++--------------
 .../platform-mipsel/kernelconfig-malta.diff   | 32 ++------------
 2 files changed, 14 insertions(+), 60 deletions(-)

diff --git a/configs/platform-mipsel/kernelconfig-malta b/configs/platform-mipsel/kernelconfig-malta
index 66255873..1af10131 100644
--- a/configs/platform-mipsel/kernelconfig-malta
+++ b/configs/platform-mipsel/kernelconfig-malta
@@ -547,7 +547,7 @@ CONFIG_MODPROBE_PATH="/sbin/modprobe"
 # CONFIG_TRIM_UNUSED_KSYMS is not set
 CONFIG_MODULES_TREE_LOOKUP=y
 CONFIG_BLOCK=y
-CONFIG_BLOCK_LEGACY_AUTOLOAD=y
+# CONFIG_BLOCK_LEGACY_AUTOLOAD is not set
 CONFIG_BLK_DEV_BSG_COMMON=y
 CONFIG_BLK_DEV_BSGLIB=y
 # CONFIG_BLK_DEV_INTEGRITY is not set
@@ -1721,44 +1721,31 @@ CONFIG_ATA_PIIX=y
 # CONFIG_ATA_GENERIC is not set
 CONFIG_PATA_LEGACY=y
 CONFIG_MD=y
-CONFIG_BLK_DEV_MD=m
-CONFIG_MD_LINEAR=m
-CONFIG_MD_RAID0=m
-CONFIG_MD_RAID1=m
-CONFIG_MD_RAID10=m
-CONFIG_MD_RAID456=m
-CONFIG_MD_MULTIPATH=m
-CONFIG_MD_FAULTY=m
+# CONFIG_BLK_DEV_MD is not set
 # CONFIG_BCACHE is not set
 CONFIG_BLK_DEV_DM_BUILTIN=y
-CONFIG_BLK_DEV_DM=y
+CONFIG_BLK_DEV_DM=m
 # CONFIG_DM_DEBUG is not set
-CONFIG_DM_BUFIO=y
+CONFIG_DM_BUFIO=m
 # CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set
 # CONFIG_DM_UNSTRIPED is not set
-CONFIG_DM_CRYPT=m
-CONFIG_DM_SNAPSHOT=m
+# CONFIG_DM_CRYPT is not set
+# CONFIG_DM_SNAPSHOT is not set
 # CONFIG_DM_THIN_PROVISIONING is not set
 # CONFIG_DM_CACHE is not set
 # CONFIG_DM_WRITECACHE is not set
 # CONFIG_DM_EBS is not set
 # CONFIG_DM_ERA is not set
 # CONFIG_DM_CLONE is not set
-CONFIG_DM_MIRROR=m
-# CONFIG_DM_LOG_USERSPACE is not set
+# CONFIG_DM_MIRROR is not set
 # CONFIG_DM_RAID is not set
-CONFIG_DM_ZERO=m
-CONFIG_DM_MULTIPATH=m
-# CONFIG_DM_MULTIPATH_QL is not set
-# CONFIG_DM_MULTIPATH_ST is not set
-# CONFIG_DM_MULTIPATH_HST is not set
-# CONFIG_DM_MULTIPATH_IOA is not set
+# CONFIG_DM_ZERO is not set
+# CONFIG_DM_MULTIPATH is not set
 # CONFIG_DM_DELAY is not set
 # CONFIG_DM_DUST is not set
-# CONFIG_DM_INIT is not set
 # CONFIG_DM_UEVENT is not set
 # CONFIG_DM_FLAKEY is not set
-CONFIG_DM_VERITY=y
+CONFIG_DM_VERITY=m
 # CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG is not set
 # CONFIG_DM_VERITY_FEC is not set
 # CONFIG_DM_SWITCH is not set
@@ -3416,12 +3403,6 @@ CONFIG_RANDSTRUCT_NONE=y
 # end of Kernel hardening options
 # end of Security options
 
-CONFIG_XOR_BLOCKS=m
-CONFIG_ASYNC_CORE=m
-CONFIG_ASYNC_MEMCPY=m
-CONFIG_ASYNC_XOR=m
-CONFIG_ASYNC_PQ=m
-CONFIG_ASYNC_RAID6_RECOV=m
 CONFIG_CRYPTO=y
 
 #
@@ -3622,8 +3603,6 @@ CONFIG_BINARY_PRINTF=y
 #
 # Library routines
 #
-CONFIG_RAID6_PQ=m
-CONFIG_RAID6_PQ_BENCHMARK=y
 # CONFIG_PACKING is not set
 CONFIG_BITREVERSE=y
 CONFIG_ARCH_HAS_STRNCPY_FROM_USER=y
@@ -3981,7 +3960,6 @@ CONFIG_RUNTIME_TESTING_MENU=y
 # CONFIG_INTERVAL_TREE_TEST is not set
 # CONFIG_PERCPU_TEST is not set
 # CONFIG_ATOMIC64_SELFTEST is not set
-# CONFIG_ASYNC_RAID6_TEST is not set
 # CONFIG_TEST_HEXDUMP is not set
 # CONFIG_STRING_SELFTEST is not set
 # CONFIG_TEST_STRING_HELPERS is not set
diff --git a/configs/platform-mipsel/kernelconfig-malta.diff b/configs/platform-mipsel/kernelconfig-malta.diff
index da5d3886..0ad1470d 100644
--- a/configs/platform-mipsel/kernelconfig-malta.diff
+++ b/configs/platform-mipsel/kernelconfig-malta.diff
@@ -25,12 +25,6 @@ CONFIG_ASM_MODVERSIONS=y
 CONFIG_ASN1=y
 CONFIG_ASYMMETRIC_KEY_TYPE=y
 CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
-CONFIG_ASYNC_CORE=m
-CONFIG_ASYNC_MEMCPY=m
-CONFIG_ASYNC_PQ=m
-CONFIG_ASYNC_RAID6_RECOV=m
-# CONFIG_ASYNC_RAID6_TEST is not set
-CONFIG_ASYNC_XOR=m
 # CONFIG_AT803X_PHY is undefined
 CONFIG_ATA=y
 CONFIG_ATALK=m
@@ -79,14 +73,13 @@ CONFIG_BLK_DEV_3W_XXXX_RAID=m
 CONFIG_BLK_DEV_BSG=y
 CONFIG_BLK_DEV_BSGLIB=y
 CONFIG_BLK_DEV_BSG_COMMON=y
+CONFIG_BLK_DEV_DM=m
 CONFIG_BLK_DEV_LOOP=m
-CONFIG_BLK_DEV_MD=m
 # CONFIG_BLK_DEV_NVME is not set
 # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
 CONFIG_BLK_DEV_SD=y
 # CONFIG_BLK_DEV_SR is not set
 CONFIG_BLK_MQ_PCI=y
-CONFIG_BLOCK_LEGACY_AUTOLOAD=y
 # CONFIG_BNA is not set
 # CONFIG_BNX2 is not set
 # CONFIG_BNX2X is not set
@@ -240,16 +233,9 @@ CONFIG_DEVPORT=y
 # CONFIG_DEVTMPFS_MOUNT is not set
 CONFIG_DEV_APPLETALK=m
 # CONFIG_DL2K is not set
-CONFIG_DM_CRYPT=m
-# CONFIG_DM_LOG_USERSPACE is not set
-CONFIG_DM_MIRROR=m
-CONFIG_DM_MULTIPATH=m
-# CONFIG_DM_MULTIPATH_HST is not set
-# CONFIG_DM_MULTIPATH_IOA is not set
-# CONFIG_DM_MULTIPATH_QL is not set
-# CONFIG_DM_MULTIPATH_ST is not set
-CONFIG_DM_SNAPSHOT=m
-CONFIG_DM_ZERO=m
+CONFIG_DM_BUFIO=m
+# CONFIG_DM_INIT is undefined
+CONFIG_DM_VERITY=m
 CONFIG_DNOTIFY=y
 # CONFIG_DNS_RESOLVER is not set
 # CONFIG_DW_WATCHDOG is undefined
@@ -725,13 +711,6 @@ CONFIG_MDIO_BUS=m
 # CONFIG_MDIO_BUS_MUX_GPIO is undefined
 CONFIG_MDIO_DEVICE=m
 CONFIG_MDIO_DEVRES=m
-CONFIG_MD_FAULTY=m
-CONFIG_MD_LINEAR=m
-CONFIG_MD_MULTIPATH=m
-CONFIG_MD_RAID0=m
-CONFIG_MD_RAID10=m
-CONFIG_MD_RAID1=m
-CONFIG_MD_RAID456=m
 # CONFIG_MEGARAID_LEGACY is not set
 # CONFIG_MEGARAID_NEWGEN is not set
 # CONFIG_MEGARAID_SAS is not set
@@ -1209,8 +1188,6 @@ CONFIG_PROC_PAGE_MONITOR=y
 CONFIG_QSEMI_PHY=m
 # CONFIG_R6040 is not set
 # CONFIG_R8169 is not set
-CONFIG_RAID6_PQ=m
-CONFIG_RAID6_PQ_BENCHMARK=y
 CONFIG_RAID_ATTRS=m
 # CONFIG_RAPIDIO is not set
 # CONFIG_RCU_BOOST is undefined
@@ -1644,7 +1621,6 @@ CONFIG_XFRM_MIGRATE=y
 CONFIG_XFRM_USER=m
 # CONFIG_XILINX_WATCHDOG is undefined
 # CONFIG_XIL_AXIS_FIFO is undefined
-CONFIG_XOR_BLOCKS=m
 # CONFIG_XZ_DEC is not set
 # CONFIG_XZ_DEC_ARM is undefined
 # CONFIG_XZ_DEC_ARMTHUMB is undefined
-- 
2.39.2




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [DistroKit] [PATCH v1 6/9] mipsel: barebox-malta: enable MMU
  2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
                   ` (3 preceding siblings ...)
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 5/9] mipsel: kernel-malta: disable BLOCK_LEGACY_AUTOLOAD Oleksij Rempel
@ 2024-08-16 12:52 ` Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 7/9] mipsel: barebox-malta: use MALLOC_TLSF Oleksij Rempel
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

The MMU should be enabled for performance reasons

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mipsel/barebox-malta.config      | 3 ++-
 configs/platform-mipsel/barebox-malta.config.diff | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/configs/platform-mipsel/barebox-malta.config b/configs/platform-mipsel/barebox-malta.config
index ff2e7f0f..cb7d5bd4 100644
--- a/configs/platform-mipsel/barebox-malta.config
+++ b/configs/platform-mipsel/barebox-malta.config
@@ -88,7 +88,7 @@ CONFIG_IMAGE_COMPRESSION=y
 # CONFIG_IMAGE_COMPRESSION_GZIP is not set
 CONFIG_IMAGE_COMPRESSION_XZKERN=y
 # CONFIG_IMAGE_COMPRESSION_NONE is not set
-# CONFIG_MMU is not set
+CONFIG_MMU=y
 CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
 CONFIG_TEXT_BASE=0xa0800000
 CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x400000
@@ -628,6 +628,7 @@ CONFIG_PCI_DEBUG=y
 # CONFIG_POWER_RESET_GPIO_RESTART is not set
 CONFIG_VIRTIO_MENU=y
 # CONFIG_VIRTIO_MMIO is not set
+# CONFIG_VIRTIO_PCI is not set
 # end of Drivers
 
 #
diff --git a/configs/platform-mipsel/barebox-malta.config.diff b/configs/platform-mipsel/barebox-malta.config.diff
index 2cd78248..5fd5f8f1 100644
--- a/configs/platform-mipsel/barebox-malta.config.diff
+++ b/configs/platform-mipsel/barebox-malta.config.diff
@@ -117,7 +117,6 @@ CONFIG_MENU=y
 # CONFIG_MFD_STPMIC1 is not set
 # CONFIG_MFD_TWL4030 is not set
 # CONFIG_MFD_TWL6030 is not set
-# CONFIG_MMU is not set
 # CONFIG_MTD_DATAFLASH is undefined
 # CONFIG_MTD_M25P80 is undefined
 CONFIG_MTD_OOB_DEVICE=y
@@ -150,4 +149,5 @@ CONFIG_STACK_SIZE=0x7000
 CONFIG_SYS_HAS_CPU_MIPS32_R1=y
 CONFIG_SYS_SUPPORTS_LITTLE_ENDIAN=y
 CONFIG_TEXT_BASE=0xa0800000
+# CONFIG_VIRTIO_PCI is not set
 CONFIG_ZLIB=y
-- 
2.39.2




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [DistroKit] [PATCH v1 7/9] mipsel: barebox-malta: use MALLOC_TLSF
  2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
                   ` (4 preceding siblings ...)
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 6/9] mipsel: barebox-malta: enable MMU Oleksij Rempel
@ 2024-08-16 12:52 ` Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 8/9] mipsel: barebox-malta: disable FS_CRAMFS Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 9/9] mipsel: barebox-malta: use CONSOLE_ACTIVATE_NONE Oleksij Rempel
  7 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

Malloc TLSF should better than DLMALLOC

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mipsel/barebox-malta.config      | 4 ++--
 configs/platform-mipsel/barebox-malta.config.diff | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configs/platform-mipsel/barebox-malta.config b/configs/platform-mipsel/barebox-malta.config
index cb7d5bd4..cf1b4758 100644
--- a/configs/platform-mipsel/barebox-malta.config
+++ b/configs/platform-mipsel/barebox-malta.config
@@ -99,8 +99,8 @@ CONFIG_MALLOC_SIZE=0x400000
 # end of memory layout
 
 CONFIG_EXPERIMENTAL=y
-CONFIG_MALLOC_DLMALLOC=y
-# CONFIG_MALLOC_TLSF is not set
+# CONFIG_MALLOC_DLMALLOC is not set
+CONFIG_MALLOC_TLSF=y
 # CONFIG_KALLSYMS is not set
 # CONFIG_PANIC_HANG is not set
 CONFIG_PROMPT="barebox:"
diff --git a/configs/platform-mipsel/barebox-malta.config.diff b/configs/platform-mipsel/barebox-malta.config.diff
index 5fd5f8f1..365122ab 100644
--- a/configs/platform-mipsel/barebox-malta.config.diff
+++ b/configs/platform-mipsel/barebox-malta.config.diff
@@ -100,9 +100,7 @@ CONFIG_I2C_GPIO=y
 # CONFIG_LED_TRIGGERS is undefined
 # CONFIG_MACH_MIPS_ATH79 is not set
 CONFIG_MACH_MIPS_MALTA=y
-CONFIG_MALLOC_DLMALLOC=y
 CONFIG_MALLOC_SIZE=0x400000
-# CONFIG_MALLOC_TLSF is not set
 CONFIG_MD5=y
 # CONFIG_MDIO_BITBANG is not set
 # CONFIG_MDIO_GPIO is undefined
-- 
2.39.2




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [DistroKit] [PATCH v1 8/9] mipsel: barebox-malta: disable FS_CRAMFS
  2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
                   ` (5 preceding siblings ...)
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 7/9] mipsel: barebox-malta: use MALLOC_TLSF Oleksij Rempel
@ 2024-08-16 12:52 ` Oleksij Rempel
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 9/9] mipsel: barebox-malta: use CONSOLE_ACTIVATE_NONE Oleksij Rempel
  7 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

Cramfs is not used

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mipsel/barebox-malta.config      | 2 +-
 configs/platform-mipsel/barebox-malta.config.diff | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/configs/platform-mipsel/barebox-malta.config b/configs/platform-mipsel/barebox-malta.config
index cf1b4758..0ea7cc38 100644
--- a/configs/platform-mipsel/barebox-malta.config
+++ b/configs/platform-mipsel/barebox-malta.config
@@ -645,7 +645,7 @@ CONFIG_FS_LEGACY=y
 # Consider updating them.
 #
 CONFIG_FS_AUTOMOUNT=y
-CONFIG_FS_CRAMFS=y
+# CONFIG_FS_CRAMFS is not set
 # CONFIG_FS_EXT4 is not set
 CONFIG_FS_RAMFS=y
 CONFIG_FS_DEVFS=y
diff --git a/configs/platform-mipsel/barebox-malta.config.diff b/configs/platform-mipsel/barebox-malta.config.diff
index 365122ab..81b36c9b 100644
--- a/configs/platform-mipsel/barebox-malta.config.diff
+++ b/configs/platform-mipsel/barebox-malta.config.diff
@@ -73,7 +73,6 @@ CONFIG_DRIVER_SERIAL_NS16550_PCI=y
 # CONFIG_EEPROM_AT25 is undefined
 CONFIG_EXPERIMENTAL=y
 # CONFIG_FIRMWARE_ALTERA_SERIAL is undefined
-CONFIG_FS_CRAMFS=y
 CONFIG_FS_FAT=y
 CONFIG_FS_FAT_LFN=y
 CONFIG_FS_FAT_WRITE=y
-- 
2.39.2




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [DistroKit] [PATCH v1 9/9] mipsel: barebox-malta: use CONSOLE_ACTIVATE_NONE
  2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
                   ` (6 preceding siblings ...)
  2024-08-16 12:52 ` [DistroKit] [PATCH v1 8/9] mipsel: barebox-malta: disable FS_CRAMFS Oleksij Rempel
@ 2024-08-16 12:52 ` Oleksij Rempel
  7 siblings, 0 replies; 9+ messages in thread
From: Oleksij Rempel @ 2024-08-16 12:52 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel

For system booting with device tree, the default console should be
specifie via /chosen/stdout-path and barebox should not unconditionally
enable any consoles. This avoids issues with probe order
(CONFIG_CONSOLE_ACTIVATE_FIRST) and crosstalk with serial devices that
don't expect console output (CONFIG_CONSOLE_ACTIVATE_ALL).

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 configs/platform-mipsel/barebox-malta.config      | 4 ++--
 configs/platform-mipsel/barebox-malta.config.diff | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configs/platform-mipsel/barebox-malta.config b/configs/platform-mipsel/barebox-malta.config
index 0ea7cc38..0d1e950e 100644
--- a/configs/platform-mipsel/barebox-malta.config
+++ b/configs/platform-mipsel/barebox-malta.config
@@ -142,9 +142,9 @@ CONFIG_IMD=y
 CONFIG_CONSOLE_FULL=y
 # CONFIG_CONSOLE_SIMPLE is not set
 # CONFIG_CONSOLE_NONE is not set
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 # CONFIG_CONSOLE_ACTIVATE_ALL is not set
-# CONFIG_CONSOLE_ACTIVATE_NONE is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
 CONFIG_CONSOLE_ALLOW_COLOR=y
 # CONFIG_PBL_CONSOLE is not set
 # CONFIG_CONSOLE_RATP is not set
diff --git a/configs/platform-mipsel/barebox-malta.config.diff b/configs/platform-mipsel/barebox-malta.config.diff
index 81b36c9b..a305a002 100644
--- a/configs/platform-mipsel/barebox-malta.config.diff
+++ b/configs/platform-mipsel/barebox-malta.config.diff
@@ -42,6 +42,8 @@ CONFIG_CMD_SHA256SUM=y
 CONFIG_CMD_TFTP=y
 # CONFIG_COMMON_CLK is undefined
 # CONFIG_COMMON_CLK_OF_PROVIDER is undefined
+# CONFIG_CONSOLE_ACTIVATE_FIRST is not set
+CONFIG_CONSOLE_ACTIVATE_NONE=y
 CONFIG_CONSOLE_ALLOW_COLOR=y
 # CONFIG_CPU_BIG_ENDIAN is not set
 CONFIG_CPU_LITTLE_ENDIAN=y
-- 
2.39.2




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-08-16 12:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-16 12:52 [DistroKit] [PATCH v1 1/9] mipsel: kernel-malta: set page size to 4k Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 2/9] mipsel: kernel-malta: enable UBIFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 3/9] reason: MIPS malta has pci, but distrokit no pciutils Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 4/9] mipsel: kernel-malta: enable SQUASHFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 5/9] mipsel: kernel-malta: disable BLOCK_LEGACY_AUTOLOAD Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 6/9] mipsel: barebox-malta: enable MMU Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 7/9] mipsel: barebox-malta: use MALLOC_TLSF Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 8/9] mipsel: barebox-malta: disable FS_CRAMFS Oleksij Rempel
2024-08-16 12:52 ` [DistroKit] [PATCH v1 9/9] mipsel: barebox-malta: use CONSOLE_ACTIVATE_NONE Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox