This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DM3730: using PRM registers

Guru 20755 points
Part Number: DM3730


Tool/software: Linux

Hello,

I try to disable peripherals after power-up and after initial initialization in u-boot console.

Surprsingly, after disabling the PRM in almost all modules, it seems that both cpu and uart function as normal, I still have console and everything seems to be powered on.

for example I've powered off MPU_PRM, CORE_PEM etc as following:

Try to disable MPU (arm):

VAR-OM3xxx # md 0x483069e0 10
483069e0: 00030107 000000c7 00000000 00000000 ................
483069f0: 00000000 00000000 00000000 00000000 ................
48306a00: 00000000 00000000 00000000 00000000 ................
48306a10: 00000000 00000000 00000000 00000000 ................
VAR-OM3xxx # mw 0x483069e0 0
VAR-OM3xxx # md 0x483069e0 2
483069e0: 00000000 000000c7 ........
VAR-OM3xxx #

Try to disable CORE module (UART1-2)

VAR-OM3xxx # md 0x483070e0
483070e0: 00030100 00000007 00000000 00000000 ................
VAR-OM3xxx # md 0x48306ae0 4
48306ae0: 000f0307 000000f7 00000000 00000000 ................
VAR-OM3xxx # mw 0x48306ae0 0 1
VAR-OM3xxx # md 0x48306ae0 4
48306ae0: 00000000 000000f7 00000000 00000000 ................
VAR-OM3xxx #

Try to disable PER module (UART3)

VAR-OM3xxx # mw 0x483070e0 0 1
VAR-OM3xxx #
VAR-OM3xxx # md 0x483070e0
483070e0: 00030100 00000007 00000000 00000000 ................
VAR-OM3xxx #

All results in both cpu and debug uart is ON.

Thank you,

Ran