|
|
|
Caleb is currently in integration hell (preparing to upstream) so please bare with!
|
|
|
|
|
|
|
|
Main feature branch is [`caleb/rbx-demo-cleanup`](https://git.codelinaro.org/linaro/qcomlt/u-boot/-/tree/caleb/rbx-demo-cleanup), clone U-Boot and check out that branch.
|
|
|
|
Main feature branch is [`caleb/rbx-integration`](https://git.codelinaro.org/linaro/qcomlt/u-boot/-/tree/caleb/rbx-integration), clone U-Boot and check out that branch.
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://git.codelinaro.org/linaro/qcomlt/u-boot.git -b caleb/rbx-demo-cleanup
|
|
|
|
git clone https://git.codelinaro.org/linaro/qcomlt/u-boot.git -b caleb/rbx-integration
|
|
|
|
```
|
|
|
|
|
|
|
|
Many of the things in branch are different to how they will be upstream. The defconfig and the config options for clocks, pinctrl, etc will be changing as this huge tech debt gets cleaned up and moved upstream.
|
| ... | ... | @@ -77,7 +77,7 @@ This is (roughly) the make wrapper I use to build U-Boot and wrap it up into the |
|
|
|
|
|
|
|
### Debugging
|
|
|
|
|
|
|
|
If necessary, open `configs/rbx_defconfig` and at the bottom enable `CONFIG_DEBUG_UART` and ensure that `CONFIG_DEBUG_UART_CLOCK=7372800` is set (for rb3, for rb1/2/5 the clock should be `14745600` and the UART_BASE adjusted to the address of the debug UART node for the respective platform).
|
|
|
|
If necessary, open `configs/qcom_defconfig` and at the bottom enable `CONFIG_DEBUG_UART` and ensure that `CONFIG_DEBUG_UART_CLOCK=7372800` is set (for rb3, for rb1/2/5 the clock should be `14745600` and the UART_BASE adjusted to the address of the debug UART node for the respective platform).
|
|
|
|
|
|
|
|
The loglevel can also be adjusted, and U-Boot will print logs pre-relocation + device discovery logs. This can be a little verbose so a good alternative is to add `#define LOG_DEBUG` to the top of the files you want to debug.
|
|
|
|
|
| ... | ... | |