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.

DRA821U-Q1: How Can I only build J7200_evm board in SDK ti-processor-sdk-rtos-j7200-evm-10_00_00_03?

Part Number: DRA821U-Q1


Tool/software:

Hi, TI

SDK: ti-processor-sdk-rtos-j7200-evm-10_00_00_03

We are now using DRA821U4-Q1,now I want to build SBL, but it build all board type  and  many errors,

Bellow are my steps:

1. cd <PDK>/packages/ti/boot/sbl/build

2. make all 

I try build command like: make BOARD=j7200_evm , but it also build all board type: 

j721e j7200 j721s2 j784s4 j742s2
Here are erros:
I do not want to build such as j742s2, and I just only want to build related to j7200_evm.
Please tell me how to change it.
Thanks.
  • Hi,

    Please build the sbl from the path

    cd ${PDK}/packages/ti/build/

    make sbl_mmcsd_img BOARD=j7200_evm

    This should build the sbl for mmcsd. You can do the same for other devices like ospi, emmc etc.

    Regards,

    nikhil

  • Hi Dasan 

    Thanks very much, it works and generate sbl_mmcsd_img_mcu1_0_release.tiimage, and I copy it into boot partition in my SD card, rename it to tiboot3.bin, and copy tifs.bin at <pdk install path>/packages/ti/drv/sciclient/soc/V2/ to SD card,

    and copy sbl_boot_app_mmcsd_j7200_evm_mcu1_0_freertos_TestApp_release.appimage, rename it to app,

    other files are tar from boot-default-j7200-evm.tar.gz which is download from TI.

    In rootfs partition, tar form tisdk-default-image-j7200-evm.rootfs.tar.xz which is also download from TI, as shown below

    I want to boot the all cores(mpu1_0 mcu1_0 mcu1_1 mcu2_0 mcu2_1 mpu1_1) from SD, and start linux kernel, but it does only boor MCU_R5F, 

    What should I do?

    Thanks very much

  • Hi

    and copy sbl_boot_app_mmcsd_j7200_evm_mcu1_0_freertos_TestApp_release.appimage, rename it to app,

    You are trying to do boot app here, for this u need additional images for all the cores. These are called bootimages. Please follow these steps in the below link to boot linux and all cores using boot app

    5.3. Boot App — Platform Development Kit (PDK) - J7200 User Guide

    Regards,

    Nikhil

  • Hi, Dasan

    5.3. Boot App — Platform Development Kit (PDK) - J7200 User Guide

    I refer to the link to boot linux by bootAPP, do as follows:

    Booting Linux via MMCSD

    1. Generate lateapps by using the following commands

      • goto <PDK>/packages/ti/boot/sbl/example/boot_app/scripts

      • Run ./make_multicore_appimages.sh <board_name>

      • Multicore images(lateapps) will be generated in <PDK>/packages/ti/boot/sbl/example/boot_app/multicore_images/$BOARD/.

      • Stage1 image corresponds to lateapp1, stage2 image corresponds to lateapp2 and stage3 image corresponds to lateapp3.

    2. Copy sbl_mmcsd_img_mcu1_0_release.tiimage as tiboot3.bin to the boot partition of SD card

    3. Copy tifs.bin to the boot partition of SD card

    4. Build boot_app_mmcsd_linux by using the following command

      • make BOARD=<board_name> CORE=mcu1_0 boot_app_mmcsd_linux -sj

    5. Copy sbl_boot_app_mmcsd_linux_<board_name>_mcu1_0_freertos_TestApp_release.appimage image as app to the boot partition of SD card

    6. Copy stage1 image as lateapp1, stage2 image as lateapp2 to the boot partition of SD card

    Copy atf_optee.appimage, tidtb_linux.appimage, tikernelimage_linux.appimage to the boot partition of SD card.

    But there are errors in boot linux, what should I do? Thanks, bellow are logs:


    log on MCU UART:

    SBL Revision: 01.00.10.01 (Nov 7 2024 - 18:07:36)
    TIFS ver: 10.0.8--v10.00.08 (Fiery Fox)
    Starting Sciserver..... PASSED
    MCU R5F App started at 1067 usecs
    Loading BootImage

    BootApp_MMCBootImageLate: fp 0x 0x41c08380, fileName is 0:/lateapp1

    Called SBL_MulticoreImageParse, status = 0
    BootImage completed, status = 0
    SBL_SlaveCoreBoot completed for Core ID#10, Entry point is 0x70014000
    SBL_SlaveCoreBoot completed for Core ID#11, Entry point is 0x70016000
    Loading BootImage

    BootApp_MMCBootImageLate: fp 0x 0x41c08380, fileName is 0:/atf_optee.appimage

    Called SBL_MulticoreImageParse, status = 0

    BootApp_MMCBootImageLate: fp 0x 0x41c08380, fileName is 0:/tikernelimage_linux.appimage
    MCU2_0 booted
    MCU2_1 booted

    Called SBL_MulticoreImageParse, status = 0

    BootApp_MMCBootImageLate: fp 0x 0x41c08380, fileName is 0:/tidtb_linux.appimage

    Called SBL_MulticoreImageParse, status = 0
    BootImage completed, status = 0
    SBL_SlaveCoreBoot completed for Core ID#0, Entry point is 0x70000000
    Boot App: Started at 1242 usec
    Boot App: Total Num booted cores = 3
    Boot App: Booted Core ID #10 at 12404 usecs
    Boot App: Booted Core ID #11 at 12912 usecs
    Boot App: Booted Core ID #0 at 3048391 usecs
    MCU Boot Task started at 1242 usecs and finished at 3056777 usecs


    log on linux:

    NOTICE: BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE: BL31: Built : 16:09:05, Feb 9 2024
    ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
    I/TC:
    I/TC: OP-TEE version: 4.2.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Apr 12 09:51:21 UTC 2024 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check optee.readthedocs.io/.../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: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP 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
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [ 0.000000] Linux version 6.6.32-ti-g8636139a4976 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU4
    [ 0.000000] KASLR disabled due to lack of seed
    [ 0.000000] Machine model: Texas Instruments J721e EVM
    [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [ 0.000000] printk: bootconsole [ns16550a0] enabled
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [ 0.000000] Reserved memory: created CMA memory pool at 0x00000008e0000000, size 512 MiB
    [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [ 0.000000] OF: reserved mem: 0x00000008e0000000..0x00000008ffffffff (524288 KiB) map reusable linux,cma
    [ 0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@90
    [ 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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-0
    [ 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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-mem0
    [ 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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-0
    [ 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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-mem0
    [ 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] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-0
    [ 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] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-mem0
    [ 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] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-0
    [ 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] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-mem0
    [ 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] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-0
    [ 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] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-mem0
    [ 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] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-0
    [ 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] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-mem0
    [ 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] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable c66-dma-0
    [ 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] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable c66-mem0
    [ 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] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable c66-dma-0
    [ 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] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable c66-mem0
    [ 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] OF: reserved mem: 0x00000000a8000000..0x00000000a80fffff (1024 KiB) nomap non-reusable c71-dma-0
    [ 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] OF: reserved mem: 0x00000000a8100000..0x00000000a8ffffff (15360 KiB) nomap non-reusable c71-mem0
    [ 0.000000] OF: reserved mem: 0x00000000aa000000..0x00000000abbfffff (28672 KiB) nomap non-reusable ipc-mem0
    [ 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-0x00000000ffffffff]
    [ 0.000000] node 0: [mem 0x0000000880000000-0x00000008ffffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [ 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.4
    [ 0.000000] percpu: Embedded 20 pages/cpu s42920 r8192 d30808 u81920
    [ 0.000000] Detected PIPT I-cache on CPU0
    [ 0.000000] CPU features: detected: GIC system register CPU interface
    [ 0.000000] CPU features: detected: Spectre-v3a
    [ 0.000000] CPU features: detected: Spectre-BHB
    [ 0.000000] CPU features: detected: ARM erratum 1742098
    [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [ 0.000000] alternatives: applying boot alternatives
    [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblt
    [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032192
    [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [ 0.000000] software IO TLB: area num 2.
    [ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [ 0.000000] Memory: 3302380K/4194304K available (11968K kernel code, 1250K rwdata, 4036K rodata, 2432K init)
    [ 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] Tracing 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] Root IRQ handler: gic_handle_irq
    [ 0.000000] GICv3: GICv3 features: 16 PPIs
    [ 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: Devices Table too large, reduce ids 20->19
    [ 0.000000] ITS@0x0000000001820000: allocated 524288 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 @0x0000000880040000
    [ 0.000000] GIC: using cache flushing for LPI property table
    [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 4s
    [ 0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [ 0.008400] Console: colour dummy device 80x25
    [ 0.012965] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj)
    [ 0.023636] pid_max: default: 32768 minimum: 301
    [ 0.028392] LSM: initializing lsm=capability,integrity
    [ 0.033698] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.041273] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.049739] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [ 0.056406] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [ 0.063658] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [ 0.071520] rcu: Hierarchical SRCU implementation.
    [ 0.076419] rcu: Max phase no-delay instances is 1000.
    [ 0.081942] Platform MSI: msi-controller@1820000 domain created
    [ 0.088180] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [ 0.097629] EFI services will not be available.
    [ 0.102377] smp: Bringing up secondary CPUs ...
    ERROR: GTC_CNTFID0 is 0! Assuming 200000000 Hz. Fix Bootloader
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [ 0.121359] Detected PIPT I-cache on CPU1
    [ 0.121390] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [ 0.121405] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [ 0.121438] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [ 0.121499] smp: Brought up 1 node, 2 CPUs
    [ 0.150845] SMP: Total of 2 processors activated.
    [ 0.155650] CPU features: detected: 32-bit EL0 Support
    [ 0.160903] CPU features: detected: CRC32 instructions
    [ 0.166187] CPU: All CPU(s) started at EL2
    [ 0.170369] alternatives: applying system-wide alternatives
    [ 0.176877] devtmpfs: initialized
    [ 0.186865] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.196847] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [ 0.214899] pinctrl core: initialized pinctrl subsystem
    [ 0.220813] DMI not present or invalid.
    [ 0.225064] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [ 0.231593] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [ 0.238895] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [ 0.246889] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [ 0.255011] audit: initializing netlink subsys (disabled)
    [ 0.260628] audit: type=2000 audit(0.168:1): state=initialized audit_enabled=0 res=1
    [ 0.260839] thermal_sys: Registered thermal governor 'step_wise'
    [ 0.268551] thermal_sys: Registered thermal governor 'power_allocator'
    [ 0.274708] cpuidle: using governor menu
    [ 0.285457] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.292422] ASID allocator initialised with 65536 entries
    [ 0.308062] platform a000000.dp-bridge: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [ 0.317112] platform a000000.dp-bridge: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [ 0.325965] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/dp-bridge@a000000
    [ 0.335379] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [ 0.347161] platform a000000.dp-bridge: Fixed dependency cycle(s) with /connector
    [ 0.354859] platform connector: Fixed dependency cycle(s) with /bus@100000/dp-bridge@a000000
    [ 0.363694] Modules: 27680 pages in range for non-PLT usage
    [ 0.363699] Modules: 519200 pages in range for PLT usage
    [ 0.369905] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [ 0.382270] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [ 0.388672] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [ 0.395607] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [ 0.402008] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [ 0.408942] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [ 0.415343] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [ 0.422276] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [ 0.429495] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [ 0.438528] iommu: Default domain type: Translated
    [ 0.443444] iommu: DMA domain TLB invalidation policy: strict mode
    [ 0.449896] SCSI subsystem initialized
    [ 0.453920] usbcore: registered new interface driver usbfs
    [ 0.459544] usbcore: registered new interface driver hub
    [ 0.464989] usbcore: registered new device driver usb
    [ 0.470438] pps_core: LinuxPPS API ver. 1 registered
    [ 0.475514] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.484851] PTP clock support registered
    [ 0.488959] EDAC MC: Ver: 3.0.0
    [ 0.492432] scmi_core: SCMI protocol bus registered
    [ 0.497677] FPGA manager framework
    [ 0.501184] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.507845] vgaarb: loaded
    [ 0.510764] clocksource: Switched to clocksource arch_sys_counter
    [ 0.517134] VFS: Disk quotas dquot_6.6.0
    [ 0.521167] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.531401] NET: Registered PF_INET protocol family
    [ 0.536636] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [ 0.545663] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [ 0.554448] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [ 0.562373] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [ 0.570583] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [ 0.579273] TCP: Hash tables configured (established 32768 bind 32768)
    [ 0.586102] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.593035] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.600460] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [ 0.606575] RPC: Registered named UNIX socket transport module.
    [ 0.612640] RPC: Registered udp transport module.
    [ 0.617443] RPC: Registered tcp transport module.
    [ 0.622246] RPC: Registered tcp-with-tls transport module.
    [ 0.627849] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.634432] NET: Registered PF_XDP protocol family
    [ 0.639335] PCI: CLS 0 bytes, default 64
    [ 0.643999] Initialise system trusted keyrings
    [ 0.648673] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [ 0.655431] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.661545] NFS: Registering the id_resolver key type
    [ 0.666726] Key type id_resolver registered
    [ 0.671002] Key type id_legacy registered
    [ 0.675104] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.681953] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [ 0.703174] Key type asymmetric registered
    [ 0.707364] Asymmetric key parser 'x509' registered
    [ 0.712379] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [ 0.719940] io scheduler mq-deadline registered
    [ 0.724566] io scheduler kyber registered
    [ 0.728681] io scheduler bfq registered
    [ 0.734862] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [ 0.741306] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [ 0.747895] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [ 0.757557] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [ 0.766678] SError Interrupt on CPU0, code 0x00000000bf000000 -- SError
    [ 0.766687] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.32-ti-g8636139a4976 #1
    [ 0.766691] Hardware name: Texas Instruments J721e EVM (DT)
    [ 0.766693] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 0.766696] pc : arm_smmu_device_probe+0x200/0x12f0
    [ 0.766706] lr : arm_smmu_device_probe+0x2d8/0x12f0
    [ 0.766709] sp : ffff80008002bae0
    [ 0.766710] x29: ffff80008002bb60 x28: 0000000000000000 x27: ffff8000810d6068
    [ 0.766717] x26: ffff800080f59448 x25: ffff000801079de8 x24: ffff800080f59af8
    [ 0.766721] x23: 0000000000000000 x22: 0000000000000000 x21: ffff80008002bb08
    [ 0.766725] x20: ffff00080020f410 x19: ffff000800d5c880 x18: ffffffffffffffff
    [ 0.766729] x17: ffff00080001ff08 x16: ffff800080d82930 x15: ffff80008002b450
    [ 0.766733] x14: 0000000000000001 x13: ffff000800dddba0 x12: ffff00080001ff1c
    [ 0.766737] x11: 000000000000000f x10: ffff800080d82930 x9 : 1fffe00100003fc1
    [ 0.766741] x8 : 0000000000000000 x7 : ffff00080001fe08 x6 : 0000000000000005
    [ 0.766744] x5 : 000000000000000f x4 : 0000000000000000 x3 : 0000000000000000
    [ 0.766748] x2 : 0000000000000000 x1 : 0000000000000100 x0 : 0000000008000000
    [ 0.766753] Kernel panic - not syncing: Asynchronous SError Interrupt
    [ 0.766755] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.32-ti-g8636139a4976 #1
    [ 0.766758] Hardware name: Texas Instruments J721e EVM (DT)
    [ 0.766760] Call trace:
    [ 0.766763] dump_backtrace+0x90/0xe8
    [ 0.766774] show_stack+0x18/0x24
    [ 0.766778] dump_stack_lvl+0x48/0x60
    [ 0.766783] dump_stack+0x18/0x24
    [ 0.766785] panic+0x324/0x380
    [ 0.766789] nmi_panic+0x8c/0x90
    [ 0.766793] arm64_serror_panic+0x6c/0x78
    [ 0.766797] do_serror+0x3c/0x70
    [ 0.766801] el1h_64_error_handler+0x30/0x48
    [ 0.766806] el1h_64_error+0x64/0x68
    [ 0.766809] arm_smmu_device_probe+0x200/0x12f0
    [ 0.766812] platform_probe+0x68/0xc4
    [ 0.766817] really_probe+0x148/0x2b0
    [ 0.766819] __driver_probe_device+0x78/0x12c
    [ 0.766822] driver_probe_device+0xd8/0x15c
    [ 0.766824] __driver_attach+0x90/0x19c
    [ 0.766827] bus_for_each_dev+0x7c/0xdc
    [ 0.766832] driver_attach+0x24/0x30
    [ 0.766836] bus_add_driver+0xe8/0x1f8
    [ 0.766840] driver_register+0x5c/0x124
    [ 0.766843] __platform_driver_register+0x28/0x34
    [ 0.766846] arm_smmu_driver_init+0x20/0x2c
    [ 0.766852] do_one_initcall+0x80/0x1c8
    [ 0.766855] kernel_init_freeable+0x1c0/0x288
    [ 0.766859] kernel_init+0x24/0x1dc
    [ 0.766863] ret_from_fork+0x10/0x20
    [ 0.766867] SMP: stopping secondary CPUs
    [ 0.766878] Kernel Offset: 0x80000 from 0xffff800080000000
    [ 0.766880] PHYS_OFFSET: 0x80000000
    [ 0.766882] CPU features: 0x0,80000200,28020000,1000420b
    [ 0.766884] Memory Limit: none
    [ 1.024721] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---

  • Hi,

    Are you using the prebuilt binaries in this case on the J7200 EVM? Could you please confirm if you have taken the binaries that are for J7200 SOC?

    Regards,

    Nikhil

  • Looks like the issue is duplicated here in the thread. (+) DRA821U-Q1: Boot linux via MMSCD NOT successful - Processors forum - Processors - TI E2E support forums

    We shall continue the discussion in the other thread. So closing this one.

    Regards,

    Nikhil