Skip to content

Instantly share code, notes, and snippets.

@manorit2001
Last active May 28, 2024 08:06
Show Gist options
  • Save manorit2001/d7690ded6ef685aa8ffa5b16746cc529 to your computer and use it in GitHub Desktop.
Save manorit2001/d7690ded6ef685aa8ffa5b16746cc529 to your computer and use it in GitHub Desktop.
AVS Support on J721S2
/dev/serial/by-id/usb-FTDI_USB__-__Serial_Converter_2865Z9E4-if00-port0
Starting loop
/home/a0497581/scripts/automate-uart.py:292: DeprecationWarning: Using the default executor that is not an instance of ThreadPoolExecutor is deprecated and will be prohibited in Python 3.9
loop.set_default_executor(exe)
['/usr/bin/phidutil2', '-p', '1', '1']
['/usr/bin/phidutil2', '-p', '1', '0']
['/usr/bin/dfu-util', '-R', '-a', 'bootloader', '-D', './tiboot3.bin']
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0451:6168
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 512
Copying data from PC to DFU device
Download [=========================] 100% 430354 bytes
Download done.
state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
dfu-util: can't detach
Resetting USB to switch back to runtime mode
U-Boot SPL 2024.07-rc3-00317-g9873e83664de (May 28 2024 - 13:32:03 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
SPL initial stack usage: 13448 bytes
Trying to boot from DFU
Host: Sending tispl.bin
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0451:6168
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device
Download [=========================] 100% 1034727 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
####DOWNLOAD ... OK
Ctrl+C to exstate(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
it ...
alloc space exhausted
Could not get FIT buffer of 1034728 bytes
check CONFIG_SPL_SYS_MALLOC_SIZE
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.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
NOTICE: BL31: Built : 16:09:05, Feb 9 2024
I/TC:
I/TC: OP-TEE version: 4.1.0-51-g012cdca49 (gcc version 11.4.0 (GCC)) #1 Tue Jan 30 10:48:03 UTC 2024 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: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (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.07-rc3-00317-g9873e83664de (May 28 2024 - 13:32:22 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
Trying to boot from DFU
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
Host: Sending u-boot.img
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0451:6168
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device
Download [=========================] 100% 1258067 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
#####DOWNLOAD ... OK
Ctrl+C to exit ...
Authentication passed
Authentication passed
U-Boot 2024.07-rc3-00317-g9873e83664de (May 28 2024 - 13:32:22 +0530)
SoC: J721S2 SR1.0 HS-SE
Model: Texas Instruments J721S2 EVM
Board: J721S2X-PM1-SOM rev E1
DRAM: 16 GiB
Core: 99 devices, 30 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
Net: eth0: ethernet@46000000port@1
Hit any key to stop autoboot: 0
=> Host: Found uboot prompt
Host: md.l 0x42040144 1
md.l 0x42040144 1
42040144: 00003700 .7..
=> Host: Found uboot prompt
Host: i2c bus
i2c bus
Bus 0: i2c@42120000 (active 0)
Bus 1: i2c@2000000
21: gpio@21, offset len 1, flags 0
20: gpio@20, offset len 1, flags 0
22: gpio@22, offset len 1, flags 0
Bus 2: i2c@2050000
20: gpio@20, offset len 1, flags 0
=> Host: Found uboot prompt
Host: i2c dev 0
i2c dev 0
Setting bus to 0
=> Host: Found uboot prompt
Host: i2c md 0x48 0xe
i2c md 0x48 0xe
000e: 37 37 37 37 fd fd 00 00 41 41 1b 1b 3f 00 1b 31 7777....AA..?..1
=> Host: Found uboot prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment