About your dmseg, in my case when the module is well power off, I’ve only the message
reboot: Power down
the other message appear only when the board is not powered off ( machine_power_off pm_power_off() did return )
how do you know that the module is not powered off?
Because the power source remains with a current like when is ON.
I’m using a pin from the module to sustain the power on in the board.
The procedure to apply power to the module is (attached schematic). The other part of the board is the same as Viola / Apalis and all the powerup sequence has been checked
- Press the on button (SW_ON-OFF)-> applies power supply the voltage Reg and then to the module in the rigth order. The system starts.
- When the uboot starts, put a pin high (the memory that sustain the system on) GPIO_0 (PIN_75 SODIM)
- To poweroff, from the app I use the system(“poweroff -f”). And the pin that uboot puts high on the boot process should be off automatically and power off the entire board.
Attached is the schematic: