Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 5.4 kernel and switch to using it #52

Merged
merged 5 commits into from
Mar 9, 2023
Merged

Conversation

kraj
Copy link
Contributor

@kraj kraj commented Mar 8, 2023

This should fix #51

Also add WIP patches for linux-imx 5.15 support.

kraj added 5 commits March 8, 2023 10:35
This supports wifi

Signed-off-by: Khem Raj <[email protected]>
Put mendel specific debian .config additions separately in mendel.cfg
and replicate defconfig from linux-coral. Let merge_config do the
.config merging in the end.

Signed-off-by: Khem Raj <[email protected]>
TODO: It does not bringup wifi on PCIE fully

Signed-off-by: Khem Raj <[email protected]>
Add linux-firmware-ath10k firmware so that wifi can be brought up
Switch to use linux-coral for kernel by default

Signed-off-by: Khem Raj <[email protected]>
Comment on lines +19 to +39
file://0001-regulator-bd718x7-Add-MODULE_ALIAS.patch \
file://0002-regulator-bd718x7-Simplify-the-code-by-removing-stru.patch \
file://0003-mfd-Rohm-PMICs-Use-platform_device_id-to-match-MFD-s.patch \
file://0004-regulator-bd718x7-Split-driver-to-common-and-bd718x7.patch \
file://0005-regulator-bd718x7-remove-voltage-change-restriction-.patch \
file://0006-arm64-dts-freescale-add-initial-support-for-Google-i.patch \
file://0007-arm64-dts-imx8mq-phanbell-Add-support-for-ethernet.patch \
file://0008-arm64-dts-imx8mq-phanbell-Add-gpio-fan-thermal-suppo.patch \
file://0009-arm64-dts-imx8mq-phanbell-Fix-Ethernet-PHY-post-rese.patch \
file://0010-arm64-dts-imx8mq-phanbell-Replace-deprecated-phy-res.patch \
file://0011-arm64-dts-imx8mq-phanbell-Align-pin-configuration-gr.patch \
file://0012-arm64-dts-imx8mq-phanbell-Disable-busfreq-to-avoid-s.patch \
file://0013-MLK-15307-2-clk-imx8mq-set-the-parent-clocks-of-PCIE.patch \
file://0014-arm64-dts-imx8mq-Set-ext_osc-to-1-as-default.patch \
file://0015-PCI-imx-Use-the-external-clock-as-REF_CLK-when-neede.patch \
file://0016-PCI-imx-Provide-a-clock-to-the-device-for-i.MX8MQ.patch \
file://0017-arm64-dts-imx8mq-phanbell-Enable-PCIe.patch \
file://0018-spi-spi-imx-Revive-cs-gpios-property-for-DT.patch \
file://0019-arm64-dts-imx8mq-phanbell-Enable-ECSPI1.patch \
file://0020-arm64-dts-imx8mq-phanbell-Add-gpio-pinmux-for-40-pin.patch \
file://0021-arm64-dts-imx8mq-phanbell-Enable-I2C-2-I2C-3.patch \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are these patches from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mirzak
Copy link
Owner

mirzak commented Mar 9, 2023

Got some errors when trying to build this PR:

WARNING: linux-imx-headers-5.15-r0 do_fetch: Failed to fetch URL git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-5.15.y, attempting MIRRORS if available
ERROR: linux-imx-headers-5.15-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/admin/src/coral/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/admin/src/coral/sources/poky/scripts:/home/admin/src/coral/build/tmp/work/cortexa53-crypto-mx8m-fslc-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/usr/bin/aarch64-fslc-linux:/home/admin/src/coral/build/tmp/work/cortexa53-crypto-mx8m-fslc-linux/linux-imx-headers/5.15-r0/recipe-sysroot/usr/bin/crossscripts:/home/admin/src/coral/build/tmp/work/cortexa53-crypto-mx8m-fslc-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/usr/sbin:/home/admin/src/coral/build/tmp/work/cortexa53-crypto-mx8m-fslc-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/usr/bin:/home/admin/src/coral/build/tmp/work/cortexa53-crypto-mx8m-fslc-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/sbin:/home/admin/src/coral/build/tmp/work/cortexa53-crypto-mx8m-fslc-linux/linux-imx-headers/5.15-r0/recipe-sysroot-native/bin:/home/admin/src/coral/sources/poky/bitbake/bin:/home/admin/src/coral/build/tmp/hosttools"; export HOME="/home/admin"; LANG=C git -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/nxp-imx/linux-imx.git /home/admin/src/coral/downloads//git2/github.com.nxp-imx.linux-imx.git --progress failed with exit code 255, no output
ERROR: linux-imx-headers-5.15-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=lf-5.15.y')
ERROR: Logfile of failure stored in: /home/admin/src/coral/build/tmp/work/cortexa53-crypto-mx8m-fslc-linux/linux-imx-headers/5.15-r0/temp/log.do_fetch.1384066
ERROR: Task (/home/admin/src/coral/sources/meta-freescale/recipes-kernel/linux/linux-imx-headers_5.15.bb:do_fetch) failed with exit code '1'

@kraj
Copy link
Contributor Author

kraj commented Mar 9, 2023

These errors could be due to net access is it happening all the time ? For me this repo fetches ok

@mirzak
Copy link
Owner

mirzak commented Mar 9, 2023

These errors could be due to net access is it happening all the time ? For me this repo fetches ok

Could be something on my end, but the error is persistent and it is the only package that fails.

Merging this anyway.

@mirzak mirzak merged commit c4afe83 into mirzak:master Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kirkstone device tree and wifi/bl issue
2 participants