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.

Neet to reboot AM335x

Hi, experts, I've the need to performs a soft reboot from linux (3.2.0) after a resume
(am33xx_resume_from_deep_sleep in sleep33xx.S ) restarting the AM335X boot loader:
I cant reset using PRM_CTRL_REG.RST_GLOBAL_WARM_SW for some hardware troubles,
and any linux arch restart functions seems not to work.
I've try to jump to 0x40020000 but with no effects... any other way to do the work?

Thanks,

Mario

  • Hi Mario,

    Did you read 8.1.7 Reset Management from TRM. There you can see all type of reset. From console I typed:
    devmem2 0x44E00F00 w 0x3        - PRM_RSTCTRL.RST_GLOBAL_COLD_SW bit

    and device rebooted. Please see all possibilities and chose the best one.
    BR
    Ivan

  • Ivan, my problem is that I can't  execute a reset in that way because
    CPU losts the GPIO setting and that will cause the hardware to turn-off
    immediatly...
    Best for me it should be to execute a  'soft' restart jumping in the BOOT (RBL),
    if it is possible ...
    Thankx

    Mario

  • Hi,

    I think that is better way to see way this GPIO setting missing after resuming. If the problem is in a GPIO could you test to make software reset on the GPIO0/1/2... domain. Their register are on the:
    0x44E07010 - GPIO0, 0x4804C010 - GPIO1, 0x481AC010 - GPIO2, 0x481AE010 - GPIO3.
    For software reset you have to jump on the 0x80200000 address, not in the 0x40200000.

    BR
    Ivan