Jump to content

Installing armbian kernel to bananapi


Petri Airio

Recommended Posts

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
 

 

 

Link to comment
Share on other sites

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 ...

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Important Information

Terms of Use - Privacy Policy - Guidelines