Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Generating a defconfig
@ 2015-09-21 16:12 Joao Pinto
  2015-09-21 17:01 ` Lee, Tommy
  2015-09-21 17:08 ` Thomas Petazzoni
  0 siblings, 2 replies; 8+ messages in thread
From: Joao Pinto @ 2015-09-21 16:12 UTC (permalink / raw)
  To: buildroot

Hi all!

I am about to generate a buildroot' defconfig for ARM Juno r1 board, and I would
like to know what is the std procedure to make this on buildroot.

Thanks,
Joao

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Generating a defconfig
  2015-09-21 16:12 [Buildroot] Generating a defconfig Joao Pinto
@ 2015-09-21 17:01 ` Lee, Tommy
  2015-09-21 17:03   ` Joao Pinto
  2015-09-21 17:06   ` Thomas Petazzoni
  2015-09-21 17:08 ` Thomas Petazzoni
  1 sibling, 2 replies; 8+ messages in thread
From: Lee, Tommy @ 2015-09-21 17:01 UTC (permalink / raw)
  To: buildroot

Joao,

I believe you need to do the "make linux-menuconfig" command to create your own .config file. To my knowledge, all the configs/defconfig files come along the Buildroot installation. They might not be good for your board.

Tommy

-----Original Message-----
From: buildroot [mailto:buildroot-bounces at busybox.net] On Behalf Of Joao Pinto
Sent: Monday, September 21, 2015 9:12 AM
To: buildroot at buildroot.org
Subject: [Buildroot] Generating a defconfig

Hi all!

I am about to generate a buildroot' defconfig for ARM Juno r1 board, and I would like to know what is the std procedure to make this on buildroot.

Thanks,
Joao
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Generating a defconfig
  2015-09-21 17:01 ` Lee, Tommy
@ 2015-09-21 17:03   ` Joao Pinto
  2015-09-21 17:07     ` Lee, Tommy
  2015-09-21 17:06   ` Thomas Petazzoni
  1 sibling, 1 reply; 8+ messages in thread
From: Joao Pinto @ 2015-09-21 17:03 UTC (permalink / raw)
  To: buildroot

Hi Tommy!

On 9/21/2015 6:01 PM, Lee, Tommy wrote:
> Joao,
> 
> I believe you need to do the "make linux-menuconfig" command to create your own .config file. To my knowledge, all the configs/defconfig files come along the Buildroot installation. They might not be good for your board.

I need to generate a defconfig of the ARM Juno r1 board to submit to Buildroot,
not build an existent buildroot' defconfig.
i already have the .config, but I would like to generate a clean defconfig. Is
there a std way or is a manual operation?

> 
> Tommy
> 
> -----Original Message-----
> From: buildroot [mailto:buildroot-bounces at busybox.net] On Behalf Of Joao Pinto
> Sent: Monday, September 21, 2015 9:12 AM
> To: buildroot at buildroot.org
> Subject: [Buildroot] Generating a defconfig
> 
> Hi all!
> 
> I am about to generate a buildroot' defconfig for ARM Juno r1 board, and I would like to know what is the std procedure to make this on buildroot.
> 
> Thanks,
> Joao
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 
> This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator.
> 

Thanks,
Joao

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Generating a defconfig
  2015-09-21 17:01 ` Lee, Tommy
  2015-09-21 17:03   ` Joao Pinto
@ 2015-09-21 17:06   ` Thomas Petazzoni
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2015-09-21 17:06 UTC (permalink / raw)
  To: buildroot

Tommy Lee,

On Mon, 21 Sep 2015 10:01:44 -0700, Lee, Tommy wrote:

> I believe you need to do the "make linux-menuconfig" command to
> create your own .config file. To my knowledge, all the
> configs/defconfig files come along the Buildroot installation. They
> might not be good for your board.

"make linux-menuconfig" will fire-up the kernel menuconfig tool to
customize the kernel configuration. It will certainly not generate a
Buildroot defconfig.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Generating a defconfig
  2015-09-21 17:03   ` Joao Pinto
@ 2015-09-21 17:07     ` Lee, Tommy
  2015-09-21 17:07       ` Joao Pinto
  0 siblings, 1 reply; 8+ messages in thread
From: Lee, Tommy @ 2015-09-21 17:07 UTC (permalink / raw)
  To: buildroot

Joao,

I did not do the defconfig generation work before. Other members should be able to help!

Tommy

-----Original Message-----
From: Joao Pinto [mailto:Joao.Pinto at synopsys.com]
Sent: Monday, September 21, 2015 10:04 AM
To: Lee, Tommy; Joao Pinto
Cc: buildroot at buildroot.org
Subject: Re: [Buildroot] Generating a defconfig

Hi Tommy!

On 9/21/2015 6:01 PM, Lee, Tommy wrote:
> Joao,
>
> I believe you need to do the "make linux-menuconfig" command to create your own .config file. To my knowledge, all the configs/defconfig files come along the Buildroot installation. They might not be good for your board.

I need to generate a defconfig of the ARM Juno r1 board to submit to Buildroot, not build an existent buildroot' defconfig.
i already have the .config, but I would like to generate a clean defconfig. Is there a std way or is a manual operation?

>
> Tommy
>
> -----Original Message-----
> From: buildroot [mailto:buildroot-bounces at busybox.net] On Behalf Of
> Joao Pinto
> Sent: Monday, September 21, 2015 9:12 AM
> To: buildroot at buildroot.org
> Subject: [Buildroot] Generating a defconfig
>
> Hi all!
>
> I am about to generate a buildroot' defconfig for ARM Juno r1 board, and I would like to know what is the std procedure to make this on buildroot.
>
> Thanks,
> Joao
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
> This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator.
>

Thanks,
Joao

This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Generating a defconfig
  2015-09-21 17:07     ` Lee, Tommy
@ 2015-09-21 17:07       ` Joao Pinto
  0 siblings, 0 replies; 8+ messages in thread
From: Joao Pinto @ 2015-09-21 17:07 UTC (permalink / raw)
  To: buildroot


Tommy,
Thanks anyway!
-Joao

On 9/21/2015 6:07 PM, Lee, Tommy wrote:
> Joao,
> 
> I did not do the defconfig generation work before. Other members should be able to help!
> 
> Tommy
> 
> -----Original Message-----
> From: Joao Pinto [mailto:Joao.Pinto at synopsys.com]
> Sent: Monday, September 21, 2015 10:04 AM
> To: Lee, Tommy; Joao Pinto
> Cc: buildroot at buildroot.org
> Subject: Re: [Buildroot] Generating a defconfig
> 
> Hi Tommy!
> 
> On 9/21/2015 6:01 PM, Lee, Tommy wrote:
>> Joao,
>>
>> I believe you need to do the "make linux-menuconfig" command to create your own .config file. To my knowledge, all the configs/defconfig files come along the Buildroot installation. They might not be good for your board.
> 
> I need to generate a defconfig of the ARM Juno r1 board to submit to Buildroot, not build an existent buildroot' defconfig.
> i already have the .config, but I would like to generate a clean defconfig. Is there a std way or is a manual operation?
> 
>>
>> Tommy
>>
>> -----Original Message-----
>> From: buildroot [mailto:buildroot-bounces at busybox.net] On Behalf Of
>> Joao Pinto
>> Sent: Monday, September 21, 2015 9:12 AM
>> To: buildroot at buildroot.org
>> Subject: [Buildroot] Generating a defconfig
>>
>> Hi all!
>>
>> I am about to generate a buildroot' defconfig for ARM Juno r1 board, and I would like to know what is the std procedure to make this on buildroot.
>>
>> Thanks,
>> Joao
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
>> This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator.
>>
> 
> Thanks,
> Joao
> 
> This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator.
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Generating a defconfig
  2015-09-21 16:12 [Buildroot] Generating a defconfig Joao Pinto
  2015-09-21 17:01 ` Lee, Tommy
@ 2015-09-21 17:08 ` Thomas Petazzoni
  2015-09-21 20:54   ` Yann E. MORIN
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2015-09-21 17:08 UTC (permalink / raw)
  To: buildroot

Joao,

On Mon, 21 Sep 2015 17:12:19 +0100, Joao Pinto wrote:

> I am about to generate a buildroot' defconfig for ARM Juno r1 board, and I would
> like to know what is the std procedure to make this on buildroot.

Just create your Buildroot configuration, and then run:

	make savedefconfig

It will create a file named 'defconfig', which you can simply move to
configs/<foo>_defconfig.

You can also do it in one step like this:

	make BR2_DEFCONFIG=configs/<foo>_defconfig savedefconfig

Note that for the board defconfig, we have a few rules in Buildroot:

 * The version of the kernel headers and kernel must be fixed (you
   should not use the "latest version" option)

 * The configuration should be minimal, i.e nothing but the default
   userspace package (just Busybox).

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] Generating a defconfig
  2015-09-21 17:08 ` Thomas Petazzoni
@ 2015-09-21 20:54   ` Yann E. MORIN
  0 siblings, 0 replies; 8+ messages in thread
From: Yann E. MORIN @ 2015-09-21 20:54 UTC (permalink / raw)
  To: buildroot

Joao, Thomas, All,

On 2015-09-21 19:08 +0200, Thomas Petazzoni spake thusly:
> On Mon, 21 Sep 2015 17:12:19 +0100, Joao Pinto wrote:
> > I am about to generate a buildroot' defconfig for ARM Juno r1 board, and I would
> > like to know what is the std procedure to make this on buildroot.
> 
> Just create your Buildroot configuration, and then run:
> 
> 	make savedefconfig
> 
> It will create a file named 'defconfig', which you can simply move to
> configs/<foo>_defconfig.
> 
> You can also do it in one step like this:
> 
> 	make BR2_DEFCONFIG=configs/<foo>_defconfig savedefconfig
> 
> Note that for the board defconfig, we have a few rules in Buildroot:
> 
>  * The version of the kernel headers and kernel must be fixed (you
>    should not use the "latest version" option)
> 
>  * The configuration should be minimal, i.e nothing but the default
>    userspace package (just Busybox).

To complement what Thomas said:

    ... and just the minimal set of packages that make the board boot
    (e.g. the bootloader, a hardware blob and such low-level stuff).

For example, the raspberrypi defconfig files also enable the
rpi-firmware package, because it contains the bootloader blob.

Otherwise, as Thomas said: nothing fancy. The strictly minimum to get
the board up to a shell.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-21 20:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-21 16:12 [Buildroot] Generating a defconfig Joao Pinto
2015-09-21 17:01 ` Lee, Tommy
2015-09-21 17:03   ` Joao Pinto
2015-09-21 17:07     ` Lee, Tommy
2015-09-21 17:07       ` Joao Pinto
2015-09-21 17:06   ` Thomas Petazzoni
2015-09-21 17:08 ` Thomas Petazzoni
2015-09-21 20:54   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox