Turning off kernel config option
I am trying to turn of CONFIG_SPI_DEBUG in the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds with CONFIG_SPI_DEBUG enabled.
Do the meta-ti kernels support BSP config fragments like the yocto kernels or is there a better way to do this?
Regards.
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer http://www.embed.me.uk --
Quoted 8 lines · Jack Mitchell
I am trying to turn of
CONFIG_SPI_DEBUGin the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds withCONFIG_SPI_DEBUGenabled.Do the meta-ti kernels support BSP config fragments like the yocto kernels or is there a better way to do this?
dont think so. you can make the change in defconfig directly
Quoted 14 lines
Regards.
--
Jack Mitchell ([email protected])
Embedded Systems Engineer
http://www.embed.me.uk--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 5 lines · Jack Mitchell
I am trying to turn of
CONFIG_SPI_DEBUGin the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds withCONFIG_SPI_DEBUGenabled.
That should be the correct location, please make sure you re-do the unpack task - if you previously built the kernel with the old defconfig, it will be stored in the work directory and won't be copied from the repository above, until you repeat the do_unpack task, i.e. by clenaing the build.
Quoted 2 lines
Do the meta-ti kernels support BSP config fragments like the yocto kernels or is there a better way to do this?
No, we are not yet supporting config fragments from linux-yocto, although it's on my Todo list...
Signature · 1 line
Denys
Op 7 aug. 2012, om 17:30 heeft Denys Dmytriyenko <[email protected]> het volgende geschreven:
Quoted 11 lines · Jack Mitchell
Quoted 5 lines
I am trying to turn of
CONFIG_SPI_DEBUGin the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds withCONFIG_SPI_DEBUGenabled.That should be the correct location, please make sure you re-do the unpack task - if you previously built the kernel with the old defconfig, it will be stored in the work directory and won't be copied from the repository above, until you repeat the
do_unpacktask, i.e. by clenaing the build.
Or just increment PR as you're supposed to, it's an output change after all. No need to check anything if you do it properly :)
Quoted 14 lines · Koen Kooi
Op 7 aug. 2012, om 17:30 heeft Denys Dmytriyenko <[email protected]> het volgende geschreven:
Quoted 11 lines · Jack Mitchell
Quoted 5 lines
I am trying to turn of
CONFIG_SPI_DEBUGin the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds withCONFIG_SPI_DEBUGenabled.That should be the correct location, please make sure you re-do the unpack task - if you previously built the kernel with the old defconfig, it will be stored in the work directory and won't be copied from the repository above, until you repeat the
do_unpacktask, i.e. by clenaing the build.
BTW, no need to clean the entire build, just the kernel build:
$ bitbake virtual/kernel -c clean
Quoted 2 lines
Or just increment PR as you're supposed to, it's an output change after all. No need to check anything if you do it properly :)
Well, but then you are staring to change the recipe, which might be overkill for a simple defconfig change you want to test. If you go that route, you may want to create your own custom layer with the modified defconfig overlayed on top of meta-ti and a simple .bbappend with PRINC. That way your changes will be detached from meta-ti and you won't need to merge the recipe changes every time meta-ti updates... Although, there's no way to bbappend the defconfig itself - that's where config fragments come to play.
Signature · 1 line
Denys
Quoted 3 lines · Denys Dmytriyenko
Quoted 3 lines
Or just increment PR as you're supposed to, it's an output change after all. No need to check anything if you do it properly :)
And if you are like me, it would take about 10 PR increments just to get the change working properly. Then you would ask me what I changed in those PR's :)
Philip
Quoted 9 lines
Well, but then you are staring to change the recipe, which might be overkill for a simple defconfig change you want to test. If you go that route, you may want to create your own custom layer with the modified defconfig overlayed on top of meta-ti and a simple .bbappend with PRINC. That way your changes will be detached from meta-ti and you won't need to merge the recipe changes every time meta-ti updates... Although, there's no way to bbappend the defconfig itself - that's where config fragments come to play.
Quoted 23 lines · Denys Dmytriyenko
Quoted 14 lines · Koen Kooi
Op 7 aug. 2012, om 17:30 heeft Denys Dmytriyenko <[email protected]> het volgende geschreven:
Quoted 11 lines · Jack Mitchell
Quoted 5 lines
I am trying to turn of
CONFIG_SPI_DEBUGin the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds withCONFIG_SPI_DEBUGenabled.That should be the correct location, please make sure you re-do the unpack task - if you previously built the kernel with the old defconfig, it will be stored in the work directory and won't be copied from the repository above, until you repeat the
do_unpacktask, i.e. by clenaing the build.BTW, no need to clean the entire build, just the kernel build:
$ bitbake virtual/kernel -c cleanQuoted 2 lines
Or just increment PR as you're supposed to, it's an output change after all. No need to check anything if you do it properly :)
Quoted 7 lines
Well, but then you are staring to change the recipe, which might be overkill for a simple defconfig change you want to test. If you go that route, you may want to create your own custom layer with the modified defconfig overlayed on top of meta-ti and a simple .bbappend with PRINC. That way your changes will be detached from meta-ti and you won't need to merge the recipe changes every time meta-ti updates... Although, there's no way to bbappend the defconfig itself - that's where config fragments come to play.
With the recent changes to OE-Core, you can edit the defconfig, the system will notice the checksum change and automatically rerun the unpack and subsequent steps automagically.
If the PR server is enabled, it will bump PR for you too.
Cheers,
Richard
Quoted 32 lines · Richard Purdie
Quoted 23 lines · Denys Dmytriyenko
Quoted 14 lines · Koen Kooi
Op 7 aug. 2012, om 17:30 heeft Denys Dmytriyenko <[email protected]> het volgende geschreven:
Quoted 11 lines · Jack Mitchell
Quoted 5 lines
I am trying to turn of
CONFIG_SPI_DEBUGin the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds withCONFIG_SPI_DEBUGenabled.That should be the correct location, please make sure you re-do the unpack task - if you previously built the kernel with the old defconfig, it will be stored in the work directory and won't be copied from the repository above, until you repeat the
do_unpacktask, i.e. by clenaing the build.BTW, no need to clean the entire build, just the kernel build:
$ bitbake virtual/kernel -c cleanQuoted 2 lines
Or just increment PR as you're supposed to, it's an output change after all. No need to check anything if you do it properly :)
Quoted 7 lines
Well, but then you are staring to change the recipe, which might be overkill for a simple defconfig change you want to test. If you go that route, you may want to create your own custom layer with the modified defconfig overlayed on top of meta-ti and a simple .bbappend with PRINC. That way your changes will be detached from meta-ti and you won't need to merge the recipe changes every time meta-ti updates... Although, there's no way to bbappend the defconfig itself - that's where config fragments come to play.
Quoted 3 lines
With the recent changes to OE-Core, you can edit the defconfig, the system will notice the checksum change and automatically rerun the unpack and subsequent steps automagically.
Richard,
That is quite useful, thanks for the info!
Quoted 1 line
If the PR server is enabled, it will bump PR for you too.
That is something I haven't looked at yet, honestly - too much Classic-OE baggage to carry... :)
Signature · 1 line
Denys
Quoted 39 lines · Denys Dmytriyenko
Quoted 32 lines · Richard Purdie
Quoted 23 lines · Denys Dmytriyenko
Quoted 14 lines · Koen Kooi
Op 7 aug. 2012, om 17:30 heeft Denys Dmytriyenko <[email protected]> het volgende geschreven:
Quoted 11 lines · Jack Mitchell
Quoted 5 lines
I am trying to turn of
CONFIG_SPI_DEBUGin the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds withCONFIG_SPI_DEBUGenabled.That should be the correct location, please make sure you re-do the unpack task - if you previously built the kernel with the old defconfig, it will be stored in the work directory and won't be copied from the repository above, until you repeat the
do_unpacktask, i.e. by clenaing the build.BTW, no need to clean the entire build, just the kernel build:
$ bitbake virtual/kernel -c cleanQuoted 2 lines
Or just increment PR as you're supposed to, it's an output change after all. No need to check anything if you do it properly :)
Quoted 7 lines
Well, but then you are staring to change the recipe, which might be overkill for a simple defconfig change you want to test. If you go that route, you may want to create your own custom layer with the modified defconfig overlayed on top of meta-ti and a simple .bbappend with PRINC. That way your changes will be detached from meta-ti and you won't need to merge the recipe changes every time meta-ti updates... Although, there's no way to bbappend the defconfig itself - that's where config fragments come to play.
Quoted 3 lines
With the recent changes to OE-Core, you can edit the defconfig, the system will notice the checksum change and automatically rerun the unpack and subsequent steps automagically.
Richard,
Quoted 8 lines
That is quite useful, thanks for the info!
Quoted 1 line
If the PR server is enabled, it will bump PR for you too.
That is something I haven't looked at yet, honestly - too much Classic-OE baggage to carry... :)
Well, this thread took off when I turned my back!
Thanks for all the advice and different solutions - I found what my issue was and it is that the BeagleBone was booting using the kernel on the rootfs rather than the kernel in the fat partition as I believed. So I was only replacing the FAT partition uImage and not re-building and copying the whole rootfs.
Next step is indeed to have an overlay so I can customize the kernel config a bit more, along with a patch or two I have in there.
Cheers,
Jack
Op 7 aug. 2012, om 18:36 heeft Jack Mitchell <[email protected]> het volgende geschreven:
Quoted 49 lines · Denys Dmytriyenko
Quoted 39 lines · Richard Purdie
Quoted 32 lines · Denys Dmytriyenko
Quoted 23 lines · Koen Kooi
Quoted 14 lines
Op 7 aug. 2012, om 17:30 heeft Denys Dmytriyenko <[email protected]> het volgende geschreven:
Quoted 11 lines · Jack Mitchell
Quoted 5 lines
I am trying to turn of
CONFIG_SPI_DEBUGin the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds withCONFIG_SPI_DEBUGenabled.That should be the correct location, please make sure you re-do the unpack task - if you previously built the kernel with the old defconfig, it will be stored in the work directory and won't be copied from the repository above, until you repeat the
do_unpacktask, i.e. by clenaing the build.BTW, no need to clean the entire build, just the kernel build:
$ bitbake virtual/kernel -c cleanQuoted 2 lines
Or just increment PR as you're supposed to, it's an output change after all. No need to check anything if you do it properly :)
Quoted 7 lines
Well, but then you are staring to change the recipe, which might be overkill for a simple defconfig change you want to test. If you go that route, you may want to create your own custom layer with the modified defconfig overlayed on top of meta-ti and a simple .bbappend with PRINC. That way your changes will be detached from meta-ti and you won't need to merge the recipe changes every time meta-ti updates... Although, there's no way to bbappend the defconfig itself - that's where config fragments come to play.
Quoted 3 lines
With the recent changes to OE-Core, you can edit the defconfig, the system will notice the checksum change and automatically rerun the unpack and subsequent steps automagically.
Richard,
Quoted 8 lines
That is quite useful, thanks for the info!
Quoted 1 line
If the PR server is enabled, it will bump PR for you too.
That is something I haven't looked at yet, honestly - too much Classic-OE baggage to carry... :)
Quoted 5 lines
Well, this thread took off when I turned my back!
Thanks for all the advice and different solutions - I found what my issue was and it is that the BeagleBone was booting using the kernel on the rootfs rather than the kernel in the fat partition as I believed. So I was only replacing the FAT partition uImage and not re-building and copying the whole rootfs.
Next step is indeed to have an overlay so I can customize the kernel config a bit more, along with a patch or two I have in there.
Please post the patches, they might be generally usefull. I don't know why spi debug is on, I'm not opposed to turning it off :)
Quoted 52 lines · Koen Kooi
Op 7 aug. 2012, om 18:36 heeft Jack Mitchell <[email protected]> het volgende geschreven:
Quoted 49 lines · Denys Dmytriyenko
Quoted 47 lines · Richard Purdie
Quoted 32 lines · Denys Dmytriyenko
Quoted 23 lines · Koen Kooi
Quoted 14 lines
Op 7 aug. 2012, om 17:30 heeft Denys Dmytriyenko <[email protected]> het volgende geschreven:
Quoted 11 lines · Jack Mitchell
Quoted 5 lines
I am trying to turn of
CONFIG_SPI_DEBUGin the beaglebone BSP from meta-ti. I am using the poky distro configuration and I have changed the defconfig in meta-ti/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/defconfig but it still builds withCONFIG_SPI_DEBUGenabled.That should be the correct location, please make sure you re-do the unpack task - if you previously built the kernel with the old defconfig, it will be stored in the work directory and won't be copied from the repository above, until you repeat the
do_unpacktask, i.e. by clenaing the build.BTW, no need to clean the entire build, just the kernel build:
$ bitbake virtual/kernel -c cleanQuoted 2 lines
Or just increment PR as you're supposed to, it's an output change after all. No need to check anything if you do it properly :)
Quoted 7 lines
Well, but then you are staring to change the recipe, which might be overkill for a simple defconfig change you want to test. If you go that route, you may want to create your own custom layer with the modified defconfig overlayed on top of meta-ti and a simple .bbappend with PRINC. That way your changes will be detached from meta-ti and you won't need to merge the recipe changes every time meta-ti updates... Although, there's no way to bbappend the defconfig itself - that's where config fragments come to play.
Quoted 3 lines
With the recent changes to OE-Core, you can edit the defconfig, the system will notice the checksum change and automatically rerun the unpack and subsequent steps automagically.
Richard,
That is quite useful, thanks for the info!
Quoted 1 line
If the PR server is enabled, it will bump PR for you too.
That is something I haven't looked at yet, honestly - too much Classic-OE baggage to carry... :)
Quoted 7 lines
Quoted 5 lines
Well, this thread took off when I turned my back!
Thanks for all the advice and different solutions - I found what my issue was and it is that the BeagleBone was booting using the kernel on the rootfs rather than the kernel in the fat partition as I believed. So I was only replacing the FAT partition uImage and not re-building and copying the whole rootfs.
Next step is indeed to have an overlay so I can customize the kernel config a bit more, along with a patch or two I have in there.
Please post the patches, they might be generally usefull. I don't know why spi debug is on, I'm not opposed to turning it off :)
Someone beat me to it, I'm not running the latest master so it seems I'm a bit out of sync with the world.
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer http://www.embed.me.uk --