kentAVR Posted July 3, 2021 Posted July 3, 2021 I want configure kernel using ArmbianMini2.config I build armbian with KERNEL_CONFIGURE=yes When menuconfig ask me about settings there are nothing about CONFIG_BMP280. But in my ArmbianMini2.config i set CONFIG_BMP280=n In Linux menuconfig after loading ArmbianMini2.config and save armbian rename ArmbianMini2.config to ArmbianMini2.config.old. I look at ArmbianMini2.config.old CONFIG_BMP280=n I look at ArmbianMini2.config or build/output/config/linux-rockchip64-current.config CONFIG_BMP280=m How it can be? There are also a lot of options where =n transform to =m... ArmbianMini2.config ArmbianMini2.config.old linux-rockchip64-current.config
Werner Posted July 3, 2021 Posted July 3, 2021 Official docs are here:https://docs.armbian.com/ Did you try to save your config after altering with default name? .config to say?
kentAVR Posted July 7, 2021 Author Posted July 7, 2021 On 7/3/2021 at 9:11 PM, Werner said: Official docs are here:https://docs.armbian.com/ Did you try to save your config after altering with default name? .config to say? menuconfig is strange magic! Look! 1) I set my settings of kernel. 2) I save my settings of kernel to file /home/a/Documents/myArmbians/8armbian/linux-rockchip64-current.config 3) I load settings from /home/a/Documents/myArmbians/8armbian/linux-rockchip64-current.config 4) I verify settings and its ok 5) I do Exit, armbian save my settings (and block file) and write me [ o.k. ] Exporting new kernel config [ /home/a/Documents/myArmbians/8armbian/build/output/config/linux-rockchip64-current.config ] 6) I am going to file from 5) and verify and... My settings is reseted! WTF? So right magic way is: 1) I set my settings of kernel. 2) I save my settings of kernel to file /home/a/Documents/myArmbians/8armbian/linux-rockchip64-current.config 3) Exit and STOP (Ctrl+Z) armbian build system. 4) put file from step 2) to /home/a/Documents/myArmbians/8armbian/build/userpatches/linux-rockchip64-current.config 5) wating message from armbian [ o.k. ] Exporting new kernel config [ /home/a/Documents/myArmbians/8armbian/build/output/config/linux-rockchip64-current.config ] 6) do not stop build! Just go to this file and verify. Usually it contains my settings. P.S. I use Orange Pi 4B
Recommended Posts