Add bare-metal RK356x support for ROC-RK3566-PC, YY3568, and ROCK 3A - #3
Open
hqnicolas wants to merge 1 commit into
Open
Add bare-metal RK356x support for ROC-RK3566-PC, YY3568, and ROCK 3A#3hqnicolas wants to merge 1 commit into
hqnicolas wants to merge 1 commit into
Conversation
Author
|
chainloaders now live under https://github.com/hqnicolas/RK-SPI-NOR-Chainloader |
20 tasks
This file contains hidden or 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
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.
Summary
Add bare-metal RK356x support for three explicitly described boards:
roc3566)yy3568)rock3a)This follows the existing purpose and boot model of the project:
Platform support
The shared
src/rk356x/platform adds:Board identity and wiring remain isolated in separate descriptors and minimal DTBs.
New artifacts
make allnow produces:ROC-RK3566-PC
roc3566.bindemo_roc3566.binroc3566.imgdemo_roc3566.imgYY3568
yy3568.bindemo_yy3568.binyy3568.imgdemo_yy3568.imgROCK 3A
rock3a.bindemo_rock3a.binrock3a.imgdemo_rock3a.imgThe SD images use the existing RKNS v2 packaging path.
USB loading
Explicit board-qualified loading targets were added:
Optional SoC-level xrock USB-plug targets are also available:
rock.outrecognizes Rockchip PID0x350aas RK356x with RC4 disabled.Rockchip binaries
Only the required RK356x binaries were added under
img/:rk3566_ddr_1056MHz_v1.25.binrk3568_ddr_1560MHz_v1.25.binrk356x_usbplug_v1.17.binimg/README.mdrecords their pinned rkbin commit, original paths, sizes, SHA-256 hashes, and license provenance.Existing-board compatibility
RK3399 and RK3588 retain their existing build commands and platform-specific object files.
RK356x objects use a separate
.rk356x.onamespace andSTACK_TOP=0x08000000, preventing RK356x memory-layout settings from leaking into other SoCs.Shared firmware and demo changes are limited to:
FuScreenList.typefield being defined as XRGB8888memcmp()required by EDID parsingPlatforms without the new hooks retain their previous behavior.
Documentation
Added
docs/rk356x/with: