* [Buildroot] Trying to configure the kernel @ 2013-04-05 20:06 Ormund Williams 2013-04-06 13:26 ` Thomas Petazzoni 0 siblings, 1 reply; 5+ messages in thread From: Ormund Williams @ 2013-04-05 20:06 UTC (permalink / raw) To: buildroot Hi everyone, I downloaded the latest stable release, 2013.02, then ran 'make menuconfig' then 'make' and it built without errors, then I wanted to build the kernel so did 'make menuconfig' again and turned on the kernel but neither of the choices 'defconfig' or 'custom config file' works when I try to run 'make linux-menuconfig' I get one of the 2 errors bellow: linux/linux.mk:321: *** No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting. Stop. or linux/linux.mk:327: *** No kernel configuration file specified, check your BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE setting. Stop. I feel like I've missed a step. Have I? -- Ormund ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Trying to configure the kernel 2013-04-05 20:06 [Buildroot] Trying to configure the kernel Ormund Williams @ 2013-04-06 13:26 ` Thomas Petazzoni 2013-04-06 18:05 ` Ormund Williams 2013-04-09 5:46 ` Arnout Vandecappelle 0 siblings, 2 replies; 5+ messages in thread From: Thomas Petazzoni @ 2013-04-06 13:26 UTC (permalink / raw) To: buildroot Dear Ormund Williams, On Fri, 05 Apr 2013 16:06:06 -0400, Ormund Williams wrote: > I downloaded the latest stable release, 2013.02, then ran 'make > menuconfig' then 'make' and it built without errors, then I wanted to > build the kernel so did 'make menuconfig' again and turned on the kernel > but neither of the choices 'defconfig' or 'custom config file' works > when I try to run 'make linux-menuconfig' I get one of the 2 errors > bellow: > linux/linux.mk:321: *** No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting. Stop. > or > linux/linux.mk:327: *** No kernel configuration file specified, check your BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE setting. Stop. > > I feel like I've missed a step. Have I? Well, I thought the messages were clear enough, but it seems they are not. * If you chose to use a defconfig, then you must give the name of a defconfig file, using the BR2_LINUX_KERNEL_DEFCONFIG option. * If you chose to use a kernel configuration file, then you must give the path to this file in BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. In short, there is no way to just "start the kernel configuration", you must first give it an initial existing configuration. Maybe we should add an option "Just run the kernel configuration with whatever defaults for the current architecture", so that you don't have to give an existing defconfig or an existing kernel configuration file. What architecture and hardware are you targeting? If you're targeting x86, then you can set BR2_LINUX_KERNEL_DEFCONFIG to 'i386', if you're targeting x86-64, then you can set BR2_LINUX_KERNEL_DEFCONFIG to 'x86_64'. If you're targeting ARM, then you should look in the kernel sources which defconfig in arch/arm/configs/ matches your hardware. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Trying to configure the kernel 2013-04-06 13:26 ` Thomas Petazzoni @ 2013-04-06 18:05 ` Ormund Williams 2013-04-09 5:46 ` Arnout Vandecappelle 1 sibling, 0 replies; 5+ messages in thread From: Ormund Williams @ 2013-04-06 18:05 UTC (permalink / raw) To: buildroot On Sat, 2013-04-06 at 15:26 +0200, Thomas Petazzoni wrote: > Well, I thought the messages were clear enough, but it seems they are > not. > > * If you chose to use a defconfig, then you must give the name of a > defconfig file, using the BR2_LINUX_KERNEL_DEFCONFIG option. > > * If you chose to use a kernel configuration file, then you must give > the path to this file in BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. > > In short, there is no way to just "start the kernel configuration", you > must first give it an initial existing configuration. Maybe we should > add an option "Just run the kernel configuration with whatever defaults > for the current architecture", so that you don't have to give an > existing defconfig or an existing kernel configuration file. > A default would be great but just adding the above paragraph to section 3.3.4 of the manual would be helpful. > What architecture and hardware are you targeting? If you're targeting > x86, then you can set BR2_LINUX_KERNEL_DEFCONFIG to 'i386', if you're > targeting x86-64, then you can set BR2_LINUX_KERNEL_DEFCONFIG to > 'x86_64'. If you're targeting ARM, then you should look in the kernel > sources which defconfig in arch/arm/configs/ matches your hardware. > An ARM board that I'm currently designing. I wanted to explore a complete system and the make files used to build it. Regards, -- Ormund ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Trying to configure the kernel 2013-04-06 13:26 ` Thomas Petazzoni 2013-04-06 18:05 ` Ormund Williams @ 2013-04-09 5:46 ` Arnout Vandecappelle 2013-04-13 15:32 ` Thomas Petazzoni 1 sibling, 1 reply; 5+ messages in thread From: Arnout Vandecappelle @ 2013-04-09 5:46 UTC (permalink / raw) To: buildroot On 06/04/13 15:26, Thomas Petazzoni wrote: > In short, there is no way to just "start the kernel configuration", you > must first give it an initial existing configuration. Maybe we should > add an option "Just run the kernel configuration with whatever defaults > for the current architecture", so that you don't have to give an > existing defconfig or an existing kernel configuration file. I posted a patch to do exactly that a long time ago. Don't have internet access at the moment so can't look up the patchwork reference. Regards, Arnout -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Trying to configure the kernel 2013-04-09 5:46 ` Arnout Vandecappelle @ 2013-04-13 15:32 ` Thomas Petazzoni 0 siblings, 0 replies; 5+ messages in thread From: Thomas Petazzoni @ 2013-04-13 15:32 UTC (permalink / raw) To: buildroot Dear Arnout Vandecappelle, On Tue, 09 Apr 2013 07:46:38 +0200, Arnout Vandecappelle wrote: > On 06/04/13 15:26, Thomas Petazzoni wrote: > > In short, there is no way to just "start the kernel configuration", > > you must first give it an initial existing configuration. Maybe we > > should add an option "Just run the kernel configuration with > > whatever defaults for the current architecture", so that you don't > > have to give an existing defconfig or an existing kernel > > configuration file. > > I posted a patch to do exactly that a long time ago. Don't have > internet access at the moment so can't look up the patchwork > reference. I think this is something we should commit, probably as part of a rework of how linux-menuconfig/barebox-menuconfig and al. work, as per our discussions at the FOSDEM Buildroot Developers meeting. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-04-13 15:32 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-04-05 20:06 [Buildroot] Trying to configure the kernel Ormund Williams 2013-04-06 13:26 ` Thomas Petazzoni 2013-04-06 18:05 ` Ormund Williams 2013-04-09 5:46 ` Arnout Vandecappelle 2013-04-13 15:32 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox