-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Known issue: Reset does not work #25
Comments
@tekkamanninja how can I help with reset? |
I mean, for the time being it would even be helpful to change the last message to say something like |
Good idea... I'll track down where the error message lives in the code |
@rvs it should be supported, please let me know the uboot version, I guess the uboot you are running is from freelight-u-sdk.
Please ignore the version of ddrinit and bootloader. |
Yup @MichaelZhuxx -- the default u-boot that came with the board:
You saying I should just upgrade? |
I think so. The pre-flashed U-Boot does not support "reset" yet. |
Same issue here. This is what I see when rebooting (this is a repeating error. I never stops or reboots). I did a hardware reboot after 20 minutes.
I had a usb drive formatted with xfs and nfs mounted when I tried to reboot. |
FYI - @esmil has gotten TPS65086 restart working in their Linux 5.12 starlight branch working by configuring CONFIG_MFD_TPS65086 and CONFIG_POWER_RESET_TPS65086 along with:
See related linux issue: |
Both U-Boot and OpenSBI attempt to use GPIO63 to do a reset. The device tree in U-Boot also describes using GPIO63 for restart and poweroff:
but looking at https://github.com/beagleboard/beaglev-starlight/blob/main/BeagleV_v0.9.pdf there is GPIO63_GMAC_RESETN so the GPIO method was a holdout from a different design and doesn't work? A watchdog is mentioned in https://github.com/starfive-tech/beaglev_doc/blob/main/JH7100%20Data%20Sheet%20V01.01.04-EN%20(4-21-2021).pdf as being located at 0x00_1248_0000 0x00_1248_FFFF but is not documented. That should be another option for reset if it were? |
@jonathangray The way I made reboot work in the patches Drew linked above is that I simply tell the pmic to reset itself. The pmic has an output signal connected to the usb hub, ethernet phy and the soc reset lines, so resetting the pmic should pull those as well. Also the physical reset button already on the board is connected to "CTRL1" on the pmic, so I'm guessing this also just tells the pmic to reset itself. |
It also require the new dts bellow for reboot working |
@tekkamanninja screenshot of when reboot working
|
we found the reason why our board could reset and beta board couldnt is that the schmatic is updated. the beta board is remove the GPIO63 to trigger "CTRL1" on the pmic. Attached two version of schematic for your reference. @esmil thanks. we will fix it. |
the PMIC restart driver is in starfive-tech/linux#8 should be sufficient to allow the OS to reboot the board. the PCB issue is raised in beagleboard/beaglev-starlight#16 |
FYI - reset is not currently implemented.
@rvs reported seeing this error:
The text was updated successfully, but these errors were encountered: