Skip to content

Instantly share code, notes, and snippets.

Case1: Using same memory layout across SPL and U-boot proper
U-Boot 2023.10-rc1-00025-gab796a810d-dirty (Jul 28 2023 - 13:44:28 +0530)
initcall: 000000008081c8ac
U-Boot code: 80800000 -> 808A77F0 BSS: -> 808B1E20
initcall: 000000008081c754
initcall: 000000008081ca58
initcall: 0000000080802e74
SoC: AM62X SR1.0 GP
e13a1cf286 (HEAD -> next) common: splash_source: Fix type casting errors
6d6986645c board: ti: am62x: evm: Include necessary header files
76c61f29d6 (origin/next) Merge tag 'fsl-qoriq-2023-7-6' of https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq into next
fa1e124ee7 Merge branch '2023-07-07-assorted-build-improvements' into next
99a0532a2d sysreset: Change Kconfig GPIO dependency
0f42f89955 tpl: Kconfig: TPL_BANNER_PRINT depends on DEBUG_UART && TPL_SERIAL
29f925d8f9 common: Kconfig: SYS_CONSOLE_ENV_OVERWRITE depends on SYS_CONSOLE_IS_IN_ENV
aadc1a6069 cmd: CONFIG_CMD_SAVES depends on CONFIG_CMD_LOADS
42c0e5bb05 test: Find leftovers after clean/mrproper
57fdec65c5 Kbuild: Fix cleanup of *.dtbo for sandbox

AM62x A53 SPL Memory Map

┌─────────────────────┐0x80000000
│    Empty 512 KB     │
│                     │
├─────────────────────┤0x80080000
│     Text Base       │
@NikMJain
NikMJain / bootstage
Last active March 17, 2023 07:54
Bootstage logs of u-boot
Timer summary in microseconds (14 records):
Mark Elapsed Stage
0 0 reset
141,734 141,734 SPL
539,142 397,408 end phase
552,221 13,079 board_init_f
1,040,139 487,918 board_init_r
1,122,533 82,394 eth_common_init
1,129,539 7,006 eth_initialize
1,131,981 2,442 main_loop
@NikMJain
NikMJain / u-boot_logs
Last active March 17, 2023 07:57
Comparison between time for splashs screen at different u-boot stages
Splash Screen at u-boot proper
U-Boot SPL 2023.04-rc4-00007-ge29d6560e6-dirty (Mar 16 2023 - 15:19:14 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
Trying to boot from MMC2
Starting ATF on ARM64 core...
NOTICE: BL31: v2.7(release):v2.7.0-359-g1309c6c805-dirty
NOTICE: BL31: Built : 11:48:12, Dec 14 2022
I/TC:
I/TC: OP-TEE version: 3.19.0-15-gd6c5d0037 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Wed Dec 14 11:52:03 UTC 2022 aarch64