Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

User configuration issue

Featured Replies

Hi guys

 

setting variables like MAINLINE_KERNEL_SOURCE in userpatches/lib.config does not change anything in the build.

Is this fine ? What is the correct place to update this variable ?

 

Thanks

  • Author

Where should I override it ? in lib/config/sources/ files?

 

I also noticed that sun6i.conf is not applied for banana pi m2 while it should..

  • Author

Yes, I am talking about mainline... 

Looks like "linuxfamily" is forcibly set to "sunxi" instead of "sun6i".. 

Do you think it is correct ?

How will you handle device tree dts compilation  for bananapi then ? 

I think sunxi_common.inc has to be changed ...  Otherwise we can't handle sun5i, sun6, sun7i etc

10 minutes ago, ssuloev said:

Looks like "linuxfamily" is forcibly set to "sunxi" instead of "sun6i".. 

Do you think it is correct ?

Yes, it's correct because all 32-bit sunxi boards share a single supported mainline kernel configuration (sunxi-next). For the development kernel only H3 has a separate configuration (sun8i-dev), all others share a single sunxi-dev config, which is, BTW, pretty much not maintained.

 

57 minutes ago, ssuloev said:

Where should I override it ? in lib/config/sources/ files?

Either in userpatches/lib.config or in userpatches/sources/sunxi.conf, but you should use if..fi conditions tied to the BOARD and BRANCH that you want to affect

  • Author

ok, I see... 

Can you explain, please, how build framework decide which board dts  file should be used as default for resulting image ?

3 minutes ago, ssuloev said:

Can you explain, please, how build framework decide which board dts  file should be used as default for resulting image ?

U-boot defconfig for each board defines the DT name. In case of BPi M2 it is sun6i-a31s-sinovoip-bpi-m2.dtb defined here: http://git.denx.de/?p=u-boot.git;a=blob;f=configs/Sinovoip_BPI_M2_defconfig;h=a2cadbc271571df6b0e73e6d4992d29e06aa3382;hb=d85ca029f257b53a96da6c2fb421e78a003a9943#l7

  • Author

I still think there should be a more flexible way to enable sun5i, sun6i, etc specific builds without changing sunxi_common.inc file...

When I change default script files I always get annoying warnings.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.