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 armbian with different mainline

Featured Replies

Hi

 

I want to build armbian for nanopi neo with a different mainline.  What I have done is 

1. added lib.config file in userpatches with statement ARMBIAN_MAINLINE_KERNEL_VERSION='4.9'

that didn't work, I still get a 4.10.1 kernel build

2. then changed configration.sh ARMBIAN_MAINLINE_KERNEL_VERSION='4.9'

that didn't work either, I got 4.10.1 kernel build

 

Any other tricks?

-jerry

  • Author

thanks, the line worked, I see the compile now pulling orange-pi-4.9. 

 

Unfortunately, the compiled failed.  Have anyone tried to 4.9?

 

  │   LD      drivers/staging/built-in.o                                   │  
  │ Makefile:988: recipe for target 'drivers' failed                       │  
  │ make: *** [drivers] Error 2  

 

Problem is here, any quick thoughts how to proceed?  Is this just me, or the current branch shouldn't compile with 4.9?

 

result [-Wunused-result]
  devm_request_irq(dev, irq, sdio_irq_handler, 0, "xradio", func);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  drivers/media/usb/stkwebcam/stk-webcam.o
  CC [M]  drivers/net/wireless/realtek/rtl8189fs/core/rtw_recv.o
  CC [M]  drivers/scsi/iscsi_tcp.o
  CC [M]  drivers/net/wireless/realtek/rtl8189fs/core/rtw_sta_mgt.o
drivers/spi/spi-sun6i.c: In function ‘sun6i_spi_fill_fifo’:
drivers/spi/spi-sun6i.c:160:12: error: ‘struct sun6i_spi’ has no member named ‘fifo_depth’
  cnt = sspi->fifo_depth - sun6i_spi_get_tx_fifo_count(sspi);
            ^~
drivers/spi/spi-sun6i.c: In function ‘sun6i_spi_transfer_one’:
drivers/spi/spi-sun6i.c:304:19: error: ‘struct sun6i_spi’ has no member named ‘fifo_depth’
  if (tx_len > sspi->fifo_depth)
                   ^~
drivers/spi/spi-sun6i.c: In function ‘sun6i_spi_handler’:
drivers/spi/spi-sun6i.c:345:34: error: ‘struct sun6i_spi’ has no member named ‘fifo_depth’
   sun6i_spi_drain_fifo(sspi, sspi->fifo_depth);
                                  ^~
drivers/spi/spi-sun6i.c:352:34: error: ‘struct sun6i_spi’ has no member named ‘fifo_depth’
   sun6i_spi_drain_fifo(sspi, sspi->fifo_depth);
                                  ^~
drivers/spi/spi-sun6i.c:360:33: error: ‘struct sun6i_spi’ has no member named ‘fifo_depth’
   sun6i_spi_fill_fifo(sspi, sspi->fifo_depth);
                                 ^~
  LD [M]  drivers/media/usb/gspca/gspca_sq905c.o

 

 

 

 

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.