Jump to content

Recommended Posts

Posted

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

Posted

There is no MAINLINE kernel for H3 board, we are attached to some development branch.

 

This way:

KERNELBRANCH='branch:orange-pi-4.9'

 

Posted

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

 

 

 

 

Posted

When you go back with version, patches might break. You will need to deal with that ... check output/debug/patching.log for details and fix patches. In case patches are not important for you, disable them.

No other way.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines