Hi,
The power managment firmware, RTOSDemo-cm3.bin, linked from:
http://wiki.macchiatobin.net/tiki-index.php?page=Enable+Power+Management+on+MACCHIATObin
Does not work on 17.10 branch arm-trusted-firmware – the file format has changed. An properly formatted binary can be found from:
https://github.com/MarvellEmbeddedProcessors/binaries-marvell/tree/binaries-marvell-armada-17.10
But passing SCP_BL2=binaries-marvell/mrvl_scp_bl2_8040.img reports missing PM firmware in MSS.
Found valid image at boot postion 0x002
lNOTICE: Starting binary extension
NOTICE: SVC: SW Revision 0x0. SVC is not supported
mv_ddr: mv_ddr-armada-17.10.3-g656440a (Feb 08 2018 - 22:19:24)
mv_ddr: completed successfully
NOTICE: Cold boot
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v1.3(release):armada-17.10.7:43965481
NOTICE: BL1: Built : 22:19:25, Feb 8 2018
NOTICE: BL1: Booting BL2
lNOTICE: BL2: v1.3(release):armada-17.10.7:43965481
NOTICE: BL2: Built : 22:19:25, Feb 8 2018
BL2: Initiating SCP_BL2 transfer to SCP
NOTICE: SCP_BL2 contains 2 concatenated images
NOTICE: Load image to CP1 MSS
NOTICE: Loading MSS image from address 0x4023020 Size 0x1378 to MSS at 0xf4280000
NOTICE: Done
NOTICE: Load image to AP MSS
NOTICE: Loading MSS image from address 0x4024398 Size 0x1f68 to MSS at 0xf0580000
N
FreeRTOS 7.3.0 - Marvell cm3 - A8K release armada-17.10.1
OTICE: Done
NOTICE: SCP Image doesn’t contain PM firmware
NOTICE: BL1: Booting BL31
lNOTICE: MSS PM is not supported in this build
NOTICE: BL31: v1.3(release):armada-17.10.7:43965481
NOTICE: BL31: Built : 22:19:25, Feb 8 2018
Also, the PM document talks about Marvell 4.4 kernel – Apart from the device tree changes, are there other bits that missing from mainline kernel to support cpuidle and cpufreq?