Tool/software:
Hi,
modify DDR SIZE to 4GB
error log:
NOTICE: BL31: v2.12.0(release):11.00.09-dirty NOTICE: BL31: Built : 12:35:58, Mar 24 2025 U-Boot SPL 2025.01-ti (Jul 28 2025 - 20:48:01 +0800) SYSFW ABI: 4.0 (firmware rev 0x000b '11.0.9--v11.00.09+ (Fancy Rat)') Trying to boot from MMC2 mmc_load_image_raw_sector: mmc block read error Authentication passed Authentication passed i2c_write: error waiting for data ACK (status=0x116) pca953x gpio@23: Error reading output register i2c_write: error waiting for data ACK (status=0x116) pca953x gpio@20: Error reading output register U-Boot 2025.01-ti (Jul 28 2025 - 20:48:01 +0800) SoC: J722S SR1.0 HS-FS Model: Texas Instruments J722S EVM DRAM: 2 GiB (total 4 GiB) Core: 104 devices, 30 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device ________________________________SD/MMC found on device 1 1022 bytes read in 3 ms (332 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... Failed to load '/lib/firmware/j722s-mcu-r5f0_0-fw' 625536 bytes read in 50 ms (11.9 MiB/s) Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices Load Remote Processor 2 with data@addr=0x82000000 625536 bytes: Success! 11804840 bytes read in 249 ms (45.2 MiB/s) Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices Load Remote Processor 3 with data@addr=0x82000000 11804840 bytes: Success! 11804840 bytes read in 250 ms (45 MiB/s) Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices Load Remote Processor 4 with data@addr=0x82000000 11804840 bytes: Success! 22258176 bytes read in 924 ms (23 MiB/s) 80025 bytes read in 7 ms (10.9 MiB/s) Working FDT set to 88000000 6490 bytes read in 4 ms (1.5 MiB/s) 2883 bytes read in 4 ms (703.1 KiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Working FDT set to 88000000 Loading Device Tree to 000000008fee9000, end 000000008fffffff ... OK Working FDT set to 8fee9000 i2c_write: error waiting for data ACK (status=0x116) pca953x gpio@23: Error reading output register i2c_write: error waiting for data ACK (status=0x116) pca953x gpio@20: Error reading output register Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.12.17-ti (cesar@xiamenvt-RH2288-V3) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #8 SMP PREEMPT Thu Jul 24 14:46:26 CST 2025 [ 0.000000] KASLR disabled due to lack of seed [ 0.000000] Machine model: Texas Instruments J722S EVM [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: legacy bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000 [ 0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) nomap non-reusable tfa@80000000 [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000980000000, size 896 MiB [ 0.000000] OF: reserved mem: initialized node linux-cma-buffers@980000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x0000000980000000..0x00000009b7ffffff (917504 KiB) map reusable linux-cma-buffers@980000000 [ 0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout [ 0.000000] OF: reserved mem: 0x0000000900000000..0x000000091fffffff (524288 KiB) map non-reusable vision_apps_shared-memories [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 512 MiB [ 0.000000] OF: reserved mem: initialized node c7x-ddr-heaps-hi@880000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x0000000880000000..0x000000089fffffff (524288 KiB) nomap non-reusable c7x-ddr-heaps-hi@880000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000b5000000, size 40 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@b5000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000b5000000..0x00000000b77fffff (40960 KiB) nomap non-reusable vision-apps-core-heap-memory-lo@b5000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000b1100000, size 63 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-c71_1-memory@b1100000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000b1100000..0x00000000b4ffffff (64512 KiB) nomap non-reusable vision-apps-c71_1-memory@b1100000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000b1000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-c71_1-dma-memory@b1000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000b1000000..0x00000000b10fffff (1024 KiB) nomap non-reusable vision-apps-c71_1-dma-memory@b1000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000ad100000, size 63 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-c71_0-memory@ad100000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000ad100000..0x00000000b0ffffff (64512 KiB) nomap non-reusable vision-apps-c71_0-memory@ad100000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000ad000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@ad000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000ad000000..0x00000000ad0fffff (1024 KiB) nomap non-reusable vision-apps-c71-dma-memory@ad000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 96 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@a7000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000acffffff (98304 KiB) nomap non-reusable vision-apps-dma-memory@a7000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 32 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-rtos-ipc-memory-region@a5000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a6ffffff (32768 KiB) nomap non-reusable vision-apps-rtos-ipc-memory-region@a5000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a3ffffff (31744 KiB) nomap non-reusable vision-apps-r5f-memory@a2100000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a2000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a1100000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a1100000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a1000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a1000000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a0100000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable vision-apps-r5f-memory@a0100000 [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a0000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable vision-apps-r5f-dma-memory@a0000000 [ 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-0x000000008007ffff] [ 0.000000] node 0: [mem 0x0000000080080000-0x000000009e7fffff] [ 0.000000] node 0: [mem 0x000000009e800000-0x00000000a3ffffff] [ 0.000000] node 0: [mem 0x00000000a4000000-0x00000000a4ffffff] [ 0.000000] node 0: [mem 0x00000000a5000000-0x00000000b77fffff] [ 0.000000] node 0: [mem 0x00000000b7800000-0x00000000ffffffff] [ 0.000000] node 0: [mem 0x0000000880000000-0x000000089fffffff] [ 0.000000] node 0: [mem 0x00000008a0000000-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.5 [ 0.000000] percpu: Embedded 22 pages/cpu s51672 r8192 d30248 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=d73bf4db-02 rw rootfstype=ext4 rootwait [ 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: 1048576 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=512 to nr_cpu_ids=4. [ 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=4 [ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 256 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: GICD_CTRL.DS=0, SCR_EL3.FIQ=1 [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000 [ 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 @8a0800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x00000008a0050000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a0060000 [ 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: 440795210634 ns [ 0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008725] Console: colour dummy device 80x25 [ 0.013319] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023992] pid_max: default: 32768 minimum: 301 [ 0.028792] LSM: initializing lsm=capability,selinux [ 0.033913] SELinux: Initializing. [ 0.037916] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.045485] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.073592] rcu: Hierarchical SRCU implementation. [ 0.078509] rcu: Max phase no-delay instances is 1000. [ 0.084015] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.092826] EFI services will not be available. [ 0.101502] smp: Bringing up secondary CPUs ... [ 0.114475] Detected VIPT I-cache on CPU1 [ 0.114550] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.114566] GICv3: CPU1: using allocated LPI pending table @0x00000008a0070000 [ 0.114609] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.122468] Detected VIPT I-cache on CPU2 [ 0.122527] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.122541] GICv3: CPU2: using allocated LPI pending table @0x00000008a0080000 [ 0.122574] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.126461] Detected VIPT I-cache on CPU3 [ 0.126515] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.126530] GICv3: CPU3: using allocated LPI pending table @0x00000008a0090000 [ 0.126560] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.126677] smp: Brought up 1 node, 4 CPUs [ 0.206301] SMP: Total of 4 processors activated. [ 0.211108] CPU: All CPU(s) started at EL2 [ 0.215305] CPU features: detected: 32-bit EL0 Support [ 0.220553] CPU features: detected: CRC32 instructions [ 0.225847] alternatives: applying system-wide alternatives [ 0.232102] Memory: 3099612K/4194304K available (12928K kernel code, 1256K rwdata, 4652K rodata, 2752K init, 641K bss, 168200K reserved, 917504K cma-reserved) [ 0.247659] devtmpfs: initialized [ 0.261246] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.271250] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.278401] ------------[ cut here ]------------ [ 0.283113] WARNING: CPU: 0 PID: 1 at mm/cma.c:106 cma_init_reserved_areas+0x3b8/0x40c [ 0.291210] Modules linked in: [ 0.294329] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.17-ti #8 [ 0.301347] Hardware name: Texas Instruments J722S EVM (DT) [ 0.307028] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.314137] pc : cma_init_reserved_areas+0x3b8/0x40c [ 0.319206] lr : cma_init_reserved_areas+0x64/0x40c [ 0.324186] sp : ffff80008162bd40 [ 0.327561] x29: ffff80008162bd40 x28: 0000000000000000 x27: ffff8000811e9040 [ 0.334851] x26: ffff80008157dcf0 x25: ffff800080ff4000 x24: ffff8000811346f0 [ 0.342146] x23: ffff8000811e9078 x22: 0000000000000000 x21: 0000000000000000 [ 0.349438] x20: 0000000000980000 x19: ffff800081171008 x18: ffff80008162bc78 [ 0.356725] x17: ffff8000814df610 x16: 00000000c2484863 x15: 0000000000000001 [ 0.364016] x14: 0000000000000000 x13: 0000000000000002 x12: 000000000005a68f [ 0.371304] x11: 0000000000000000 x10: ffff800081521158 x9 : 0000000000000000 [ 0.378592] x8 : ffff800081521148 x7 : 0000000000000006 x6 : ffff8007fe6ea000 [ 0.385883] x5 : ffff80008162bc50 x4 : ffff00087f950200 x3 : ffff000820118000 [ 0.393175] x2 : 0000000000000001 x1 : ffff000820118000 x0 : 0000000100000000 [ 0.400466] Call trace: [ 0.402955] cma_init_reserved_areas+0x3b8/0x40c [ 0.407666] do_one_initcall+0x80/0x1c8 [ 0.411583] kernel_init_freeable+0x1c8/0x290 [ 0.416029] kernel_init+0x20/0x1d4 [ 0.419589] ret_from_fork+0x10/0x20 [ 0.423235] ---[ end trace 0000000000000000 ]--- [ 0.427965] Unable to handle kernel paging request at virtual address fffffdffe4000000 [ 0.436054] Mem abort info: [ 0.438896] ESR = 0x0000000096000006 [ 0.442723] EC = 0x25: DABT (current EL), IL = 32 bits [ 0.448145] SET = 0, FnV = 0 [ 0.451254] EA = 0, S1PTW = 0 [ 0.454458] FSC = 0x06: level 2 translation fault [ 0.459438] Data abort info: [ 0.462373] ISV = 0, ISS = 0x00000006, ISS2 = 0x00000000 [ 0.467975] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 0.473133] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 0.478565] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000083144000 [ 0.485410] [fffffdffe4000000] pgd=0000000000000000, p4d=10000008ff94e003, pud=10000008ff94d003, pmd=0000000000000000 [ 0.496264] Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP [ 0.502661] Modules linked in: [ 0.505777] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Tainted: G W 6.12.17-ti #8 [ 0.514302] Tainted: [W]=WARN [ 0.517322] Hardware name: Texas Instruments J722S EVM (DT) [ 0.523006] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 0.530112] pc : cma_init_reserved_areas+0x148/0x40c [ 0.535179] lr : cma_init_reserved_areas+0x64/0x40c [ 0.540160] sp : ffff80008162bd40 [ 0.543536] x29: ffff80008162bd40 x28: 0000000000000000 x27: ffff8000810bbcb0 [ 0.550828] x26: ffff80008157dcf0 x25: ffff800080ff4000 x24: ffffc1ffc0000000 [ 0.558122] x23: ffff8000811e9078 x22: 0000000000000000 x21: 0000000000000000 [ 0.565414] x20: 0000000000980000 x19: 0000000000980001 x18: ffff80008162bc78 [ 0.572704] x17: ffff8000814df610 x16: 00000000c2484863 x15: 0000000000000001 [ 0.579997] x14: 0000000000000000 x13: 0000000000000002 x12: 000000000005a68f [ 0.587286] x11: 0000000000000000 x10: ffff800081521158 x9 : 0000000000000000 [ 0.594577] x8 : ffff800081521148 x7 : 0000000000000006 x6 : ffff8007fe6ea000 [ 0.601868] x5 : ffff80008162bc50 x4 : ffff00087f950200 x3 : ffff000820118000 [ 0.609159] x2 : 0000000000000001 x1 : 00003c0024000000 x0 : 00000000009b8000 [ 0.616448] Call trace: [ 0.618937] cma_init_reserved_areas+0x148/0x40c [ 0.623654] do_one_initcall+0x80/0x1c8 [ 0.627566] kernel_init_freeable+0x1c8/0x290 [ 0.632017] kernel_init+0x20/0x1d4 [ 0.635576] ret_from_fork+0x10/0x20 [ 0.639226] Code: f85e8340 cb813281 8b000280 d37ae421 (f8786821) [ 0.645449] ---[ end trace 0000000000000000 ]--- [ 0.650174] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 0.657991] SMP: stopping secondary CPUs [ 0.661997] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---
Regards,
Cesar