Skip to content

Instantly share code, notes, and snippets.

@DhruvaG2000
Created November 25, 2022 05:52
Show Gist options
  • Save DhruvaG2000/11e7b4ee6a381be9d86b69b2bc2616e4 to your computer and use it in GitHub Desktop.
Save DhruvaG2000/11e7b4ee6a381be9d86b69b2bc2616e4 to your computer and use it in GitHub Desktop.
UBoot logs for the patch series "spi: cqspi: Fix register reads in STIG Mode" sent on upstream uboot mailing list.
U-Boot SPL 2023.01-rc2-00005-g8189a96c9d97-dirty (Nov 25 2022 - 11:13:29 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.7--v08.04.07 (Jolly Jellyfi')
Trying to boot from MMC2
Starting ATF on ARM64 core...
NOTICE: BL31: v2.7(release):v2.7.0-dirty
NOTICE: BL31: Built : 00:19:16, Sep 24 2022
U-Boot SPL 2023.01-rc2-00005-g8189a96c9d97-dirty (Nov 25 2022 - 11:13:43 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.7--v08.04.07 (Jolly Jellyfi')
Trying to boot from MMC2
U-Boot 2023.01-rc2-00005-g8189a96c9d97-dirty (Nov 25 2022 - 11:13:43 +0530)
SoC: AM62X SR1.0 GP
Model: Texas Instruments AM625 SK
DRAM: 2 GiB
Core: 47 devices, 18 uclasses, devicetree: separate
MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from nowhere... OK
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
Net: No ethernet found.
Hit any key to stop autoboot: 0
=> sf probe
SF: Detected s25hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
=> sf erase 0x0 0x40000
SF: 262144 bytes @ 0x0 Erased: OK
=> sf read $loadaddr 0x0 0x200
device 0 offset 0x0, size 0x200
SF: 512 bytes @ 0x0 Read: OK
=> md.w $loadaddr
82000000: ffff ffff ffff ffff ffff ffff ffff ffff ................
82000010: ffff ffff ffff ffff ffff ffff ffff ffff ................
82000020: ffff ffff ffff ffff ffff ffff ffff ffff ................
82000030: ffff ffff ffff ffff ffff ffff ffff ffff ................
82000040: ffff ffff ffff ffff ffff ffff ffff ffff ................
82000050: ffff ffff ffff ffff ffff ffff ffff ffff ................
82000060: ffff ffff ffff ffff ffff ffff ffff ffff ................
82000070: ffff ffff ffff ffff ffff ffff ffff ffff ................
=> fatload mmc 1 0x90000000 tiboot3.bin
272386 bytes read in 19 ms (13.7 MiB/s)
=> sf update 0x90000000 0x0 $filesize
device 0 offset 0x0, size 0x42802
262144 bytes written, 10242 bytes skipped in 3.387s, speed 82253 B/s
=> sf read $loadaddr 0x0 $filesize
device 0 offset 0x0, size 0x42802
SF: 272386 bytes @ 0x0 Read: OK
=> cmp.b $loadaddr 0x90000000
cmp - memory compare
Usage:
cmp [.b, .w, .l, .q] addr1 addr2 count
=> cmp.b $loadaddr 0x90000000 $filesize
Total of 272386 byte(s) were the same
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment