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.

DMKS for Armbian

Featured Replies

I have trying to run DMKS for Armbian, but I alway get  this error.

 

About to run dkms install steps...                                              
                                                                                
Creating symlink /var/lib/dkms/rtl8821CU/5.4.1/source ->                        
                 /usr/src/rtl8821CU-5.4.1                                       
                                                                                
DKMS: add completed.                                                            
                                                                                
Kernel preparation unnecessary for this kernel.  Skipping...                    
                                                                                
Building module:                                                                
cleaning build area...                                                          
'make' KVER=4.19.62-sunxi....(bad exit status: 2)                               
Error! Bad return status for module build on kernel: 4.19.62-sunxi (armv7l)     
Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.      
                                                                                
Kernel preparation unnecessary for this kernel.  Skipping...                    
                                                                                
Building module:                                                                
cleaning build area...                                                          
'make' KVER=4.19.62-sunxi....(bad exit status: 2)                               
Error! Bad return status for module build on kernel: 4.19.62-sunxi (armv7l)     
Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.      
Finished running dkms install steps.                                            

 

make.log:

DKMS make.log for rtl8821CU-5.4.1 for kernel 4.19.62-sunxi (armv7l)             
Thu Dec  5 10:46:21 UTC 2019                                                    
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.19.62-sunxi/build M=/var/lib/dkms
make[1]: Entering directory '/usr/src/linux-headers-4.19.62-sunxi'              
  CC [M]  /var/lib/dkms/rtl8821CU/5.4.1/build/core/rtw_cmd.o                    
gcc: error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together      
make[2]: *** [scripts/Makefile.build:304: /var/lib/dkms/rtl8821CU/5.4.1/build/c1
make[1]: *** [Makefile:1517: _module_/var/lib/dkms/rtl8821CU/5.4.1/build] Error2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.62-sunxi'               
make: *** [Makefile:2183: modules] Error 2                 

 

It is a Sunxi H3 armhf CPU, detail is here:

CPU
ARM Cortex-A7 Quad-Core
512KB L2-Cache (shared between four cores)
32 KB (Instruction) / 32KiB (Data) L1-Cache per core
SIMD NEON, VFP4
Virtualization
Large Physical Address Extensions (LPAE) 1TB
GPU
ARM Mali400 MP2
Featuring 1 vertex shader (GP) and 2 fragment shaders (PP).
Complies with OpenGL ES 2.0
Memory
DDR2/DDR2L-DDR3/DDR3L controller
NAND Flash controller and 64-bit ECC

 

 

 

Anyone can help me would me out?

Edited by SpeedWorld

  • Author

ok, I answer myself:

 

sudo cp /lib/modules/$(uname -r)/build/arch/arm/Makefile /lib/modules/$(uname -r)/build/arch/arm/Makefile.$(date +%Y%m%d%H%M)
sudo sed -i 's/-msoft-float//' /lib/modules/$(uname -r)/build/arch/arm/Makefile
sudo ln -s /lib/modules/$(uname -r)/build/arch/arm /lib/modules/$(uname -r)/build/arch/armv7l

 

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.