blob: 983c2e972cedd3e601200969ce512eff19362fd5 [file] [log] [blame]
require linux-gbmc.inc
KERNEL_VERSION_SANITY_SKIP = "1"
LINUX_MAJOR = "6.6"
LINUX_VERSION = "${LINUX_MAJOR}.52"
PV = "aspeedg7-${LINUX_VERSION}"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
S = "${WORKDIR}/linux-${LINUX_MAJOR}"
SRC_URI:prepend = " \
${KERNELORG_MIRROR}/linux/kernel/v6.x/linux-${LINUX_MAJOR}.tar.xz;sha256sum=d926a06c63dd8ac7df3f86ee1ffc2ce2a3b81a2d168484e76b5b389aba8e56d0 \
${KERNELORG_MIRROR}/linux/kernel/v6.x/patch-${LINUX_VERSION}.xz;sha256sum=e6c027a20241a81991134448fc6af5805942264b981db718a4f16c3398606f9f \
"
SRC_URI:append = " \
file://0001-jffs2-add-RENAME_EXCHANGE-support.patch \
file://0001-mux-Make-it-possible-to-select-MULTIPLEXER-if-EXPERT.patch \
file://0001-hwmon-Add-driver-for-MPS-MPQ8785-Synchronous-Step-Do.patch \
file://0001-hwmon-pmbus-Add-ltc4286-driver.patch \
file://0001-hwmon-max34451-Workaround-for-lost-page.patch \
"
SRC_URI:append:aspeed-g7 = " \
file://aspeed-g7-gbmc.cfg \
"
# TODO(b/386134258): ask Aspeed to upstream below
# All these dirvers are porting from SDK v09.06 kernel
# https://github.com/AspeedTech-BMC/linux/commits/aspeed-master-v6.6/
# SHA: 882b09bd4db0ee14985070d0c7e413b8e4247ef1
SRC_URI:append:aspeed-g7 = " \
file://0001-Add-arch-files-for-ast2700.patch \
file://0002-Add-dt-bindings-head-file-for-ast2700.patch \
file://0003-Add-reset-controller-driver-for-ast2700.patch \
file://0004-Add-irqchip-driver-for-ast2700.patch \
file://0005-Add-pinctrl-driver-for-ast2700.patch \
file://0006-Add-clk-driver-for-ast2700.patch \
file://0007-Add-uart-vuart-udma-drvier-for-ast2700.patch \
file://0008-Add-SPI-driver-for-ast2700.patch \
file://0009-Add-watchdog-driver-for-ast2700.patch \
file://0010-Add-net-ftgmac-driver-for-ast2700.patch \
file://0011-Add-gpio-sgpio-driver-for-ast2700.patch \
file://0012-Add-i2c-driver-for-ast2700.patch \
file://0013-Add-emmc-driver-for-ast2700.patch \
file://0014-Add-jtag-driver-for-ast2700.patch \
file://0015-Add-ADC-driver-for-ast2700.patch \
file://0016-Add-RTC-driver-for-ast2700.patch \
file://0017-Add-i3c-driver-for-ast2700.patch \
file://0018-Add-SOC-drivers-for-ast2700.patch \
file://0019-Add-RNG-driver-for-ast2700.patch \
file://0020-Add-crypto-driver-for-ast2700.patch \
file://0021-Add-USB-uhci-ehci-driver-for-ast2700.patch \
file://0022-Add-USB-Virtual-Hub-Controller-driver-for-ast2700.patch \
file://0023-Add-PCIe-RC-driver-for-ast2700.patch \
file://0024-Add-SGMII-and-USB3-phy-driver-for-ast2700.patch \
file://0025-bus-Add-Aspeed-LTPI-bus-controller-driver.patch \
file://0026-Add-LTPI-GPIO-driver-for-ast2700.patch \
file://0027-Add-crypto-user-api-for-ast2700.patch \
file://0028-mctp-i3c-MCTP-I3C-driver.patch \
"
SRC_URI:append:aspeed-g7 = " \
file://0002-dt-bindings-i3c-hub-Document-I3C-Hub-bindings.patch \
file://0003-i3c-i3c-hub-Add-I3C-Hub-driver.patch \
file://0004-i3c-i3c-hub-Finish-all-work-before-adding-i2c-adapte.patch \
file://0005-i3c-i3c-hub-Wait-rx-done-instead-of-tx-done.patch \
file://0006-i3c-hub-Fix-compilation-error.patch \
file://0007-i3c-mipi-i3c-hci-aspeed-Add-SR_P-timing-configuratio.patch \
file://0008-i3c-mipi-i3c-hci-aspeed-Modify-the-tCAS-and-tCBP.patch \
file://0009-mipi-i3c-hci-disable-DMA-experimental.patch \
file://0010-Fix-the-i3c-hub-node-mismatch-issue.patch \
file://i3c-hub.cfg \
"
# Server3.0 ast2750 customized patches
SRC_URI:append:aspeed-g7 = " \
file://0027-Add-setting-SGPIO-default-value.patch \
"
KCONFIG_MODE="--allnoconfig"
# TODO(b/373416015) Remove this to enable CONFIGCHECK
GBMC_CONFIGCHECK = "0"