> -----Original Message----- > From: linux-yocto@lists.yoctoproject.org <linux- > yo...@lists.yoctoproject.org> On Behalf Of Zhang, Qiang > Sent: Tuesday, January 19, 2021 15:33 > To: Bruce Ashfield <bruce.ashfi...@gmail.com> > Cc: linux-yocto@lists.yoctoproject.org > Subject: 回复: [linux-yocto] Question on CONFIG_FW_LOADER warning > > > > > > ________________________________________ > > > > 发件人: Bruce Ashfield <bruce.ashfi...@gmail.com> > > > > 发送时间: 2021年1月15日 23:10 > > > > 收件人: Zhang, Qiang > > > > 抄送: linux-yocto@lists.yoctoproject.org > > > > 主题: Re: Question on CONFIG_FW_LOADER warning > > > > > > > > On Fri, Jan 15, 2021 at 3:43 AM Zhang, Qiang > <qiang.zh...@windriver.com> wrote: > > > > > > > > > > Hello Brue > > > > > > > > > > [NOTE]: 'CONFIG_FW_LOADER' last val (n) and .config val (y) do not > match > > > > > [INFO]: CONFIG_FW_LOADER : y ## .config: 1567 > > > > > :configs/v5.4/ktypes/base/base.cfg (n) > > > > > > > > > > I find CONFIG_FW_LOADER option be set "n" in base.cfg, but in > > > > > features/firmware/firmware.cfg and cfg/x86.cfg be enable in > > > > > 5.4, 5.8 kernel, the CONFIG_FW_LOADER be set "n" in base.cfg > > > > > need to open it? > > > > > > > > >That won't solve all the cases. Tiny and standard end up with > > > > >different values for that config, due to changing dependencies. > > > > > > > > > >I put in tweaks in 5.10/master to change the default, and then > > > > >override it on a per-BSP basis (as well as in the feature fragment). > > > > > > > > > >Which combination of board/kernel are you seeing the warning ? > > > > > > > > Hello Bruce > > > > > > > > BSP is intel-x86-64, kernel is v5.4/standard/preempt-rt > > > > > > Thanks, > > > > > > I'll have a look at this today. > > > > >I just realized that I don't have access to a layer that defines that > > >machine ? Is there a public layer that I can use ? > > > > > >I did configure and check qemux86-64 5.4 -rt and didn't get the > > >warning, so I do need the details for the specific machine definition. > > > > Hello Bruce > > > > this is my config > > > > --accept-eula=yes --dl-layers --machines intel-x86-64 --distro wrlinux > > >That's the problem .. I don't have those layers for me to test against > >just my pure yocto environment. > > > >I could craft my own machine configuration in a local layer, but it is > >easier if there's a public machine layer that I can use (I don't think > >there is, but I wanted to ask). > > Hello Bruce > > Sorry I forgot to say > Symbols currently y-selecting this symbol: > - MICROCODE > - MICROCODE_INTEL > - R8169 > > thease config option be set enable, and be set CONFIG_FW_LOADER to 'y'. > need to turn these options on in your environment
This issue only happens on preempt-rt kernel. One method to fix it is that you can add "include features/firmware/firmware.scc" in bsp/intel-x86/intel-x86-64-preempt-rt.scc. Thanks, Yongxin > > Qiang > > >Bruce > > > > > echo 'BB_NUMBER_PARSE_THREADS ?= "28"' > > echo 'BB_NUMBER_THREADS ?= "28"' > > echo 'PARALLEL_MAKE ?= "-j 28"' > > echo 'BB_STRICT_CHECKSUM = "1"' > > echo 'IMAGE_INSTALL_append = " lmsensors i2c-tools alsa-utils util-linux > pciutils usbutils"' > > echo 'IMAGE_FSTYPES_remove = " live hddimg iso"' > > echo 'IMAGE_INSTALL_remove = "ceph"' > > echo 'IMAGE_INSTALL_append = " bison flex bc xz elfutils-dev openssl-dev > systemd-analyze memtester"' > > echo 'IMAGE_INSTALL_append = " iperf3 util-linux pciutils usbutils > netcat perf git fio"' > > echo 'IMAGE_INSTALL_append = " schedtool-dl lttng-modules lttng-tools > lttng-ust babeltrace"' > > echo 'IMAGE_INSTALL_append = " iproute2 gdb busybox iproute2-tc systemd- > analyze"' > > echo 'PNWHITELIST_openembedded-layer += "fio"' > > echo 'PNWHITELIST_openembedded-layer += "numactl"' > > echo 'PNWHITELIST_realtime += "schedtool-dl"' > > echo 'PNWHITELIST_openembedded-layer += "memtester"' > > echo 'BB_NO_NETWORK_pn-memtester = "0"' > > echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"' > > > > bitbake virtual/kernel > > > > > > >Bruce > > > > > > > > Bruce > > > > > > > > > > > Cherrs > > > > > > > > > > > > > >Bruce > > > > > > > > > > > > > > Cheers > > > > > > > > > > > > > > > > > -- > > > > - Thou shalt not follow the NULL pointer, for chaos and madness > > > > await thee at its end > > > > - "Use the force Harry" - Gandalf, Star Trek II > > > > > > > > > > > > -- > > > - Thou shalt not follow the NULL pointer, for chaos and madness > > > await thee at its end > > > - "Use the force Harry" - Gandalf, Star Trek II > > > > > > > > > > > > > > > -- > > - Thou shalt not follow the NULL pointer, for chaos and madness await > > thee at its end > > - "Use the force Harry" - Gandalf, Star Trek II > > > > -- > - Thou shalt not follow the NULL pointer, for chaos and madness await thee > at its end > - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9389): https://lists.yoctoproject.org/g/linux-yocto/message/9389 Mute This Topic: https://lists.yoctoproject.org/mt/79946755/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-