mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Bootable RPI4 support
This commit is contained in:
		
							parent
							
								
									2dbdd50f8d
								
							
						
					
					
						commit
						1315e45f7c
					
				
					 4 changed files with 1094 additions and 35 deletions
				
			
		| 
						 | 
				
			
			@ -50,6 +50,7 @@ CONFIG_ARM_HEAVY_MB=y
 | 
			
		|||
CONFIG_ARM_L1_CACHE_SHIFT=6
 | 
			
		||||
CONFIG_ARM_L1_CACHE_SHIFT_6=y
 | 
			
		||||
CONFIG_ARM_LPAE=y
 | 
			
		||||
CONFIG_ARM_MODULE_PLTS=y
 | 
			
		||||
CONFIG_ARM_PATCH_IDIV=y
 | 
			
		||||
CONFIG_ARM_PATCH_PHYS_VIRT=y
 | 
			
		||||
# CONFIG_ARM_SCMI_PROTOCOL is not set
 | 
			
		||||
| 
						 | 
				
			
			@ -388,7 +389,6 @@ CONFIG_MMC_SDHCI_IPROC=y
 | 
			
		|||
CONFIG_MMC_SDHCI_PLTFM=y
 | 
			
		||||
# CONFIG_MMC_TIFM_SD is not set
 | 
			
		||||
CONFIG_MODULES_USE_ELF_REL=y
 | 
			
		||||
# CONFIG_MTD is not set
 | 
			
		||||
CONFIG_MUTEX_SPIN_ON_OWNER=y
 | 
			
		||||
CONFIG_NEED_DMA_MAP_STATE=y
 | 
			
		||||
CONFIG_NEON=y
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,6 +13,7 @@ CONFIG_ARCH_HAS_GIGANTIC_PAGE=y
 | 
			
		|||
CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
 | 
			
		||||
CONFIG_ARCH_HAS_KCOV=y
 | 
			
		||||
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
 | 
			
		||||
CONFIG_ARCH_HAS_PHYS_TO_DMA=y
 | 
			
		||||
CONFIG_ARCH_HAS_PTE_SPECIAL=y
 | 
			
		||||
CONFIG_ARCH_HAS_SET_MEMORY=y
 | 
			
		||||
CONFIG_ARCH_HAS_SG_CHAIN=y
 | 
			
		||||
| 
						 | 
				
			
			@ -48,8 +49,10 @@ CONFIG_ARCH_INLINE_WRITE_UNLOCK=y
 | 
			
		|||
CONFIG_ARCH_INLINE_WRITE_UNLOCK_BH=y
 | 
			
		||||
CONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQ=y
 | 
			
		||||
CONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE=y
 | 
			
		||||
CONFIG_ARCH_MMAP_RND_BITS=18
 | 
			
		||||
CONFIG_ARCH_MMAP_RND_BITS_MAX=24
 | 
			
		||||
CONFIG_ARCH_MMAP_RND_BITS_MIN=18
 | 
			
		||||
CONFIG_ARCH_MMAP_RND_COMPAT_BITS=11
 | 
			
		||||
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=11
 | 
			
		||||
CONFIG_ARCH_PROC_KCORE_TEXT=y
 | 
			
		||||
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
 | 
			
		||||
| 
						 | 
				
			
			@ -68,6 +71,7 @@ CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
 | 
			
		|||
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
 | 
			
		||||
CONFIG_ARCH_WANT_FRAME_POINTERS=y
 | 
			
		||||
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
 | 
			
		||||
CONFIG_ARGON_MEM=y
 | 
			
		||||
CONFIG_ARM64=y
 | 
			
		||||
# CONFIG_ARM64_16K_PAGES is not set
 | 
			
		||||
CONFIG_ARM64_4K_PAGES=y
 | 
			
		||||
| 
						 | 
				
			
			@ -100,26 +104,30 @@ CONFIG_ARM64_VA_BITS=39
 | 
			
		|||
CONFIG_ARM64_VA_BITS_39=y
 | 
			
		||||
# CONFIG_ARM64_VA_BITS_48 is not set
 | 
			
		||||
CONFIG_ARM64_VHE=y
 | 
			
		||||
CONFIG_ARMV8_DEPRECATED=y
 | 
			
		||||
CONFIG_ARM_AMBA=y
 | 
			
		||||
CONFIG_ARM_ARCH_TIMER=y
 | 
			
		||||
CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
 | 
			
		||||
CONFIG_ARM_ARCH_TIMER_OOL_WORKAROUND=y
 | 
			
		||||
CONFIG_ARM_BCM2835_CPUFREQ=y
 | 
			
		||||
CONFIG_ARM_CRYPTO=y
 | 
			
		||||
CONFIG_ARM_GIC=y
 | 
			
		||||
CONFIG_ARM_GIC_V2M=y
 | 
			
		||||
CONFIG_ARM_GIC_V3=y
 | 
			
		||||
CONFIG_ARM_GIC_V3_ITS=y
 | 
			
		||||
CONFIG_ARM_GIC_V3_ITS_PCI=y
 | 
			
		||||
CONFIG_ARM_HEAVY_MB=y
 | 
			
		||||
CONFIG_ARM_LPAE=y
 | 
			
		||||
CONFIG_ARM_PSCI_FW=y
 | 
			
		||||
CONFIG_ARM_MODULE_PLTS=y
 | 
			
		||||
# CONFIG_ARM_SCMI_PROTOCOL is not set
 | 
			
		||||
# CONFIG_ARM_SP805_WATCHDOG is not set
 | 
			
		||||
CONFIG_ARM_TIMER_SP804=y
 | 
			
		||||
CONFIG_ARMV8_DEPRECATED=y
 | 
			
		||||
CONFIG_AUDIT_ARCH_COMPAT_GENERIC=y
 | 
			
		||||
# CONFIG_BACKLIGHT_CLASS_DEVICE is not set
 | 
			
		||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
 | 
			
		||||
CONFIG_BCM2708_VCMEM=y
 | 
			
		||||
# CONFIG_BCM2835_DEVGPIOMEM is not set
 | 
			
		||||
CONFIG_BCM2835_DEVGPIOMEM=y
 | 
			
		||||
CONFIG_BCM2835_MBOX=y
 | 
			
		||||
CONFIG_BCM2835_POWER=y
 | 
			
		||||
# CONFIG_BCM2835_SMI is not set
 | 
			
		||||
| 
						 | 
				
			
			@ -134,19 +142,26 @@ CONFIG_BCM_VCIO=y
 | 
			
		|||
# CONFIG_BCM_VC_SM is not set
 | 
			
		||||
CONFIG_BCM_VC_SM_CMA=y
 | 
			
		||||
CONFIG_BCM_VIDEOCORE=y
 | 
			
		||||
CONFIG_BLK_DEBUG_FS=y
 | 
			
		||||
CONFIG_BLK_DEV_BSG=y
 | 
			
		||||
CONFIG_BLK_DEV_BSGLIB=y
 | 
			
		||||
# CONFIG_BLK_DEV_DM is not set
 | 
			
		||||
# CONFIG_BLK_DEV_INITRD is not set
 | 
			
		||||
CONFIG_BLK_DEV_LOOP=y
 | 
			
		||||
# CONFIG_BLK_DEV_MD is not set
 | 
			
		||||
CONFIG_BLK_DEV_RAM=y
 | 
			
		||||
CONFIG_BLK_DEV_RAM_COUNT=16
 | 
			
		||||
CONFIG_BLK_DEV_RAM_SIZE=4096
 | 
			
		||||
CONFIG_BLK_DEV_SD=y
 | 
			
		||||
CONFIG_BLK_DEV_THROTTLING=y
 | 
			
		||||
CONFIG_BLK_MQ_PCI=y
 | 
			
		||||
CONFIG_BLK_SCSI_REQUEST=y
 | 
			
		||||
CONFIG_BLOCK_COMPAT=y
 | 
			
		||||
CONFIG_BOUNCE=y
 | 
			
		||||
CONFIG_BRCMSTB_THERMAL=y
 | 
			
		||||
CONFIG_BRCM_CHAR_DRIVERS=y
 | 
			
		||||
CONFIG_BROADCOM_PHY=y
 | 
			
		||||
CONFIG_BUILD_BIN2C=y
 | 
			
		||||
CONFIG_CACHE_L2X0=y
 | 
			
		||||
CONFIG_CAVIUM_ERRATUM_22375=y
 | 
			
		||||
CONFIG_CAVIUM_ERRATUM_23154=y
 | 
			
		||||
CONFIG_CAVIUM_ERRATUM_27456=y
 | 
			
		||||
| 
						 | 
				
			
			@ -167,6 +182,10 @@ CONFIG_CMA_SIZE_SEL_MBYTES=y
 | 
			
		|||
CONFIG_COMMON_CLK=y
 | 
			
		||||
CONFIG_COMMON_CLK_XGENE=y
 | 
			
		||||
CONFIG_COMPAT=y
 | 
			
		||||
CONFIG_COMPAT_32BIT_TIME=y
 | 
			
		||||
CONFIG_COMPAT_BINFMT_ELF=y
 | 
			
		||||
CONFIG_COMPAT_NETLINK_MESSAGES=y
 | 
			
		||||
CONFIG_COMPAT_OLD_SIGACTION=y
 | 
			
		||||
CONFIG_CONFIGFS_FS=y
 | 
			
		||||
CONFIG_CONSOLE_TRANSLATIONS=y
 | 
			
		||||
CONFIG_CP15_BARRIER_EMULATION=y
 | 
			
		||||
| 
						 | 
				
			
			@ -194,36 +213,43 @@ CONFIG_CRYPTO_AEAD=y
 | 
			
		|||
CONFIG_CRYPTO_AEAD2=y
 | 
			
		||||
CONFIG_CRYPTO_AES_ARM64=y
 | 
			
		||||
CONFIG_CRYPTO_AES_ARM64_BS=y
 | 
			
		||||
# CONFIG_CRYPTO_AES_ARM64_CE is not set
 | 
			
		||||
# CONFIG_CRYPTO_AES_ARM64_CE_BLK is not set
 | 
			
		||||
# CONFIG_CRYPTO_AES_ARM64_CE_CCM is not set
 | 
			
		||||
CONFIG_CRYPTO_AES_ARM64_CE=y
 | 
			
		||||
CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
 | 
			
		||||
CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
 | 
			
		||||
CONFIG_CRYPTO_AES_ARM64_NEON_BLK=y
 | 
			
		||||
# CONFIG_CRYPTO_CHACHA20_NEON is not set
 | 
			
		||||
CONFIG_CRYPTO_CHACHA20=y
 | 
			
		||||
CONFIG_CRYPTO_CHACHA20_NEON=y
 | 
			
		||||
CONFIG_CRYPTO_CRC32=y
 | 
			
		||||
CONFIG_CRYPTO_CRC32C=y
 | 
			
		||||
# CONFIG_CRYPTO_CRC32_ARM64_CE is not set
 | 
			
		||||
CONFIG_CRYPTO_CRC32_ARM64_CE=y
 | 
			
		||||
CONFIG_CRYPTO_CRYPTD=y
 | 
			
		||||
# CONFIG_CRYPTO_GHASH_ARM64_CE is not set
 | 
			
		||||
CONFIG_CRYPTO_GF128MUL=y
 | 
			
		||||
CONFIG_CRYPTO_GHASH_ARM64_CE=y
 | 
			
		||||
CONFIG_CRYPTO_HASH=y
 | 
			
		||||
CONFIG_CRYPTO_HASH2=y
 | 
			
		||||
CONFIG_CRYPTO_MANAGER=y
 | 
			
		||||
CONFIG_CRYPTO_MANAGER2=y
 | 
			
		||||
CONFIG_CRYPTO_NULL2=y
 | 
			
		||||
CONFIG_CRYPTO_RNG2=y
 | 
			
		||||
# CONFIG_CRYPTO_SHA1_ARM64_CE is not set
 | 
			
		||||
# CONFIG_CRYPTO_SHA256_ARM64 is not set
 | 
			
		||||
# CONFIG_CRYPTO_SHA2_ARM64_CE is not set
 | 
			
		||||
# CONFIG_CRYPTO_SHA3_ARM64 is not set
 | 
			
		||||
# CONFIG_CRYPTO_SHA512_ARM64 is not set
 | 
			
		||||
# CONFIG_CRYPTO_SHA512_ARM64_CE is not set
 | 
			
		||||
CONFIG_CRYPTO_SHA1=y
 | 
			
		||||
CONFIG_CRYPTO_SHA1_ARM64_CE=y
 | 
			
		||||
CONFIG_CRYPTO_SHA256_ARM64=y
 | 
			
		||||
CONFIG_CRYPTO_SHA2_ARM64_CE=y
 | 
			
		||||
CONFIG_CRYPTO_SHA3=y
 | 
			
		||||
CONFIG_CRYPTO_SHA3_ARM64=y
 | 
			
		||||
CONFIG_CRYPTO_SHA512_ARM64=y
 | 
			
		||||
CONFIG_CRYPTO_SHA512_ARM64_CE=y
 | 
			
		||||
CONFIG_CRYPTO_SIMD=y
 | 
			
		||||
# CONFIG_CRYPTO_SM3_ARM64_CE is not set
 | 
			
		||||
# CONFIG_CRYPTO_SM4_ARM64_CE is not set
 | 
			
		||||
CONFIG_CRYPTO_SM3=y
 | 
			
		||||
CONFIG_CRYPTO_SM3_ARM64_CE=y
 | 
			
		||||
CONFIG_CRYPTO_SM4=y
 | 
			
		||||
CONFIG_CRYPTO_SM4_ARM64_CE=y
 | 
			
		||||
CONFIG_CRYPTO_WORKQUEUE=y
 | 
			
		||||
CONFIG_DCACHE_WORD_ACCESS=y
 | 
			
		||||
CONFIG_DEBUG_BUGVERBOSE=y
 | 
			
		||||
CONFIG_DEBUG_INFO=y
 | 
			
		||||
CONFIG_DEFAULT_MPTCP_PM="fullmesh"
 | 
			
		||||
CONFIG_DEVMEM=y
 | 
			
		||||
CONFIG_DMADEVICES=y
 | 
			
		||||
CONFIG_DMA_BCM2708=y
 | 
			
		||||
CONFIG_DMA_BCM2835=y
 | 
			
		||||
| 
						 | 
				
			
			@ -238,7 +264,6 @@ CONFIG_DTC=y
 | 
			
		|||
CONFIG_DUMMY_CONSOLE=y
 | 
			
		||||
CONFIG_EDAC_SUPPORT=y
 | 
			
		||||
CONFIG_ENABLE_MUST_CHECK=y
 | 
			
		||||
CONFIG_EEPROM_AT24=y
 | 
			
		||||
CONFIG_EXT4_FS=y
 | 
			
		||||
CONFIG_EXT4_FS_POSIX_ACL=y
 | 
			
		||||
CONFIG_EXT4_FS_SECURITY=y
 | 
			
		||||
| 
						 | 
				
			
			@ -261,6 +286,7 @@ CONFIG_FRAMEBUFFER_CONSOLE=y
 | 
			
		|||
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
 | 
			
		||||
CONFIG_FRAME_POINTER=y
 | 
			
		||||
CONFIG_FREEZER=y
 | 
			
		||||
CONFIG_FIXED_PHY=y
 | 
			
		||||
CONFIG_FSL_ERRATUM_A008585=y
 | 
			
		||||
CONFIG_FS_IOMAP=y
 | 
			
		||||
CONFIG_FS_MBCACHE=y
 | 
			
		||||
| 
						 | 
				
			
			@ -283,6 +309,7 @@ CONFIG_GENERIC_IRQ_SHOW_LEVEL=y
 | 
			
		|||
CONFIG_GENERIC_MSI_IRQ=y
 | 
			
		||||
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
 | 
			
		||||
CONFIG_GENERIC_PCI_IOMAP=y
 | 
			
		||||
CONFIG_GENERIC_PHY=y
 | 
			
		||||
CONFIG_GENERIC_PINCONF=y
 | 
			
		||||
CONFIG_GENERIC_PINCTRL_GROUPS=y
 | 
			
		||||
CONFIG_GENERIC_PINMUX_FUNCTIONS=y
 | 
			
		||||
| 
						 | 
				
			
			@ -295,6 +322,7 @@ CONFIG_GPIOLIB=y
 | 
			
		|||
CONFIG_GPIOLIB_IRQCHIP=y
 | 
			
		||||
CONFIG_GPIO_BCM_VIRT=y
 | 
			
		||||
CONFIG_GPIO_RASPBERRYPI_EXP=y
 | 
			
		||||
CONFIG_GPIO_STMPE=y
 | 
			
		||||
CONFIG_GPIO_SYSFS=y
 | 
			
		||||
CONFIG_HANDLE_DOMAIN_IRQ=y
 | 
			
		||||
CONFIG_HARDEN_BRANCH_PREDICTOR=y
 | 
			
		||||
| 
						 | 
				
			
			@ -309,6 +337,7 @@ CONFIG_HAVE_ARCH_HUGE_VMAP=y
 | 
			
		|||
CONFIG_HAVE_ARCH_JUMP_LABEL=y
 | 
			
		||||
CONFIG_HAVE_ARCH_KASAN=y
 | 
			
		||||
CONFIG_HAVE_ARCH_KGDB=y
 | 
			
		||||
CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS=y
 | 
			
		||||
CONFIG_HAVE_ARCH_PFN_VALID=y
 | 
			
		||||
CONFIG_HAVE_ARCH_PREL32_RELOCATIONS=y
 | 
			
		||||
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
 | 
			
		||||
| 
						 | 
				
			
			@ -334,6 +363,8 @@ CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
 | 
			
		|||
CONFIG_HAVE_FUNCTION_TRACER=y
 | 
			
		||||
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
 | 
			
		||||
CONFIG_HAVE_GENERIC_GUP=y
 | 
			
		||||
CONFIG_HAVE_IDE=y
 | 
			
		||||
CONFIG_HAVE_LD_DEAD_CODE_DATA_ELIMINATION=y
 | 
			
		||||
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
 | 
			
		||||
CONFIG_HAVE_MEMBLOCK=y
 | 
			
		||||
CONFIG_HAVE_MEMORY_PRESENT=y
 | 
			
		||||
| 
						 | 
				
			
			@ -347,11 +378,22 @@ CONFIG_HAVE_RCU_TABLE_FREE=y
 | 
			
		|||
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
 | 
			
		||||
CONFIG_HAVE_RSEQ=y
 | 
			
		||||
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
 | 
			
		||||
CONFIG_HAVE_UID16=y
 | 
			
		||||
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
 | 
			
		||||
CONFIG_HIGHMEM=y
 | 
			
		||||
CONFIG_HIGHPTE=y
 | 
			
		||||
CONFIG_HW_RANDOM=y
 | 
			
		||||
CONFIG_HW_RANDOM_BCM2835=y
 | 
			
		||||
CONFIG_HW_RANDOM_IPROC_RNG200=y
 | 
			
		||||
CONFIG_HOLES_IN_ZONE=y
 | 
			
		||||
CONFIG_HOTPLUG_CPU=y
 | 
			
		||||
# CONFIG_HUGETLBFS is not set
 | 
			
		||||
CONFIG_HW_CONSOLE=y
 | 
			
		||||
CONFIG_I2C=y
 | 
			
		||||
# CONFIG_I2C_BCM2708 is not set
 | 
			
		||||
CONFIG_I2C_BOARDINFO=y
 | 
			
		||||
CONFIG_I2C_COMPAT=y
 | 
			
		||||
CONFIG_I2C_HELPER_AUTO=y
 | 
			
		||||
CONFIG_IKCONFIG=y
 | 
			
		||||
CONFIG_IKCONFIG_PROC=y
 | 
			
		||||
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
 | 
			
		||||
| 
						 | 
				
			
			@ -402,16 +444,20 @@ CONFIG_MAGIC_SYSRQ=y
 | 
			
		|||
CONFIG_MAILBOX=y
 | 
			
		||||
# CONFIG_MAILBOX_TEST is not set
 | 
			
		||||
CONFIG_MAX_RAW_DEVS=256
 | 
			
		||||
CONFIG_MD=y
 | 
			
		||||
CONFIG_MDIO_BCM_UNIMAC=y
 | 
			
		||||
CONFIG_MDIO_BUS=y
 | 
			
		||||
CONFIG_MDIO_DEVICE=y
 | 
			
		||||
CONFIG_MEMFD_CREATE=y
 | 
			
		||||
CONFIG_MEMORY_ISOLATION=y
 | 
			
		||||
CONFIG_MFD_CORE=y
 | 
			
		||||
# CONFIG_MFD_RPISENSE_CORE is not set
 | 
			
		||||
CONFIG_MFD_STMPE=y
 | 
			
		||||
CONFIG_MFD_SYSCON=y
 | 
			
		||||
CONFIG_MICROCHIP_PHY=y
 | 
			
		||||
CONFIG_MIGRATION=y
 | 
			
		||||
CONFIG_MMC=y
 | 
			
		||||
CONFIG_MMC_BCM2835=y
 | 
			
		||||
# CONFIG_MMC_BCM2835 is not set
 | 
			
		||||
CONFIG_MMC_BCM2835_DMA=y
 | 
			
		||||
CONFIG_MMC_BCM2835_MMC=y
 | 
			
		||||
CONFIG_MMC_BCM2835_PIO_DMA_BARRIER=2
 | 
			
		||||
| 
						 | 
				
			
			@ -420,23 +466,21 @@ CONFIG_MMC_BLOCK=y
 | 
			
		|||
CONFIG_MMC_BLOCK_MINORS=32
 | 
			
		||||
CONFIG_MMC_SDHCI=y
 | 
			
		||||
CONFIG_MMC_SDHCI_IO_ACCESSORS=y
 | 
			
		||||
CONFIG_MMC_SDHCI_PCI=y
 | 
			
		||||
CONFIG_MMC_SDHCI_ACPI=y
 | 
			
		||||
CONFIG_MMC_SDHCI_PLTFM=y
 | 
			
		||||
CONFIG_MMC_SDHCI_OF_ARASAN=y
 | 
			
		||||
CONFIG_MMC_SDHCI_OF_AT91=y
 | 
			
		||||
CONFIG_MMC_SDHCI_OF_DWCMSHC=y
 | 
			
		||||
CONFIG_MMC_SDHCI_CADENCE=y
 | 
			
		||||
CONFIG_MMC_SDHCI_IPROC=y
 | 
			
		||||
# CONFIG_MMC_SDHCI_PCI is not set
 | 
			
		||||
CONFIG_MMC_SDHCI_PLTFM=y
 | 
			
		||||
# CONFIG_MMC_TIFM_SD is not set
 | 
			
		||||
CONFIG_MODULES_USE_ELF_RELA=y
 | 
			
		||||
CONFIG_MTD=y
 | 
			
		||||
CONFIG_MTD_BLOCK=y
 | 
			
		||||
CONFIG_MTD_M25P80=y
 | 
			
		||||
CONFIG_MTD_BLOCK2MTD=y
 | 
			
		||||
CONFIG_MTD_NAND=y
 | 
			
		||||
CONFIG_MTD_NAND_ECC=y
 | 
			
		||||
CONFIG_MTD_SPI_NOR=y
 | 
			
		||||
CONFIG_MTD_UBI=y
 | 
			
		||||
CONFIG_MTD_UBI_BEB_LIMIT=20
 | 
			
		||||
# CONFIG_MTD_UBI_BLOCK is not set
 | 
			
		||||
# CONFIG_MTD_UBI_FASTMAP is not set
 | 
			
		||||
# CONFIG_MTD_UBI_GLUEBI is not set
 | 
			
		||||
CONFIG_MTD_UBI_WL_THRESHOLD=4096
 | 
			
		||||
CONFIG_MUTEX_SPIN_ON_OWNER=y
 | 
			
		||||
CONFIG_NEED_DMA_MAP_STATE=y
 | 
			
		||||
CONFIG_NEED_SG_DMA_LENGTH=y
 | 
			
		||||
| 
						 | 
				
			
			@ -465,16 +509,18 @@ CONFIG_OF_NET=y
 | 
			
		|||
CONFIG_OF_OVERLAY=y
 | 
			
		||||
CONFIG_OF_RESERVED_MEM=y
 | 
			
		||||
CONFIG_OF_RESOLVE=y
 | 
			
		||||
CONFIG_OLD_SIGSUSPEND3=y
 | 
			
		||||
CONFIG_PADATA=y
 | 
			
		||||
CONFIG_PARTITION_ADVANCED=y
 | 
			
		||||
CONFIG_PARTITION_PERCPU=y
 | 
			
		||||
CONFIG_OUTER_CACHE=y
 | 
			
		||||
CONFIG_OUTER_CACHE_SYNC=y
 | 
			
		||||
CONFIG_PAGE_OFFSET=0xC0000000
 | 
			
		||||
CONFIG_PCI=y
 | 
			
		||||
CONFIG_PCIE_BRCMSTB=y
 | 
			
		||||
CONFIG_PCI_DOMAINS=y
 | 
			
		||||
CONFIG_PCI_DOMAINS_GENERIC=y
 | 
			
		||||
CONFIG_PCI_MSI=y
 | 
			
		||||
CONFIG_PCI_MSI_IRQ_DOMAIN=y
 | 
			
		||||
CONFIG_PGTABLE_MAPPING=y
 | 
			
		||||
CONFIG_PGTABLE_LEVELS=3
 | 
			
		||||
CONFIG_PHYLIB=y
 | 
			
		||||
CONFIG_PHYS_ADDR_T_64BIT=y
 | 
			
		||||
| 
						 | 
				
			
			@ -490,11 +536,13 @@ CONFIG_PM_GENERIC_DOMAINS_SLEEP=y
 | 
			
		|||
CONFIG_PM_SLEEP=y
 | 
			
		||||
CONFIG_PM_SLEEP_SMP=y
 | 
			
		||||
CONFIG_POWER_RESET=y
 | 
			
		||||
CONFIG_POWER_RESET_GPIO=y
 | 
			
		||||
CONFIG_POWER_SUPPLY=y
 | 
			
		||||
CONFIG_PRINTK_TIME=y
 | 
			
		||||
CONFIG_PROC_PAGE_MONITOR=y
 | 
			
		||||
CONFIG_PWM=y
 | 
			
		||||
CONFIG_PWM_BCM2835=y
 | 
			
		||||
# CONFIG_PWM_STMPE is not set
 | 
			
		||||
CONFIG_PWM_SYSFS=y
 | 
			
		||||
CONFIG_QUEUED_RWLOCKS=y
 | 
			
		||||
CONFIG_QUEUED_SPINLOCKS=y
 | 
			
		||||
| 
						 | 
				
			
			@ -509,6 +557,7 @@ CONFIG_REFCOUNT_FULL=y
 | 
			
		|||
CONFIG_REGMAP=y
 | 
			
		||||
CONFIG_REGMAP_MMIO=y
 | 
			
		||||
CONFIG_REGULATOR=y
 | 
			
		||||
CONFIG_REGULATOR_GPIO=y
 | 
			
		||||
CONFIG_REGULATOR_FIXED_VOLTAGE=y
 | 
			
		||||
CONFIG_RESET_CONTROLLER=y
 | 
			
		||||
CONFIG_RFS_ACCEL=y
 | 
			
		||||
| 
						 | 
				
			
			@ -516,7 +565,9 @@ CONFIG_RPS=y
 | 
			
		|||
CONFIG_RWSEM_SPIN_ON_OWNER=y
 | 
			
		||||
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
 | 
			
		||||
CONFIG_SCSI=y
 | 
			
		||||
CONFIG_SCSI_ISCSI_ATTRS=y
 | 
			
		||||
# CONFIG_SCSI_LOWLEVEL is not set
 | 
			
		||||
CONFIG_SCSI_MQ_DEFAULT=y
 | 
			
		||||
# CONFIG_SCSI_PROC_FS is not set
 | 
			
		||||
CONFIG_SERIAL_8250_BCM2835AUX=y
 | 
			
		||||
# CONFIG_SERIAL_8250_DMA is not set
 | 
			
		||||
| 
						 | 
				
			
			@ -537,7 +588,16 @@ CONFIG_SPARSEMEM_MANUAL=y
 | 
			
		|||
CONFIG_SPARSEMEM_VMEMMAP=y
 | 
			
		||||
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
 | 
			
		||||
CONFIG_SPARSE_IRQ=y
 | 
			
		||||
CONFIG_SPI=y
 | 
			
		||||
# CONFIG_SPI_BCM2835AUX is not set
 | 
			
		||||
CONFIG_SPI_MASTER=y
 | 
			
		||||
CONFIG_SPI_MEM=y
 | 
			
		||||
CONFIG_SPI_SLAVE=y
 | 
			
		||||
# CONFIG_SPI_SLAVE_SYSTEM_CONTROL is not set
 | 
			
		||||
# CONFIG_SPI_SLAVE_TIME is not set
 | 
			
		||||
CONFIG_SRCU=y
 | 
			
		||||
CONFIG_STMPE_I2C=y
 | 
			
		||||
CONFIG_STMPE_SPI=y
 | 
			
		||||
CONFIG_STREAM_PARSER=y
 | 
			
		||||
# CONFIG_STRIP_ASM_SYMS is not set
 | 
			
		||||
CONFIG_SUSPEND=y
 | 
			
		||||
| 
						 | 
				
			
			@ -546,6 +606,7 @@ CONFIG_SWIOTLB=y
 | 
			
		|||
CONFIG_SWPHY=y
 | 
			
		||||
CONFIG_SWP_EMULATION=y
 | 
			
		||||
CONFIG_SYSCTL_EXCEPTION_TRACE=y
 | 
			
		||||
CONFIG_SYSVIPC_COMPAT=y
 | 
			
		||||
CONFIG_SYS_SUPPORTS_HUGETLBFS=y
 | 
			
		||||
# CONFIG_TEXTSEARCH is not set
 | 
			
		||||
CONFIG_THERMAL=y
 | 
			
		||||
| 
						 | 
				
			
			@ -561,6 +622,7 @@ CONFIG_TI_ST=y
 | 
			
		|||
CONFIG_TMPFS_POSIX_ACL=y
 | 
			
		||||
CONFIG_TREE_RCU=y
 | 
			
		||||
CONFIG_TREE_SRCU=y
 | 
			
		||||
# CONFIG_UBIFS_FS is not set
 | 
			
		||||
CONFIG_UEVENT_HELPER_PATH=""
 | 
			
		||||
CONFIG_UNMAP_KERNEL_AT_EL0=y
 | 
			
		||||
CONFIG_USB=y
 | 
			
		||||
| 
						 | 
				
			
			@ -575,7 +637,7 @@ CONFIG_USB_STORAGE=y
 | 
			
		|||
CONFIG_USB_SUPPORT=y
 | 
			
		||||
CONFIG_USB_UAS=y
 | 
			
		||||
CONFIG_USB_USBNET=y
 | 
			
		||||
CONFIG_VMAP_STACK=y
 | 
			
		||||
CONFIG_VDSO=y
 | 
			
		||||
CONFIG_VT=y
 | 
			
		||||
CONFIG_VT_CONSOLE=y
 | 
			
		||||
CONFIG_VT_CONSOLE_SLEEP=y
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,6 +49,33 @@ define Build/boot-img
 | 
			
		|||
	mcopy -i $@.boot $(DTS_DIR)/overlays/README ::/overlays/
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
define Build/boot4-img
 | 
			
		||||
	rm -f $@.boot
 | 
			
		||||
	mkfs.fat -C $@.boot $(FAT32_BLOCKS)
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/COPYING.linux ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/bootcode.bin ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/LICENCE.broadcom ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/start.elf ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/start_cd.elf ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/start_x.elf ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/fixup.dat ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/fixup_cd.dat ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/fixup_x.dat ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/start4.elf ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/start4cd.elf ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/start4x.elf ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/fixup4.dat ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/fixup4cd.dat ::
 | 
			
		||||
	mcopy -i $@.boot $(KDIR)/fixup4x.dat ::
 | 
			
		||||
	mcopy -i $@.boot cmdline.txt ::
 | 
			
		||||
	mcopy -i $@.boot config64.txt ::config.txt
 | 
			
		||||
	mcopy -i $@.boot $(IMAGE_KERNEL) ::$(KERNEL_IMG)
 | 
			
		||||
	$(foreach dts,$(shell echo $(DEVICE_DTS)),mcopy -i $@.boot $(DTS_DIR)/$(dts).dtb ::;)
 | 
			
		||||
	mmd -i $@.boot ::/overlays
 | 
			
		||||
	mcopy -i $@.boot $(DTS_DIR)/overlays/*.dtbo ::/overlays/
 | 
			
		||||
	mcopy -i $@.boot $(DTS_DIR)/overlays/README ::/overlays/
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
define Build/sdcard-img
 | 
			
		||||
	./gen_rpi_sdcard_img.sh $@ $@.boot $(IMAGE_ROOTFS) \
 | 
			
		||||
		$(CONFIG_TARGET_KERNEL_PARTSIZE) $(CONFIG_TARGET_ROOTFS_PARTSIZE)
 | 
			
		||||
| 
						 | 
				
			
			@ -59,8 +86,6 @@ define Device/Default
 | 
			
		|||
  KERNEL := kernel-bin | kernel-img
 | 
			
		||||
  KERNEL_IMG := kernel.img
 | 
			
		||||
  IMAGES := factory.img.gz sysupgrade.img.gz
 | 
			
		||||
  IMAGE/sysupgrade.img.gz := boot-img | sdcard-img | gzip | append-metadata
 | 
			
		||||
  IMAGE/factory.img.gz := boot-img | sdcard-img | gzip
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
define Device/rpi
 | 
			
		||||
| 
						 | 
				
			
			@ -72,6 +97,8 @@ define Device/rpi
 | 
			
		|||
	raspberrypi,compute-module raspberrypi,compute-module-1 \
 | 
			
		||||
	raspberrypi,model-zero raspberrypi,model-zero-w
 | 
			
		||||
  DEVICE_PACKAGES := brcmfmac-firmware-43430-sdio brcmfmac-board-rpi2 kmod-brcmfmac wpad-basic
 | 
			
		||||
  IMAGE/sysupgrade.img.gz := boot-img | sdcard-img | gzip | append-metadata
 | 
			
		||||
  IMAGE/factory.img.gz := boot-img | sdcard-img | gzip
 | 
			
		||||
endef
 | 
			
		||||
ifeq ($(SUBTARGET),bcm2708)
 | 
			
		||||
  TARGET_DEVICES += rpi
 | 
			
		||||
| 
						 | 
				
			
			@ -87,6 +114,8 @@ define Device/rpi-2
 | 
			
		|||
	raspberrypi,3-model-b raspberrypi,3-model-b-plus \
 | 
			
		||||
	raspberrypi,3-compute-module raspberrypi,compute-module-3
 | 
			
		||||
  DEVICE_PACKAGES := brcmfmac-firmware-43430-sdio brcmfmac-firmware-43455-sdio brcmfmac-board-rpi2 brcmfmac-board-rpi3 kmod-brcmfmac wpad-basic
 | 
			
		||||
  IMAGE/sysupgrade.img.gz := boot-img | sdcard-img | gzip | append-metadata
 | 
			
		||||
  IMAGE/factory.img.gz := boot-img | sdcard-img | gzip
 | 
			
		||||
endef
 | 
			
		||||
ifeq ($(SUBTARGET),bcm2709)
 | 
			
		||||
  TARGET_DEVICES += rpi-2
 | 
			
		||||
| 
						 | 
				
			
			@ -102,6 +131,8 @@ define Device/rpi-3
 | 
			
		|||
	raspberrypi,3-model-b raspberrypi,3-model-b-plus \
 | 
			
		||||
	raspberrypi,3-compute-module raspberrypi,compute-module-3
 | 
			
		||||
  DEVICE_PACKAGES := brcmfmac-firmware-43430-sdio brcmfmac-board-rpi2 brcmfmac-firmware-43455-sdio brcmfmac-board-rpi3 kmod-brcmfmac wpad-basic
 | 
			
		||||
  IMAGE/sysupgrade.img.gz := boot-img | sdcard-img | gzip | append-metadata
 | 
			
		||||
  IMAGE/factory.img.gz := boot-img | sdcard-img | gzip
 | 
			
		||||
endef
 | 
			
		||||
ifeq ($(SUBTARGET),bcm2710)
 | 
			
		||||
  TARGET_DEVICES += rpi-3
 | 
			
		||||
| 
						 | 
				
			
			@ -117,6 +148,8 @@ define Device/rpi-4
 | 
			
		|||
	raspberrypi,3-model-b raspberrypi,3-model-b-plus \
 | 
			
		||||
	raspberrypi,3-compute-module raspberrypi,compute-module-3
 | 
			
		||||
  DEVICE_PACKAGES := brcmfmac-firmware-43430-sdio brcmfmac-board-rpi2 brcmfmac-firmware-43455-sdio brcmfmac-board-rpi3 kmod-brcmfmac wpad-basic
 | 
			
		||||
  IMAGE/sysupgrade.img.gz := boot4-img | sdcard-img | gzip | append-metadata
 | 
			
		||||
  IMAGE/factory.img.gz := boot4-img | sdcard-img | gzip
 | 
			
		||||
endef
 | 
			
		||||
 | 
			
		||||
ifeq ($(SUBTARGET),bcm2711)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										964
									
								
								root/target/linux/brcm2708/image/config64.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										964
									
								
								root/target/linux/brcm2708/image/config64.txt
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,964 @@
 | 
			
		|||
################################################################################
 | 
			
		||||
##  Raspberry Pi Configuration Settings
 | 
			
		||||
##
 | 
			
		||||
##  Revision 14, 2012/10/22
 | 
			
		||||
##
 | 
			
		||||
##  Details taken from the eLinux wiki
 | 
			
		||||
##  For up-to-date information please refer to wiki page.
 | 
			
		||||
##
 | 
			
		||||
##  Wiki Location : http://elinux.org/RPi_config.txt
 | 
			
		||||
##
 | 
			
		||||
##
 | 
			
		||||
##  Description:
 | 
			
		||||
##    Details of each setting are described with each section that begins with
 | 
			
		||||
##    a double hashed comment ('##')
 | 
			
		||||
##    It is up to the user to remove the single hashed comment ('#') from each
 | 
			
		||||
##    option they want to enable, and to set the specific value of that option.
 | 
			
		||||
##
 | 
			
		||||
##  WARNING: Setting the following combination of parameters will set a
 | 
			
		||||
##  permanent bit within the SOC and your warranty is void.
 | 
			
		||||
##    over_voltage>0, and at least one of the following:
 | 
			
		||||
##      force_turbo=1
 | 
			
		||||
##      current_limit_override=0x5A000020
 | 
			
		||||
##      temp_limit>85
 | 
			
		||||
##
 | 
			
		||||
##  Overclock settings will be disabled at runtime if the SoC reaches temp_limit
 | 
			
		||||
##
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Standard Definition Video Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## sdtv_mode
 | 
			
		||||
##     defines the TV standard for composite output
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Normal NTSC (Default)
 | 
			
		||||
##     1        Japanese version of NTSC - no pedestal
 | 
			
		||||
##     2        Normal PAL
 | 
			
		||||
##     3        Brazilian version of PAL - 525/60 rather than 625/50, different
 | 
			
		||||
##              subcarrier
 | 
			
		||||
##
 | 
			
		||||
#sdtv_mode=0
 | 
			
		||||
 | 
			
		||||
## sdtv_aspect
 | 
			
		||||
##     defines the aspect ratio for composite output
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     1        4:3 (Default)
 | 
			
		||||
##     2        14:9
 | 
			
		||||
##     3        16:9
 | 
			
		||||
##
 | 
			
		||||
#sdtv_aspect=1
 | 
			
		||||
 | 
			
		||||
## sdtv_disable_colourburst
 | 
			
		||||
##     Disables colour burst on composite output. The picture will be
 | 
			
		||||
##     monochrome, but possibly sharper
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Colour burst is enabled (Default)
 | 
			
		||||
##     1        Colour burst is disabled
 | 
			
		||||
##
 | 
			
		||||
#sdtv_disable_colourburst=1
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  High Definition Video Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## hdmi_safe
 | 
			
		||||
##     Use "safe mode" settings to try to boot with maximum hdmi compatibility.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Disabled (Default)
 | 
			
		||||
##     1        Enabled (this does: hdmi_force_hotplug=1, config_hdmi_boost=4,
 | 
			
		||||
##                                  hdmi_group=1, hdmi_mode=1,
 | 
			
		||||
##                                  disable_overscan=0)
 | 
			
		||||
##
 | 
			
		||||
#hdmi_safe=1
 | 
			
		||||
 | 
			
		||||
## hdmi_force_hotplug
 | 
			
		||||
##     Pretends HDMI hotplug signal is asserted so it appears a HDMI display
 | 
			
		||||
##     is attached
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Disabled (Default)
 | 
			
		||||
##     1        Use HDMI mode even if no HDMI monitor is detected
 | 
			
		||||
##
 | 
			
		||||
#hdmi_force_hotplug=1
 | 
			
		||||
 | 
			
		||||
## hdmi_ignore_hotplug
 | 
			
		||||
##     Pretends HDMI hotplug signal is not asserted so it appears a HDMI
 | 
			
		||||
##     display is not attached
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Disabled (Default)
 | 
			
		||||
##     1        Use composite mode even if HDMI monitor is detected
 | 
			
		||||
##
 | 
			
		||||
#hdmi_ignore_hotplug=1 
 | 
			
		||||
 | 
			
		||||
## hdmi_drive
 | 
			
		||||
##     chooses between HDMI and DVI modes
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     1        Normal DVI mode (No sound)
 | 
			
		||||
##     2        Normal HDMI mode (Sound will be sent if supported and enabled)
 | 
			
		||||
##
 | 
			
		||||
#hdmi_drive=2
 | 
			
		||||
 | 
			
		||||
## hdmi_ignore_edid
 | 
			
		||||
##     Enables the ignoring of EDID/display data
 | 
			
		||||
##
 | 
			
		||||
#hdmi_ignore_edid=0xa5000080
 | 
			
		||||
 | 
			
		||||
## hdmi_edid_file
 | 
			
		||||
##     Read the EDID data from the edid.dat file instead of from the attached
 | 
			
		||||
##     device
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Read EDID data from attached device (Default)
 | 
			
		||||
##     1        Read EDID data from edid.txt file
 | 
			
		||||
##
 | 
			
		||||
#hdmi_edid_file=1
 | 
			
		||||
 | 
			
		||||
## hdmi_force_edid_audio
 | 
			
		||||
##     Pretends all audio formats are supported by display, allowing
 | 
			
		||||
##     passthrough of DTS/AC3 even when not reported as supported.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Use EDID provided values (Default)
 | 
			
		||||
##     1        Pretend all audio formats are supported
 | 
			
		||||
##
 | 
			
		||||
#hdmi_force_edid_audio=1
 | 
			
		||||
 | 
			
		||||
## avoid_edid_fuzzy_match
 | 
			
		||||
##     Avoid fuzzy matching of modes described in edid.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Use fuzzy matching (Default)
 | 
			
		||||
##     1        Avoid fuzzy matching
 | 
			
		||||
##
 | 
			
		||||
#avoid_edid_fuzzy_match=1
 | 
			
		||||
 | 
			
		||||
## hdmi_group
 | 
			
		||||
##     Defines the HDMI type
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Use the preferred group reported by the edid (Default)
 | 
			
		||||
##     1        CEA
 | 
			
		||||
##     2        DMT
 | 
			
		||||
##
 | 
			
		||||
#hdmi_group=1
 | 
			
		||||
 | 
			
		||||
## hdmi_mode
 | 
			
		||||
##     defines screen resolution in CEA or DMT format
 | 
			
		||||
##
 | 
			
		||||
##     H means 16:9 variant (of a normally 4:3 mode).
 | 
			
		||||
##     2x means pixel doubled (i.e. higher clock rate, with each pixel repeated
 | 
			
		||||
##                                  twice)
 | 
			
		||||
##     4x means pixel quadrupled (i.e. higher clock rate, with each pixel
 | 
			
		||||
##                                     repeated four times)
 | 
			
		||||
##     reduced blanking means fewer bytes are used for blanking within the data
 | 
			
		||||
##                      stream (i.e. lower clock rate, with fewer wasted bytes)
 | 
			
		||||
##
 | 
			
		||||
##     Value    hdmi_group=CEA                  hdmi_group=DMT
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     1        VGA                             640x350   85Hz
 | 
			
		||||
##     2        480p  60Hz                      640x400   85Hz
 | 
			
		||||
##     3        480p  60Hz  H                   720x400   85Hz
 | 
			
		||||
##     4        720p  60Hz                      640x480   60Hz
 | 
			
		||||
##     5        1080i 60Hz                      640x480   72Hz
 | 
			
		||||
##     6        480i  60Hz                      640x480   75Hz
 | 
			
		||||
##     7        480i  60Hz  H                   640x480   85Hz
 | 
			
		||||
##     8        240p  60Hz                      800x600   56Hz
 | 
			
		||||
##     9        240p  60Hz  H                   800x600   60Hz
 | 
			
		||||
##     10       480i  60Hz  4x                  800x600   72Hz
 | 
			
		||||
##     11       480i  60Hz  4x H                800x600   75Hz
 | 
			
		||||
##     12       240p  60Hz  4x                  800x600   85Hz
 | 
			
		||||
##     13       240p  60Hz  4x H                800x600   120Hz
 | 
			
		||||
##     14       480p  60Hz  2x                  848x480   60Hz
 | 
			
		||||
##     15       480p  60Hz  2x H                1024x768  43Hz  DO NOT USE
 | 
			
		||||
##     16       1080p 60Hz                      1024x768  60Hz
 | 
			
		||||
##     17       576p  50Hz                      1024x768  70Hz
 | 
			
		||||
##     18       576p  50Hz  H                   1024x768  75Hz
 | 
			
		||||
##     19       720p  50Hz                      1024x768  85Hz
 | 
			
		||||
##     20       1080i 50Hz                      1024x768  120Hz
 | 
			
		||||
##     21       576i  50Hz                      1152x864  75Hz
 | 
			
		||||
##     22       576i  50Hz  H                   1280x768        reduced blanking
 | 
			
		||||
##     23       288p  50Hz                      1280x768  60Hz
 | 
			
		||||
##     24       288p  50Hz  H                   1280x768  75Hz
 | 
			
		||||
##     25       576i  50Hz  4x                  1280x768  85Hz
 | 
			
		||||
##     26       576i  50Hz  4x H                1280x768  120Hz reduced blanking
 | 
			
		||||
##     27       288p  50Hz  4x                  1280x800        reduced blanking
 | 
			
		||||
##     28       288p  50Hz  4x H                1280x800  60Hz
 | 
			
		||||
##     29       576p  50Hz  2x                  1280x800  75Hz
 | 
			
		||||
##     30       576p  50Hz  2x H                1280x800  85Hz
 | 
			
		||||
##     31       1080p 50Hz                      1280x800  120Hz reduced blanking
 | 
			
		||||
##     32       1080p 24Hz                      1280x960  60Hz
 | 
			
		||||
##     33       1080p 25Hz                      1280x960  85Hz
 | 
			
		||||
##     34       1080p 30Hz                      1280x960  120Hz reduced blanking
 | 
			
		||||
##     35       480p  60Hz  4x                  1280x1024 60Hz
 | 
			
		||||
##     36       480p  60Hz  4x H                1280x1024 75Hz
 | 
			
		||||
##     37       576p  50Hz  4x                  1280x1024 85Hz
 | 
			
		||||
##     38       576p  50Hz  4x H                1280x1024 120Hz reduced blanking
 | 
			
		||||
##     39       1080i 50Hz  reduced blanking    1360x768  60Hz
 | 
			
		||||
##     40       1080i 100Hz                     1360x768  120Hz reduced blanking
 | 
			
		||||
##     41       720p  100Hz                     1400x1050       reduced blanking
 | 
			
		||||
##     42       576p  100Hz                     1400x1050 60Hz
 | 
			
		||||
##     43       576p  100Hz H                   1400x1050 75Hz
 | 
			
		||||
##     44       576i  100Hz                     1400x1050 85Hz
 | 
			
		||||
##     45       576i  100Hz H                   1400x1050 120Hz reduced blanking
 | 
			
		||||
##     46       1080i 120Hz                     1440x900        reduced blanking
 | 
			
		||||
##     47       720p  120Hz                     1440x900  60Hz
 | 
			
		||||
##     48       480p  120Hz                     1440x900  75Hz
 | 
			
		||||
##     49       480p  120Hz H                   1440x900  85Hz
 | 
			
		||||
##     50       480i  120Hz                     1440x900  120Hz reduced blanking
 | 
			
		||||
##     51       480i  120Hz H                   1600x1200 60Hz
 | 
			
		||||
##     52       576p  200Hz                     1600x1200 65Hz
 | 
			
		||||
##     53       576p  200Hz H                   1600x1200 70Hz
 | 
			
		||||
##     54       576i  200Hz                     1600x1200 75Hz
 | 
			
		||||
##     55       576i  200Hz H                   1600x1200 85Hz
 | 
			
		||||
##     56       480p  240Hz                     1600x1200 120Hz reduced blanking
 | 
			
		||||
##     57       480p  240Hz H                   1680x1050       reduced blanking
 | 
			
		||||
##     58       480i  240Hz                     1680x1050 60Hz
 | 
			
		||||
##     59       480i  240Hz H                   1680x1050 75Hz
 | 
			
		||||
##     60                                       1680x1050 85Hz
 | 
			
		||||
##     61                                       1680x1050 120Hz reduced blanking
 | 
			
		||||
##     62                                       1792x1344 60Hz
 | 
			
		||||
##     63                                       1792x1344 75Hz
 | 
			
		||||
##     64                                       1792x1344 120Hz reduced blanking
 | 
			
		||||
##     65                                       1856x1392 60Hz
 | 
			
		||||
##     66                                       1856x1392 75Hz
 | 
			
		||||
##     67                                       1856x1392 120Hz reduced blanking
 | 
			
		||||
##     68                                       1920x1200       reduced blanking
 | 
			
		||||
##     69                                       1920x1200 60Hz
 | 
			
		||||
##     70                                       1920x1200 75Hz
 | 
			
		||||
##     71                                       1920x1200 85Hz
 | 
			
		||||
##     72                                       1920x1200 120Hz reduced blanking
 | 
			
		||||
##     73                                       1920x1440 60Hz
 | 
			
		||||
##     74                                       1920x1440 75Hz
 | 
			
		||||
##     75                                       1920x1440 120Hz reduced blanking
 | 
			
		||||
##     76                                       2560x1600       reduced blanking
 | 
			
		||||
##     77                                       2560x1600 60Hz
 | 
			
		||||
##     78                                       2560x1600 75Hz
 | 
			
		||||
##     79                                       2560x1600 85Hz
 | 
			
		||||
##     80                                       2560x1600 120Hz reduced blanking
 | 
			
		||||
##     81                                       1366x768  60Hz
 | 
			
		||||
##     82                                       1080p     60Hz
 | 
			
		||||
##     83                                       1600x900        reduced blanking
 | 
			
		||||
##     84                                       2048x1152       reduced blanking
 | 
			
		||||
##     85                                       720p      60Hz
 | 
			
		||||
##     86                                       1366x768        reduced blanking
 | 
			
		||||
##
 | 
			
		||||
#hdmi_mode=1
 | 
			
		||||
 | 
			
		||||
## config_hdmi_boost
 | 
			
		||||
##     configure the signal strength of the HDMI interface.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        (Default)
 | 
			
		||||
##     1
 | 
			
		||||
##     2
 | 
			
		||||
##     3
 | 
			
		||||
##     4        Try if you have interference issues with HDMI
 | 
			
		||||
##     5
 | 
			
		||||
##     6
 | 
			
		||||
##     7        Maximum
 | 
			
		||||
##
 | 
			
		||||
#config_hdmi_boost=0
 | 
			
		||||
 | 
			
		||||
## hdmi_ignore_cec_init
 | 
			
		||||
##     Doesn't sent initial active source message.  Avoids bringing
 | 
			
		||||
##     (CEC enabled) TV out of standby and channel switch when rebooting.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Normal behaviour (Default)
 | 
			
		||||
##     1        Doesn't sent initial active source message
 | 
			
		||||
##
 | 
			
		||||
#hdmi_ignore_cec_init=1
 | 
			
		||||
 | 
			
		||||
## hdmi_ignore_cec
 | 
			
		||||
##     Pretends CEC is not supported at all by TV.
 | 
			
		||||
##     No CEC functions will be supported.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Normal behaviour (Default)
 | 
			
		||||
##     1        Pretend CEC is not supported by TV
 | 
			
		||||
##
 | 
			
		||||
#hdmi_ignore_cec=1
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Overscan Video Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## overscan_left
 | 
			
		||||
##     Number of pixels to skip on left
 | 
			
		||||
##
 | 
			
		||||
#overscan_left=0
 | 
			
		||||
 | 
			
		||||
## overscan_right
 | 
			
		||||
##     Number of pixels to skip on right
 | 
			
		||||
##
 | 
			
		||||
#overscan_right=0
 | 
			
		||||
 | 
			
		||||
## overscan_top
 | 
			
		||||
##     Number of pixels to skip on top
 | 
			
		||||
##
 | 
			
		||||
#overscan_top=0
 | 
			
		||||
 | 
			
		||||
## overscan_bottom
 | 
			
		||||
##     Number of pixels to skip on bottom
 | 
			
		||||
##
 | 
			
		||||
#overscan_bottom=0
 | 
			
		||||
 | 
			
		||||
## disable_overscan
 | 
			
		||||
##     Set to 1 to disable overscan
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Overscan Enabled (Default)
 | 
			
		||||
##     1        Overscan Disabled
 | 
			
		||||
##
 | 
			
		||||
#disable_overscan=1
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Framebuffer Video Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## framebuffer_width
 | 
			
		||||
##     Console framebuffer width in pixels. Default is display width minus
 | 
			
		||||
##     overscan.
 | 
			
		||||
##
 | 
			
		||||
#framebuffer_width=0
 | 
			
		||||
 | 
			
		||||
## framebuffer_height
 | 
			
		||||
##     Console framebuffer height in pixels. Default is display height minus
 | 
			
		||||
##     overscan.
 | 
			
		||||
##
 | 
			
		||||
#framebuffer_height=0
 | 
			
		||||
 | 
			
		||||
## framebuffer_depth
 | 
			
		||||
##     Console framebuffer depth in bits per pixel.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     8        Valid, but default RGB palette makes an unreadable screen
 | 
			
		||||
##     16       (Default)
 | 
			
		||||
##     24       Looks better but has corruption issues as of 2012/06/15
 | 
			
		||||
##     32       Has no corruption issues but needs framebuffer_ignore_alpha=1
 | 
			
		||||
##              and shows the wrong colors as of 2012/06/15
 | 
			
		||||
##
 | 
			
		||||
#framebuffer_depth=16
 | 
			
		||||
 | 
			
		||||
## framebuffer_ignore_alpha
 | 
			
		||||
##     Set to 1 to disable alpha channel. Helps with 32bit.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Enable Alpha Channel (Default)
 | 
			
		||||
##     1        Disable Alpha Channel
 | 
			
		||||
##
 | 
			
		||||
#framebuffer_ignore_alpha=0
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  General Video Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## display_rotate
 | 
			
		||||
##     Rotate the display clockwise or flip the display.
 | 
			
		||||
##     The 90 and 270 degrees rotation options require additional memory on GPU,
 | 
			
		||||
##     so won't work with the 16M GPU split.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        0 degrees (Default)
 | 
			
		||||
##     1        90 degrees
 | 
			
		||||
##     2        180 degrees
 | 
			
		||||
##     3        270 degrees
 | 
			
		||||
##     0x10000  Horizontal flip
 | 
			
		||||
##     0x20000  Vertical flip
 | 
			
		||||
##
 | 
			
		||||
#display_rotate=0
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Licensed Codecs
 | 
			
		||||
##
 | 
			
		||||
##  Hardware decoding of additional codecs can be enabled by purchasing a
 | 
			
		||||
##  license that is locked to the CPU serial number of your Raspberry Pi.
 | 
			
		||||
##
 | 
			
		||||
##  Up to 8 licenses per CODEC can be specified as a comma seperated list.
 | 
			
		||||
##
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## decode_MPG2
 | 
			
		||||
##     License key to allow hardware MPEG-2 decoding.
 | 
			
		||||
##
 | 
			
		||||
#decode_MPG2=0x12345678
 | 
			
		||||
 | 
			
		||||
## decode_WVC1
 | 
			
		||||
##     License key to allow hardware VC-1 decoding.
 | 
			
		||||
##
 | 
			
		||||
#decode_WVC1=0x12345678
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Test Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## test_mode
 | 
			
		||||
##     Enable test sound/image during boot for manufacturing test.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Disable Test Mod (Default)
 | 
			
		||||
##     1        Enable Test Mode
 | 
			
		||||
##
 | 
			
		||||
#test_mode=0
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Memory Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## disable_l2cache
 | 
			
		||||
##     Disable arm access to GPU's L2 cache. Needs corresponding L2 disabled
 | 
			
		||||
##     kernel.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Enable L2 Cache (Default)
 | 
			
		||||
##     1        Disable L2 cache
 | 
			
		||||
##
 | 
			
		||||
#disable_l2cache=0
 | 
			
		||||
 | 
			
		||||
## gpu_mem
 | 
			
		||||
##     GPU memory allocation in MB for all board revisions.
 | 
			
		||||
##
 | 
			
		||||
##     Default 64
 | 
			
		||||
##
 | 
			
		||||
#gpu_mem=128
 | 
			
		||||
 | 
			
		||||
## gpu_mem_256
 | 
			
		||||
##     GPU memory allocation in MB for 256MB board revision.
 | 
			
		||||
##     This option overrides gpu_mem.
 | 
			
		||||
##
 | 
			
		||||
#gpu_mem_256=128
 | 
			
		||||
 | 
			
		||||
## gpu_mem_512
 | 
			
		||||
##     GPU memory allocation in MB for 512MB board revision.
 | 
			
		||||
##     This option overrides gpu_mem.
 | 
			
		||||
##
 | 
			
		||||
#gpu_mem_512=128
 | 
			
		||||
 | 
			
		||||
## gpu_mem_1024
 | 
			
		||||
##     GPU memory allocation in MB for 1024MB board revision.
 | 
			
		||||
##     This option overrides gpu_mem.
 | 
			
		||||
##
 | 
			
		||||
#gpu_mem_1024=128
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Boot Option Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## disable_commandline_tags
 | 
			
		||||
##     Stop start.elf from filling in ATAGS (memory from 0x100) before
 | 
			
		||||
##     launching kernel
 | 
			
		||||
##
 | 
			
		||||
#disable_commandline_tags=2
 | 
			
		||||
 | 
			
		||||
## enable_uart
 | 
			
		||||
##     Enables or disables uart pin multiplexing
 | 
			
		||||
##     Raspberry Pi 1/2: if unset, uart is enabled by default
 | 
			
		||||
##     Raspberry Pi 3: if unset uart is disabled by default
 | 
			
		||||
##
 | 
			
		||||
enable_uart=1
 | 
			
		||||
 | 
			
		||||
## cmdline (string)
 | 
			
		||||
##     Command line parameters. Can be used instead of cmdline.txt file
 | 
			
		||||
##
 | 
			
		||||
#cmdline=""
 | 
			
		||||
 | 
			
		||||
## kernel (string)
 | 
			
		||||
##     Alternative name to use when loading kernel.
 | 
			
		||||
##
 | 
			
		||||
#kernel=""
 | 
			
		||||
 | 
			
		||||
## kernel_address
 | 
			
		||||
##     Address to load kernel.img file at
 | 
			
		||||
##
 | 
			
		||||
#kernel_address=0x8000
 | 
			
		||||
 | 
			
		||||
## ramfsfile (string)
 | 
			
		||||
##     ramfs file to load
 | 
			
		||||
##
 | 
			
		||||
#ramfsfile=""
 | 
			
		||||
 | 
			
		||||
## ramfsaddr
 | 
			
		||||
##     Address to load ramfs file at
 | 
			
		||||
##
 | 
			
		||||
#ramfsaddr=0x00000000
 | 
			
		||||
 | 
			
		||||
## initramfs (string address)
 | 
			
		||||
##     ramfs file and address to load it at (it's like ramfsfile+ramfsaddr in
 | 
			
		||||
##     one option).
 | 
			
		||||
##
 | 
			
		||||
##     NOTE: this option uses different syntax than all other options - you
 | 
			
		||||
##           should not use "=" character here.
 | 
			
		||||
##
 | 
			
		||||
#initramfs initramf.gz 0x00800000
 | 
			
		||||
 | 
			
		||||
## device_tree_address
 | 
			
		||||
##     Address to load device_tree at
 | 
			
		||||
##
 | 
			
		||||
#device_tree_address=0x100
 | 
			
		||||
 | 
			
		||||
## init_uart_baud
 | 
			
		||||
##     Initial uart baud rate.
 | 
			
		||||
##
 | 
			
		||||
##     Default 115200
 | 
			
		||||
##
 | 
			
		||||
#init_uart_baud=115200
 | 
			
		||||
 | 
			
		||||
## init_uart_clock
 | 
			
		||||
##     Initial uart clock.
 | 
			
		||||
##
 | 
			
		||||
##     Default 3000000 (3MHz)
 | 
			
		||||
##
 | 
			
		||||
#init_uart_clock=3000000
 | 
			
		||||
 | 
			
		||||
## init_emmc_clock
 | 
			
		||||
##     Initial emmc clock, increasing this can speedup your SD-card.
 | 
			
		||||
##
 | 
			
		||||
##     Default 100000000 (100mhz)
 | 
			
		||||
##
 | 
			
		||||
#init_emmc_clock=100000000
 | 
			
		||||
 | 
			
		||||
## boot_delay
 | 
			
		||||
##     Wait for a given number of seconds in start.elf before loading
 | 
			
		||||
##     kernel.img.
 | 
			
		||||
##
 | 
			
		||||
##     delay = (1000 * boot_delay) + boot_delay_ms
 | 
			
		||||
##
 | 
			
		||||
##     Default 1
 | 
			
		||||
##
 | 
			
		||||
#boot_delay=0
 | 
			
		||||
 | 
			
		||||
## boot_delay_ms
 | 
			
		||||
##     Wait for a given number of milliseconds in start.elf before loading
 | 
			
		||||
##     kernel.img.
 | 
			
		||||
##
 | 
			
		||||
##     delay = (1000 * boot_delay) + boot_delay_ms
 | 
			
		||||
##
 | 
			
		||||
##     Default 0
 | 
			
		||||
##
 | 
			
		||||
#boot_delay_ms=0
 | 
			
		||||
 | 
			
		||||
## avoid_safe_mode
 | 
			
		||||
##     Adding a jumper between pins 5 & 6 of P1 enables a recovery Safe Mode.
 | 
			
		||||
##     If pins 5 & 6 are used for connecting to external devices (e.g. GPIO),
 | 
			
		||||
##     then this setting can be used to ensure Safe Mode is not triggered.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Respect Safe Mode input (Default)
 | 
			
		||||
##     1        Ignore Safe Mode input
 | 
			
		||||
##
 | 
			
		||||
#avoid_safe_mode=1
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Overclocking Settings
 | 
			
		||||
##
 | 
			
		||||
##  ARM, SDRAM and GPU each have their own PLLs and can have unrelated
 | 
			
		||||
##  frequencies.
 | 
			
		||||
##
 | 
			
		||||
##  The GPU core, h264, v3d and isp share a PLL, so need to have related
 | 
			
		||||
##  frequencies.
 | 
			
		||||
##  pll_freq = floor(2400 / (2 * core_freq)) * (2 * core_freq)
 | 
			
		||||
##  gpu_freq = pll_freq / [even number]
 | 
			
		||||
##
 | 
			
		||||
##  The effective gpu_freq is automatically rounded to nearest even integer, so
 | 
			
		||||
##  asking for core_freq = 500 and gpu_freq = 300 will result in divisor of
 | 
			
		||||
##  2000/300 = 6.666 => 6 and so 333.33MHz.
 | 
			
		||||
##
 | 
			
		||||
##
 | 
			
		||||
##  Standard Profiles:
 | 
			
		||||
##                  arm_freq    core_freq    sdram_freq    over_voltage
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     None         700         250          400           0
 | 
			
		||||
##     Modest       800         300          400           0
 | 
			
		||||
##     Medium       900         333          450           2
 | 
			
		||||
##     High         950         450          450           6
 | 
			
		||||
##     Turbo        1000        500          500           6
 | 
			
		||||
##
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## force_turbo
 | 
			
		||||
##     Control the kernel "ondemand" governor. It has no effect if no overclock
 | 
			
		||||
##     settings are specified.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Enable dynamic clocks and voltage for the ARM core, GPU core and
 | 
			
		||||
##              SDRAM (Default).
 | 
			
		||||
##              Overclocking of h264_freq, v3d_freq and isp_freq is ignored.
 | 
			
		||||
##     1        Disable dynamic clocks and voltage for the ARM core, GPU core
 | 
			
		||||
##              and SDRAM.
 | 
			
		||||
##              Overclocking of h264_freq, v3d_freq and isp_freq is allowed.
 | 
			
		||||
##
 | 
			
		||||
#force_turbo=0
 | 
			
		||||
 | 
			
		||||
## initial_turbo
 | 
			
		||||
##     Enables turbo mode from boot for the given value in seconds (up to 60)
 | 
			
		||||
##     or until cpufreq sets a frequency. Can help with sdcard corruption if
 | 
			
		||||
##     overclocked.
 | 
			
		||||
##
 | 
			
		||||
##     Default 0
 | 
			
		||||
##
 | 
			
		||||
#initial_turbo=0
 | 
			
		||||
 | 
			
		||||
## temp_limit
 | 
			
		||||
##     Overheat protection. Sets clocks and voltages to default when the SoC
 | 
			
		||||
##     reaches this Celsius value.
 | 
			
		||||
##     Setting this higher than default voids warranty.
 | 
			
		||||
##
 | 
			
		||||
##     Default 85
 | 
			
		||||
##
 | 
			
		||||
#temp_limit=85
 | 
			
		||||
 | 
			
		||||
## arm_freq
 | 
			
		||||
##     Frequency of ARM in MHz.
 | 
			
		||||
##
 | 
			
		||||
##     Default 700.
 | 
			
		||||
##
 | 
			
		||||
#arm_freq=700
 | 
			
		||||
 | 
			
		||||
## arm_freq_min
 | 
			
		||||
##     Minimum frequency of ARM in MHz (used for dynamic clocking).
 | 
			
		||||
##
 | 
			
		||||
##     Default 700.
 | 
			
		||||
##
 | 
			
		||||
#arm_freq_min=700
 | 
			
		||||
 | 
			
		||||
## gpu_freq
 | 
			
		||||
##     Sets core_freq, h264_freq, isp_freq, v3d_freq together.
 | 
			
		||||
##
 | 
			
		||||
##     Default 250.
 | 
			
		||||
##
 | 
			
		||||
#gpu_freq=250
 | 
			
		||||
 | 
			
		||||
## core_freq
 | 
			
		||||
##     Frequency of GPU processor core in MHz. It has an impact on ARM
 | 
			
		||||
##     performance since it drives L2 cache.
 | 
			
		||||
##
 | 
			
		||||
##     Default 250.
 | 
			
		||||
##
 | 
			
		||||
#core_freq=250
 | 
			
		||||
 | 
			
		||||
## core_freq_min
 | 
			
		||||
##     Minimum frequency of GPU processor core in MHz (used for dynamic
 | 
			
		||||
##     clocking). It has an impact on ARM performance since it drives L2 cache.
 | 
			
		||||
##
 | 
			
		||||
##     Default 250.
 | 
			
		||||
##
 | 
			
		||||
#core_freq_min=250
 | 
			
		||||
 | 
			
		||||
## h264_freq
 | 
			
		||||
##     Frequency of hardware video block in MHz.
 | 
			
		||||
##
 | 
			
		||||
##     Default 250.
 | 
			
		||||
##
 | 
			
		||||
#h264_freq=250
 | 
			
		||||
 | 
			
		||||
## isp_freq
 | 
			
		||||
##     Frequency of image sensor pipeline block in MHz.
 | 
			
		||||
##
 | 
			
		||||
##     Default 250.
 | 
			
		||||
##
 | 
			
		||||
#isp_freq=250
 | 
			
		||||
 | 
			
		||||
## v3d_freq
 | 
			
		||||
##     Frequency of 3D block in MHz.
 | 
			
		||||
##
 | 
			
		||||
##     Default 250.
 | 
			
		||||
##
 | 
			
		||||
#v3d_freq=250
 | 
			
		||||
 | 
			
		||||
## sdram_freq
 | 
			
		||||
##     Frequency of SDRAM in MHz.
 | 
			
		||||
##
 | 
			
		||||
##     Default 400.
 | 
			
		||||
##
 | 
			
		||||
#sdram_freq=400
 | 
			
		||||
 | 
			
		||||
## sdram_freq_min
 | 
			
		||||
##     Minimum frequency of SDRAM in MHz (used for dynamic clocking).
 | 
			
		||||
##
 | 
			
		||||
##     Default 400.
 | 
			
		||||
##
 | 
			
		||||
#sdram_freq_min=400
 | 
			
		||||
 | 
			
		||||
## avoid_pwm_pll
 | 
			
		||||
##     Unlink core_freq from the rest of the gpu. Analog audio should still
 | 
			
		||||
##     work, but from a fractional divider, so lower quality.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     0        Linked core_freq (Default)
 | 
			
		||||
##     1        Unlinked core_freq
 | 
			
		||||
##
 | 
			
		||||
#avoid_pwm_pll=1
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Voltage Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
## current_limit_override
 | 
			
		||||
##     Disables SMPS current limit protection. Can help if you are currently
 | 
			
		||||
##     hitting a reboot failure when overclocking too high.
 | 
			
		||||
##
 | 
			
		||||
#current_limit_override=0x5A000020
 | 
			
		||||
 | 
			
		||||
## over_voltage
 | 
			
		||||
##     ARM/GPU core voltage adjust.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     -16      0.8   V
 | 
			
		||||
##     -15      0.825 V
 | 
			
		||||
##     -14      0.85  V
 | 
			
		||||
##     -13      0.875 V
 | 
			
		||||
##     -12      0.9   V
 | 
			
		||||
##     -11      0.925 V
 | 
			
		||||
##     -10      0.95  V
 | 
			
		||||
##     -9       0.975 V
 | 
			
		||||
##     -8       1.0   V
 | 
			
		||||
##     -7       1.025 V
 | 
			
		||||
##     -6       1.05  V
 | 
			
		||||
##     -5       1.075 V
 | 
			
		||||
##     -4       1.1   V
 | 
			
		||||
##     -3       1.125 V
 | 
			
		||||
##     -2       1.15  V
 | 
			
		||||
##     -1       1.175 V
 | 
			
		||||
##     0        1.2   V (Default)
 | 
			
		||||
##     1        1.225 V
 | 
			
		||||
##     2        1.25  V
 | 
			
		||||
##     3        1.275 V
 | 
			
		||||
##     4        1.3   V
 | 
			
		||||
##     5        1.325 V
 | 
			
		||||
##     6        1.35  V
 | 
			
		||||
##     7        1.375 V (requires force_turbo=1)
 | 
			
		||||
##     8        1.4   V (requires force_turbo=1)
 | 
			
		||||
##
 | 
			
		||||
#over_voltage=0
 | 
			
		||||
 | 
			
		||||
## over_voltage_min
 | 
			
		||||
##     Minimum ARM/GPU core voltage adjust (used for dynamic clocking).
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     -16      0.8   V
 | 
			
		||||
##     -15      0.825 V
 | 
			
		||||
##     -14      0.85  V
 | 
			
		||||
##     -13      0.875 V
 | 
			
		||||
##     -12      0.9   V
 | 
			
		||||
##     -11      0.925 V
 | 
			
		||||
##     -10      0.95  V
 | 
			
		||||
##     -9       0.975 V
 | 
			
		||||
##     -8       1.0   V
 | 
			
		||||
##     -7       1.025 V
 | 
			
		||||
##     -6       1.05  V
 | 
			
		||||
##     -5       1.075 V
 | 
			
		||||
##     -4       1.1   V
 | 
			
		||||
##     -3       1.125 V
 | 
			
		||||
##     -2       1.15  V
 | 
			
		||||
##     -1       1.175 V
 | 
			
		||||
##     0        1.2   V (Default)
 | 
			
		||||
##     1        1.225 V
 | 
			
		||||
##     2        1.25  V
 | 
			
		||||
##     3        1.275 V
 | 
			
		||||
##     4        1.3   V
 | 
			
		||||
##     5        1.325 V
 | 
			
		||||
##     6        1.35  V
 | 
			
		||||
##     7        1.375 V (requires force_turbo=1)
 | 
			
		||||
##     8        1.4   V (requires force_turbo=1)
 | 
			
		||||
##
 | 
			
		||||
#over_voltage_min=0
 | 
			
		||||
 | 
			
		||||
## over_voltage_sdram
 | 
			
		||||
##     Sets over_voltage_sdram_c, over_voltage_sdram_i, over_voltage_sdram_p
 | 
			
		||||
##     together
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     -16      0.8   V
 | 
			
		||||
##     -15      0.825 V
 | 
			
		||||
##     -14      0.85  V
 | 
			
		||||
##     -13      0.875 V
 | 
			
		||||
##     -12      0.9   V
 | 
			
		||||
##     -11      0.925 V
 | 
			
		||||
##     -10      0.95  V
 | 
			
		||||
##     -9       0.975 V
 | 
			
		||||
##     -8       1.0   V
 | 
			
		||||
##     -7       1.025 V
 | 
			
		||||
##     -6       1.05  V
 | 
			
		||||
##     -5       1.075 V
 | 
			
		||||
##     -4       1.1   V
 | 
			
		||||
##     -3       1.125 V
 | 
			
		||||
##     -2       1.15  V
 | 
			
		||||
##     -1       1.175 V
 | 
			
		||||
##     0        1.2   V (Default)
 | 
			
		||||
##     1        1.225 V
 | 
			
		||||
##     2        1.25  V
 | 
			
		||||
##     3        1.275 V
 | 
			
		||||
##     4        1.3   V
 | 
			
		||||
##     5        1.325 V
 | 
			
		||||
##     6        1.35  V
 | 
			
		||||
##     7        1.375 V
 | 
			
		||||
##     8        1.4   V
 | 
			
		||||
##
 | 
			
		||||
#over_voltage_sdram=0
 | 
			
		||||
 | 
			
		||||
## over_voltage_sdram_c
 | 
			
		||||
##     SDRAM controller voltage adjust.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     -16      0.8   V
 | 
			
		||||
##     -15      0.825 V
 | 
			
		||||
##     -14      0.85  V
 | 
			
		||||
##     -13      0.875 V
 | 
			
		||||
##     -12      0.9   V
 | 
			
		||||
##     -11      0.925 V
 | 
			
		||||
##     -10      0.95  V
 | 
			
		||||
##     -9       0.975 V
 | 
			
		||||
##     -8       1.0   V
 | 
			
		||||
##     -7       1.025 V
 | 
			
		||||
##     -6       1.05  V
 | 
			
		||||
##     -5       1.075 V
 | 
			
		||||
##     -4       1.1   V
 | 
			
		||||
##     -3       1.125 V
 | 
			
		||||
##     -2       1.15  V
 | 
			
		||||
##     -1       1.175 V
 | 
			
		||||
##     0        1.2   V (Default)
 | 
			
		||||
##     1        1.225 V
 | 
			
		||||
##     2        1.25  V
 | 
			
		||||
##     3        1.275 V
 | 
			
		||||
##     4        1.3   V
 | 
			
		||||
##     5        1.325 V
 | 
			
		||||
##     6        1.35  V
 | 
			
		||||
##     7        1.375 V
 | 
			
		||||
##     8        1.4   V
 | 
			
		||||
##
 | 
			
		||||
#over_voltage_sdram_c=0
 | 
			
		||||
 | 
			
		||||
## over_voltage_sdram_i
 | 
			
		||||
##     SDRAM I/O voltage adjust.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     -16      0.8   V
 | 
			
		||||
##     -15      0.825 V
 | 
			
		||||
##     -14      0.85  V
 | 
			
		||||
##     -13      0.875 V
 | 
			
		||||
##     -12      0.9   V
 | 
			
		||||
##     -11      0.925 V
 | 
			
		||||
##     -10      0.95  V
 | 
			
		||||
##     -9       0.975 V
 | 
			
		||||
##     -8       1.0   V
 | 
			
		||||
##     -7       1.025 V
 | 
			
		||||
##     -6       1.05  V
 | 
			
		||||
##     -5       1.075 V
 | 
			
		||||
##     -4       1.1   V
 | 
			
		||||
##     -3       1.125 V
 | 
			
		||||
##     -2       1.15  V
 | 
			
		||||
##     -1       1.175 V
 | 
			
		||||
##     0        1.2   V (Default)
 | 
			
		||||
##     1        1.225 V
 | 
			
		||||
##     2        1.25  V
 | 
			
		||||
##     3        1.275 V
 | 
			
		||||
##     4        1.3   V
 | 
			
		||||
##     5        1.325 V
 | 
			
		||||
##     6        1.35  V
 | 
			
		||||
##     7        1.375 V
 | 
			
		||||
##     8        1.4   V
 | 
			
		||||
##
 | 
			
		||||
#over_voltage_sdram_i=0
 | 
			
		||||
 | 
			
		||||
## over_voltage_sdram_p
 | 
			
		||||
##     SDRAM phy voltage adjust.
 | 
			
		||||
##
 | 
			
		||||
##     Value    Description
 | 
			
		||||
##     -------------------------------------------------------------------------
 | 
			
		||||
##     -16      0.8   V
 | 
			
		||||
##     -15      0.825 V
 | 
			
		||||
##     -14      0.85  V
 | 
			
		||||
##     -13      0.875 V
 | 
			
		||||
##     -12      0.9   V
 | 
			
		||||
##     -11      0.925 V
 | 
			
		||||
##     -10      0.95  V
 | 
			
		||||
##     -9       0.975 V
 | 
			
		||||
##     -8       1.0   V
 | 
			
		||||
##     -7       1.025 V
 | 
			
		||||
##     -6       1.05  V
 | 
			
		||||
##     -5       1.075 V
 | 
			
		||||
##     -4       1.1   V
 | 
			
		||||
##     -3       1.125 V
 | 
			
		||||
##     -2       1.15  V
 | 
			
		||||
##     -1       1.175 V
 | 
			
		||||
##     0        1.2   V (Default)
 | 
			
		||||
##     1        1.225 V
 | 
			
		||||
##     2        1.25  V
 | 
			
		||||
##     3        1.275 V
 | 
			
		||||
##     4        1.3   V
 | 
			
		||||
##     5        1.325 V
 | 
			
		||||
##     6        1.35  V
 | 
			
		||||
##     7        1.375 V
 | 
			
		||||
##     8        1.4   V
 | 
			
		||||
##
 | 
			
		||||
#over_voltage_sdram_p=0
 | 
			
		||||
 | 
			
		||||
################################################################################
 | 
			
		||||
##  Device Tree Settings
 | 
			
		||||
################################################################################
 | 
			
		||||
 | 
			
		||||
dtparam=random=on
 | 
			
		||||
dtparam=watchdog=on
 | 
			
		||||
dtparam=audio=on
 | 
			
		||||
dtparam=i2c0=on
 | 
			
		||||
dtparam=i2c1=on
 | 
			
		||||
dtparam=spi=on
 | 
			
		||||
 | 
			
		||||
#dtoverlay=adau1977-adc
 | 
			
		||||
#dtoverlay=allo-piano-dac-pcm512x-audio
 | 
			
		||||
#dtoverlay=audioinjector-wm8731-audio
 | 
			
		||||
#dtoverlay=dionaudio-loco
 | 
			
		||||
#dtoverlay=hifiberry-amp
 | 
			
		||||
#dtoverlay=hifiberry-dac
 | 
			
		||||
#dtoverlay=hifiberry-dacplus
 | 
			
		||||
#dtoverlay=hifiberry-digi
 | 
			
		||||
#dtoverlay=hifiberry-digi-pro
 | 
			
		||||
#dtoverlay=iqaudio-dac
 | 
			
		||||
#dtoverlay=iqaudio-dacplus
 | 
			
		||||
#dtoverlay=iqaudio-digi-wm8804-audio
 | 
			
		||||
#dtoverlay=justboom-dac
 | 
			
		||||
#dtoverlay=justboom-digi
 | 
			
		||||
#dtoverlay=pisound
 | 
			
		||||
#dtoverlay=raspidac3
 | 
			
		||||
#dtoverlay=rpi-dac
 | 
			
		||||
#dtoverlay=rpi-proto
 | 
			
		||||
#dtoverlay=rra-digidac1-wm8741-audio
 | 
			
		||||
[pi4]
 | 
			
		||||
total_mem=1024
 | 
			
		||||
arm_64bit=1
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue