Allwinner A133 sunxi-fel and UART support#220
Merged
paulkocialkowski merged 2 commits intolinux-sunxi:masterfrom Mar 29, 2025
Merged
Allwinner A133 sunxi-fel and UART support#220paulkocialkowski merged 2 commits intolinux-sunxi:masterfrom
paulkocialkowski merged 2 commits intolinux-sunxi:masterfrom
Conversation
This was referenced Mar 19, 2025
Closed
The Allwinner A133 is a slightly older SoC (around 2020) with four Cortex-A53 cores, sharing many treats with the H6. The A100 and R818 are reportedly the same chip, just in different bins or packaging. The chip has only 16K of SRAM-A1, but this is immediately followed by 128K of SRAM-C, with later 64K of SRAM-A2, after some gap. The BootROM SRAM usage is similar to other SoCs: there is the IRQ stack growing down from a 5K offset in SRAM A1, and probably some buffers located towards the end of SRAM C. We can use the area just before those buffers for the IRQ stack backup, which gives us a nice contiguous 128K SRAM area for any payloads. This setup is known to boot the WIP mainline U-Boot setup, including some placeholder TF-A port for now. SPL execution, including returning back to the BROM, works, also the 64-bit switch, as well as the SID dump. Signed-off-by: Andre Przywara <osp@andrep.de>
The Allwinner A100/A133/R818 SoCs look very similar to the H6, sharing most of the peripheral's location in the memory map, with the debug UART typically at PB9/PB10. Add support for this SoC, by just filling a new entry in the new SoC struct, no further changes needed here. Tested on a Liontron H-A133L board. Signed-off-by: Andre Przywara <osp@andrep.de>
|
tested on a MagicX Mini Zero28 sporting a A133P. |
paulkocialkowski
approved these changes
Mar 20, 2025
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.
This adds support for the A133 SoC, with the A100 and the R818 sharing the same die, and being apparently fully compatible. Nothing special here, the SoC is quite similar to the already supported H6, so not many changes this time.