This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

J721EXCPXEVM: Problem creating linux SDK bootloader SD card

Part Number: J721EXCPXEVM

Hello,

I am following this instruction to create SD card and boot the device from it:

1.1.1. Download and Install the SDK — Processor SDK Linux for J721e Documentation

I went till 1.1.3- formatiing SD card

ran the provided script, 

sudo <SDK INSTALL DIR>/bin/mksdboot.sh --device /dev/sdX --sdk <SDK INSTALL DIR>
#Replace the /dev/sdX with appropriate device name

It seemed to properly format the SD card, however when I inserted the card in the EVM connector board and powered on the board in bootup mode

It always get stuck in the bootup process. Following is the output logs I get from the board (through Uart connection)

U-Boot SPL 2021.01-g44a87e3ab8 (Mar 23 2022 - 21:34:29 +0000)
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
Trying to boot from MMC2
Starting ATF on ARM64 core...

NOTICE: BL31: v2.5(release):08.01.00.006-dirty
NOTICE: BL31: Built : 21:03:57, Mar 23 2022

U-Boot SPL 2021.01-g44a87e3ab8 (Mar 23 2022 - 21:04:54 +0000)
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from MMC2


U-Boot 2021.01-g44a87e3ab8 (Mar 23 2022 - 21:04:54 +0000)

SoC: J721E SR1.1
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E8
DRAM: 4 GiB
Flash: 0 Bytes
MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
cdns,sierra serdes@5000000: sierra probed
Net: eth0: ethernet@46000000port@1
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
Failed to load 'boot.scr'
0 bytes read in 1 ms (0 Bytes/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
19276288 bytes read in 811 ms (22.7 MiB/s)
102282 bytes read in 15 ms (6.5 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 000000008fee4000, end 000000008fffffff ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[ 0.000000] Linux version 5.10.100-g7a7a3af903 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Wed Mar 23 21:07:41 UTC 2022
[ 0.000000] Machine model: Texas Instruments K3 J721E SoC
[ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[ 0.000000] printk: bootconsole [ns16550a0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
[ 0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
[ 0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000ac000000, size 2 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-virtual-eth-queues@ac000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000ac200000, size 30 MiB
[ 0.000000] OF: reserved mem: initialized node r5f-virtual-eth-buffers@ac200000, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x00000008ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000080000000-0x000000009e7fffff]
[ 0.000000] node 0: [mem 0x000000009e800000-0x00000000a8ffffff]
[ 0.000000] node 0: [mem 0x00000000a9000000-0x00000000a9ffffff]
[ 0.000000] node 0: [mem 0x00000000aa000000-0x00000000abbfffff]
[ 0.000000] node 0: [mem 0x00000000abc00000-0x00000000abffffff]
[ 0.000000] node 0: [mem 0x00000000ac000000-0x00000000adffffff]
[ 0.000000] node 0: [mem 0x00000000ae000000-0x00000000ffffffff]
[ 0.000000] node 0: [mem 0x0000000880000000-0x00000008ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
[ 0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 2 pages/cpu s49880 r8192 d73000 u131072
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: EL2 vector hardening
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65472
[ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=cad44646-02 rw rootfstype=ext4 rootwait
[ 0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
[ 0.000000] Memory: 3339136K/4194304K available (10880K kernel code, 1288K rwdata, 4352K rodata, 1856K init, 751K bss, 330880K reserved, 524288K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 960 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
[ 0.000000] ITS [mem 0x01820000-0x0182ffff]
[ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
[ 0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: using LPI property table @0x00000008800b0000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008800c0000
[ 0.000000] random: get_random_bytes called from start_kernel+0x31c/0x4c4 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
[ 0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
[ 0.008387] Console: colour dummy device 80x25
[ 0.012947] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[ 0.023618] pid_max: default: 32768 minimum: 301
[ 0.028365] LSM: Security Framework initializing
[ 0.033108] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[ 0.040675] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[ 0.049612] rcu: Hierarchical SRCU implementation.
[ 0.054667] Platform MSI: msi-controller@1820000 domain created
[ 0.060905] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[ 0.070202] EFI services will not be available.
[ 0.074953] smp: Bringing up secondary CPUs ...
[ 0.080196] Detected PIPT I-cache on CPU1
[ 0.080220] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[ 0.080231] GICv3: CPU1: using allocated LPI pending table @0x00000008800d0000
[ 0.080265] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[ 0.080316] smp: Brought up 1 node, 2 CPUs
[ 0.109661] SMP: Total of 2 processors activated.
[ 0.114466] CPU features: detected: 32-bit EL0 Support
[ 0.119720] CPU features: detected: CRC32 instructions
[ 0.133679] CPU: All CPU(s) started at EL2
[ 0.137874] alternatives: patching kernel code
[ 0.142865] devtmpfs: initialized
[ 0.151242] KASLR disabled due to lack of seed
[ 0.155893] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.165856] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
[ 0.173524] pinctrl core: initialized pinctrl subsystem
[ 0.179101] DMI not present or invalid.
[ 0.183330] NET: Registered protocol family 16
[ 0.190673] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.197972] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.205976] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.214275] thermal_sys: Registered thermal governor 'step_wise'
[ 0.214278] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.220704] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.234346] ASID allocator initialised with 65536 entries
[ 0.257969] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
[ 0.264826] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[ 0.271583] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.279430] cryptd: max_cpu_qlen set to 1000
[ 0.285502] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6402f] Detected
[ 0.294299] vsys_3v3: supplied by evm_12v0
[ 0.298657] vsys_5v0: supplied by evm_12v0
[ 0.303355] iommu: Default domain type: Translated
[ 0.308469] SCSI subsystem initialized
[ 0.312586] mc: Linux media interface: v0.10
[ 0.317002] videodev: Linux video capture interface: v2.00
[ 0.322631] pps_core: LinuxPPS API ver. 1 registered
[ 0.327701] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.337038] PTP clock support registered
[ 0.341060] EDAC MC: Ver: 3.0.0
[ 0.344800] FPGA manager framework
[ 0.348310] Advanced Linux Sound Architecture Driver Initialized.
[ 0.354912] clocksource: Switched to clocksource arch_sys_counter
[ 0.361328] VFS: Disk quotas dquot_6.6.0
[ 0.365372] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[ 0.375067] NET: Registered protocol family 2
[ 0.379648] IP idents hash table entries: 65536 (order: 3, 524288 bytes, linear)
[ 0.388260] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[ 0.397022] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
[ 0.405217] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
[ 0.413161] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.419911] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
[ 0.426805] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
[ 0.434190] NET: Registered protocol family 1
[ 0.438900] RPC: Registered named UNIX socket transport module.
[ 0.444962] RPC: Registered udp transport module.
[ 0.449767] RPC: Registered tcp transport module.
[ 0.454569] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.461153] PCI: CLS 0 bytes, default 64
[ 0.465516] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.475745] Initialise system trusted keyrings
[ 0.480357] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[ 0.488594] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.494811] NFS: Registering the id_resolver key type
[ 0.500022] Key type id_resolver registered
[ 0.504294] Key type id_legacy registered
[ 0.508413] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.515261] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.522896] 9p: Installing v9fs 9p2000 file system support
[ 0.548170] Key type asymmetric registered
[ 0.552357] Asymmetric key parser 'x509' registered
[ 0.557353] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 0.564911] io scheduler mq-deadline registered
[ 0.569537] io scheduler kyber registered
[ 0.574806] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
[ 0.580985] pinctrl-single 11c000.pinctrl: 173 pins, size 692
[ 0.589618] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[ 0.595886] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[ 0.603729] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.611834] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
[ 0.620795] arm-smmu-v3 36600000.iommu: allocated 524288 entries for cmdq
[ 0.629615] arm-smmu-v3 36600000.iommu: allocated 524288 entries for evtq
[ 0.637322] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
[ 0.650194] brd: module loaded
[ 0.656134] loop: module loaded
[ 0.659976] megasas: 07.714.04.00-rc1
[ 0.665483] tun: Universal TUN/TAP device driver, 1.6
[ 0.670931] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 0.677335] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 0.683405] sky2: driver version 1.30
[ 0.687679] VFIO - User Level meta-driver version: 0.3
[ 0.693354] i2c /dev entries driver
[ 0.697547] sdhci: Secure Digital Host Controller Interface driver
[ 0.703865] sdhci: Copyright(c) Pierre Ossman
[ 0.708571] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.714934] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.721234] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 0.728361] optee: probing for conduit method.
[ 0.732918] optee: revision 3.12 (3d47a131)
[ 0.733154] optee: initialized driver
[ 0.742502] NET: Registered protocol family 17
[ 0.747109] 9pnet: Installing 9P2000 support
[ 0.751497] Key type dns_resolver registered
[ 0.755940] Loading compiled-in X.509 certificates
[ 0.765393] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[ 0.771729] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[ 0.779823] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
[ 0.809838] random: fast init done
[ 0.842514] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[ 0.850152] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
[ 0.856233] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
[ 0.862291] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
[ 0.868753] pca953x 3-0020: supply vcc not found, using dummy regulator
[ 0.875578] pca953x 3-0020: using no AI
[ 0.903745] pca953x 3-0022: supply vcc not found, using dummy regulator
[ 0.910545] pca953x 3-0022: using AI
[ 0.914829] gpio-480 (CTRL_PM_I2C_OE): hogged as output/high
[ 0.920810] gpio-481 (MCASP/TRACE_MUX_S0): hogged as output/low
[ 0.927057] gpio-482 (MCASP/TRACE_MUX_S1): hogged as output/high
[ 0.933557] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[ 0.939988] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
[ 0.950122] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
[ 0.956417] pca953x 6-0020: supply vcc not found, using dummy regulator
[ 0.963233] pca953x 6-0020: using no AI
[ 0.991613] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
[ 0.997671] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
[ 1.003613] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
[ 1.009848] pca953x 9-0020: supply vcc not found, using dummy regulator
[ 1.016667] pca953x 9-0020: using no AI
[ 1.043235] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
[ 1.049641] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
[ 1.059619] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
[ 1.068425] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrupt Router 213 domain created
[ 1.078267] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[ 1.099822] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
[ 1.107498] j721e-pcie 2900000.pcie: IO 0x0010001000..0x0010010fff -> 0x0010001000
[ 1.115775] j721e-pcie 2900000.pcie: MEM 0x0010011000..0x0017ffffff -> 0x0010011000
[ 1.124052] j721e-pcie 2900000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 2.139430] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
[ 2.145861] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.151478] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0x10001000-0x10010fff])
[ 2.161169] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
[ 2.168223] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
[ 2.174362] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[ 2.184231] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[ 2.194123] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xe8 may corrupt adjacent RW1C bits
[ 2.204084] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
[ 2.214053] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
[ 2.224012] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
[ 2.234011] pci 0000:00:00.0: supports D1
[ 2.238105] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.243976] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
[ 2.253941] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x208 may corrupt adjacent RW1C bits
[ 2.263995] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
[ 2.271021] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
[ 2.280987] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits
[ 2.291033] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits
[ 2.302870] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.312833] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 2.319606] pci 0000:00:00.0: BAR 7: assigned [mem 0x10400000-0x113fffff 64bit]
[ 2.327083] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.332355] pcieport 0000:00:00.0: PME: Signaling with IRQ 61
[ 2.338682] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 2.346345] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 2.354622] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 2.362898] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 3.371522] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
[ 3.377932] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 3.383536] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
[ 3.393404] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
[ 3.400446] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
[ 3.406648] pci 0001:00:00.0: supports D1
[ 3.410742] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ 3.418326] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 3.428160] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.434931] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 3.440184] pcieport 0001:00:00.0: PME: Signaling with IRQ 64
[ 3.446511] j721e-pcie 2920000.pcie: host bridge /bus@100000/pcie@2920000 ranges:
[ 3.454178] j721e-pcie 2920000.pcie: IO 0x4400001000..0x4400010fff -> 0x0000001000
[ 3.462454] j721e-pcie 2920000.pcie: MEM 0x4400011000..0x4407ffffff -> 0x0000011000
[ 3.470731] j721e-pcie 2920000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 4.482081] j721e-pcie 2920000.pcie: PCI host bridge to bus 0002:00
[ 4.488508] pci_bus 0002:00: root bus resource [bus 00-ff]
[ 4.494114] pci_bus 0002:00: root bus resource [io 0x20000-0x2ffff] (bus address [0x1000-0x10fff])
[ 4.503360] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
[ 4.514134] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400
[ 4.520333] pci 0002:00:00.0: supports D1
[ 4.524427] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
[ 4.532043] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.541859] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
[ 4.548630] pci 0002:00:00.0: PCI bridge to [bus 01]
[ 4.553893] pcieport 0002:00:00.0: PME: Signaling with IRQ 67
[ 4.560610] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
[ 4.570486] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[ 4.577244] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[ 4.586133] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
[ 4.596286] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[ 4.603045] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[ 4.610999] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 6000000) is a 8250
[ 4.620373] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 33, base_baud = 3000000) is a 8250
[ 4.629117] printk: console [ttyS2] enabled
[ 4.629117] printk: console [ttyS2] enabled
[ 4.637554] printk: bootconsole [ns16550a0] disabled
[ 4.637554] printk: bootconsole [ns16550a0] disabled
[ 4.647998] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 34, base_baud = 3000000) is a 8250
[ 4.656932] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 35, base_baud = 3000000) is a 8250
[ 4.667556] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[ 4.678066] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
[ 4.688220] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[ 4.698459] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[ 4.709356] scsi host0: ufshcd
[ 4.731191] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
[ 4.754917] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 4.763897] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[ 4.772215] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[ 4.786190] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[ 4.795101] mmc0: CQHCI version 5.10
[ 4.795361] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[ 4.809099] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
[ 4.810607] vdd_mmc1: supplied by vsys_3v3
[ 4.824842] cdns-ufshcd 4e84000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
[ 4.825687] pca953x 4-0020: supply vcc not found, using dummy regulator
[ 4.842631] pca953x 4-0020: using no AI
[ 4.846496] scsi 0:0:0:49488: Well-known LUN TOSHIBA THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
[ 4.855348] scsi 0:0:0:49476: Well-known LUN TOSHIBA THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
[ 4.864034] cdns-ufshcd 4e84000.ufs: ufshcd_scsi_add_wlus: BOOT WLUN not found
[ 4.867884] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[ 4.871262] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[ 4.878090] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[ 4.892249] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
[ 4.899090] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
[ 4.905944] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
[ 4.916685] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[ 4.927066] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
[ 4.941488] spi-nor spi0.0: mt35xu512aba (65536 Kbytes)
[ 4.946726] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
[ 4.953333] Creating 8 MTD partitions on "47040000.spi.0":
[ 4.958810] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[ 4.964767] 0x000000080000-0x000000280000 : "ospi.tispl"
[ 4.970476] 0x000000280000-0x000000680000 : "ospi.u-boot"
[ 4.976239] 0x000000680000-0x0000006c0000 : "ospi.env"
[ 4.981780] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
[ 4.987432] 0x0000007c0000-0x000000800000 : "ospi.env.backup"
[ 4.993574] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[ 4.999329] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[ 5.007972] spi-nor spi1.0: mt25qu512a (65536 Kbytes)
[ 5.024881] mmc0: Command Queue Engine enabled
[ 5.029331] mmc0: new HS200 MMC card at address 0001
[ 5.034561] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
[ 5.039191] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
[ 5.045191] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
[ 5.050927] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[ 5.051170] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
[ 5.059924] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[ 5.074366] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
[ 5.088007] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[ 5.095004] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[ 5.102212] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[ 5.108539] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
[ 5.118954] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[ 5.119114] mmc1: CQHCI version 5.10
[ 5.136322] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present!
[ 5.143630] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present!
[ 5.151796] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
[ 5.159128] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
[ 5.166436] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
[ 5.173744] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
[ 5.181922] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 5.202559] ALSA device list:
[ 5.205537] No soundcards found.
[ 6.182439] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
[ 6.190871] Waiting for root device PARTUUID=cad44646-02...
[ 6.231621] mmc1: error -110 whilst initialising SD card
[ 6.349706] mmc1: error -110 whilst initialising SD card
[ 6.472463] mmc1: error -110 whilst initialising SD card
[ 6.595120] mmc1: error -110 whilst initialising SD card

[ 35.910922] vdd_mmc1: disabling

(It was stuck with this output and nothing more happens)

  • Hi,

    Can you please try once again the create the SD card all afresh? Use a different SD card as another variable?
    Also are you using the latest 8.2 SDK?

    - Keerthy

  • Hello Keerthy, yes I did that and reflashed with 8.2, a 16gb SD card that was provided earlier with the board. However now I have an almost duplicate problem as mentioned here in the top post-  (+) DRA829V: U-boot hangs in dra829 custom board. - Processors forum - Processors - TI E2E support forums

    Same as complained in the post, my board also keeps resetting and restarting in an endless loop after I turn on the power in sd card bootup mode

    In the end I waited for like an hour and it was still resetting and resetting ... 

  • The above issue was due to some hardware bug on the custom board: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1095041/dra829v-u-boot-hangs-in-dra829-custom-board/4065024#4065024

    I believe you have a standard TI EVM or do you have a custom board?

    - Keerthy

  • My assembled EVM on top of board looks exactly like above ^

    Also a bit confused with all the parts and numbers, but on top of the box it has these things

    Jacinto automotive processors

    TDA4x & DRA8x

    EVM common board

    J721EXCP01EVM

    Also I dont understand the solution explained in the other post regarding same problem on custom hardware, so please explain the solution for my case as well.

  • Hi,

    You are using the J721E EVM from TI. Please share the latest failure logs. The customer had a different display So they had to remove the display node from device tree. Please share your latest logs.

    - Keerthy

  • Hello Here is the log pated below (continues indefinitely in a looping fashion after resetting...)

    U-Boot 2021.01-g44a87e3ab8 (Mar 23 2022 - 21:04:54 +0000)

    SoC: J721E SR1.1
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E8
    DRAM: 4 GiB
    Flash: 0 Bytes
    MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1
    In: serial@2800000
    Out: serial@2800000
    Err: serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: PHY not found 0x7364 vs 0x0
    Sierra init failed:-22
    "Synchronous Abort" handler, esr 0x96000005
    elr: 000000008082a81c lr : 00000000808034b0 (reloc)
    elr: 00000000fff0e81c lr : 00000000ffee74b0
    x0 : 0000000000000003 x1 : 00000003ffffff80
    x2 : 0000000000000070 x3 : 0000000400000000
    x4 : 0000000002800000 x5 : 00000000fdeae0f8
    x6 : 0000000000000032 x7 : 0000000000000001
    x8 : 0000000000000001 x9 : 0000000000000008
    x10: 00000000ffffffd0 x11: 000000000000000d
    x12: 0000000000000006 x13: 000000000001869f
    x14: 00000000fdeae890 x15: 0000000000000002
    x16: 00000000fff4cca0 x17: 0000000000000000
    x18: 00000000fdec3df0 x19: 0000000000000000
    x20: 0000000000000000 x21: 00000000fffa5930
    x22: 00000000fffa732c x23: 00000000800b764e
    x24: 00000000fffa7000 x25: 00000000deadbeef
    x26: 0000000000000005 x27: 0000000000000000
    x28: 0000000000000000 x29: 00000000fdeae7a0

    Code: aa0003e2 52800000 f8470c41 d1020021 (f8480c23)
    Resetting CPU ...

    resetting ...

    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 23 2022 - 21:34:29 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E8
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    Trying to boot from MMC2
    Starting ATF on ARM64 core...

    NOTICE: BL31: v2.5(release):08.01.00.006-dirty
    NOTICE: BL31: Built : 21:03:57, Mar 23 2022

    U-Boot SPL 2021.01-g44a87e3ab8 (Mar 23 2022 - 21:04:54 +0000)
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E8
    SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam')
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2


    U-Boot 2021.01-g44a87e3ab8 (Mar 23 2022 - 21:04:54 +0000)

    SoC: J721E SR1.1
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E8
    DRAM: 4 GiB
    Flash: 0 Bytes
    MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1
    In: serial@2800000
    Out: serial@2800000
    Err: serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: PHY not found 0x7364 vs 0x0
    Sierra init failed:-22
    "Synchronous Abort" handler, esr 0x96000005
    elr: 000000008082a81c lr : 00000000808034b0 (reloc)
    elr: 00000000fff0e81c lr : 00000000ffee74b0
    x0 : 0000000000000003 x1 : 00000003ffffff80
    x2 : 0000000000000070 x3 : 0000000400000000
    x4 : 0000000002800000 x5 : 00000000fdeae0f8
    x6 : 0000000000000032 x7 : 0000000000000001
    x8 : 0000000000000001 x9 : 0000000000000008
    x10: 00000000ffffffd0 x11: 000000000000000d
    x12: 0000000000000006 x13: 000000000001869f
    x14: 00000000fdeae890 x15: 0000000000000002
    x16: 00000000fff4cca0 x17: 0000000000000000
    x18: 00000000fdec3df0 x19: 0000000000000000
    x20: 0000000000000000 x21: 00000000fffa5930
    x22: 00000000fffa732c x23: 00000000800b764e
    x24: 00000000fffa7000 x25: 00000000deadbeef
    x26: 0000000000000005 x27: 0000000000000000
    x28: 0000000000000000 x29: 00000000fdeae7a0

    Code: aa0003e2 52800000 f8470c41 d1020021 (f8480c23)
    Resetting CPU ...

  • The above issue seems completely unrelated to: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1095041/dra829v-u-boot-hangs-in-dra829-custom-board/4065024#4065024

    By the description I am not sure if the EVM you are using is a standard TI EVM or it is a custom hardware. You will need to disable cpsw & dependent nodes
    in the U-Boot device tree.

    - Keerthy

  • Okay, so how to do that? can you please explain what is cpsw node and what is a display node ? can you please explain step by step what to do to secure a successful boot?

  • Hi Homagni,

    Can you try this patch: https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0001_2D00_internal_2D00_clock.patch

    cd $PSDK/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8
    git am 0001-internal-clock.patch
    cd ../..
    make u-boot

    Then insert you SD card to the PC. Copy the U-boot.img

    cp $PSDK/board-support/u-boot_build/a72/u-boot.img /media/$USER/boot
    sync

    Then try booting & you should be able to boot. Let me know if this helps at your end.

    - Keerthy

  • Hello Keerthy,

    refererring to the link

    1.1.1. Download and Install the SDK — Processor SDK Linux for J721e Documentation

    can you please say at which step does your steps fit in? I am having problem understanding the locations you are specifying

    $PSDK/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8

    also where in the host pc should I put the downloaded patch file ?

  • Hello Homagni,

    You have the SD card that is continuously rebooting. Insert that SD card & do the above steps.

    $PSDK is the top folder of your SDK installation.


    lso where in the host pc should I put the downloaded patch file ?

    $PSDK/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8

    That is the folder you need to download the patch.

    - Keerthy

  • Hello Keerthy,

    when I run this command >> make u-boot

    I have the following error below

    homag@homag:/opt/ti-processor-sdk-linux-j7-evm-08_02_00_03$ sudo make u-boot
    ===================================
    Building U-boot for A72
    ===================================
    make -j 16 -C /opt/ti-processor-sdk-linux-j7-evm-08_02_00_03/board-support/u-boot-* CROSS_COMPILE=/opt/ti-processor-sdk-linux-j7-evm-08_02_00_03/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-none-linux-gnu- \
     j721e_evm_a72_config O=/opt/ti-processor-sdk-linux-j7-evm-08_02_00_03/board-support/u-boot_build/a72
    make[1]: Entering directory '/opt/ti-processor-sdk-linux-j7-evm-08_02_00_03/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8'
    make[2]: Entering directory '/opt/ti-processor-sdk-linux-j7-evm-08_02_00_03/board-support/u-boot_build/a72'
      GEN     ./Makefile
      HOSTCC  scripts/basic/fixdep
    /bin/sh: 1: cc: not found
    make[3]: *** [scripts/Makefile.host:95: scripts/basic/fixdep] Error 127
    make[2]: *** [/opt/ti-processor-sdk-linux-j7-evm-08_02_00_03/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8/Makefile:483: scripts_basic] Error 2
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory '/opt/ti-processor-sdk-linux-j7-evm-08_02_00_03/board-support/u-boot_build/a72'
    make[1]: *** [Makefile:167: sub-make] Error 2
    make[1]: Leaving directory '/opt/ti-processor-sdk-linux-j7-evm-08_02_00_03/board-support/u-boot-2021.01+gitAUTOINC+44a87e3ab8-g44a87e3ab8'
    make: *** [Makefile:292: u-boot-a72] Error 2
  • Hello Keerthy,

    Some additional steps I needed to do

    sudo apt-install gcc

    sudo apt-install bison

    sudo apt-install flex

    Now the bootloader works ! As a final pointer, can you please tell me whats the easiest way to start running the Machine learning demos? We dont have cameras connected, but just want to check the hardware acceleration and the demo codes included in the TO repo for object detection

    Can you please point to any links ?

  • Hi Homagni,

    Please create a separate thread so that relevant expert can guide you for machine learning queries.

    Best Regards,
    Keerthy