2008-04-23 17:18:08 Custom linux config file gets saved as config.linux-2.6.x
Henrik Holm (UNITED STATES)
Message: 54806 I have some custom modifications to the config files that I'd like to save, and I am following the suggestions in http://docs.blackfin.uclinux.org/doku.php?id=managing_kernel_upgrades . I created a new board setup by copying the BF561-EZKIT files to BF561-EZKIT-JFFS2
I have noticed that the uClinux-dist/vendors/AnalogDevices/BF561-EZKIT-JFFS2/config.linux-2.6.x file is now expected to be linux-2.6.x/arch/blackfin/configs/BF561-EZKIT-JFFS2_defconfig.
My problem comes when I want to save the modified files. As it happens, the 'make menuconfig' -> 'Kernel/Library/Defaults Selection' -> 'Update Default Vendor Settings' operation seems to save the linux config file as
uClinux-dist/vendors/AnalogDevices/BF561-EZKIT-JFFS2/config.linux-2.6.x , instead of linux-2.6.x/arch/blackfin/configs/BF561-EZKIT-JFFS2_defconfig.
Is this a known bug with a fix? Or should I enter a bug report? Or am I missing something?
Thanks,
Henrik
QuoteReplyEditDelete
2008-04-23 17:34:53 Re: Custom linux config file gets saved as config.linux-2.6.x
Mike Frysinger (UNITED STATES)
Message: 54807 that isnt quite how it works. the documentation states that some kernel configs have been moved from the uclinux-dist vendors directory to the kernel arch/blackfin/configs/ directory. the latter location is only for people who merge their board with the mainline Blackfin kernel. if you dont merge it, then it's your choice where to keep the file. some people prefer uclinux-dist while others prefer the kernel.
the uclinux-dist search order is to check the local vendors dir first and then try the kernel. this way you can easily save the settings locally in your uclinux-dist vendor dir without overwriting the "golden master" in the kernel tree.
QuoteReplyEditDelete
2008-04-28 09:23:39 Re: Custom linux config file gets saved as config.linux-2.6.x
Henrik Holm (UNITED STATES)
Message: 55132 I see, thanks!
This was a bit surprising to me, as I thought I remembered that when I first copied vendors/*/BF561-EZKIT files to vendors/*/BF561-EZKIT-JFFS2, I got an error during the configuration stage due to the missing linux-2.6.x/arch/*/BF561-EZKIT-JFFS2_defconfig. Now, when I try to recreate what I did, I don't.
Anyway,
Thanks!
QuoteReplyEditDelete
2008-04-28 10:49:19 Re: Custom linux config file gets saved as config.linux-2.6.x
Mike Frysinger (UNITED STATES)
Message: 55140 you would probably get a warning by default until you created your own default vendor kernel config, but it shouldnt have said you need to create the defconfig in linux-2.6.x/arch/blackfin/