-
Notifications
You must be signed in to change notification settings - Fork 87
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
Can EMMC be used as the first startup item? #39
Open
ycllwl
wants to merge
156
commits into
rockchip-linux:release
Choose a base branch
from
ayufan-rock64:rockchip-master
base: release
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
Except for 3036 and 3228 Socs, which don't support SARADC, enable the ROCKCHIP_SARADC config at the other Socs' defconfig. Signed-off-by: David Wu <[email protected]>
Add defconfig for rk8xx and regulator and i2c controller. Signed-off-by: Elaine Zhang <[email protected]> Signed-off-by: Kever Yang <[email protected]> Acked-by: Philipp Tomsich <[email protected]> Reviewed-by: Philipp Tomsich <[email protected]>
In rk3328, some function pin may have more than one choice, and muxed with more than one IO, for example, the UART2 controller IO, TX and RX, have 3 choice(setting in com_iomux): - M0 which mux with GPIO1A0/GPIO1A1 - M1 which mux with GPIO2A0/GPIO2A1 - usb2phy which mux with USB2.0 DP/DM pin. We should set these IO routing in board file. Change-Id: If6f6fd890d8e225cdb584a4025aac578198764e6 Signed-off-by: Kever Yang <[email protected]>
Rockchip TPL is not going to use both sram and dram, so we will use a separate link file. Change-Id: I336bdff8033ca2d49521a3639fbf182c293463b5 Signed-off-by: Kever Yang <[email protected]>
Enable TPL/SPL support and some related option in Kconfig. Change-Id: Ifde2835d06cfd69933487a66ebce63956b12407e Signed-off-by: Kever Yang <[email protected]>
Enable driver options for TPL/SPL in evb-rk3328_defconfig. Change-Id: I8f9e378b3d459d976e2522884b607b68b0fdf9fd Signed-off-by: Kever Yang <[email protected]>
Enable SPL_FRAMEWORK and TPL/SPL related base addr and size. Cover-letter: rockchip: enable TPL/SPL for rk3328 TPL do the ddr sdram init and then return to bootrom; SPL load trust/ATF and U-Boot from storage and boot into trust. SDRAM driver is out of this patch set because it suppose to come after there is a common code for sdram driver, so I send that as separate RFC patch set. The link file and the atf script generate file should able to re-use for all Rockchip armv8 SoCs. Comments are welcome. END Change-Id: I59ee5675b66ec63c531931be7ba43606718c527f Signed-off-by: Kever Yang <[email protected]>
OP-TEE is an open source trusted OS, in armv7, its loading and running are like this: loading: - SPL load both OP-TEE and U-Boot running: - SPL run into OP-TEE in secure mode; - OP-TEE run into U-Boot in non-secure mode; More detail: https://github.com/OP-TEE/optee_os and search for 'boot arguments' for detail entry parameter in: core/arch/arm/kernel/generic_entry_a32.S Change-Id: I1344a35dd11bd69ca00e9b99909e1eb610648d86 Signed-off-by: Kever Yang <[email protected]>
Rename the bl31_entry() function with 'spl_' prefix and add one parameter for bl31 entry address since we can get it from spl_image header. Change-Id: I4b6125f1d7138f26c2256ab86f449be4a6f1c4cc Signed-off-by: Kever Yang <[email protected]>
Change-Id: I860e3e8ee107ef9efda3b98e6637ea78fd52160a
Change-Id: Ifb3e36ed106108a678147202e52b5df104501c59
Change-Id: I57c17ba1a9c9f50bede7191f6505778f0cf87195
Change-Id: I6b0a53996ba6afeec097318baa2827755b81ea62
Change-Id: I5301a7b068667160733a64cf83003cfa80665835
Change-Id: I4d3891b9bee68d86c622b46346477727286caef4
Change-Id: Ie9011d26562fb3bed9b01ce81a09b32980445a62
Change-Id: Ie586995d0161bf7fb4e0c6dfad2ce666e0e7e470
Change-Id: I62f88918b86a51cf706323c91c3ad951df93c607
Change-Id: I2c3dc4c87c64bb85283148cd778be2fb9f336974
Signed-off-by: Rob Clark <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
Get rid of the hacky fake boot-device and duplicate device-path constructing (which needs to match what efi_disk and efi_net do). Instead convert over to use efi_device_path helpers to construct device-paths, and use that to look up the actual boot device. Also, extract out a helper to plug things in properly to the loaded_image. In a following patch we'll want to re-use this in efi_load_image() to handle the case of loading an image from a file_path. Signed-off-by: Rob Clark <[email protected]> Signed-off-by: Alexander Graf <[email protected]>
Change-Id: I2e729184fc84e47a31e0523a55a704f1121637a7
Change-Id: Iffb4297157c7e07bbe466c3ecd04520b6a6cc502
Change-Id: I9b27b4cbdeac7dfe7303e65136876250b3a6c907
Change-Id: I6e652d6964406642325d231950125046a6457311
Change-Id: Ibab5622c98573ab1f9515acad5217f89844dbe15
ayufan
force-pushed
the
rockchip-master
branch
5 times, most recently
from
May 27, 2019 10:20
62351dc
to
f324aa8
Compare
Change-Id: I8c8bfd50b46fb31c80fa8a6f93bf5047e2f7866f
…tch/u-boot/u-boot-rockchip64-default/add-board-rockpi4b.patch Change-Id: I6791563e8eb3e0ce6000028a5359b29302d4716e
…tch/u-boot/u-boot-rockchip64-default/fix-rockpi4b-led.patch Change-Id: If2a24026f01323ed187d4e7384d2ddfe2a1a1f0b
Change-Id: Iba0629b1fa0e85d71c638fd027585c0214788bf2
ayufan
force-pushed
the
rockchip-master
branch
2 times, most recently
from
June 5, 2019 09:24
2244673
to
a6ade94
Compare
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.
Can EMMC be used as the first startup item?
Thank you!
I'm a rookie and I can't compile
Changes after installation will prompt file damage
rock64_upgrade_bootloader.sh
/dev/sdp6|/dev/mmcblkp6|/dev/mapper/loopp6|/dev/mapper/nvmep6
This allows you to start and change EMMC via SD card