CONFIG_BLK_DEV_INITRD deactivated on automatic build
Hello buildroot-list!
First of all - thank you for the work done for this project. It is awesome and I really like it. Straightforward and quick to use.
I think, I found a bug. If you download buildroot and start configuring your project with "make menuconfig" and after that configure the kernel with "make linux26-menuconfig", everything seems to be ok. I did give it a custom kernel-config named "/tmp/config-2.6.34".
After running "make", everything seems to be ok, but the resulting kernel does not contain the option "CONFIG_BLK_DEV_INITRD". I need to manually do a "make linux26-menuconfig" again and rebuild the kernel for the resulting kernel to contain this option.
This was a really silly thing to find, took me around one week, because you wouldn't think of such a mistake. Could it be, that this is a bug? I am using buildroot-2010.08.
Kind regards,
Dennis
Hello Dennis,
Quoted 9 lines · On Thu, 30 Sep 2010 13:23:46 +0200 Dennis Borgmann…
First of all - thank you for the work done for this project. It is awesome and I really like it. Straightforward and quick to use.
I think, I found a bug. If you download buildroot and start configuring your project with "make menuconfig" and after that configure the kernel with "make linux26-menuconfig", everything seems to be ok. I did give it a custom kernel-config named "
/tmp/config-2.6.34".
Quoted 8 lines
After running "make", everything seems to be ok, but the resulting kernel does not contain the option "
CONFIG_BLK_DEV_INITRD". I need to manually do a "make linux26-menuconfig" again and rebuild the kernel for the resulting kernel to contain this option.This was a really silly thing to find, took me around one week, because you wouldn't think of such a mistake. Could it be, that this is a bug? I am using buildroot-2010.08.
Yes, it was a bug. When "initramfs" isn't used as the target filesystem format, we forcefully disabled the CONFIG_BLK_DEV_INITRD option. This has been fixed post-2010.08, by the following commit:
http://git.buildroot.net/buildroot/commit/?id=ee3f319249e146d92b093ad8c45a3a908d44236f
So you can either apply this patch on top of 2010.08, or use the latest Buildroot git. We unfortunately do not maintain "stabilized" versions of Buildroot (such as 2010.08.x) for the moment.
Regards,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
Thomas,
thank you!
Quoted 39 lines · Thomas Petazzoni
Hello Dennis,
Quoted 9 lines · On Thu, 30 Sep 2010 13:23:46 +0200 Dennis Borgmann…
First of all - thank you for the work done for this project. It is awesome and I really like it. Straightforward and quick to use.
I think, I found a bug. If you download buildroot and start configuring your project with "make menuconfig" and after that configure the kernel with "make linux26-menuconfig", everything seems to be ok. I did give it a custom kernel-config named "
/tmp/config-2.6.34".Quoted 9 lines
After running "make", everything seems to be ok, but the resulting kernel does not contain the option "
CONFIG_BLK_DEV_INITRD". I need to manually do a "make linux26-menuconfig" again and rebuild the kernel for the resulting kernel to contain this option.This was a really silly thing to find, took me around one week, because you wouldn't think of such a mistake. Could it be, that this is a bug? I am using buildroot-2010.08.
Yes, it was a bug. When "initramfs" isn't used as the target filesystem format, we forcefully disabled the
CONFIG_BLK_DEV_INITRDoption. This has been fixed post-2010.08, by the following commit:http://git.buildroot.net/buildroot/commit/?id=ee3f319249e146d92b093ad8c45a3a908d44236f
So you can either apply this patch on top of 2010.08, or use the latest Buildroot git. We unfortunately do not maintain "stabilized" versions of Buildroot (such as 2010.08.x) for the moment.
Regards,
Thomas