-
Notifications
You must be signed in to change notification settings - Fork 35
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
Update StarFive U-Boot to work with upstream OpenSBI generic platform #17
Merged
lbmeng
merged 2 commits into
starfive-tech:Fedora_VIC_7100_2021.04
from
lbmeng:upstream_opensbi
Jun 3, 2021
Merged
Update StarFive U-Boot to work with upstream OpenSBI generic platform #17
lbmeng
merged 2 commits into
starfive-tech:Fedora_VIC_7100_2021.04
from
lbmeng:upstream_opensbi
Jun 3, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… ONLY)" This reverts commit 1b36682. The SiFive CLINT driver is supposed to work in M-mode only. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
As we are running in S-mode, RISCV_TIMER has to be used. Adjust the config file accordingly. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
This was referenced Jun 2, 2021
I've installed upstream OpenSBI and this (built by @atishp04) on my board and so far I haven't seen the issue in starfive-tech/linux#15 even though OpenSBI has choosen both hart 0 and hart 1 as boot hart. @lbmeng Thanks! |
@tekkamanninja can we merge this? |
I seem to have the privilege to click the button so if everyone agrees, I can do the merge. |
esmil
referenced
this pull request
in starfive-tech/linux
Aug 11, 2021
This adds a combined pinctrl and gpio driver for the StarFive Ltd. JH7100 RISC-V SoC [1]. For each "GPIO" there are two registers for configuring the output and output enable signals, which may come from other peripherals, and controlling the GPIOs from software amounts to setting these signals to constant 0 or constant 1. In other words the same registers are used for both pinmuxing and controlling the GPIOs, which makes it easier to combine the pinctrl and gpio driver in one. The gpio code is adapted from the gpio driver in the vendor tree written by Huan Feng with cleanups and fixes by Drew and me. [1] https://github.com/starfive-tech/beaglev_doc Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> Signed-off-by: Huan Feng <huan.feng@starfivetech.com> Signed-off-by: Drew Fustini <drew@beagleboard.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This addresses starfive-tech/opensbi#4
Tested with: