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.

Installing armbian kernel to bananapi

Featured Replies

My board: Banana Pi, 1Ghz Dual Core, 1GB DDR3, SATA

 

The os base: image http://www.bananapi.com/index.php/forum/others/1372-bpi-m1-bpi-m1-plus-new-image-ubuntu15-04-was-released#3306

 

Which is apt-get dist-upgraded to wily.

 

I am trying to install self compiled kernel packages from: http://www.armbian.com/github/

 

I have succesfully used the compile.sh script and output for that is:

 

total 19M
-rw-r--r-- 1 petria petria  45K Nov 23 10:03 linux-dtb-next-sunxi_4.6_armhf.deb
-rw-r--r-- 1 petria petria  52K Nov 23 10:03 linux-firmware-image-next-sunxi_4.6_armhf.deb
-rw-r--r-- 1 petria petria 6.7M Nov 23 10:04 linux-headers-next-sunxi_4.6_armhf.deb
-rw-r--r-- 1 petria petria  12M Nov 23 10:05 linux-image-next-sunxi_4.6_armhf.deb
-rw-r--r-- 1 petria petria 169K Nov 23 10:05 linux-u-boot-next-bananapi_4.6_armhf.deb
 

When I try to install packages on bananapi I get errors:

 

root@bananapi:~/kernel# dpkg -i *.deb
(Reading database ... 171422 files and directories currently installed.)
Preparing to unpack linux-dtb-next-sunxi_4.6_armhf.deb ...
Unpacking linux-dtb-next-sunxi (4.6) over (4.6) ...
dpkg: error processing archive linux-dtb-next-sunxi_4.6_armhf.deb (--install):
 error setting ownership of './boot/dtb/sun6i-a31-hummingbird.dtb': Operation not permitted
 

 

I suspect that is because the /boot partition is in VFAT format ?

 

Can I change it to ext4 or so or how should I proceed to get armbian .deb kernel packages installed and working ?

 

 

 

root@bananapi:~/kernel# dpkg -i *.deb
(Reading database ... 171422 files and directories currently installed.)
Preparing to unpack linux-dtb-next-sunxi_4.6_armhf.deb ...
Unpacking linux-dtb-next-sunxi (4.6) over (4.6) ...
dpkg: error processing archive linux-dtb-next-sunxi_4.6_armhf.deb (--install):
 error setting ownership of './boot/dtb/sun6i-a31-hummingbird.dtb': Operation not permitted
 

 

 

  • Author

No, it should be possible to install on FAT drive. Remove previously installed packet if exists. Do you have enough free space on boot partition? What's now on it?

 

 

Partition is 50M size. I tried so that removed everything from there (rm -rf boot/*) and then issued the dpkg -i ...

  • Author

OK. I'll check if it's a problem made by me .. 

 

Also tried:

 

unmounted VFAT /boot so /boot was actually on / root filesytem using ext4 and then dpkg -i *.deb went thru correctly ..

 

Seems like it doesn't work when /boot is using VFAT filesystem..

Perhaps it's some weird FAT type ...

 

I made a test build, 64M boot partition and root for the rest. Here is my fdisk print:

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        2048   133119   131072   64M  e W95 FAT16 (LBA)
/dev/mmcblk0p2      133120 15677439 15544320  7.4G 83 Linux

I can normally install DTB on this but if there is already installed I got an error:

dpkg -i linux-dtb-next-sunxi_4.6_armhf.deb 
(Reading database ... 48751 files and directories currently installed.)
Preparing to unpack linux-dtb-next-sunxi_4.6_armhf.deb ...
Unpacking linux-dtb-next-sunxi (4.6) over (4.6) ...
dpkg: error processing archive linux-dtb-next-sunxi_4.6_armhf.deb (--install):
 unable to make backup link of `./boot/dtb/sun7i-a20-cubieboard2.dtb' before installing new version: Operation not permitted
Errors were encountered while processing:
 linux-dtb-next-sunxi_4.6_armhf.deb
  • Author

Ok, got it working now. I suspect the error was due there was some thing in background automounting the same /boot partition to the desktop like:

 

/dev/mmcblk0p1   50M   16M   34M  33% /media/....plaaplala

 

Now the /boot looks like this: http://pastebin.com/hrq5vDvn

 

Is this correct now and it will boot to new kernel ?

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.