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.

Building image for Nanopiair with 5.15 kernel

Featured Replies

Hello.

Since NanoPI Air is no longer in the list of supported boards, I'm trying to build the image myself.

Kernel compilation problem. I am using current version 5.15, compilation.log: 

drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2095:11: error: implicit declaration of function ‘get_fs’; did you mean ‘get_sa’? [-Werror=implicit-function-declaration]
   oldfs = get_fs();
           ^~~~~~
           get_sa
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2095:9: error: incompatible types when assigning to type ‘mm_segment_t’ {aka ‘struct <anonymous>’} from type ‘int’
   oldfs = get_fs();
         ^
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2096:3: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
   set_fs(KERNEL_DS);
   ^~~~~~
   sget_fc
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2096:10: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
   set_fs(KERNEL_DS);
          ^~~~~~~~~
          KERNFS_NS
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2096:10: note: each undeclared identifier is reported only once for each function it appears in
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c: In function ‘retriveFromFile’:
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2133:10: error: incompatible types when assigning to type ‘mm_segment_t’ {aka ‘struct <anonymous>’} from type ‘int’
    oldfs = get_fs();
          ^
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2134:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
    set_fs(KERNEL_DS);
           ^~~~~~~~~
           KERNFS_NS
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c: In function ‘storeToFile’:
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2168:10: error: incompatible types when assigning to type ‘mm_segment_t’ {aka ‘struct <anonymous>’} from type ‘int’
    oldfs = get_fs();
          ^
drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2169:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
    set_fs(KERNEL_DS);
           ^~~~~~~~~
           KERNFS_NS
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:277: drivers/net/wireless/rtl8822bs/os_dep/osdep_service.o] Error 1

 

Build options:

- Full OS image for flashing

- Do not change the kernel configuration

- nanopiair (from community list)

- current kernel

- bullsyey package base

- minimal image

 

What is the problem and how can it be solved?

On 3/14/2022 at 2:34 PM, pacer said:

how can it be solved?

 

- workaround can be found in manual or by searching this forum.

- solving this problem is an expense. Supported or not supported hardware.


Its general problem, so ticket was opened:

https://armbian.atlassian.net/browse/AR-1116


Look how many problems there are - which is one of main reasons why this board is not supported anymore:

https://armbian.atlassian.net/jira/dashboards/10000

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.