Jump to content

Recommended Posts

Posted

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

Posted
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

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines