* [Buildroot] Adding custom linux config
@ 2019-03-12 15:09 Devashish Bhageerutty
2019-03-12 22:21 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Devashish Bhageerutty @ 2019-03-12 15:09 UTC (permalink / raw)
To: buildroot
Hi,
I am building an image with an out of tree configuration. I have specified the path to my custom config file in the defconfig and my linux.config is in the folder structure as shown on the Buildroot template. But when I am building or if I do ?make linux-update-(def)config?, my config file is getting overwritten by a generic one. I have checked the /proc/configz on a running system to verify this. This configuration was working before on Buildroot 2015 with linux kernel 3.10 but now I am using Buildroot 2018.02 and kernel 4.14.73. I would be grateful if I could be pointed to what could be causing this or any tests I can make to figure out why this is happening.
Best Regards,
Deva
[windar_logo_email_sig]
Devashish Bhageerutty
Embedded Software Engineer
Windar Photonics A/S
E-mail: db at windarphotonics.com<mailto:db@windarphotonics.com>
Web: www.windarphotonics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190312/801207f6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9595 bytes
Desc: image001.png
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190312/801207f6/attachment.png>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Adding custom linux config
2019-03-12 15:09 [Buildroot] Adding custom linux config Devashish Bhageerutty
@ 2019-03-12 22:21 ` Arnout Vandecappelle
2019-03-13 14:32 ` Devashish Bhageerutty
0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2019-03-12 22:21 UTC (permalink / raw)
To: buildroot
On 12/03/2019 16:09, Devashish Bhageerutty wrote:
> Hi,
>
> ?
>
> I am building an image with an out of tree configuration. I have specified the
> path to my custom config file in the defconfig and my linux.config is in the
> folder structure as shown on the Buildroot template. But when I am building or
> if I do ?make linux-update-(def)config?, my config file is getting overwritten
> by a generic one. I have checked the /proc/configz on a running system to verify
> this. This configuration was working before on Buildroot 2015 with linux kernel
> 3.10 but now I am using Buildroot 2018.02 and kernel 4.14.73. I would be
> grateful if I could be pointed to what could be causing this or any tests I can
> make to figure out why this is happening.
Can you do 'make savedefconfig' and share the resulting defconfig file? Your
explanation is not very clear I'm afraid...
Regards,
Arnout
>
> ?
>
> Best Regards,
>
> ?
>
> Deva
>
> ?
>
> windar_logo_email_sig
>
> Devashish Bhageerutty
>
> Embedded Software Engineer
>
> Windar Photonics A/S
>
> E-mail: db at windarphotonics.com <mailto:db@windarphotonics.com>
>
> Web: www.windarphotonics.com
>
> ?
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Adding custom linux config
2019-03-12 22:21 ` Arnout Vandecappelle
@ 2019-03-13 14:32 ` Devashish Bhageerutty
2019-03-17 21:29 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Devashish Bhageerutty @ 2019-03-13 14:32 UTC (permalink / raw)
To: buildroot
Hi,
Sorry for not being clear enough. What I wanted to say is that I am trying to build an image with a custom linux.config file but I am not able to.
I have specified the path in the defconfig file as stated in the manual (Please see attached Heimdal_defconfig for the Buildroot configuration).
The config file that I want to use for my linux is the linux.config.old (attached in the email) which has specific items for my hardware for example Flash and FPGA).
When I build the image and check the .config file (in the /proc/configz), items are missing eg; CONFIG_MTD_M25P80=y or CONFIG_SPI_CADENCE_QSPI=y etc... This is preventing me from reading the flash memory.
If I do a "make linux-update-defconfig" in the Buildroot folder, my linux.config will get overwritten by a generic one instead of doing a merge and will still be missing the specific items I had before. I have attached this as linux.config in the email.
Finally here is a link for a difference check between my linux.config (on the right) and the linux.config that is generated my Buildroot when I do a linux-update-defconfig.(on the left) https://www.diffchecker.com/421xxn9X
Thank you for your help.
Best Regards,
Deva
-----Original Message-----
From: Arnout Vandecappelle <arnout@mind.be>
Sent: 12 March 2019 23:22
To: Devashish Bhageerutty <db@windarphotonics.com>; buildroot at busybox.net
Subject: Re: [Buildroot] Adding custom linux config
On 12/03/2019 16:09, Devashish Bhageerutty wrote:
> Hi,
>
> ?
>
> I am building an image with an out of tree configuration. I have
> specified the path to my custom config file in the defconfig and my
> linux.config is in the folder structure as shown on the Buildroot
> template. But when I am building or if I do ?make
> linux-update-(def)config?, my config file is getting overwritten by a
> generic one. I have checked the /proc/configz on a running system to
> verify this. This configuration was working before on Buildroot 2015
> with linux kernel
> 3.10 but now I am using Buildroot 2018.02 and kernel 4.14.73. I would
> be grateful if I could be pointed to what could be causing this or any
> tests I can make to figure out why this is happening.
Can you do 'make savedefconfig' and share the resulting defconfig file? Your explanation is not very clear I'm afraid...
Regards,
Arnout
>
> ?
>
> Best Regards,
>
> ?
>
> Deva
>
> ?
>
> windar_logo_email_sig
>
> Devashish Bhageerutty
>
> Embedded Software Engineer
>
> Windar Photonics A/S
>
> E-mail: db at windarphotonics.com <mailto:db@windarphotonics.com>
>
> Web: www.windarphotonics.com
>
> ?
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux.config
Type: application/octet-stream
Size: 3512 bytes
Desc: linux.config
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190313/8d5b880b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux.config.old
Type: application/octet-stream
Size: 3969 bytes
Desc: linux.config.old
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190313/8d5b880b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: heimdal_defconfig
Type: application/octet-stream
Size: 2243 bytes
Desc: heimdal_defconfig
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190313/8d5b880b/attachment-0002.obj>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Adding custom linux config
2019-03-13 14:32 ` Devashish Bhageerutty
@ 2019-03-17 21:29 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2019-03-17 21:29 UTC (permalink / raw)
To: buildroot
Plese don't top-post, but reply inline like I do below. Note that this requires
configuring your mailer to quote replies properly.
On 13/03/2019 15:32, Devashish Bhageerutty wrote:
> Hi,
>
> Sorry for not being clear enough. What I wanted to say is that I am trying to build an image with a custom linux.config file but I am not able to.
>
> I have specified the path in the defconfig file as stated in the manual (Please see attached Heimdal_defconfig for the Buildroot configuration).
>
> The config file that I want to use for my linux is the linux.config.old (attached in the email) which has specific items for my hardware for example Flash and FPGA).
>
> When I build the image and check the .config file (in the /proc/configz), items are missing eg; CONFIG_MTD_M25P80=y or CONFIG_SPI_CADENCE_QSPI=y etc... This is preventing me from reading the flash memory.
The SPI_CADENCE_QSPI option doesn't exist in the kernel version that you choose.
M25P80 requires SPI_NOR to be enabled, but it isn't.
So, I don't know where you got this linux.config.old, but it's not a valid
kernel config (at least not for your kernel version).
Regards,
Arnout
[snip]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-03-17 21:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 15:09 [Buildroot] Adding custom linux config Devashish Bhageerutty
2019-03-12 22:21 ` Arnout Vandecappelle
2019-03-13 14:32 ` Devashish Bhageerutty
2019-03-17 21:29 ` Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.