Skip to content

Instantly share code, notes, and snippets.

View r-vignesh's full-sized avatar

Vignesh Raghavendra r-vignesh

View GitHub Profile
root@am65xx-evm:~# ethtool -s eth3 speed 100 duplex full
[ 282.558022] icssg-prueth icssg2-eth eth3: Link is Down
root@am65xx-evm:~# [ 286.782890] icssg-prueth icssg2-eth eth3: Link i
s Up - 100Mbps/Full - flow control off
root@am65xx-evm:~#
root@am65xx-evm:~# cat setup.sh
ifconfig eth3 down
ethtool -L eth3 tx 4
ifconfig eth3 up
U-Boot 2022.04-00482-ge6a3b8951b (Apr 15 2022 - 14:26:13 +0530)
SoC: AM62X SR1.0
Model: Texas Instruments AM625 SK
EEPROM not available at 0x50, trying to read at 0x51
Board: AM62-SKEVM rev E2
DRAM: 2 GiB
Core: 41 devices, 17 uclasses, devicetree: separate
MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
U-Boot 2022.04-00482-ge6a3b8951b (Apr 15 2022 - 14:26:13 +0530)
SoC: AM62X SR1.0
Model: Texas Instruments AM625 SK
EEPROM not available at 0x50, trying to read at 0x51
Board: AM62-SKEVM rev E2
DRAM: 2 GiB
Core: 41 devices, 17 uclasses, devicetree: separate
MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from MMC... *** Warning - bad CRC, using default environment
U-Boot SPL 2021.01-00522-g060f008b9fb5 (Aug 23 2022 - 14:56:27 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.3--w2022.02-am62a (Jolly Je')
am62a_init: board_init_f done
am62a_init: spl_boot_device: devstat = 0x243 bootmedia = 0x8 bootindex = 0
Trying to boot from MMC2
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) d
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.0.0-rc3-next-20220831-00007-g82f7afd2f38e (a0132425@uda0132425) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.
29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #169 SMP PREEMPT Thu Sep 1 11:13:10 IST 2022
[ 0.000000] Machine model: Texas Instruments AM62A7 SK
[ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[ 0.000000] printk: bootconsole [ns16550a0] enabled
[ 0.000000] efi: UEFI not found.
@r-vignesh
r-vignesh / dp
Created September 3, 2022 08:12
diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
index c9cc52e28abc..bb98711bc491 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
@@ -957,7 +957,8 @@ &cpsw_port1 {
};
&cpsw_port2 {
- status = "disabled";
+ phy-mode = "rgmii-rxid";
U-Boot SPL 2021.01-00004-g49d2aa0f758a (Nov 21 2022 - 15:26:00 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.1-v08.05.01 (Chill Capybara')
SPL initial stack usage: 13424 bytes
Trying to boot from MMC2
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
Authentication passed
Authentication passed
Loading Environment from MMC... *** Warning - No MMC card found, using default environment
root@k3:/home/debian/irqbalance# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3
11: 18347 21277 17747 19081 GICv3 30 Level arch_timer
14: 0 0 0 0 GICv3 23 Level arm-pmu
15: 0 0 0 0 GICv3 208 Level 4b00000.spi
16: 0 0 0 0 GICv3 209 Level 4b10000.spi
17: 0 0 0 0 GICv3 132 Level 2b1f0000.rtc
18: 17491 0 0 0 GICv3 66 Level 4d000000.mailbox thr_012
27: 5029 0 0 0 GICv3 210 Level 2800000.serial
28: 36694 0 0 0 GICv3 193 Level 20000000.i2c
diff --git a/Makefile b/Makefile
index a8c14eb530a1..6b22a3c08946 100644
--- a/Makefile
+++ b/Makefile
@@ -212,8 +212,9 @@ $(ITS): | _objtree_build
$(ITB): $(ITS) $(SOC_BINS) | _bindir_build
$(MKIMAGE) -f $< -r $@
+.PHONY: sysfw.itb
sysfw.itb: $(ITB)
# SPDX-License-Identifier: GPL-2.0
#
# Make file to build device tree binaries for boards based on
# Texas Instruments Inc processors
#
# Copyright (C) 2016-2021 Texas Instruments Incorporated - https://www.ti.com/
#
# Entries are grouped as per SoC present on the board. Groups are sorted
# alphabetically.