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
Lee
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.
Hi Tommy!
Quoted 3 lines · Tommy
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?
Quoted 13 lines
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 defconfigHi 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.
Quoted 9 lines
Thanks,
Joao
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildrootThis 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
Lee
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!
Quoted 3 lines · Tommy
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?
Quoted 14 lines
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 defconfigHi 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.
Quoted 9 lines
Thanks,
Joao
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildrootThis 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.
Tommy,
Thanks anyway!
-Joao
Quoted 52 lines · Tommy
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 defconfigHi Tommy!
Quoted 3 lines · Tommy
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?
Quoted 14 lines
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 defconfigHi 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.
Quoted 9 lines
Thanks,
Joao
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildrootThis 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,
JoaoThis 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.
Tommy Lee,
Quoted 4 lines · Tommy
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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Joao,
Quoted 2 lines · Joao Pinto
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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Joao, Thomas, All,
On 2015-09-21 19:08 +0200, Thomas Petazzoni spake thusly:
Quoted 15 lines · Joao Pinto
Quoted 2 lines
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
Quoted 7 lines
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.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------'