forked from openwrt/openwrt
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build system: x86_64 Build-tested: generic, smp Run-tested: generic/AR-5387un, smp/VR-3032u Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
- Loading branch information
Showing
133 changed files
with
20,886 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,233 @@ | ||
CONFIG_ARCH_32BIT_OFF_T=y | ||
CONFIG_ARCH_HIBERNATION_POSSIBLE=y | ||
CONFIG_ARCH_KEEP_MEMBLOCK=y | ||
CONFIG_ARCH_MMAP_RND_BITS_MAX=15 | ||
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=15 | ||
CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
CONFIG_BCM6345_EXT_IRQ=y | ||
CONFIG_BCM6345_PERIPH_IRQ=y | ||
CONFIG_BCM63XX=y | ||
CONFIG_BCM63XX_CPU_3368=y | ||
CONFIG_BCM63XX_CPU_6318=y | ||
CONFIG_BCM63XX_CPU_63268=y | ||
CONFIG_BCM63XX_CPU_6328=y | ||
CONFIG_BCM63XX_CPU_6338=y | ||
CONFIG_BCM63XX_CPU_6345=y | ||
CONFIG_BCM63XX_CPU_6348=y | ||
CONFIG_BCM63XX_CPU_6358=y | ||
CONFIG_BCM63XX_CPU_6362=y | ||
CONFIG_BCM63XX_CPU_6368=y | ||
CONFIG_BCM63XX_EHCI=y | ||
CONFIG_BCM63XX_ENET=y | ||
CONFIG_BCM63XX_OHCI=y | ||
CONFIG_BCM63XX_PHY=y | ||
CONFIG_BCM63XX_WDT=y | ||
CONFIG_BCMA=y | ||
CONFIG_BCMA_BLOCKIO=y | ||
# CONFIG_BCMA_DEBUG is not set | ||
# CONFIG_BCMA_DRIVER_GMAC_CMN is not set | ||
# CONFIG_BCMA_DRIVER_MIPS is not set | ||
CONFIG_BCMA_DRIVER_PCI=y | ||
# CONFIG_BCMA_DRIVER_PCI_HOSTMODE is not set | ||
CONFIG_BCMA_HOST_PCI=y | ||
CONFIG_BCMA_HOST_PCI_POSSIBLE=y | ||
# CONFIG_BCMA_HOST_SOC is not set | ||
CONFIG_BCM_NET_PHYLIB=y | ||
CONFIG_BLK_MQ_PCI=y | ||
CONFIG_BOARD_BCM63XX_DT=y | ||
CONFIG_BOARD_BCM963XX=y | ||
CONFIG_BOARD_LIVEBOX=y | ||
CONFIG_CEVT_R4K=y | ||
CONFIG_CLONE_BACKWARDS=y | ||
CONFIG_COMPAT_32BIT_TIME=y | ||
CONFIG_CPU_BIG_ENDIAN=y | ||
CONFIG_CPU_BMIPS=y | ||
CONFIG_CPU_BMIPS32_3300=y | ||
CONFIG_CPU_BMIPS4350=y | ||
CONFIG_CPU_BMIPS4380=y | ||
CONFIG_CPU_GENERIC_DUMP_TLB=y | ||
CONFIG_CPU_HAS_PREFETCH=y | ||
CONFIG_CPU_HAS_RIXI=y | ||
CONFIG_CPU_HAS_SYNC=y | ||
CONFIG_CPU_MIPS32=y | ||
CONFIG_CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS=y | ||
CONFIG_CPU_NO_EFFICIENT_FFS=y | ||
CONFIG_CPU_R4K_CACHE_TLB=y | ||
CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y | ||
CONFIG_CPU_SUPPORTS_CPUFREQ=y | ||
CONFIG_CPU_SUPPORTS_HIGHMEM=y | ||
CONFIG_CRASH_CORE=y | ||
CONFIG_CRYPTO_LIB_POLY1305_RSIZE=2 | ||
CONFIG_CRYPTO_RNG2=y | ||
CONFIG_CSRC_R4K=y | ||
CONFIG_DMA_NONCOHERENT=y | ||
CONFIG_DTC=y | ||
CONFIG_EARLY_PRINTK=y | ||
CONFIG_FIXED_PHY=y | ||
CONFIG_FWNODE_MDIO=y | ||
CONFIG_FW_LOADER_PAGED_BUF=y | ||
CONFIG_GENERIC_ATOMIC64=y | ||
CONFIG_GENERIC_CLOCKEVENTS=y | ||
CONFIG_GENERIC_CMOS_UPDATE=y | ||
CONFIG_GENERIC_CPU_AUTOPROBE=y | ||
CONFIG_GENERIC_FIND_FIRST_BIT=y | ||
CONFIG_GENERIC_GETTIMEOFDAY=y | ||
CONFIG_GENERIC_IOMAP=y | ||
CONFIG_GENERIC_IRQ_CHIP=y | ||
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y | ||
CONFIG_GENERIC_IRQ_SHOW=y | ||
CONFIG_GENERIC_LIB_ASHLDI3=y | ||
CONFIG_GENERIC_LIB_ASHRDI3=y | ||
CONFIG_GENERIC_LIB_CMPDI2=y | ||
CONFIG_GENERIC_LIB_LSHRDI3=y | ||
CONFIG_GENERIC_LIB_UCMPDI2=y | ||
CONFIG_GENERIC_PCI_IOMAP=y | ||
CONFIG_GENERIC_PINCONF=y | ||
CONFIG_GENERIC_PINCTRL_GROUPS=y | ||
CONFIG_GENERIC_PINMUX_FUNCTIONS=y | ||
CONFIG_GENERIC_SCHED_CLOCK=y | ||
CONFIG_GENERIC_SMP_IDLE_THREAD=y | ||
CONFIG_GENERIC_TIME_VSYSCALL=y | ||
CONFIG_GPIOLIB=y | ||
CONFIG_GPIO_BCM63XX=y | ||
CONFIG_GPIO_CDEV=y | ||
CONFIG_GPIO_GENERIC=y | ||
CONFIG_HANDLE_DOMAIN_IRQ=y | ||
CONFIG_HAS_DMA=y | ||
CONFIG_HAS_IOMEM=y | ||
CONFIG_HAS_IOPORT_MAP=y | ||
CONFIG_HW_RANDOM=y | ||
CONFIG_HW_RANDOM_BCM2835=y | ||
CONFIG_HZ_PERIODIC=y | ||
CONFIG_INITRAMFS_SOURCE="" | ||
CONFIG_IRQCHIP=y | ||
CONFIG_IRQ_DOMAIN=y | ||
CONFIG_IRQ_FORCED_THREADING=y | ||
CONFIG_IRQ_MIPS_CPU=y | ||
CONFIG_IRQ_WORK=y | ||
CONFIG_KEXEC=y | ||
CONFIG_KEXEC_CORE=y | ||
CONFIG_LEDS_BCM6328=y | ||
CONFIG_LEDS_BCM6358=y | ||
CONFIG_LEDS_GPIO=y | ||
CONFIG_LIBFDT=y | ||
CONFIG_LOCK_DEBUGGING_SUPPORT=y | ||
CONFIG_MDIO_BUS=y | ||
CONFIG_MDIO_DEVICE=y | ||
CONFIG_MDIO_DEVRES=y | ||
CONFIG_MEMFD_CREATE=y | ||
CONFIG_MFD_SYSCON=y | ||
CONFIG_MIGRATION=y | ||
CONFIG_MIPS=y | ||
CONFIG_MIPS_ASID_BITS=8 | ||
CONFIG_MIPS_ASID_SHIFT=0 | ||
CONFIG_MIPS_CLOCK_VSYSCALL=y | ||
# CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER is not set | ||
CONFIG_MIPS_CMDLINE_FROM_DTB=y | ||
CONFIG_MIPS_EBPF_JIT=y | ||
CONFIG_MIPS_EXTERNAL_TIMER=y | ||
CONFIG_MIPS_L1_CACHE_SHIFT=6 | ||
CONFIG_MIPS_L1_CACHE_SHIFT_4=y | ||
CONFIG_MIPS_L1_CACHE_SHIFT_6=y | ||
CONFIG_MIPS_LD_CAN_LINK_VDSO=y | ||
# CONFIG_MIPS_NO_APPENDED_DTB is not set | ||
CONFIG_MIPS_RAW_APPENDED_DTB=y | ||
CONFIG_MODULES_USE_ELF_REL=y | ||
CONFIG_MODULE_FORCE_LOAD=y | ||
CONFIG_MODULE_FORCE_UNLOAD=y | ||
CONFIG_MTD_BCM63XX_PARTS=y | ||
CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
CONFIG_MTD_CFI_BE_BYTE_SWAP=y | ||
# CONFIG_MTD_CFI_GEOMETRY is not set | ||
# CONFIG_MTD_CFI_NOSWAP is not set | ||
CONFIG_MTD_CFI_STAA=y | ||
# CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
CONFIG_MTD_JEDECPROBE=y | ||
CONFIG_MTD_PARSER_IMAGETAG=y | ||
CONFIG_MTD_PHYSMAP=y | ||
CONFIG_MTD_REDBOOT_PARTS=y | ||
CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y | ||
CONFIG_MTD_SPI_NOR=y | ||
CONFIG_NEED_DMA_MAP_STATE=y | ||
CONFIG_NEED_PER_CPU_KM=y | ||
CONFIG_NET_SELFTESTS=y | ||
CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y | ||
CONFIG_NVMEM=y | ||
CONFIG_OF=y | ||
CONFIG_OF_ADDRESS=y | ||
CONFIG_OF_EARLY_FLATTREE=y | ||
CONFIG_OF_FLATTREE=y | ||
CONFIG_OF_GPIO=y | ||
CONFIG_OF_IRQ=y | ||
CONFIG_OF_KOBJ=y | ||
CONFIG_OF_MDIO=y | ||
CONFIG_PCI=y | ||
CONFIG_PCIEPORTBUS=y | ||
CONFIG_PCI_DOMAINS=y | ||
CONFIG_PCI_DRIVERS_LEGACY=y | ||
CONFIG_PERF_USE_VMALLOC=y | ||
CONFIG_PGTABLE_LEVELS=2 | ||
CONFIG_PHYLIB=y | ||
CONFIG_PINCTRL=y | ||
CONFIG_PINCTRL_BRCM6318=y | ||
CONFIG_PINCTRL_BRCM63268=y | ||
CONFIG_PINCTRL_BRCM6328=y | ||
CONFIG_PINCTRL_BRCM6348=y | ||
CONFIG_PINCTRL_BRCM6358=y | ||
CONFIG_PINCTRL_BRCM6362=y | ||
CONFIG_PINCTRL_BRCM6368=y | ||
CONFIG_PINCTRL_BRCM63XX=y | ||
CONFIG_POSIX_MQUEUE=y | ||
CONFIG_POSIX_MQUEUE_SYSCTL=y | ||
CONFIG_PTP_1588_CLOCK_OPTIONAL=y | ||
CONFIG_REGMAP=y | ||
CONFIG_REGMAP_MMIO=y | ||
CONFIG_RELAY=y | ||
CONFIG_RTL8366_SMI=y | ||
CONFIG_RTL8367_PHY=y | ||
# CONFIG_SERIAL_8250 is not set | ||
CONFIG_SERIAL_BCM63XX=y | ||
CONFIG_SERIAL_BCM63XX_CONSOLE=y | ||
CONFIG_SPI=y | ||
CONFIG_SPI_BCM63XX=y | ||
CONFIG_SPI_BCM63XX_HSSPI=y | ||
CONFIG_SPI_MASTER=y | ||
CONFIG_SPI_MEM=y | ||
CONFIG_SRCU=y | ||
CONFIG_SSB=y | ||
CONFIG_SSB_B43_PCI_BRIDGE=y | ||
CONFIG_SSB_BLOCKIO=y | ||
# CONFIG_SSB_DRIVER_MIPS is not set | ||
CONFIG_SSB_DRIVER_PCICORE=y | ||
CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y | ||
CONFIG_SSB_PCIHOST=y | ||
CONFIG_SSB_PCIHOST_POSSIBLE=y | ||
CONFIG_SSB_SPROM=y | ||
CONFIG_SWAP_IO_SPACE=y | ||
CONFIG_SWCONFIG=y | ||
CONFIG_SWCONFIG_B53=y | ||
CONFIG_SWCONFIG_B53_MMAP_DRIVER=y | ||
CONFIG_SWCONFIG_B53_PHY_DRIVER=y | ||
CONFIG_SWCONFIG_B53_PHY_FIXUP=y | ||
CONFIG_SWCONFIG_B53_SPI_DRIVER=y | ||
CONFIG_SWPHY=y | ||
CONFIG_SYNC_R4K=y | ||
CONFIG_SYSCTL_EXCEPTION_TRACE=y | ||
CONFIG_SYS_HAS_CPU_BMIPS=y | ||
CONFIG_SYS_HAS_CPU_BMIPS32_3300=y | ||
CONFIG_SYS_HAS_CPU_BMIPS4350=y | ||
CONFIG_SYS_HAS_CPU_BMIPS4380=y | ||
CONFIG_SYS_HAS_EARLY_PRINTK=y | ||
CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y | ||
CONFIG_SYS_SUPPORTS_ARBIT_HZ=y | ||
CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y | ||
CONFIG_SYS_SUPPORTS_HOTPLUG_CPU=y | ||
CONFIG_SYS_SUPPORTS_SMP=y | ||
CONFIG_TARGET_ISA_REV=0 | ||
CONFIG_TICK_CPU_ACCOUNTING=y | ||
CONFIG_TINY_SRCU=y | ||
CONFIG_USB_SUPPORT=y | ||
CONFIG_USE_OF=y | ||
CONFIG_VM_EVENT_COUNTERS=y | ||
CONFIG_WATCHDOG_NOWAYOUT=y | ||
CONFIG_WEAK_ORDERING=y |
28 changes: 28 additions & 0 deletions
28
target/linux/bcm63xx/patches-5.15/100-MIPS-BCM63XX-add-USB-host-clock-enable-delay.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 80a2f983e9f44dbc3e01ae31c62d877846a7f791 Mon Sep 17 00:00:00 2001 | ||
From: Florian Fainelli <florian@openwrt.org> | ||
Date: Mon, 28 Jan 2013 20:06:19 +0100 | ||
Subject: [PATCH 01/11] MIPS: BCM63XX: add USB host clock enable delay | ||
|
||
Knowledge of the clock setup delay should remain at the clock level (so | ||
it can be clock specific and CPU specific). Add the 100 milliseconds | ||
required clock delay for the USB host clock when it gets enabled. | ||
|
||
Signed-off-by: Florian Fainelli <florian@openwrt.org> | ||
--- | ||
arch/mips/bcm63xx/clk.c | 5 +++++ | ||
1 file changed, 5 insertions(+) | ||
|
||
--- a/arch/mips/bcm63xx/clk.c | ||
+++ b/arch/mips/bcm63xx/clk.c | ||
@@ -214,6 +214,11 @@ static void usbh_set(struct clk *clk, in | ||
bcm_hwclock_set(CKCTL_6362_USBH_EN, enable); | ||
else if (BCMCPU_IS_6368()) | ||
bcm_hwclock_set(CKCTL_6368_USBH_EN, enable); | ||
+ else | ||
+ return; | ||
+ | ||
+ if (enable) | ||
+ msleep(100); | ||
} | ||
|
||
static struct clk clk_usbh = { |
18 changes: 18 additions & 0 deletions
18
target/linux/bcm63xx/patches-5.15/100-macronix_nand_block_protection_support.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
bcm63xx: fix booting with Kernel 5.10 | ||
|
||
This is a workaround to make the target overall bootable. With this more | ||
people should be able to test the Kernel 5.10 and report further issues. | ||
|
||
Suggested-by: Daniel González Cabanelas <dgcbueu@gmail.com> | ||
Signed-off-by: Paul Spooren <mail@aparcar.org> | ||
--- a/drivers/mtd/nand/raw/nand_macronix.c | ||
+++ b/drivers/mtd/nand/raw/nand_macronix.c | ||
@@ -323,7 +323,7 @@ static int macronix_nand_init(struct nan | ||
|
||
macronix_nand_fix_broken_get_timings(chip); | ||
macronix_nand_onfi_init(chip); | ||
- macronix_nand_block_protection_support(chip); | ||
+ //macronix_nand_block_protection_support(chip); | ||
macronix_nand_deep_power_down_support(chip); | ||
|
||
return 0; |
41 changes: 41 additions & 0 deletions
41
...linux/bcm63xx/patches-5.15/101-MIPS-BCM63XX-add-USB-device-clock-enable-delay-to-cl.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
From 8e9bf528a122741f0171b89c297b63041116d704 Mon Sep 17 00:00:00 2001 | ||
From: Florian Fainelli <florian@openwrt.org> | ||
Date: Mon, 28 Jan 2013 20:06:20 +0100 | ||
Subject: [PATCH 02/11] MIPS: BCM63XX: add USB device clock enable delay to | ||
clock code | ||
|
||
This patch adds the required 10 micro seconds delay to the USB device | ||
clock enable operation. Put this where the correct clock knowledege is, | ||
which is in the clock code, and remove this delay from the bcm63xx_udc | ||
gadget driver where it was before. | ||
|
||
Signed-off-by: Florian Fainelli <florian@openwrt.org> | ||
--- | ||
arch/mips/bcm63xx/clk.c | 5 +++++ | ||
drivers/usb/gadget/bcm63xx_udc.c | 1 - | ||
2 files changed, 5 insertions(+), 1 deletion(-) | ||
|
||
--- a/arch/mips/bcm63xx/clk.c | ||
+++ b/arch/mips/bcm63xx/clk.c | ||
@@ -236,6 +236,11 @@ static void usbd_set(struct clk *clk, in | ||
bcm_hwclock_set(CKCTL_6362_USBD_EN, enable); | ||
else if (BCMCPU_IS_6368()) | ||
bcm_hwclock_set(CKCTL_6368_USBD_EN, enable); | ||
+ else | ||
+ return; | ||
+ | ||
+ if (enable) | ||
+ udelay(10); | ||
} | ||
|
||
static struct clk clk_usbd = { | ||
--- a/drivers/usb/gadget/udc/bcm63xx_udc.c | ||
+++ b/drivers/usb/gadget/udc/bcm63xx_udc.c | ||
@@ -400,7 +400,6 @@ static inline void set_clocks(struct bcm | ||
if (is_enabled) { | ||
clk_enable(udc->usbh_clk); | ||
clk_enable(udc->usbd_clk); | ||
- udelay(10); | ||
} else { | ||
clk_disable(udc->usbd_clk); | ||
clk_disable(udc->usbh_clk); |
Oops, something went wrong.