[Arm-dev] Bananapi / C7

Sun Aug 23 13:21:50 UTC 2015
Robert Moskowitz <rgm at htt-consult.com>


On 08/23/2015 08:48 AM, Nicolas wrote:
> Hello
>
> I made some others tests for Bananapi and Centos image.
>
> Image generated with rbf is 4.3GB. I think we should shrink it to 4GB 
> to allow people use 4GB cards.
>
> Maybe on a howto we can tell users to do :
> - install ntp (no clock on bananapi)

yum install ntp chrony

I think is what you need.

And to set your time zone use the timedatectl command.

> - enable led activity
>     - /sys/class/leds/bananapi\:green\:usr/trigger with on the 
> following option :
>     [none] usb-gadget usb-host cpu0 cpu1 mmc0
>     mmc0 is a good choice.
> - make eth0 dhcp by default
>
> I did a yum update,
>
>  kernel armv7hl 4.2.0-0.rc2.git0.1.centos.el7 
> c7pass1                          60 k
>  kernel-core armv7hl 4.2.0-0.rc2.git0.1.centos.el7 
> c7pass1                          17 M
>  kernel-modules armv7hl 4.2.0-0.rc2.git0.1.centos.el7 
> c7pass1                          11 M
> Updating:
>  avahi armv7hl 0.6.31-14.el7 c7pass1                         245 k
>  avahi-autoipd armv7hl 0.6.31-14.el7 c7pass1                          
> 38 k
>  avahi-libs armv7hl 0.6.31-14.el7 c7pass1 54 k
>  kernel-tools armv7hl 4.2.0-0.rc2.git0.1.centos.el7 
> c7pass1                         110 k
>  kernel-tools-libs armv7hl 4.2.0-0.rc2.git0.1.centos.el7 
> c7pass1                          65 k
>
> But I got the error :
>
> /usr/lib/kernel/install.d/51-dracut-rescue.install: line 59: 
> /boot/loader/entries/5f978b1f46204461b2d19e876ea201d6-0-rescue.conf: 
> No such file or directory
> warning: %posttrans(kernel-core-4.2.0-0.rc2.git0.1.centos.el7.armv7hl) 
> scriptlet failed, exit status 1
> Non-fatal POSTTRANS scriptlet failure in rpm package 
> kernel-core-4.2.0-0.rc2.git0.1.centos.el7.armv7hl
>
> after reboot I'm still in 4.0.0-1.el7.armv7hl.
>
> Did someone want I try something on this image on bananapi?

See my messages on the same problem on my Cubietruck and Mandar's help 
in fixing this.  I THINK yours is very similar to mine.