Skip to content

Instantly share code, notes, and snippets.

@manorit2001
Created January 8, 2024 08:14
Show Gist options
  • Save manorit2001/dfb8d92bb737d774c4296cefa765ba10 to your computer and use it in GitHub Desktop.
Save manorit2001/dfb8d92bb737d774c4296cefa765ba10 to your computer and use it in GitHub Desktop.
J721s2 fixup in do_main_cpsw0_qsgmii_phyinit
U-Boot SPL 2024.01-rc5-00673-g1795fb1da7dc (Jan 08 2024 - 13:31:48 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
SPL initial stack usage: 13432 bytes
Trying to boot from DFU
####DOWNLOAD ... OK
Ctrl+C to exit ...
Authentication passed
Authentication passed
Authentication passed
Loading Environment from nowhere... OK
init_env from device 18 not supported!
Authentication passed
Authentication passed
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: Secure Board Configuration Software: Rev 1
I/TC: Secure Boot Keys: Count 1, Rev 1
I/TC: HUK Initialized
I/TC: Activated SA2UL 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.01-rc5-00673-g1795fb1da7dc (Jan 08 2024 - 13:31:57 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
Trying to boot from DFU
cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61)
cdns-usb3-peripheral usb@6000000: Unable to get USB3 phy (ret -61)
cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200)
cdns-usb3-peripheral usb@6000000: Initialized ep0 support:
cdns-usb3-peripheral usb@6000000: Initialized ep1out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep2out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep3out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep4out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep5out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep6out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep7out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep8out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep9out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep10out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep11out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep12out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep13out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep14out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep15out support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep1in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep2in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep3in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep4in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep5in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep6in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep7in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep8in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep9in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep10in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep11in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep12in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep13in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep14in support: BULK, INT ISO
cdns-usb3-peripheral usb@6000000: Initialized ep15in support: BULK, INT ISO
######DOWNLOAD ... OK
Ctrl+C to exit ...
Authentication passed
Authentication passed
U-Boot 2024.01-rc5-00673-g1795fb1da7dc (Jan 08 2024 - 13:31:57 +0530)
SoC: J721S2 SR1.0 HS-SE
Model: Texas Instruments J721S2 EVM
Board: J721S2X-PM1-SOM rev E1
DRAM: 16 GiB
Core: 83 devices, 29 uclasses, devicetree: separate
Flash: 0 Bytes
MMC: mmc@4f80000: 0, mmc@4fb0000: 1
Loading Environment from nowhere... OK
In: serial@2880000
Out: serial@2880000
Err: serial@2880000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
Net: eth0: ethernet@46000000port@1
Hit any key to stop autoboot: 0
=> boot
8807574 bytes read in 266 ms (31.6 MiB/s)
## Loading kernel from FIT Image at 90000000 ...
Using 'conf-ti_k3-j721s2-common-proc-board.dtb' configuration
Verifying Hash Integrity ... OK
Trying 'kernel-1' kernel subimage
Description: Linux kernel
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x900000f4
Data Size: 8539564 Bytes = 8.1 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x81000000
Entry Point: 0x81000000
Hash algo: sha512
Hash value: 4cd06ddef40ebc9cc0478066df2d2375aa23047a5f2d84f8ddb04eaf235960142a86a6209ff91cf1ca6c4fcb6af0ba5a76539056d43c79ca39113e646e796ede
Verifying Hash Integrity ... sha512+ OK
## Loading fdt from FIT Image at 90000000 ...
Using 'conf-ti_k3-j721s2-common-proc-board.dtb' configuration
Verifying Hash Integrity ... OK
Trying 'fdt-ti_k3-j721s2-common-proc-board.dtb' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x90824fe4
Data Size: 95394 Bytes = 93.2 KiB
Architecture: AArch64
Load Address: 0x83000000
Hash algo: sha512
Hash value: c35a68920350883b8e17d7288cc4a9831c61ab2d6daa3378a13f91f7e6298b704c5c2d1c69a265d2fd02e8ee39623eaa8d710e10bc0d97dfa6e66997e72f0391
Verifying Hash Integrity ... sha512+ OK
Loading fdt from 0x90824fe4 to 0x83000000
Booting using the fdt blob at 0x83000000
Working FDT set to 83000000
Uncompressing Kernel Image to 81000000
Loading Device Tree to 000000008ffe5000, end 000000008ffff4a1 ... OK
Working FDT set to 8ffe5000
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[ 0.000000] Linux version 6.1.46-g5da2f861d7 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Thu Nov 30 22:19:30 UTC 2023
[ 0.000000] Machine model: Texas Instruments J721S2 EVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment