Bruce Ashfield 於 2022/5/25 上午 03:48 寫道: > In message: [linux-yocto] [yocto-kernel-patch][yocto-5.15][PATCH 0/2] Enable > MDIO bus config by default > on 19/05/2022 Potin Lai wrote: > >> Hi maintainer, >> >> This patch series introduce mdio fragment to enable MDIO bus kernel >> configs, which required by mdio-tools for low-level MDIO bus >> communication. > The fragment itself looks fine, but in order to turn it on for the > standard kernel, we need to have a good reason .. since it introduces > size to every one of our builds. > > Let me ask a few questions. Which boards (qemu or not) have you tested > this on ?
I found a post for adding mdio-tools on OpenEmbedded mailing list, and I tried to solve the build error reported by maintainer. >From the error logs it shows the build failed when build mdio-netlink module, >and this error happens for both qemumips & qemuarm64. Please have a check below links for origin message and build error logs. message: https://lore.kernel.org/all/camkf1sofz0ot+mhj6kk-clux97qp3q1cfemejvdu8nfwvgu...@mail.gmail.com/ qemumips error log: https://errors.yoctoproject.org/Errors/Details/623861/ qemuarm64 error log:https://errors.yoctoproject.org/Errors/Details/623865/ > Are you enabling the option to ensure that the standard kernel has > this built-in, in case someone wants to use the mdio-tools ? > > The reason I ask the questions above, is that we also have the option > to enable this in specific machine's, or tie it to a MACHINE/DISTRO > feature to have it automatically enabled (with a similar result, but > not enforced via the -standard kernel), > > Bruce Thank you for the suggestions, I will move mdio fragment from standard to machine level. I am new to this area, would you guide me where is the right place to include mdio fragment for qemumips & qemuarm64. Are these correct files? * bsp/mti-malta32/mti-malta32-be-standard.scc * bsp/qemuarm64/qemuarm64-standard.scc Potin >> Potin Lai (2): >> cfg/net: introduce mdio fragment >> ktypes/standard: enable MDIO by default >> >> cfg/net/mdio.cfg | 3 +++ >> cfg/net/mdio.scc | 5 +++++ >> kern-features.rc | 1 + >> ktypes/standard/standard.scc | 1 + >> 4 files changed, 10 insertions(+) >> create mode 100644 cfg/net/mdio.cfg >> create mode 100644 cfg/net/mdio.scc >> >> -- >> 2.17.1 >> >> >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11320): https://lists.yoctoproject.org/g/linux-yocto/message/11320 Mute This Topic: https://lists.yoctoproject.org/mt/91200275/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
