Skip to content

Instantly share code, notes, and snippets.

@aniket-l
Created March 5, 2024 13:20
Show Gist options
  • Save aniket-l/e5353c4511009d2ebf5f1743ebaab61a to your computer and use it in GitHub Desktop.
Save aniket-l/e5353c4511009d2ebf5f1743ebaab61a to your computer and use it in GitHub Desktop.
Successful OSPI boot logs and sf probe/read/write, with patch series
U-Boot SPL 2024.04-rc3-00164-g0ed1341a4f (Mar 05 2024 - 14:28:10 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
Trying to boot from SPI
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Loading Environment from nowhere... OK
Starting ATF on ARM64 core...
NOTICE: BL31: v2.9(release):v2.9.0-614-gd7a7135d32-dirty
NOTICE: BL31: Built : 09:34:15, Aug 24 2023
I/TC:
I/TC: OP-TEE version: 4.0.0 (gcc version 11.4.0 (GCC)) #1 Fri Oct 20 18:29:31 UTC 2023 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
I/TC: HUK Initialized
I/TC: Activated SA2UL device
I/TC: Fixing SA2UL firewall owner for GP device
I/TC: Enabled firewalls for SA2UL TRNG device
I/TC: SA2UL TRNG initialized
I/TC: SA2UL Drivers initialized
I/TC: Primary CPU switching to normal world boot
U-Boot SPL 2024.04-rc3-00164-g0ed1341a4f (Mar 05 2024 - 14:28:28 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
Detected: J7X-BASE-CPB rev A
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from SPI
cadence_spi spi@47040000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet.
k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
U-Boot 2024.04-rc3-00164-g0ed1341a4f (Mar 05 2024 - 14:28:28 +0530)
SoC: J7200 SR2.0 GP
Model: Texas Instruments J7200 EVM
Board: J7200X-PM2-SOM rev E8
DRAM: 4 GiB
Core: 93 devices, 32 uclasses, devicetree: separate
Flash: 0 Bytes
MMC: mmc@4f80000: 0, mmc@4fb0000: 1
Loading Environment from nowhere... OK
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
Detected: J7X-BASE-CPB rev A
Detected: J7X-VSC8514-ETH rev E2
Net: eth0: ethernet@46000000port@1
Hit any key to stop autoboot: 0
=>
=> version
U-Boot 2024.04-rc3-00164-g0ed1341a4f (Mar 05 2024 - 14:28:28 +0530)
=>sf probe
jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet.
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
=>mw $loadaddr 0x1 0x8
=>md $loadaddr 0x8
82000000: 00000001 00000001 00000001 00000001 ................
82000010: 00000001 00000001 00000001 00000001 ................
=>sf update $loadaddr 0x0 0x20
device 0 offset 0x0, size 0x20
k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
32 bytes written, 0 bytes skipped in 1.345s, speed 24 B/s
=>mw $loadaddr 0x2 0x8
=>md $loadaddr 0x8
82000000: 00000002 00000002 00000002 00000002 ................
82000010: 00000002 00000002 00000002 00000002 ................
=>sf read $loadaddr 0x0 0x20
device 0 offset 0x0, size 0x20
SF: 32 bytes @ 0x0 Read: OK
=>md $loadaddr 0x8
82000000: 00000001 00000001 00000001 00000001 ................
82000010: 00000001 00000001 00000001 00000001 ................
=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment