[linux-yocto] Question on CONFIG_FW_LOADER warning

2021-01-15 Thread Zhang, Qiang
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?

Cheers


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9371): 
https://lists.yoctoproject.org/g/linux-yocto/message/9371
Mute This Topic: https://lists.yoctoproject.org/mt/79697673/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] Question on CONFIG_FW_LOADER warning

2021-01-15 Thread Bruce Ashfield
On Fri, Jan 15, 2021 at 3:43 AM Zhang, Qiang  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 ?

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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9372): 
https://lists.yoctoproject.org/g/linux-yocto/message/9372
Mute This Topic: https://lists.yoctoproject.org/mt/79697673/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] Question on CONFIG_FW_LOADER warning

2021-01-18 Thread Bruce Ashfield
On Mon, Jan 18, 2021 at 2:59 AM Zhang, Qiang  wrote:
>
>
> 
> 发件人: Bruce Ashfield 
> 发送时间: 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  
> 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.

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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9377): 
https://lists.yoctoproject.org/g/linux-yocto/message/9377
Mute This Topic: https://lists.yoctoproject.org/mt/79922670/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] Question on CONFIG_FW_LOADER warning

2021-01-18 Thread Bruce Ashfield
On Mon, Jan 18, 2021 at 8:37 AM Bruce Ashfield via
lists.yoctoproject.org
 wrote:
>
> On Mon, Jan 18, 2021 at 2:59 AM Zhang, Qiang  
> wrote:
> >
> >
> > 
> > 发件人: Bruce Ashfield 
> > 发送时间: 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  
> > 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.

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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9378): 
https://lists.yoctoproject.org/g/linux-yocto/message/9378
Mute This Topic: https://lists.yoctoproject.org/mt/79944313/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] Question on CONFIG_FW_LOADER warning

2021-01-18 Thread Bruce Ashfield
On Mon, Jan 18, 2021 at 10:59 PM Zhang, Qiang  wrote:
>
>
>
>
> > > 
> > > 发件人: Bruce Ashfield 
> > > 发送时间: 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  
> > > 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).

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 (#9381): 
https://lists.yoctoproject.org/g/linux-yocto/message/9381
Mute This Topic: https://lists.yoctoproject.org/mt/79944405/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] Question on CONFIG_FW_LOADER warning

2021-01-18 Thread Yongxin Liu
> -Original Message-
> From: linux-yocto@lists.yoctoproject.org  yo...@lists.yoctoproject.org> On Behalf Of Zhang, Qiang
> Sent: Tuesday, January 19, 2021 15:33
> To: Bruce Ashfield 
> Cc: linux-yocto@lists.yoctoproject.org
> Subject: 回复: [linux-yocto] Question on CONFIG_FW_LOADER warning
> 
> 
> > > > 
> > > > 发件人: Bruce Ashfield 
> > > > 发送时间: 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
>  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 += "

回复: [linux-yocto] Question on CONFIG_FW_LOADER warning

2021-01-18 Thread Zhang, Qiang



> > 
> > 发件人: Bruce Ashfield 
> > 发送时间: 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  
> > 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

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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9379): 
https://lists.yoctoproject.org/g/linux-yocto/message/9379
Mute This Topic: https://lists.yoctoproject.org/mt/79944354/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



回复: [linux-yocto] Question on CONFIG_FW_LOADER warning

2021-01-18 Thread Zhang, Qiang

> > > 
> > > 发件人: Bruce Ashfield 
> > > 发送时间: 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  
> > > 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
 
  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 (#9388): 
https://lists.yoctoproject.org/g/linux-yocto/message/9388
Mute This Topic: https://lists.yoctoproject.org/mt/79946641/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



回复: [linux-yocto] Question on CONFIG_FW_LOADER warning

2021-01-19 Thread Zhang, Qiang

> > > > 
> > > > 发件人: Bruce Ashfield 
> > > > 发送时间: 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
>  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.
>
Thank you Yongxin, I'll modify the test according to your suggestion.


>
>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 (#9390): 
https://lists.yoctoproject.org/g/linux-yocto/message/9390
Mute This Topic: https://lists.yoctoproject.org/mt/79947152/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-