Jump to content

e2w

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by e2w

  1. 7 hours ago, teridotoji said:

    x96 mini should use p281/tx3mini dtb I think

     

    @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();

    }

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

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines