Skip to contentSkip to conversation

configuration fragments

yocto Khem Raj 2 participants 4 messages Mar 14, 2022 – Mar 15, 2022 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Khem Raj

author
#1 lore raw
Quoted 19 lines · Steven C (US) via lists.yoctoproject.org

Under my aarm64 platform ../recipes-core/images I have a file “aiox-swdebugfs.inc”

Which basically contains:

EXTRAPATHS_prepend := "$(THISDIR}/files:"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI += file://aiox-swdebugfs.cfg

Quoted 9 lines

I include this in my aiox-swdebugfs.bb like so: “require aiox-swdebugfs.inc”

It does not appear to apply my configuration fragments…

(CONFIG_SCHED_TRACER, CONFIG_TRACER, etc. for additional perf support)

these are some config files for doing what ? from what it looks like, this inc file is adding a kernel config fragment
if so then it should be appended too kernel recipe so if aiox-swdebugfs.bb is kernel recipe then you are doing it right, but then you might have to look into this kernel recipe and ensure that it has enabled merging configs feature
from kernel. Otherwise these cfgs wont be processed.

Quoted 25 lines

I have the exact same implementation working under my intel platform.

Can someone tell me what I might be doing wrong, or how I can get my configuration fragments to be applied properly ?

Any ideas why it might work properly under one architecture and not on the other ?

Thanks,

Steve

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56429): https://lists.yoctoproject.org/g/yocto/message/56429
Mute This Topic: https://lists.yoctoproject.org/mt/89782695/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

When you say:

" you might have to look into this kernel recipe and ensure that it has enabled merging configs feature from kernel"

Are you talking about inheriting from "kernel-yocto" in order to work with configuration fragments ?

Thanks,
Steve

-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Monday, March 14, 2022 4:13 PM
To: Monsees, Steven C (US) <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] configuration fragments

External Email Alert

This email has been sent from an account outside of the BAE Systems network.

Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.

Quoted 19 lines · Steven C (US) via lists.yoctoproject.org

Under my aarm64 platform ../recipes-core/images I have a file “aiox-swdebugfs.inc”

Which basically contains:

EXTRAPATHS_prepend := "$(THISDIR}/files:"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI += file://aiox-swdebugfs.cfg

Quoted 9 lines

I include this in my aiox-swdebugfs.bb like so: “require aiox-swdebugfs.inc”

It does not appear to apply my configuration fragments…

(CONFIG_SCHED_TRACER, CONFIG_TRACER, etc. for additional perf support)

these are some config files for doing what ? from what it looks like, this inc file is adding a kernel config fragment if so then it should be appended too kernel recipe so if aiox-swdebugfs.bb is kernel recipe then you are doing it right, but then you might have to look into this kernel recipe and ensure that it has enabled merging configs feature from kernel. Otherwise these cfgs wont be processed.

Quoted 27 lines

I have the exact same implementation working under my intel platform.

Can someone tell me what I might be doing wrong, or how I can get my configuration fragments to be applied properly ?

Any ideas why it might work properly under one architecture and not on the other ?

Thanks,

Steve

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56429):
https://lists.yoctoproject.org/g/yocto/message/56429
Mute This Topic: https://lists.yoctoproject.org/mt/89782695/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw

if you are using linux-yocto for kernel then it is surely supported , so as long as it is added to kernel recipe it should work ok.

Quoted 85 lines · Steven C (US) via lists.yoctoproject.org

When you say:

" you might have to look into this kernel recipe and ensure that it has enabled merging configs feature from kernel"

Are you talking about inheriting from "kernel-yocto" in order to work with configuration fragments ?

Thanks,
Steve

-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Monday, March 14, 2022 4:13 PM
To: Monsees, Steven C (US) <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] configuration fragments

External Email Alert

This email has been sent from an account outside of the BAE Systems network.

Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.

Quoted 19 lines · Steven C (US) via lists.yoctoproject.org

Under my aarm64 platform ../recipes-core/images I have a file “aiox-swdebugfs.inc”

Which basically contains:

EXTRAPATHS_prepend := "$(THISDIR}/files:"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI += file://aiox-swdebugfs.cfg

Quoted 9 lines

I include this in my aiox-swdebugfs.bb like so: “require aiox-swdebugfs.inc”

It does not appear to apply my configuration fragments…

(CONFIG_SCHED_TRACER, CONFIG_TRACER, etc. for additional perf support)

these are some config files for doing what ? from what it looks like, this inc file is adding a kernel config fragment if so then it should be appended too kernel recipe so if aiox-swdebugfs.bb is kernel recipe then you are doing it right, but then you might have to look into this kernel recipe and ensure that it has enabled merging configs feature from kernel. Otherwise these cfgs wont be processed.

Quoted 7 lines

I have the exact same implementation working under my intel platform.

Can someone tell me what I might be doing wrong, or how I can get my configuration fragments to be applied properly ?

Quoted 11 lines

Any ideas why it might work properly under one architecture and not on the other ?

Thanks,

Steve

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#56440): https://lists.yoctoproject.org/g/yocto/message/56440
Unfollow This Topic: https://lists.yoctoproject.org/unft/89782695/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

Thanks again...

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Khem Raj
Sent: Tuesday, March 15, 2022 11:48 AM
To: Monsees, Steven C (US) <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] configuration fragments

External Email Alert

This email has been sent from an account outside of the BAE Systems network.

Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.

if you are using linux-yocto for kernel then it is surely supported , so as long as it is added to kernel recipe it should work ok.

Quoted 79 lines · Steven C (US) via lists.yoctoproject.org

When you say:

" you might have to look into this kernel recipe and ensure that it has enabled merging configs feature from kernel"

Are you talking about inheriting from "kernel-yocto" in order to work with configuration fragments ?

Thanks,
Steve

-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Monday, March 14, 2022 4:13 PM
To: Monsees, Steven C (US) <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] configuration fragments

External Email Alert

This email has been sent from an account outside of the BAE Systems network.

Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.

Quoted 19 lines · Steven C (US) via lists.yoctoproject.org

Under my aarm64 platform ../recipes-core/images I have a file “aiox-swdebugfs.inc”

Which basically contains:

EXTRAPATHS_prepend := "$(THISDIR}/files:"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

SRC_URI += file://aiox-swdebugfs.cfg

Quoted 10 lines

I include this in my aiox-swdebugfs.bb like so: “require aiox-swdebugfs.inc”

It does not appear to apply my configuration fragments…

(CONFIG_SCHED_TRACER, CONFIG_TRACER, etc. for additional perf support)

these are some config files for doing what ? from what it looks like, this inc file is adding a kernel config fragment if so then it should be appended too kernel recipe so if aiox-swdebugfs.bb is kernel recipe then you are doing it right, but then you might have to look into this kernel recipe and ensure that it has enabled merging configs feature from kernel. Otherwise these cfgs wont be processed.

Quoted 18 lines

I have the exact same implementation working under my intel platform.

Can someone tell me what I might be doing wrong, or how I can get my configuration fragments to be applied properly ?

Any ideas why it might work properly under one architecture and not on the other ?

Thanks,

Steve