e2w
-
Posts
3 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by e2w
-
-
50 minutes ago, balbes150 said:
What dtb is used ?
meson-gxl-s905x-p212.dtb
-
@balbes150 Is there any way to make the system poweroff? With my x96 mini on the 5.1 rc, both reboot and poweroff, reboot the system. With 3.14, poweroff would prevent a reboot and show a red light on the front of the box:
root@aml:~# sudo poweroff
[ 53.748046] reboot: Power down
bl31 reboot reason: 0x8
bl31 reboot reason: 0x8
system cmd 0.With 3.14 I would see reason 0x108
Armbian for Amlogic S9xxx kernel 5.x
in General Chat
Posted
@balbes150 I used all the s905w, s905x and khadas dtbs but still no poweroff.
Running Linux aml 5.1.0-rc1-aml-s905 #5.82 SMP PREEMPT Sat Apr 27 22:41:29 MSK 2019 aarch64 GNU/Linux
Is it working with other hardware?
I tried tracing the differences in the kernel and it seems like the stop call is different in the mainline kernel vs khadas-3.14. I haven't had a chance to build a kernel to test.
smp.c : ipi_cpu_stop
...
__asm__ volatile("dsb sy");
__asm__ volatile("isb");
while (1)
__asm__ volatile("wfi");
mainline
smp.c:
static void ipi_cpu_stop(unsigned int cpu)
{
set_cpu_online(cpu, false);
local_daif_mask();
sdei_mask_local_cpu();
while (1)
cpu_relax();
}