Hi,
We have a custom board based off the reference board for the AM4378. We have been experiencing random reboots and kernel panics (kernel panic forum post) which seemed to have increased with our move from v4 of the SDK to v8. We found a forum post (here) which indicates an issue with the RTC_PMIC_EN (AD6) pin going low and resetting the board. I checked this on our board using the command below. Based on the output of the command it looks like this pin is setup to disable pull up/down and is an input pin.
root@am437x-evm:/ace/bin# devmem2 0x44E10818 w
/dev/mem opened.
Memory mapped at address 0xb6f75000.
Read at address 0x44E10818 (0xb6f75818): 0x00050000
According to the AM437x datasheet it should be an output pin.
Questions:
- Is this the correct method to determine the pin configuration of pad AD6?
- If this pad is connected to PWR_EN of the PMIC chip, should it be configured as an output?
- If so how do we do that?
- There is nothing in DTS file we could find.
- We tried to change it with devmem2 but it didn't seem to work
root@am437x-evm:/ace/bin# devmem2 0x44E10818 w 0x0
/dev/mem opened.
Memory mapped at address 0xb6f57000.
Read at address 0x44E10818 (0xb6f57818): 0x00050000
Write at address 0x44E10818 (0xb6f57818): 0x00000000, readback 0x00000000
root@am437x-evm:/ace/bin# devmem2 0x44E10818 w
/dev/mem opened.
Memory mapped at address 0xb6f5a000.
Read at address 0x44E10818 (0xb6f5a818): 0x00050000
Thanks,
Tim