-
Notifications
You must be signed in to change notification settings - Fork 76
feat(U-Boot): add QoS configuration section #582
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| Quality of Service (QoS) | ||
|
Check warning on line 1 in source/linux/Foundational_Components/U-Boot/UG-QoS.rst
|
||
| ######################## | ||
|
|
||
| The Common Bus Architecture (CBASS) module includes Quality of Service | ||
| (QoS) blocks. These can change attributes such as the priority, Address | ||
|
Check warning on line 5 in source/linux/Foundational_Components/U-Boot/UG-QoS.rst
|
||
| Selection (ASEL), and Order ID (orderID) values of the transactions | ||
| created by blocks in the System on a Chip (SoC) to route and prioritize | ||
|
Check warning on line 7 in source/linux/Foundational_Components/U-Boot/UG-QoS.rst
|
||
| the traffic on the bus in a particular way. | ||
|
|
||
| For example changing the Order ID can route traffic through a particular port | ||
| when more than port exists for that block on the bus. Most External | ||
|
Check warning on line 11 in source/linux/Foundational_Components/U-Boot/UG-QoS.rst
|
||
| Memory Interface (EMIF) controllers for K3 SoCs will have two ports to | ||
| the CBASS so setting an Order ID value of 8 to 15 will route traffic | ||
bryanbrattlof marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| through the high priority port and serviced by the EMIF before standard | ||
| traffic. Setting an Order ID of 8 or higher for the display subsystem | ||
|
Check warning on line 15 in source/linux/Foundational_Components/U-Boot/UG-QoS.rst
|
||
| will allow its traffic to use the EMIF's high priority port, helping to | ||
|
Check warning on line 16 in source/linux/Foundational_Components/U-Boot/UG-QoS.rst
|
||
| minimize stuttering or jitter on the display. | ||
|
|
||
| Consult the Technical Reference Manual (TRM) for you processor for more | ||
| information about these QoS settings. | ||
|
|
||
| Modifying QoS Defaults | ||
|
Check warning on line 22 in source/linux/Foundational_Components/U-Boot/UG-QoS.rst
|
||
| ====================== | ||
|
|
||
| By default, the majority of transactions will default to the lowest | ||
| priority level (ASEL is 0 and Order ID is 0). During boot-up `U-Boot can | ||
|
Check warning on line 26 in source/linux/Foundational_Components/U-Boot/UG-QoS.rst
|
||
| change`_ the QoS settings for your board early on during boot-up using | ||
| the data generated from the Sysconfig Tool which you can download or | ||
| launch online `here`_. | ||
|
|
||
| .. _U-Boot can change: https://source.denx.de/u-boot/u-boot/-/blob/v2025.10/arch/arm/mach-k3/am62px/am62p5_init.c?ref_type=tags#L253 | ||
| .. _here: https://www.ti.com/tool/SYSCONFIG | ||
bryanbrattlof marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| The MCU+ SDK documentation has `an excellent guide`_ on how to to use the | ||
| Sysconfig Tool to generate the needed configuration file. Once generated, copy | ||
| the file into the :file:`arch/arm/mach-k3/r5/${SOC}/${SOC}_qos_uboot.c` and | ||
| rebuild U-Boot to apply your changes. | ||
|
|
||
| .. _an excellent guide: https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/latest/exports/docs/api_guide_am62x/DRIVERS_QOS_PAGE.html | ||
|
|
||
| .. note:: | ||
|
|
||
| Configuring the QoS blocks of a running system can cause issues. | ||
| You can only modify these settings during boot-up by the boot-loaders | ||
| when many of the systems in the SoC are idle. | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,3 +34,4 @@ User's Guide | |
| UG-Key-Writer-Lite | ||
| UG-Programming-OTPs | ||
| UG-Falcon-Mode | ||
| UG-QoS | ||
Uh oh!
There was an error while loading. Please reload this page.