1 1
luca219

Solved no shutdown cubietruck with li-battery

Recommended Posts

hi all,

I tried in various forums, but without an effective solution.

I use cubieboard3 with cubietruck

 

Linux cubietruck 3.4.104-sunxi #1 SMP PREEMPT Fri Oct 17 16:13:30 CEST 2014 armv7l GNU/Linux

 

Debian GNU/Linux 7 \n \l

 

When i run poweroff or shutdown -H or other option the system reboots instead of shutting down.

 

 ls -la /sbin/poweroff
lrwxrwxrwx 1 root root 4 jul 18  2013 /sbin/poweroff -> halt

 

if unplug li-battery shutdown work fine.

 

Does anyone have any suggestions?

 

regards

Share this post


Link to post
Share on other sites

hi all,

I tried in various forums, but without an effective solution.

I use cubieboard3 with cubietruck

 

Linux cubietruck 3.4.104-sunxi #1 SMP PREEMPT Fri Oct 17 16:13:30 CEST 2014 armv7l GNU/Linux

 

Debian GNU/Linux 7 \n \l

 

When i run poweroff or shutdown -H or other option the system reboots instead of shutting down.

 

if unplug li-battery shutdown work fine.

 

Does anyone have any suggestions?

 

regards

Hi, luca219!

This is a known bug on the image with the kernel 3.4.x.

 

qbDPKQd.png

 

There is no bug in the image with the new kernel 4.2.3 

Share this post


Link to post
Share on other sites

On OrangePi mini I must to do as root:

 

 

first convert bin to fex file:

bin2fex /boot/bin/orangepi.bin /root/orangepi.fex

 

edit with nano orangepi.fex

and include on [target] section:

power_start = 1

 

after convert it to bin:

fex2bin /root/orangepi.bin /boot/bin/orangepi.bin

 

and reboot

Share this post


Link to post
Share on other sites

I had read it through.

I was hoping for a workaround

I do not want to update the kernel

you d'ont need to update kernel, only changes on bin file

Share this post


Link to post
Share on other sites

great!!   problem solved!!

 

step for cubietruck and cubieboard3

 

[root@hosts]# bin2fex /boot/cubietruck.bin /root/cubietruck.fex
fexc-bin: /boot/cubietruck.bin: version: 0.1.2
fexc-bin: /boot/cubietruck.bin: size: 46240 (83 sections)

 

[root@hosts]# nano /root/cubietruck.fex

include on [target] section:

power_start = 1

 

make backup
[root@hosts]# cp /boot/cubietruck.bin /boot/cubietruck.binori

[root@hosts]# fex2bin /root/cubietruck.fex /boot/cubietruck.bin

 

reboot

shutdown now work!!

 

Thank you :thumbup:
 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
1 1