blob: 2b210124ab21daefc819f743b65e70d32d4b55c1 [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 \
"
# TODO(b/405033279, b/404699749): remove this by 2025 April.
# aspeed-g7.cfg is clone from aspeed_g7_defconfig SDK v09.05 kernel
SRC_URI:append:aspeed-g7 = " \
file://aspeed-g7.cfg \
"
# TODO(b/386134258): ask Aspeed to upstream below
# All these dirvers are porting from SDK v09.05 kernel
# https://github.com/AspeedTech-BMC/linux/commits/aspeed-master-v6.6/
# SHA: 769f62b7baa84d6998723b0ea60280e380183553
SRC_URI:append:aspeed-g7 = " \
file://0001-Add-arch-files-for-ast2700.patch \
file://0002-Add-dt-bindings-head-files-for-ast2700.patch \
file://0003-Add-include-head-files-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-SOC-driver-for-ast2700.patch \
file://0008-Add-uart-drvier-for-ast2700.patch \
file://0009-Add-SPI-and-MTD-driver-for-ast2700.patch \
file://0010-Add-crypto-driver-for-ast2700.patch \
file://0011-Add-watchdog-driver-for-ast2700.patch \
file://0012-Add-reset-controller-driver-for-ast2700.patch \
file://0013-Add-net-ftgmac-driver-for-ast2700.patch \
file://0014-Add-gpio-sgpio-driver-for-ast2700.patch \
file://0015-Add-i2c-driver-for-ast2700.patch \
file://0016-Add-emmc-driver-for-ast2700.patch \
file://0017-Add-jtag-driver-for-ast2700.patch \
file://0018-Add-RNG-drivers-for-ast2700.patch \
file://0019-Add-ADC-driver-for-ast2700.patch \
file://0020-Add-RTC-driver-for-ast2700.patch \
file://0021-Add-USB-uhci-ehci-driver-for-ast2700.patch \
file://0022-Add-crypto-driver-for-ast2700.patch \
file://0023-Add-i3c-driver-for-ast2700.patch \
file://0024-Add-PCIe-RC-driver-for-ast2700.patch \
file://0025-Add-SGMII-USB3-phy-driver-for-ast2700.patch \
file://0026-Add-USB-Virtual-Hub-Controller-driver-for-ast2700.patch \
"
# Server3.0 ast2750 customized patches
SRC_URI:append:aspeed-g7 = " \
file://0027-Add-setting-SGPIO-default-value.patch \
"
KCONFIG_MODE="--allnoconfig"
# meta-gbmc-staging/recipes-kernel/linux/files/defconfig & meta-gbmc-staging/recipes-kernel/linux/files/dev.cfg
# do_kernel_configcheck() will fail. Need to disable GBMC_CONFIGCHECK
# TODO(b/388937009): linx-gbmc_5.15.bb file
GBMC_CONFIGCHECK = "0"