Other Parts Discussed in Thread: CC3300, SYSCONFIG, AM625
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.
Hi,
Can you provide boot log.
~ Judith
Hi Judith,
When I wrote this I wasn't getting a boot log, I was only able to see bus activity for the SD card. I've since went and rebuilt all bootloader stages and ensured I was using the HS_FS images with our DDR timings. I have SPL logs now, but for some reason u-boot is trying to read the environment/next stages from MMC2.
MMC0 -> eMMC which is currently blank
MMC1 -> SD card which we're using for bringup
MMC2 -> CC3300 WiFi
I'm currently trying to understand the reason for the references to MMC2
Hi Graham,
On AM62x Processor SDK, MMC2 is SD card, see log below:
U-Boot SPL 2021.01-00001-g4e6c473b04 (Aug 01 2023 - 16:13:00 -0500) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 13424 bytes Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed Authentication passed Authentication passed Loading Environment from MMC... *** Warning - No MMC card found, using default environment Starting ATF on ARM64 core... NOTICE: BL31: v2.7(release):v2.7.0-359-g1309c6c80 NOTICE: BL31: Built : 16:13:04, Aug 1 2023 I/TC: I/TC: OP-TEE version: 3.19.0-15-gd6c5d0037 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Tue Aug 1 21:13:08 UTC 2023 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html I/TC: Primary CPU initializing I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') I/TC: HUK Initialized I/TC: Activated SA2UL device I/TC: Enabled firewalls for SA2UL TRNG device I/TC: SA2UL TRNG initialized I/TC: SA2UL Drivers initialized I/TC: Primary CPU switching to normal world boot U-Boot SPL 2021.01-00001-g4e6c473b04 (Aug 01 2023 - 16:13:11 -0500) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') Trying to boot from MMC2 Authentication passed Authentication passed U-Boot 2021.01-00001-g4e6c473b04 (Aug 01 2023 - 16:13:11 -0500) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK EEPROM not available at 0x50, trying to read at 0x51 Board: AM62B-SKEVM-P1 rev A DRAM: 2 GiB MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 Loading Environment from MMC... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Unidentified board claims AM62B-SKEVM-P1 in eeprom header 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 Failed to load 'boot.scr' Failed to load 'uEnv.txt' 18862592 bytes read in 108 ms (166.6 MiB/s) 55666 bytes read in 4 ms (13.3 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.168-rt83-gc1a1291911 (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_RT Fri Feb 24 05:50:07 UTC 2023 [ 0.000000] Machine model: Texas Instruments AM625 SK [ 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 0x000000009c800000, size 3 MiB [ 0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB [ 0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009c7fffff] [ 0.000000] node 0: [mem 0x000000009c800000-0x000000009e6fffff] [ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff] [ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff] [ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] On node 0 totalpages: 524288 [ 0.000000] DMA zone: 8192 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 524288 pages, LIFO batch:63 [ 0.000000] cma: Reserved 512 MiB at 0x00000000dd000000 [ 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 18 pages/cpu s35392 r8192 d30144 u73728 [ 0.000000] pcpu-alloc: s35392 r8192 d30144 u73728 alloc=18*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=0ecd8718-d9ef-7b45-ab68-c3d90402142f rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1456224K/2097152K available (11008K kernel code, 1204K rwdata, 4272K rodata, 1792K init, 438K bss, 116640K reserved, 524288K cma-reserved) [ 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=256 to nr_cpu_ids=4. [ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms. [ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads. [ 0.000000] No expedited grace period (rcu_normal_after_boot). [ 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] 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] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 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.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008530] Console: colour dummy device 80x25 [ 0.013124] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023804] pid_max: default: 32768 minimum: 301 [ 0.028624] LSM: Security Framework initializing [ 0.033421] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.041004] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.051004] rcu: Hierarchical SRCU implementation. [ 0.056447] Platform MSI: msi-controller@1820000 domain created [ 0.062816] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.072110] EFI services will not be available. [ 0.077075] smp: Bringing up secondary CPUs ... I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot [ 0.106430] Detected VIPT I-cache on CPU1 [ 0.110565] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.117603] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.125041] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] I/TC: Secondary CPU 2 initializing I/TC: Secondary CPU 2 switching to normal world boot [ 0.156587] Detected VIPT I-cache on CPU2 [ 0.160712] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.167745] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000 [ 0.175163] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] I/TC: Secondary CPU 3 initializing I/TC: Secondary CPU 3 switching to normal world boot [ 0.206611] Detected VIPT I-cache on CPU3 [ 0.210731] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.217764] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000 [ 0.225179] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.231982] smp: Brought up 1 node, 4 CPUs [ 0.236184] SMP: Total of 4 processors activated. [ 0.241002] CPU features: detected: 32-bit EL0 Support [ 0.246263] CPU features: detected: CRC32 instructions [ 0.258676] CPU: All CPU(s) started at EL2 [ 0.262885] alternatives: patching kernel code [ 0.268643] devtmpfs: initialized [ 0.280290] KASLR disabled due to lack of seed [ 0.285022] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.295013] futex hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.316714] pinctrl core: initialized pinctrl subsystem [ 0.322681] DMI not present or invalid. [ 0.327322] NET: Registered protocol family 16 [ 0.334040] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.341442] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.349535] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.358296] thermal_sys: Registered thermal governor 'step_wise' [ 0.358912] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.372099] ASID allocator initialised with 65536 entries [ 0.404763] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.411669] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.418531] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.425393] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.433263] cryptd: max_cpu_qlen set to 1000 [ 0.440781] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.449933] vcc_5v0: supplied by vmain_pd [ 0.454476] vcc_3v3_sys: supplied by vmain_pd [ 0.459468] vcc_1v8: supplied by vcc_3v3_sys [ 0.465029] iommu: Default domain type: Translated [ 0.470429] SCSI subsystem initialized [ 0.474739] mc: Linux media interface: v0.10 [ 0.479143] videodev: Linux video capture interface: v2.00 [ 0.484859] pps_core: LinuxPPS API ver. 1 registered [ 0.489934] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.499282] PTP clock support registered [ 0.503325] EDAC MC: Ver: 3.0.0 [ 0.507278] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 0.514510] FPGA manager framework [ 0.518102] Advanced Linux Sound Architecture Driver Initialized. [ 0.525311] clocksource: Switched to clocksource arch_sys_counter [ 0.531773] VFS: Disk quotas dquot_6.6.0 [ 0.535860] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.548990] NET: Registered protocol family 2 [ 0.553761] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.562591] tcp_listen_portaddr_hash hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.571416] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.579676] TCP bind hash table entries: 16384 (order: 7, 917504 bytes, linear) [ 0.588069] TCP: Hash tables configured (established 16384 bind 16384) [ 0.595168] UDP hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.602300] UDP-Lite hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.610103] NET: Registered protocol family 1 [ 0.615214] RPC: Registered named UNIX socket transport module. [ 0.621327] RPC: Registered udp transport module. [ 0.626137] RPC: Registered tcp transport module. [ 0.630946] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.637535] NET: Registered protocol family 44 [ 0.642093] PCI: CLS 0 bytes, default 64 [ 0.646970] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.659394] Initialise system trusted keyrings [ 0.664223] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.675624] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.682341] NFS: Registering the id_resolver key type [ 0.687592] Key type id_resolver registered [ 0.691882] Key type id_legacy registered [ 0.696078] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.702945] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.710761] 9p: Installing v9fs 9p2000 file system support [ 0.751243] Key type asymmetric registered [ 0.755464] Asymmetric key parser 'x509' registered [ 0.760510] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.768084] io scheduler mq-deadline registered [ 0.772723] io scheduler kyber registered [ 0.779219] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 0.785616] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 0.800144] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.821702] brd: module loaded [ 0.833795] loop: module loaded [ 0.838058] megasas: 07.714.04.00-rc1 [ 0.846044] tun: Universal TUN/TAP device driver, 1.6 [ 0.851873] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.858319] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.864439] sky2: driver version 1.30 [ 0.869267] VFIO - User Level meta-driver version: 0.3 [ 0.875704] i2c /dev entries driver [ 0.880502] sdhci: Secure Digital Host Controller Interface driver [ 0.886845] sdhci: Copyright(c) Pierre Ossman [ 0.891647] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.898846] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.907195] optee: probing for conduit method. [ 0.911839] optee: revision 3.19 (d6c5d003) [ 0.912148] optee: dynamic shared memory is enabled [ 0.921830] optee: initialized driver [ 0.927818] NET: Registered protocol family 17 [ 0.932598] 9pnet: Installing 9P2000 support [ 0.937075] Key type dns_resolver registered [ 0.941888] printk: bootconsole [ns16550a0]: printing thread started [ 0.941940] Loading compiled-in X.509 certificates [ 0.957850] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided. [ 0.957937] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [ 2.088831] davinci-mcasp 2b10000.mcasp: IRQ common not found [ 2.143949] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0 [ 2.143969] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 2.155261] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz [ 2.163187] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz [ 2.169928] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created [ 2.178215] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created [ 2.194932] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created [ 2.211933] ti-udma 485c0100.dma-controller: Number of rings: 82 [ 2.238466] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18) [ 2.241285] ti-udma 485c0000.dma-controller: Number of rings: 150 [ 2.391659] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15) [ H��2.394817] printk: console [ttyS2] disabled [ 2.401056] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250 [ 2.405603] printk: console [ttyS2]: printing thread started [ 2.405603] printk: console [ttyS2]: printing thread started [ 2.405621] printk: console [ttyS2] enabled [ 2.405625] printk: bootconsole [ns16550a0] disabled [ 2.425771] printk: bootconsole [ns16550a0]: printing thread stopped [ 2.646941] spi-nor spi0.0: s28hs512t (65536 Kbytes) [ 2.646998] 7 fixed-partitions partitions found on MTD device fc40000.spi.0 [ 2.647004] Creating 7 MTD partitions on "fc40000.spi.0": [ 2.647010] 0x000000000000-0x000000080000 : "ospi.tiboot3" [ 2.648491] 0x000000080000-0x000000280000 : "ospi.tispl" [ 2.649866] 0x000000280000-0x000000680000 : "ospi.u-boot" [ 2.651119] 0x000000680000-0x0000006c0000 : "ospi.env" [ 2.652298] 0x0000006c0000-0x000000700000 : "ospi.env.backup" [ 2.653609] 0x000000800000-0x000003fc0000 : "ospi.rootfs" [ 2.654844] 0x000003fc0000-0x000004000000 : "ospi.phypattern" [ 2.689791] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 2.729335] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 2.731563] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867 [ 2.731577] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867 [ 2.731680] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 2.731870] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 2.731876] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 2.735962] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0 [ 2.873955] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 2.985621] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 2.985668] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:09 UTC (9) [ 3.134600] mmc0: CQHCI version 5.10 [ 3.176059] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 3.259527] mmc0: Command Queue Engine enabled [ 3.259554] mmc0: new HS200 MMC card at address 0001 [ 3.260290] mmcblk0: mmc0:0001 S0J56X 14.8 GiB [ 3.260497] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB [ 3.260692] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB [ 3.260890] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0) [ 3.264240] mmcblk0: p1 [ 3.326945] davinci-mcasp 2b10000.mcasp: IRQ common not found [ 4.894760] pca953x 1-0022: supply vcc not found, using dummy regulator [ 4.894923] pca953x 1-0022: using AI [ 4.920823] sii902x 1-003b: supply iovcc not found, using dummy regulator [ 4.920987] sii902x 1-003b: supply cvcc12 not found, using dummy regulator [ 4.923967] i2c i2c-1: Added multiplexed i2c bus 2 [ 4.984483] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0 [ 4.985017] tidss 30200000.dss: [drm] Cannot find any crtc or sizes [ 5.017773] vdd_mmc1: supplied by vcc_3v3_sys [ 5.019693] wlan_lten: supplied by vcc_3v3_sys [ 5.020724] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present! [ 5.020776] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present! [ 5.020833] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present! [ 5.021251] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 5.589339] ALSA device list: [ 5.589358] No soundcards found. [ 5.595616] wlan_en: supplied by wlan_lten [ 5.595950] mmc2: CQHCI version 5.10 [ 5.602159] mmc1: CQHCI version 5.10 [ 5.637325] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit [ 5.641243] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 5.697758] mmc1: new ultra high speed SDR104 SDHC card at address aaaa [ 5.699181] mmcblk1: mmc1:aaaa SC16G 14.8 GiB [ 5.702214] mmcblk1: p1 p2 [ 5.861957] EXT4-fs (mmcblk0p1): recovery complete [ 5.862748] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) [ 5.862844] VFS: Mounted root (ext4 filesystem) on device 179:1. [ 5.863297] devtmpfs: mounted [ 5.864628] Freeing unused kernel memory: 1792K [ 5.864736] Run /sbin/init as init process [ 5.934550] systemd[1]: System time before build time, advancing clock. [ 5.964926] NET: Registered protocol family 10 [ 5.966310] Segment Routing with IPv6 [ 5.983463] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid) [ 5.983963] systemd[1]: Detected architecture arm64. Welcome to Arago 2021.09! [ 6.026144] systemd[1]: Set hostname to <am62xx-evm>. [ 6.278330] systemd[1]: /lib/systemd/system/startwlansta.service:7: Unknown key name 'After' in section 'Service', ignoring. [ 6.279292] systemd[1]: /lib/systemd/system/startwlanap.service:7: Unknown key name 'After' in section 'Service', ignoring. [ 6.290222] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring. [ 6.307764] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly. [ 6.390389] random: systemd: uninitialized urandom read (16 bytes read) [ 6.395043] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ OK ] Created slice system-serial\x2dgett[ 6.421561] random: systemd: uninitialized urandom read (16 bytes read) y.slice. [ 6.423686] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice User and Session Slic[ 6.449528] random: systemd: uninitialized urandom read (16 bytes read) [ 6.451340] systemd[1]: Created slice User and Session Slice. e. [ OK ] Started Dispatch Password …ts to [ 6.481942] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. Console Directory Watch. [ OK ] Started Forward Password R…uests [ 6.505783] systemd[1]: Started Forward Password Requests to Wall Directory Watch. to Wall Directory Watch. [ OK ] Reached target Paths. [ 6.529701] systemd[1]: Reached target Paths. [ OK ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems. [0m. [ OK ] Reached target Slices.[ 6.561549] systemd[1]: Reached target Slices. [ OK ] Reached target Swap. [ 6.581517] systemd[1]: Reached target Swap. [ OK ] Listening on RPCbind Server Activat[ 6.615130] systemd[1]: Listening on RPCbind Server Activation Socket. ion Socket. [ OK ] Reached target RPC Port Mapper.[ 6.637712] systemd[1]: Reached target RPC Port Mapper. [ OK ] Listening on Process Core Dump Sock[ 6.664499] systemd[1]: Listening on Process Core Dump Socket. et. [ OK ] Listening on initctl Compatibility [ 6.685995] systemd[1]: Listening on initctl Compatibility Named Pipe. Named Pipe. [ OK ] Listening on Journal Socket (/dev/l[ 6.713482] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 6.714378] systemd[1]: Listening on Journal Socket (/dev/log). og). [ OK ] Listening on Journal Socket. [ 6.746326] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Network Service Netlin[ 6.762376] systemd[1]: Listening on Network Service Netlink Socket. k Socket. [ OK ] Listening on udev Control Socket 6.786171] systemd[1]: Listening on udev Control Socket. m. [ OK ] Listening on udev Kernel Socket[ 6.809985] systemd[1]: Listening on udev Kernel Socket. . Mounting Huge Pages File System... [ 6.835202] systemd[1]: Mounting Huge Pages File System... Mounting POSIX Message Queue File System..[ 6.851924] systemd[1]: Mounting POSIX Message Queue File System... . Mounting Kernel Debug File System... [ 6.879082] systemd[1]: Mounting Kernel Debug File System... Mounting Temporary Directory (/tmp)... [ 6.899319] systemd[1]: Mounting Temporary Directory (/tmp)... [ 6.917262] systemd[1]: Starting Create list of static device nodes for the current kernel... Starting Create list of st…odes for the current kernel... Starting Start psplash boot splash screen.[ 6.950506] systemd[1]: Starting Start psplash boot splash screen... .. Starting RPC Bind... [ 6.979062] systemd[1]: Starting RPC Bind... [ 6.989898] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 6.997904] systemd[1]: Starting Journal Service... Starting Journal Service... Starting Load Kernel Modules... [ 7.024761] systemd[1]: Starting Load Kernel Modules... Starting Remount Root and Kernel File Systems systemd[1]: Starting Remount Root and Kernel File Systems... [ 7.043103] cryptodev: loading out-of-tree module taints kernel. [ 7.045503] cryptodev: driver 1.10 loaded. [ 7.065173] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null) [0m... Starting udev Coldplug all Devices...[ 7.090889] systemd[1]: Starting udev Coldplug all Devices... [ OK ] Started RPC Bind.[ 7.122480] systemd[1]: Started RPC Bind. [ OK ] Started Journal Service.[ 7.142325] systemd[1]: Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory (/tmp). [ OK ] Started Create list of sta… nodes for the current kernel. [FAILED] Failed to start Start psplash boot splash screen. See 'systemctl status psplash-start.service' for details. [DEPEND] Dependency failed for Star…progress communication helper. [ OK ] Started Load Kernel Modules. [ OK ] Started Remount Root and Kernel File Systems. Mounting Kernel Configuration File System... Starting Flush Journal to Persistent Storage... [ 7.382819] systemd-journald[228]: Received client request to flush runtime journal. Starting Apply Kernel Variables... [ 7.394401] random: systemd-journal: uninitialized urandom read (16 bytes read) [ 7.406740] random: systemd: uninitialized urandom read (16 bytes read) Starting Create Static Device Nodes in /dev 7.419093] random: systemd-journal: uninitialized urandom read (16 bytes read) m... [ OK ] Mounted Kernel Configuration File System. [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). Mounting /media/ram... Mounting /var/volatile... Starting udev Kernel Device Manager... [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. [ OK ] Started udev Coldplug all Devices. Starting udev Wait for Complete Device Initialization... Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Started udev Kernel Device Manager. [ OK ] Started Create Volatile Files and Directories. Starting Network Time Synchronization... [ 8.413924] random: systemd-journal: uninitialized urandom read (16 bytes read) Starting Update UTMP about System Boot/Shutdown... [ 8.453270] random: systemd-journal: uninitialized urandom read (16 bytes read) [ 8.478755] random: systemd: uninitialized urandom read (16 bytes read) [ 8.492386] random: crng init done [ 8.492410] random: 61 urandom warning(s) missed due to ratelimiting [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Load/Save Random Seed. [ 8.950874] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000 [ 8.953237] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode [ 8.955272] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device [ 9.042490] remoteproc remoteproc0: 5000000.m4fss is available [ 9.045119] remoteproc remoteproc0: powering up 5000000.m4fss [ 9.045148] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860 [ 9.175153] remoteproc0#vdev0buffer: assigned reserved memory node m4f-dma-memory@9cb00000 [ 9.188430] remoteproc0#vdev0buffer: registered virtio0 (type 7) [ 9.188455] remoteproc remoteproc0: remote processor 5000000.m4fss is now up [ 9.316175] virtio_rpmsg_bus virtio0: rpmsg host is online [ 9.317227] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd [ 9.332500] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe [ 9.493657] PVR_K: 255: Read BVNC 33.15.11.3 from HW device registers [ 9.534842] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ 9.546275] PVR_K: 255: RGX Device registered with BVNC 33.15.11.3 [ 9.548586] [drm] Initialized pvr 1.15.6133109 20170530 for fd00000.gpu on minor 1 [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Set. [ OK ] Reached target System Time Synchronized. [ 9.653606] platform 78000000.r5f: configured R5F for IPC-only mode [ 9.653848] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000 [ 9.656055] remoteproc remoteproc1: 78000000.r5f is available [ 9.656169] remoteproc remoteproc1: attaching to 78000000.r5f [ 9.662270] platform 78000000.r5f: R5F core initialized in IPC-only mode [ 9.662332] remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9da00000 [ 9.662978] virtio_rpmsg_bus virtio1: rpmsg host is online [ 9.663183] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd [ 9.663439] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe [ 9.669923] remoteproc1#vdev0buffer: registered virtio1 (type 7) [ 9.669949] remoteproc remoteproc1: remote processor 78000000.r5f is now attached [ OK ] Created slice system-systemd\x2dfsck.slice. [ OK ] Found device /dev/mmcblk1p2. [ OK ] Found device /dev/mmcblk1p1. Starting File System Check on /dev/mmcblk1p1... [ 11.547293] remoteproc remoteproc2: 30074000.pru is available [ 11.579156] remoteproc remoteproc3: 30078000.pru is available Starting File System Check on /dev/mmcblk1p2... [ 11.715801] tps6598x 0-003f: Unable to find the interrupt, switching to polling [ 11.750596] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22 Starting Start psplash boot splash screen... [ OK ] Started File System Check on /dev/mmcblk1p1. [FAILED] Failed to start Start psplash boo[ 11.873065] usbcore: registered new interface driver usbfs t splash screen. See 'systemctl status psplash-start.servic[ 11.873137] usbcore: registered new interface driver hub e' for details. [DEPEND] Dependency failed f[ 11.873219] usbcore: registered new device driver usb or Star…progress communication helper. [ 11.904953] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 11.905004] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [ OK ] Reached target Hardware activated U[ 11.905245] xhci-hcd xhci-hcd.2.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010 SB gadget. Mounting /run/media/mmcblk1p1 xhci-hcd xhci-hcd.2.auto: irq 493, io mem 0x31100000 [ 11.905948] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 11.905967] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2 [0m... [ 11.905991] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed [ 11.906194] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 11.906208] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 11.906214] usb usb1: Product: xHCI Host Controller [ 11.906220] usb usb1: Manufacturer: Linux 5.10.168-rt83-gc1a1291911 xhci-hcd [ 11.906224] usb usb1: SerialNumber: xhci-hcd.2.auto [ OK ] Started File System Check on /dev/m[ 11.910506] hub 1-0:1.0: USB hub found mcblk1p2. [ 11.910592] hub 1-0:1.0: 1 port detected [ 11.915036] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 11.915193] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 Mounting /run/media/mmcblk1p2... [ 11.915207] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 11.915212] usb usb2: Product: xHCI Host Controller [ 11.915218] usb usb2: Manufacturer: Linux 5.10.168-rt83-gc1a1291911 xhci-hcd [ 11.915223] usb usb2: SerialNumber: xhci-hcd.2.auto [ 11.917234] hub 2-0:1.0: USB hub found [ 11.917428] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19) [ OK ] Started udev Wait for Complete Devi[ 12.075215] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) ce Initialization. [ OK ] Mounted /run/media/mmcblk1p1. [ OK ] Mounted /run/media/mmcblk1p2. [ OK ] Started Hardware RNG Entropy Gatherer Daemon. [ OK ] Reached target System Initialization. [ OK ] Started Daily rotation of log files. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API. [ OK ] Listening on dropbear.socket. Starting Reboot and dump vmcore via kexec... [ OK ] Listening on Docker Socket for the API. [ OK ] Started Reboot and dump vmcore via kexec. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting Save/Restore Sound Card State... [ OK ] Started Job spooling tools. [ OK ] Started Periodic Command Scheduler. [ OK ] Started D-Bus System Message Bus. Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... [ OK ] Started irqbalance daemon. Starting rc.pvr.service... Starting startwlanap... Starting startwlansta... Starting Login Service... [ OK ] Started TEE Supplicant. [ OK ] Started Save/Restore Sound Card State. [ OK ] Started IPv6 Packet Filtering Framework. [ OK ] Started IPv4 Packet Filtering Framework. [ OK ] Started startwlansta. [ OK ] Started startwlanap. [ OK ] Reached target Network (Pre). [ OK ] Reached target Sound Card. Starting Network Service... [ 12.900281] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 12.946735] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ OK ] Started Network Service. Starting Wait for Network to be Configured... Starting Network Name Resolution... [ 13.589790] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL) [ 13.589832] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ OK ] Started rc.pvr.service. Starting weston.service... [ 13.708027] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL) [ 13.708069] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ OK ] Started Login Service. [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting Enable and configure wl18xx bluetooth stack... [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Simple Network Ma…ent Protocol (SNMP) Daemon.... Starting Permit User Sessions... [ OK ] Started Permit User Sessions. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started Enable and configure wl18xx bluetooth stack. [ 14.116833] startwlansta.sh[736]: Wi-Fi user configuration file missing, exit [ OK ] Started Simple Network Man…ement Protocol (SNMP) Daemon.. [ 14.324561] startwlanap.sh[835]: sed: unmatched '/' [ 14.345310] startwlanap.sh[836]: adding wlan1 interface [ 14.363015] startwlanap.sh[842]: command failed: No such file or directory (-2) [ 14.388717] startwlanap.sh[845]: Configuration file: /usr/share/wl18xx/hostapd.conf [ 14.434623] startwlanap.sh[845]: Could not read interface wlan1 flags: No such device [ 14.435308] startwlanap.sh[845]: nl80211: Driver does not support authentication/association or connect commands [ 14.435539] startwlanap.sh[845]: nl80211: deinit ifname=wlan1 disabled_11b_rates=0 [ 14.448695] startwlanap.sh[845]: Could not read interface wlan1 flags: No such device [ 14.449189] startwlanap.sh[845]: nl80211 driver initialization failed. [ 14.449472] startwlanap.sh[845]: wlan1: interface state UNINITIALIZED->DISABLED [ 14.449626] startwlanap.sh[845]: wlan1: AP-DISABLED [ 14.449760] startwlanap.sh[845]: wlan1: CTRL-EVENT-TERMINATING [ 14.449890] startwlanap.sh[845]: hostapd_free_hapd_data: Interface wlan1 wasn't started [ OK ] Started Synchronize System and HW clocks. *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: autoconf bash-dev bash bc binutils cifs-utils coreutils-stdbuf coreutils cpio cpp-symlinks cpp dosfstools elfutils g++-symlinks g++ gawk gcc-symlinks gcc gdb gdbserver gettext glmark2 gstreamer1.0-libav gzip hidapi less libasm1 libbfd libdw1 libelf1 libgdbm-compat4 libgdbm-dev libgdbm6 libgettextlib libgettextsrc libgmp10 libidn2-0 libmpc3 libmpfr6 libreadline-dev libreadline8 libunistring2 m4-dev m4 make nettle parted tar which If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ 15.393413] startwlanap.sh[996]: SIOCSIFADDR: No such device [ OK ] Started Print notice about GPLv3 packages. [ 15.422535] startwlanap.sh[996]: wlan1: ERROR while getting interface flags: No such device [ 15.457626] startwlanap.sh[996]: SIOCSIFNETMASK: No such device [ 15.473009] startwlanap.sh[996]: wlan1: ERROR while getting interface flags: No such device [ 16.648722] startwlanap.sh[1017]: iperf3: error - unable to start listener for connections: Cannot assign requested address [ 16.664730] startwlanap.sh[1017]: iperf3: exiting [ OK ] Started weston.service. Starting telnetd.service... [ OK ] Started telnetd.service. Starting hmi_demo.service... Starting LSB: Expand Rootfs of boot device... [ 17.173132] PVR_K: 1024: RGX Firmware image 'rgx.fw.33.15.11.3' loaded [ 17.193191] PVR_K: 1024: Shader binary image 'rgx.sh.33.15.11.3' loaded [ OK ] Started LSB: Expand Rootfs of boot device. [ OK ] Started hmi_demo.service. Stopping hmi_demo.service... [ OK ] Stopped hmi_demo.service. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am62xx-evm ttyS2 Arago 2021.09 am62xx-evm ttyS2 am62xx-evm login:
Not sure what changes you have done in u-boot, but perhaps you might be confusing SD card boot mode for WIFI.
~ Judith
All right I'll consider the MMC2 message a red herring, then.
The only change's I've made to u-boot are:
git diff
warning: CRLF will be replaced by LF in arch/arm/dts/k3-am62x-sk-ddr4-1600MTs.dtsi.
The file will have its original line endings in your working directory
diff --git a/arch/arm/dts/k3-am62x-sk-ddr4-1600MTs.dtsi b/arch/arm/dts/k3-am62x-sk-ddr4-1600MTs.dtsi
index d92e3ce048..dc31e1b472 100644
--- a/arch/arm/dts/k3-am62x-sk-ddr4-1600MTs.dtsi
+++ b/arch/arm/dts/k3-am62x-sk-ddr4-1600MTs.dtsi
@@ -1,18 +1,19 @@
// SPDX-License-Identifier: GPL-2.0+
/*
* This file was generated with the
- * AM62x SysConfig DDR Subsystem Register Configuration Tool v0.08.60
- * Wed Mar 16 2022 17:41:20 GMT-0500 (Central Daylight Time)
+ * AM62x SysConfig DDR Subsystem Register Configuration Tool v0.09.08
+ * Tue Jun 06 2023 16:51:20 GMT+0800 (台北標準時間)
* DDR Type: DDR4
* Frequency = 800MHz (1600MTs)
- * Density: 16Gb
+ * Density: 4Gb
* Number of Ranks: 1
- */
+*/
#define DDRSS_PLL_FHS_CNT 6
#define DDRSS_PLL_FREQUENCY_1 400000000
#define DDRSS_PLL_FREQUENCY_2 400000000
+
#define DDRSS_CTL_0_DATA 0x00000A00
#define DDRSS_CTL_1_DATA 0x00000000
#define DDRSS_CTL_2_DATA 0x00000000
@@ -330,11 +331,11 @@
#define DDRSS_CTL_314_DATA 0x00000000
#define DDRSS_CTL_315_DATA 0x00000100
#define DDRSS_CTL_316_DATA 0x01010000
-#define DDRSS_CTL_317_DATA 0x00000000
-#define DDRSS_CTL_318_DATA 0x3FFF0000
+#define DDRSS_CTL_317_DATA 0x00000202
+#define DDRSS_CTL_318_DATA 0x0FFF0000
#define DDRSS_CTL_319_DATA 0x000FFF00
#define DDRSS_CTL_320_DATA 0xFFFFFFFF
-#define DDRSS_CTL_321_DATA 0x000FFF00
+#define DDRSS_CTL_321_DATA 0x00FFFF00
#define DDRSS_CTL_322_DATA 0x0A000000
#define DDRSS_CTL_323_DATA 0x0001FFFF
#define DDRSS_CTL_324_DATA 0x01010101
@@ -513,7 +514,7 @@
#define DDRSS_PI_74_DATA 0x00000000
#define DDRSS_PI_75_DATA 0x00000005
#define DDRSS_PI_76_DATA 0x01000000
-#define DDRSS_PI_77_DATA 0x04000100
+#define DDRSS_PI_77_DATA 0x04020100
#define DDRSS_PI_78_DATA 0x00020000
#define DDRSS_PI_79_DATA 0x00010002
#define DDRSS_PI_80_DATA 0x00000001
@@ -607,10 +608,10 @@
#define DDRSS_PI_168_DATA 0x0000003A
#define DDRSS_PI_169_DATA 0x0004003A
#define DDRSS_PI_170_DATA 0x04000400
-#define DDRSS_PI_171_DATA 0xC8040009
+#define DDRSS_PI_171_DATA 0x68040009
#define DDRSS_PI_172_DATA 0x0400091C
-#define DDRSS_PI_173_DATA 0x00091CC8
-#define DDRSS_PI_174_DATA 0x001CC804
+#define DDRSS_PI_173_DATA 0x00091C68
+#define DDRSS_PI_174_DATA 0x001C6804
#define DDRSS_PI_175_DATA 0x00000118
#define DDRSS_PI_176_DATA 0x00001860
#define DDRSS_PI_177_DATA 0x00000118
@@ -901,7 +902,7 @@
#define DDRSS_PHY_117_DATA 0x00800080
#define DDRSS_PHY_118_DATA 0x00800080
#define DDRSS_PHY_119_DATA 0x01000080
-#define DDRSS_PHY_120_DATA 0x01A00000
+#define DDRSS_PHY_120_DATA 0x01000000
#define DDRSS_PHY_121_DATA 0x00000000
#define DDRSS_PHY_122_DATA 0x00000000
#define DDRSS_PHY_123_DATA 0x00080200
@@ -1157,7 +1158,7 @@
#define DDRSS_PHY_373_DATA 0x00800080
#define DDRSS_PHY_374_DATA 0x00800080
#define DDRSS_PHY_375_DATA 0x01000080
-#define DDRSS_PHY_376_DATA 0x01A00000
+#define DDRSS_PHY_376_DATA 0x01000000
#define DDRSS_PHY_377_DATA 0x00000000
#define DDRSS_PHY_378_DATA 0x00000000
#define DDRSS_PHY_379_DATA 0x00080200
@@ -2152,7 +2153,7 @@
#define DDRSS_PHY_1368_DATA 0x00000002
#define DDRSS_PHY_1369_DATA 0x00000100
#define DDRSS_PHY_1370_DATA 0x00000000
-#define DDRSS_PHY_1371_DATA 0x0001F7C0
+#define DDRSS_PHY_1371_DATA 0x0001F7C2
#define DDRSS_PHY_1372_DATA 0x00020002
#define DDRSS_PHY_1373_DATA 0x00000000
#define DDRSS_PHY_1374_DATA 0x00001142
diff --git a/arch/arm/mach-k3/am625_init.c b/arch/arm/mach-k3/am625_init.c
index d103c73770..8f1016da49 100644
--- a/arch/arm/mach-k3/am625_init.c
+++ b/arch/arm/mach-k3/am625_init.c
@@ -5,7 +5,7 @@
* Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/
* Suman Anna <s-anna@ti.com>
*/
-
+#define DEBUG
#include <common.h>
#include <spl.h>
#include <asm/io.h>
diff --git a/arch/arm/mach-k3/security.c b/arch/arm/mach-k3/security.c
index 092588f4b5..89052d06bf 100644
--- a/arch/arm/mach-k3/security.c
+++ b/arch/arm/mach-k3/security.c
@@ -5,7 +5,7 @@
* Copyright (C) 2018-2022 Texas Instruments Incorporated - http://www.ti.com/
* Andrew F. Davis <afd@ti.com>
*/
-
+#define DEBUG
#include <asm/io.h>
#include <common.h>
#include <cpu_func.h>
diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c
index ae9b8871d2..e0177fec4e 100644
--- a/board/ti/am62x/evm.c
+++ b/board/ti/am62x/evm.c
@@ -349,6 +349,7 @@ static int probe_daughtercards(void)
#ifdef CONFIG_BOARD_LATE_INIT
int board_late_init(void)
{
+
if (IS_ENABLED(CONFIG_TI_I2C_BOARD_DETECT)) {
struct ti_am6_eeprom *ep = TI_AM6_EEPROM_DATA;
@@ -382,6 +383,7 @@ void spl_board_init(void)
{
u32 val;
+ debug("%s(%d): %s\n", __FILE__, __LINE__, __func__);
/* Set USB0 PHY core voltage to 0.85V */
val = readl(CTRLMMR_USB0_PHY_CTRL);
val &= ~(CORE_VOLTAGE);
diff --git a/common/spl/spl.c b/common/spl/spl.c
index 63c48fbf33..b1085fa1a6 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -5,7 +5,7 @@
*
* Aneesh V <aneesh@ti.com>
*/
-
+#define DEBUG
#include <common.h>
#include <bloblist.h>
#include <binman_sym.h>
@@ -473,7 +473,7 @@ int spl_init(void)
bool setup_malloc = !(IS_ENABLED(CONFIG_SPL_STACK_R) &&
IS_ENABLED(CONFIG_SPL_SYS_MALLOC_SIMPLE));
- debug("%s\n", __func__);
+ printf("%s\n", __func__);
if (!(gd->flags & GD_FLG_SPL_EARLY_INIT)) {
ret = spl_common_init(setup_malloc);
@@ -547,11 +547,14 @@ static int boot_from_devices(struct spl_image_info *spl_image,
u32 spl_boot_list[], int count)
{
int i;
-
+// debug("%s, spl_image: name: %s\n", __func__, spl_image->name);
for (i = 0; i < count && spl_boot_list[i] != BOOT_DEVICE_NONE; i++) {
struct spl_image_loader *loader;
loader = spl_ll_find_loader(spl_boot_list[i]);
+ if (loader)
+ debug("%s(%d): %s, loader: name=%s, i=%d\n",__FILE__, __LINE__, __func__, loader->name, i);
+
#if defined(CONFIG_SPL_SERIAL_SUPPORT) \
&& defined(CONFIG_SPL_LIBCOMMON_SUPPORT) \
&& !defined(CONFIG_SILENT_CONSOLE)
@@ -644,10 +647,11 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
#if defined(CONFIG_SPL_WATCHDOG_SUPPORT) && CONFIG_IS_ENABLED(WDT)
initr_watchdog();
#endif
-
if (IS_ENABLED(CONFIG_SPL_OS_BOOT) || CONFIG_IS_ENABLED(HANDOFF) ||
- IS_ENABLED(CONFIG_SPL_ATF))
+ IS_ENABLED(CONFIG_SPL_ATF)){
+ debug("%s(%d): %s - calling dram_init_banksize()\n", __FILE__, __LINE__, __func__);
dram_init_banksize();
+ }
bootcount_inc();
@@ -655,6 +659,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
#ifdef CONFIG_SYS_SPL_ARGS_ADDR
spl_image.arg = (void *)CONFIG_SYS_SPL_ARGS_ADDR;
#endif
+ debug("%s(%d): %s - board_boot_order\n", __FILE__, __LINE__, __func__);
spl_image.boot_device = BOOT_DEVICE_NONE;
board_boot_order(spl_boot_list);
@@ -730,7 +735,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
debug("Failed to stash bootstage: err=%d\n", ret);
#endif
- debug("loaded - jumping to U-Boot...\n");
+ printf("loaded - jumping to U-Boot...\n");
spl_board_prepare_for_boot();
jump_to_image_no_args(&spl_image);
}
diff --git a/configs/am62x_evm_r5_defconfig b/configs/am62x_evm_r5_defconfig
index 18a619cdc1..d608e4f2ed 100644
--- a/configs/am62x_evm_r5_defconfig
+++ b/configs/am62x_evm_r5_defconfig
@@ -99,10 +99,10 @@ CONFIG_SF_DEFAULT_MODE=0
CONFIG_SPI_FLASH_SFDP_SUPPORT=y
CONFIG_SPI_FLASH_SOFT_RESET=y
CONFIG_SPI_FLASH_SOFT_RESET_ON_BOOT=y
-CONFIG_SPI_FLASH_SPANSION=y
-CONFIG_SPI_FLASH_S28HS512T=y
-CONFIG_SPI_FLASH_STMICRO=y
-CONFIG_SPI_FLASH_MT35XU=y
+CONFIG_SPI_FLASH_SPANSION=n
+CONFIG_SPI_FLASH_S28HS512T=n
+CONFIG_SPI_FLASH_STMICRO=n
+CONFIG_SPI_FLASH_MT35XU=n
CONFIG_PINCTRL=y
# CONFIG_PINCTRL_GENERIC is not set
CONFIG_SPL_PINCTRL=y
Comparing boot logs, I'm not seeing the ATF logs you showed and my issues look to arise before the tispl "Authentication Passed" lines
U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Aug 07 2023 - 16:45:59 -0700)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
SPL initial stack usage: 13424 bytes
SPL malloc() before relocation used 0x6be0 bytes (26 KB)
>>SPL: board_init_r()
spl_init
common/spl/spl.c(662): board_init_r - board_boot_order
am625_init: spl_boot_device: devstat = 0x1643 bootmedia = 0x8 bootindex = 0
common/spl/spl.c(556): boot_from_devices, loader: name=MMC2, i=0
Trying to boot from MMC2
Authenticating image at address 0x0000000000000000x
Authenticating image of size 45801 bytes
am625_init: spl_boot_device: devstat = 0x1643 bootmedia = 0x8 bootindex = 0
Authentication passed
Authenticating image at address 0x0000000000000000x
Authenticating image of size 421601 bytes
am625_init: spl_boot_device: devstat = 0x1643 bootmedia = 0x8 bootindex = 0
Authentication passed
Authenticating image at address 0x0000000000000000x
Authenticating image of size 154169 bytes
am625_init: spl_boot_device: devstat = 0x1643 bootmedia = 0x8 bootindex = 0
Authentication passed
Authenticating image at address 0x0000000000000000x
Authenticating image of size 319464 bytes
am625_init: spl_boot_device: devstat = 0x1643 bootmedia = 0x8 bootindex = 0
Authentication passed
Authenticating image at address 0x0000000000000000x
Authenticating image of size 20785 bytes
am625_init: spl_boot_device: devstat = 0x1643 bootmedia = 0x8 bootindex = 0
Authentication passed
Unsupported OS image.. Jumping nevertheless..
loaded - jumping to U-Boot...
Loading Environment from MMC... *** Warning - No MMC card found, using default environment
am625_init: spl_boot_device: devstat = 0x1643 bootmedia = 0x8 bootindex = 0
Starting ATF on ARM64 core...
NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
NOTICE: BL31: Built : 05:06:58, Feb 24 2023
U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Aug 07 2023 - 17:05:41 -0700)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
am625_init: spl_boot_device: devstat = 0x1643 bootmedia = 0x8 bootindex = 0
SPL malloc() before relocation used 0x3440 bytes (13 KB)
>>SPL: board_init_r()
spl_init
common/spl/spl.c(662): board_init_r - board_boot_order
am625_init: spl_boot_device: devstat = 0x1643 bootmedia = 0x8 bootindex = 0
common/spl/spl.c(556): boot_from_devices, loader: name=MMC2, i=0
Trying to boot from MMC2
Timed out in wait_for_event: status=0000
Check if pads/pull-ups of bus are properly configured
Timed out in wait_for_event: status=0000
Check if pads/pull-ups of bus are properly configured
Timed out in wait_for_event: status=0000
Check if pads/pull-ups of bus are properly configured
Timed out in wait_for_event: status=0000
Hi Graham,
Your ATF and OPTEE are working properly, I built my binaries with extra options.
Based on the following error:
--> Check if pads/pull-ups of bus are properly configured
It seems like a configurations error. Looking through u-boot, found this print in i2c driver, so it seems like the bus pads have not been configured for i2c and/or pull-ups are missing.
Please look at: https://dev.ti.com/tirex/explore/node?node=A__ANjtmn.T3uPBiF9U2lCRWQ__linux_academy_am62x__XaWts8R__LATEST
I would first do the following step: Establish an initial minimal pinmux setup for the custom board since a minimal pinmux setup is needed to avoid signal conflicts that may occur when running a TI EVM pinmux configuration on a custom board that has different pinmux requirements.
~ Judith
Yeah the minimal pinmux was what I was working on when I encountered this issue.
The i2c errors were from main_i2c1 probing for the SK's i2c gpio expander. I've gotten a u-boot prompt now and a partially booting linux kernel. I'll focus on u-boot for now.
There's more stripping down of the device tree/defconfig and writing a board file, but at this point I have a u-boot console and a partially booting kernel.
I dropped the RAM size, per https://dev.ti.com/tirex/explore/content/linux-academy-AM62X-8.6.0.42.v1/ch-porting/porting-uboot.html#modifying-ram-size, since we're not using a 4 Gbit RAM part. But I'm seeing error's mentioned in other E2E threads. Namely, errors related to the reserved regions
Hit any key to stop autoboot: 0 => bdinfo boot_params = 0x0000000000000000 DRAM bank = 0x0000000000000000 -> start = 0x0000000080000000 -> size = 0x0000000020000000 flashstart = 0x0000000000000000 flashsize = 0x0000000000000000 flashoffset = 0x0000000000000000 baudrate = 115200 bps relocaddr = 0x000000009ff12000 reloc off = 0x000000001f712000 Build = 64-bit current eth = ethernet@8000000port@1 ethaddr = 1c:63:49:1f:bb:b1 IP addr = <NULL> fdt_blob = 0x0000000097ee7c20 new_fdt = 0x0000000097ee7c20 fdt_size = 0x000000000000a1c0 multi_dtb_fit= 0x0000000000000000 ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) lmb_dump_all: memory.cnt = 0x1 memory.size = 0x0 memory.reg[0x0].base = 0x80000000 .size = 0x20000000 reserved.cnt = 0x1 reserved.size = 0x0 reserved.reg[0x0].base = 0x97ee6820 .size = 0x81197e0 arch_number = 0x0000000000000000 TLB addr = 0x000000009fff0000 irq_sp = 0x0000000097ee7c10 sp start = 0x0000000097ee7c10 Early malloc usage: 34c8 / 8000 =>
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1250381/am625-u-boot-on-a-512-mb-device-report-this-message-error-reserving-fdt-memory-region-failed and other threads don't seem to have a definitive answer to this.
Hi Graham,
Since you have 2GB DDR, you should not have issues with memory region failed error. Everything should fit withing 512 MB of DDR memory.
It may be an issue with your DTB. You could check the DTB you generated by using:
$ dtc -I dtb -O dts <dtb-name>.dtb
~ Judith
Hi Judith, I was pulled to something else for a few weeks and am back on bringup, now.
We don't have 2GB we have 512MB (single 4Gbit chip). From what I see, it looks like we're running into the same issue in the am625 thread linked previously. When u-boot boots linux we get similar
ERROR: reserving fdt memory region failed
that the bdinfo command returns.
Boot-wise the kernel appears to boot with a few errors and no panics, but we're not getting a login prompt on the serial port.
Hi,
Ok, currently we do not have an example in our SDK using 512 MB of DDR.
You say kernel appears to boot with no panic, can you show where Linux boot fails?
I assume it is not the same log you showed before, since that log does not boot kernel Image.
The following doc has a few more hints on debugging: https://dev.ti.com/tirex/explore/node?node=A__ANjtmn.T3uPBiF9U2lCRWQ__linux_academy_am62x__XaWts8R__LATEST
Use printf()-style debugging when JTAG is not available or not practical.
Maximizing the usefulness of this approach usually requires the early (debug) UART to be configured and activated (which will happen as part of SPL’s board_init_f()
). Most of the critical low-level code on current TI EVMs is executed while the regular console UART is not yet available. If the early UART is not activated, nothing would get printed during failures relating to boot, PMIC setup, clock setup, DDR setup, and other critical stages. This leads to “black screen” failures which provide no feedback as to what the problem may be and how to debug it.
Many U-Boot modules (source files) already contain various forms of debug()
print statements which can be activated on a per-module basis by adding a #define DEBUG
to the top of the source file.
Beyond that, it can be helpful to add print statements throughout the boot flow to trace program execution. For example, the printf statement shown below can be inserted into code to help debug: printf("%s: %d:\n", __func__, __LINE__);
.
Perhaps another method that could be used to debug is shown in the following thread:
~ Judith
latest boot log, with hello world dtb provided in the SDK linux academy. With modifications for 512MB of RAM and removal of nodes that prevent compiling.
U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Aug 30 2023 - 01:37:18 -0700) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 13424 bytes spl_init Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed Authentication passed Authentication passed loaded - jumping to U-Boot... Loading Environment from MMC... *** Warning - No MMC card found, using default environment Starting ATF on ARM64 core... NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty NOTICE: BL31: Built : 05:06:58, Feb 24 2023 U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Aug 30 2023 - 01:37:14 -0700) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') spl_init Trying to boot from MMC2 Authentication passed Authentication passed loaded - jumping to U-Boot... U-Boot 2021.01-00001-g45cb7e44ae-dirty (Aug 30 2023 - 01:37:14 -0700) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK DRAM: 512 MiB MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 Loading Environment from MMC... MMC partition switch failed *** Warning - MMC partition switch failed, using default environment In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 => bdinfo boot_params = 0x0000000000000000 DRAM bank = 0x0000000000000000 -> start = 0x0000000080000000 -> size = 0x0000000020000000 flashstart = 0x0000000000000000 flashsize = 0x0000000000000000 flashoffset = 0x0000000000000000 baudrate = 115200 bps relocaddr = 0x000000009ff10000 reloc off = 0x000000001f710000 Build = 64-bit current eth = ethernet@8000000port@1 ethaddr = 1c:63:49:1f:bb:b9 IP addr = <NULL> fdt_blob = 0x0000000097ee5780 new_fdt = 0x0000000097ee5780 fdt_size = 0x000000000000a660 multi_dtb_fit= 0x0000000000000000 ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) lmb_dump_all: memory.cnt = 0x1 memory.size = 0x0 memory.reg[0x0].base = 0x80000000 .size = 0x20000000 reserved.cnt = 0x1 reserved.size = 0x0 reserved.reg[0x0].base = 0x97ee4380 .size = 0x811bc80 arch_number = 0x0000000000000000 TLB addr = 0x000000009fff0000 irq_sp = 0x0000000097ee5770 sp start = 0x0000000097ee5770 Early malloc usage: 35c8 / 8000 => boot switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 1490 bytes read in 34 ms (42 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 1 bytes read in 34 ms (0 Bytes/s) Already setup. ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 19147264 bytes read in 1552 ms (11.8 MiB/s) ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 41805 bytes read in 39 ms (1 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) Loading Device Tree to 000000008fef2000, end 000000008fffffff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.168-g2c23e6c538 (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 Architecture3 [ 0.000000] Machine model: Texas Instruments AM625 Generic [ 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 2 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x000000009fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009e77ffff] [ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff] [ 0.000000] cma: Failed to reserve 512 MiB [ 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 22 pages/cpu s51288 r8192 d30632 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=20c65cda-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 461560K/524288K available (11200K kernel code, 1162K rwdata, 4308K rodata, 1920K init, 431K bss, 62728K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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=1. [ 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=1 [ 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] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 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.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008469] Console: colour dummy device 80x25 [ 0.013061] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023741] pid_max: default: 32768 minimum: 301 [ 0.028537] LSM: Security Framework initializing [ 0.033307] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.040787] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.050386] rcu: Hierarchical SRCU implementation. [ 0.055575] Platform MSI: msi-controller@1820000 domain created [ 0.061817] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.071038] EFI services will not be available. [ 0.075767] smp: Bringing up secondary CPUs ... [ 0.080406] smp: Brought up 1 node, 1 CPU [ 0.084504] SMP: Total of 1 processors activated. [ 0.089319] CPU features: detected: 32-bit EL0 Support [ 0.094576] CPU features: detected: CRC32 instructions [ 0.107229] CPU: All CPU(s) started at EL2 [ 0.111435] alternatives: patching kernel code [ 0.116948] devtmpfs: initialized [ 0.125837] KASLR disabled due to lack of seed [ 0.130618] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.140594] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.147733] pinctrl core: initialized pinctrl subsystem [ 0.153617] DMI not present or invalid. [ 0.158169] NET: Registered protocol family 16 [ 0.163156] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.170391] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.178335] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.186919] thermal_sys: Registered thermal governor 'step_wise' [ 0.186924] thermal_sys: Registered thermal governor 'power_allocator' [ 0.193604] cpuidle: using governor menu [ 0.204493] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.211468] ASID allocator initialised with 65536 entries [ 0.230458] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.237381] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.244308] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.251165] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.259068] cryptd: max_cpu_qlen set to 1000 [ 0.266342] iommu: Default domain type: Translated [ 0.271709] SCSI subsystem initialized [ 0.276020] mc: Linux media interface: v0.10 [ 0.280428] videodev: Linux video capture interface: v2.00 [ 0.286117] pps_core: LinuxPPS API ver. 1 registered [ 0.291192] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.300541] PTP clock support registered [ 0.304582] EDAC MC: Ver: 3.0.0 [ 0.308447] FPGA manager framework [ 0.312035] Advanced Linux Sound Architecture Driver Initialized. [ 0.319161] clocksource: Switched to clocksource arch_sys_counter [ 0.325663] VFS: Disk quotas dquot_6.6.0 [ 0.329728] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.341447] NET: Registered protocol family 2 [ 0.346100] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.354287] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.362952] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.370907] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.378277] TCP: Hash tables configured (established 4096 bind 4096) [ 0.384912] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.391622] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.398866] NET: Registered protocol family 1 [ 0.403727] RPC: Registered named UNIX socket transport module. [ 0.409815] RPC: Registered udp transport module. [ 0.414625] RPC: Registered tcp transport module. [ 0.419434] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.426024] NET: Registered protocol family 44 [ 0.430580] PCI: CLS 0 bytes, default 64 [ 0.435277] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.447014] Initialise system trusted keyrings [ 0.451854] workingset: timestamp_bits=46 max_order=17 bucket_order=0 [ 0.462233] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.468769] NFS: Registering the id_resolver key type [ 0.474020] Key type id_resolver registered [ 0.478298] Key type id_legacy registered [ 0.482455] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.489311] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.497059] 9p: Installing v9fs 9p2000 file system support [ 0.537326] Key type asymmetric registered [ 0.541549] Asymmetric key parser 'x509' registered [ 0.546605] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.554200] io scheduler mq-deadline registered [ 0.558845] io scheduler kyber registered [ 0.564009] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 0.570345] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 0.581359] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.598286] brd: module loaded [ 0.607318] loop: module loaded [ 0.611096] megasas: 07.714.04.00-rc1 [ 0.617859] tun: Universal TUN/TAP device driver, 1.6 [ 0.623484] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.629925] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.636047] sky2: driver version 1.30 [ 0.640274] VFIO - User Level meta-driver version: 0.3 [ 0.646375] i2c /dev entries driver [ 0.651344] sdhci: Secure Digital Host Controller Interface driver [ 0.657686] sdhci: Copyright(c) Pierre Ossman [ 0.662314] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.668650] ledtrig-cpu: registered to indicate activity on CPUs [ 0.675044] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.682878] optee: probing for conduit method. [ 0.687515] optee: revision 3.20 (8e74d476) [ 0.687754] optee: dynamic shared memory is enabled [ 0.697253] optee: initialized driver [ 0.702448] NET: Registered protocol family 17 [ 0.707234] 9pnet: Installing 9P2000 support [ 0.711685] Key type dns_resolver registered [ 0.716408] Loading compiled-in X.509 certificates [ 0.726969] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided. [ 0.736328] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [ 0.789251] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0 [ 0.795774] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.803996] omap8250 2800000.serial: failed to get alias [ 0.816480] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 0.821836] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:14 UTC (14) [ 0.932557] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present! [ 0.940488] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present! [ 0.948272] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present! [ 0.956349] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 0.975327] ALSA device list: [ 0.978369] No soundcards found. [ 0.981925] Warning: unable to open an initial console. [ 0.987444] Waiting for root device PARTUUID=20c65cda-02...
(that second to last line is a pretty big failure, when looking at the comments in init/main.c, but I'm guessing that's just a symptom of the other issues and will resolve as those issues are resolved
Re: SDK example for 512MB of DDR, should we escalate that through our FAEs?
Thank you for your patience
Hi,
I believe it is already escalated.
For the moment it seems like the rootfs is not being mounted.
=> mmc part Partition Map for MMC device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 273524 c879998c-01 0c Boot 2 276480 30839808 c879998c-02 83 => => run findfdt; run envboot; run init_mmc switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' 1490 bytes read in 3 ms (484.4 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... 1 bytes read in 3 ms (0 Bytes/s) Already setup. => print uuid uuid=c879998c-02 => run get_kern_mmc; run get_fdt_mmc; run run_kern 19147264 bytes read in 204 ms (89.5 MiB/s) 55666 bytes read in 5 ms (10.6 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 000000008ffef000, end 000000008ffff971 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.168-g2c23e6c538 (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 Fri Feb 24 05:59:04 UTC 2023 [ 0.000000] Machine model: Texas Instruments AM625 SK [ 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 0x000000009c800000, size 3 MiB [ 0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB [ 0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009c7fffff] [ 0.000000] node 0: [mem 0x000000009c800000-0x000000009e6fffff] [ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff] [ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff] [ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] cma: Reserved 512 MiB at 0x00000000dd000000 [ 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 22 pages/cpu s51288 r8192 d30632 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=c879998c-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1455840K/2097152K available (11200K kernel code, 1162K rwdata, 4308K rodata, 1920K init, 431K bss, 117024K reserved, 524288K cma-reserved) [ 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=256 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] 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] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080040000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000 [ 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.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008529] Console: colour dummy device 80x25 [ 0.013122] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023804] pid_max: default: 32768 minimum: 301 [ 0.028616] LSM: Security Framework initializing [ 0.033402] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.040982] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.050791] rcu: Hierarchical SRCU implementation. [ 0.055971] Platform MSI: msi-controller@1820000 domain created [ 0.062290] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.071543] EFI services will not be available. [ 0.076468] smp: Bringing up secondary CPUs ... [ 0.081718] Detected VIPT I-cache on CPU1 [ 0.081756] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.081771] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000 [ 0.081833] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.082465] Detected VIPT I-cache on CPU2 [ 0.082490] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.082500] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000 [ 0.082535] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.083134] Detected VIPT I-cache on CPU3 [ 0.083153] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.083163] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000 [ 0.083196] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.083261] smp: Brought up 1 node, 4 CPUs [ 0.162993] SMP: T=> mmc part Partition Map for MMC device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 273524 c879998c-01 0c Boot 2 276480 30839808 c879998c-02 83 => otal of 4 processors activated. [ 0.167806] CPU features: detected: 32-bit EL0 Support [ 0.173076] CPU features: detected: CRC32 instructions [ 0.185789] CPU: All CPU(s) started at EL2 [ 0.189997] alternatives: patching kernel code [ 0.195741] devtmpfs: initialized [ 0.206218] KASLR disabled due to lack of seed [ 0.210973] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.220952] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.242330] pinctrl core: initialized pinctrl subsystem [ 0.248366] DMI not present or invalid. [ 0.252979] NET: Registered protocol family 16 [ 0.259206] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.266549] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.274617] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.283343] thermal_sys: Registered thermal governor 'step_wise' [ 0.283349] thermal_sys: Registered thermal governor 'power_allocator' [ 0.289898] cpuidle: using governor menu [ 0.300801] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.307840] ASID allocator initialised with 65536 entries [ 0.338191] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.345072] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.351937] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.358788] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.366655] cryptd: max_cpu_qlen set to 1000 [ 0.374022] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.383072] vcc_5v0: supplied by vmain_pd [ 0.387515] vcc_3v3_sys: supplied by vmain_pd [ 0.392452] vcc_1v8: supplied by vcc_3v3_sys [ 0.397822] iommu: Default domain type: Translated [ 0.403189] SCSI subsystem initialized [ 0.407444] mc: Linux media interface: v0.10 [ 0.411832] videodev: Linux video capture interface: v2.00 [ 0.417508] pps_core: LinuxPPS API ver. 1 registered [ 0.422583] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.431931] PTP clock support registered [ 0.435973] EDAC MC: Ver: 3.0.0 [ 0.439844] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 0.446980] FPGA manager framework [ 0.450555] Advanced Linux Sound Architecture Driver Initialized. [ 0.457679] clocksource: Switched to clocksource arch_sys_counter [ 0.464135] VFS: Disk quotas dquot_6.6.0 [ 0.468207] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.480588] NET: Registered protocol family 2 [ 0.485340] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.494070] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.502860] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.511064] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.518790] TCP: Hash tables configured (established 16384 bind 16384) [ 0.525690] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.532583] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.540064] NET: Registered protocol family 1 [ 0.544989] RPC: Registered named UNIX socket transport module. [ 0.551066] RPC: Registered udp transport module. [ 0.555898] RPC: Registered tcp transport module. [ 0.560711] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.567303] NET: Registered protocol family 44 [ 0.571861] PCI: CLS 0 bytes, default 64 [ 0.576686] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.588774] Initialise system trusted keyrings [ 0.593549] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.603749] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.610308] NFS: Registering the id_resolver key type [ 0.615550] Key type id_resolver registered [ 0.619828] Key type id_legacy registered [ 0.623983] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.630845] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.638607] 9p: Installing v9fs 9p2000 file system support [ 0.679467] Key type asymmetric registered [ 0.683665] Asymmetric key parser 'x509' registered [ 0.688685] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.696250] io scheduler mq-deadline registered [ 0.700882] io scheduler kyber registered [ 0.707108] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 0.713411] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 0.726774] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.746671] brd: module loaded [ 0.756765] loop: module loaded [ 0.760923] megasas: 07.714.04.00-rc1 [ 0.768341] tun: Universal TUN/TAP device driver, 1.6 [ 0.774153] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.780576] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.786683] sky2: driver version 1.30 [ 0.791376] VFIO - User Level meta-driver version: 0.3 [ 0.797659] i2c /dev entries driver [ 0.802996] sdhci: Secure Digital Host Controller Interface driver [ 0.809347] sdhci: Copyright(c) Pierre Ossman [ 0.814119] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.820999] ledtrig-cpu: registered to indicate activity on CPUs [ 0.827519] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.835606] optee: probing for conduit method. [ 0.840207] optee: revision 3.20 (8e74d476) [ 0.840510] optee: dynamic shared memory is enabled [ 0.850012] optee: initialized driver [ 0.855790] NET: Registered protocol family 17 [ 0.860504] 9pnet: Installing 9P2000 support [ 0.864965] Key type dns_resolver registered [ 0.869753] Loading compiled-in X.509 certificates [ 0.886198] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided. [ 0.895520] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [ 0.961788] davinci-mcasp 2b10000.mcasp: IRQ common not found [ 0.970211] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0 [ 0.976659] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.985792] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz [ 0.993410] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz [ 0.999710] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created [ 1.008076] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created [ 1.017337] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created [ 1.026801] ti-udma 485c0100.dma-controller: Number of rings: 82 [ 1.034814] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18) [ 1.045872] ti-udma 485c0000.dma-controller: Number of rings: 150 [ 1.055671] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15) [ 1.065786] printk: console [ttyS2] disabled [ 1.070231] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250 [ 1.079003] printk: console [ttyS2] enabled [ 1.079003] printk: console [ttyS2] enabled [ 1.087448] printk: bootconsole [ns16550a0] disabled [ 1.087448] printk: bootconsole [ns16550a0] disabled [ 1.102196] spi-nor spi0.0: s28hs512t (65536 Kbytes) [ 1.107217] 7 fixed-partitions partitions found on MTD device fc40000.spi.0 [ 1.114170] Creating 7 MTD partitions on "fc40000.spi.0": [ 1.119573] 0x000000000000-0x000000080000 : "ospi.tiboot3" [ 1.126306] 0x000000080000-0x000000280000 : "ospi.tispl" [ 1.132721] 0x000000280000-0x000000680000 : "ospi.u-boot" [ 1.139140] 0x000000680000-0x0000006c0000 : "ospi.env" [ 1.145284] 0x0000006c0000-0x000000700000 : "ospi.env.backup" [ 1.152057] 0x000000800000-0x000003fc0000 : "ospi.rootfs" [ 1.158473] 0x000003fc0000-0x000004000000 : "ospi.phypattern" [ 1.175070] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.221689] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.231311] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867 [ 1.239410] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867 [ 1.247587] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 1.260430] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 1.267557] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 1.274218] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0 [ 1.284447] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 1.294647] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 1.299844] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:01:20 UTC (80) [ 1.412357] mmc0: CQHCI version 5.10 [ 1.414154] davinci-mcasp 2b10000.mcasp: IRQ common not found [ 1.433654] pca953x 1-0022: supply vcc not found, using dummy regulator [ 1.440486] pca953x 1-0022: using AI [ 1.462341] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.473218] sii902x 1-003b: supply iovcc not found, using dummy regulator [ 1.480137] sii902x 1-003b: supply cvcc12 not found, using dummy regulator [ 1.489985] i2c i2c-1: Added multiplexed i2c bus 2 [ 1.496792] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0 [ 1.504534] tidss 30200000.dss: [drm] Cannot find any crtc or sizes [ 1.514488] vdd_mmc1: supplied by vcc_3v3_sys [ 1.520664] wlan_lten: supplied by vcc_3v3_sys [ 1.526859] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present! [ 1.534189] wlan_en: supplied by wlan_lten [ 1.534203] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present! [ 1.538541] mmc2: CQHCI version 5.10 [ 1.538554] mmc1: CQHCI version 5.10 [ 1.545625] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present! [ 1.560220] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.567864] mmc0: Command Queue Engine enabled [ 1.572374] mmc0: new HS200 MMC card at address 0001 [ 1.578243] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 1.578246] mmcblk0: mmc0:0001 S0J56X 14.8 GiB [ 1.578504] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB [ 1.585807] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit [ 1.590748] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB [ 1.609993] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0) [ 1.620724] mmcblk0: [ 1.627399] ALSA device list: [ 1.630390] No soundcards found. [ 1.634282] Waiting for root device PARTUUID=c879998c-02... [ 1.671302] mmc1: new ultra high speed SDR104 SDHC card at address aaaa [ 1.678660] mmcblk1: mmc1:aaaa SC16G 14.8 GiB [ 1.688426] mmcblk1: p1 p2 [ 1.797508] EXT4-fs (mmcblk1p2): recovery complete [ 1.805776] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.813941] VFS: Mounted root (ext4 filesystem) on device 179:98. [ 1.823483] devtmpfs: mounted [ 1.827789] Freeing unused kernel memory: 1920K [ 1.832418] Run /sbin/init as init process [ 1.959867] systemd[1]: System time before build time, advancing clock. [ 2.005166] NET: Registered protocol family 10 [ 2.010771] Segment Routing with IPv6 [ 2.038038] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid) [ 2.060025] systemd[1]: Detected architecture arm64. Welcome to Arago 2021.09! [ 2.117226] systemd[1]: Set hostname to <am62xx-evm>. [ 2.346467] systemd[1]: /lib/systemd/system/startwlansta.service:7: Unknown key name 'After' in section 'Service', ignoring. [ 2.361455] systemd[1]: /lib/systemd/system/startwlanap.service:7: Unknown key name 'After' in section 'Service', ignoring. [ 2.386081] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring. [ 2.417071] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly. [ 2.518258] random: systemd: uninitialized urandom read (16 bytes read) [ 2.528519] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 2.549951] random: systemd: uninitialized urandom read (16 bytes read) [ 2.558353] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 2.581842] random: systemd: uninitialized urandom read (16 bytes read) [ 2.589959] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 2.610171] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 2.633987] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 2.657962] systemd[1]: Reached target Paths. [ OK ] Reached target Paths. [ 2.673825] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 2.693819] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 2.709817] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 2.749510] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 2.774027] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 2.801297] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 2.822215] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 2.849176] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 2.858023] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 2.882447] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 2.898577] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 2.922435] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 2.942205] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 2.966542] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 2.986526] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 3.014683] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 3.045465] systemd[1]: Mounting Temporary Directory (/tmp)... Mounting Temporary Directory (/tmp)... [ 3.066846] systemd[1]: Starting Create list of static device nodes for the current kernel... Starting Create list of st…odes for the current kernel... [ 3.103377] systemd[1]: Starting Start psplash boot splash screen... Starting Start psplash boot splash screen... [ 3.130554] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 3.150139] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 3.165944] systemd[1]: Starting Journal Service... Starting Journal Service... [ 3.195832] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 3.215001] systemd[1]: Starting Remount Root and Kernel File Systems... [ 3.218887] cryptodev: loading out-of-tree module taints kernel. Starting Remount Root and Kernel File Systems cryptodev: driver 1.10 loaded. [0m... [ 3.238489] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [ 3.250947] systemd[1]: Starting udev Coldplug all Devices... Starting udev Coldplug all Devices... [ 3.272257] systemd[1]: Started RPC Bind. [ OK ] Started RPC Bind. [ 3.290602] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory (/tmp). [ OK ] Started Create list of sta… nodes for the current kernel. [FAILED] Failed to start Start psplash boot splash screen. See 'systemctl status psplash-start.service' for details. [DEPEND] Dependency failed for Star…progress communication helper. [ OK ] Started Load Kernel Modules. [ OK ] Started Remount Root and Kernel File Systems. Mounting Kernel Configuration File System... [ 3.522623] random: systemd: uninitialized urandom read (16 bytes read) Starting Flush Journal to Persistent Storage 3.535585] random: systemd-journal: uninitialized urandom read (16 bytes read) 0m... [ 3.550422] systemd-journald[200]: Received client request to flush runtime journal. [ 3.558523] random: systemd: uninitialized urandom read (16 bytes read) Starting Apply Kernel Variables... Starting Create Static Device Nodes in /dev... [ OK ] Mounted Kernel Configuration File System. [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). Mounting /media/ram... Mounting /var/volatile... Starting udev Kernel Device Manager... [ OK ] Started udev Coldplug all Devices. [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. Starting udev Wait for Complete Device Initialization... Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Started udev Kernel Device Manager. [ OK ] Started Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Set. [ OK ] Reached target System Time Synchronized. [ 4.308775] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000 [ 4.324037] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode [ 4.358501] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device [ 4.366203] remoteproc remoteproc0: 5000000.m4fss is available [ 4.376881] remoteproc remoteproc0: powering up 5000000.m4fss [ 4.382770] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860 [ 4.394144] remoteproc0#vdev0buffer: assigned reserved memory node m4f-dma-memory@9cb00000 [ 4.402794] remoteproc0#vdev0buffer: registered virtio0 (type 7) [ 4.409029] remoteproc remoteproc0: remote processor 5000000.m4fss is now up [ 4.475258] virtio_rpmsg_bus virtio0: rpmsg host is online [ 4.476331] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd [ 4.489064] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe [ 4.531612] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ 4.551865] platform 78000000.r5f: configured R5F for IPC-only mode [ 4.577261] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000 [ 4.586299] remoteproc remoteproc1: 78000000.r5f is available [ 4.592329] remoteproc remoteproc1: attaching to 78000000.r5f [ 4.603434] platform 78000000.r5f: R5F core initialized in IPC-only mode [ 4.610259] remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9da00000 [ 4.620054] virtio_rpmsg_bus virtio1: rpmsg host is online [ 4.620561] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd [ 4.632773] remoteproc1#vdev0buffer: registered virtio1 (type 7) [ 4.634604] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe [ 4.639757] remoteproc remoteproc1: remote processor 78000000.r5f is now attached [ 4.710606] PVR_K: 229: Read BVNC 33.15.11.3 from HW device registers [ 4.720478] PVR_K: 229: RGX Device registered with BVNC 33.15.11.3 [ 4.732991] [drm] Initialized pvr 1.15.6133109 20170530 for fd00000.gpu on minor 1 [ 4.803707] random: systemd: uninitialized urandom read (16 bytes read) [ 4.811770] random: systemd: uninitialized urandom read (16 bytes read) [ 4.832253] random: systemd: uninitialized urandom read (16 bytes read) [ 5.629756] random: crng init done [ 5.633186] random: 146 urandom warning(s) missed due to ratelimiting [ OK ] Started Load/Save Random Seed. [ 5.804143] remoteproc remoteproc2: 30074000.pru is available [ 5.806105] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22 [ 5.831160] remoteproc remoteproc3: 30078000.pru is available [ 5.859792] tps6598x 0-003f: Unable to find the interrupt, switching to polling Starting Start psplash boot splash screen... [FAILED] Failed to start Start psplash boot splash screen. [ 5.924401] usbcore: registered new interface driver usbfs [ 5.930107] usbcore: registered new interface driver hub See 'systemctl status psplash-start.service' for details. [ 5.935639] usbcore: registered new device driver usb [DEPEND] Dependency failed for Star…progress communication helper. [ 5.967754] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 5.973581] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [ OK ] Reached target Hardware activated U[ 5.983499] xhci-hcd xhci-hcd.2.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010 SB gadget. [ 5.996448] xhci-hcd xhci-hcd.2.auto: irq 495, io mem 0x31100000 [ 6.003943] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 6.009579] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2 [ 6.017348] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed [ 6.024124] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 6.032456] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.040455] usb usb1: Product: xHCI Host Controller [ 6.040469] usb usb1: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd [ OK ] Created slice system-systemd\x2dfsc[ 6.052148] usb usb1: SerialNumber: xhci-hcd.2.auto k.slice. [ 6.063514] hub 1-0:1.0: USB hub found [ 6.067699] hub 1-0:1.0: 1 port detected [ 6.073162] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 6.082035] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 6.090380] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 6.097804] usb usb2: Product: xHCI Host Controller [ 6.102777] usb usb2: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd [ 6.109472] usb usb2: SerialNumber: xhci-hcd.2.auto [ 6.115235] hub 2-0:1.0: USB hub found [ 6.119178] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19) [ OK ] Found device /dev/mmcblk1p1. Starting File System Check on /dev/mmcblk1p1... [ OK ] Started udev Wait for Complete Device Initialization. [ OK ] Started Hardware RNG Entropy Gatherer Daemon. [ OK ] Reached target System Initialization. [ OK ] Started Daily rotation of log files. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API. [ OK ] Listening on dropbear.socket. Starting Reboot and dump vmcore via kexec... [ OK ] Listening on Docker Socket for the API. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting Save/Restore Sound Card State... [ OK ] Started Job spooling tools. [ OK ] Started Periodic Command Scheduler. [ OK ] Started D-Bus System Message Bus. Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... [ OK ] Started irqbalance daemon. Starting rc.pvr.service... Starting startwlanap... Starting startwlansta... Starting Login Service... [ OK ] Started TEE Supplicant. [ OK ] Started File System Check on /dev/mmcblk1p1. [ OK ] Started Reboot and dump vmcore via kexec. [ OK ] Started Save/Restore Sound Card State. [ OK ] Started IPv6 Packet Filtering Framework. [ OK ] Started IPv4 Packet Filtering Framework. [ OK ] Started startwlansta. [ OK ] Started startwlanap. [ OK ] Reached target Network (Pre). [ OK ] Reached target Sound Card. Mounting /run/media/mmcblk1p1... Starting Network Service... [ 6.543143] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ OK ] Mounted /run/media/mmcblk1p1. [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ 6.634679] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ OK ] Started Network Service. Starting Wait for Network to be Configured... Starting Network Name Resolution... [ 6.822616] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL) [ 6.837775] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 6.880221] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL) [ 6.901188] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ OK ] Started Login Service. [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting Enable and configure wl18xx bluetooth stack... [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Simple Network Ma…ent Protocol (SNMP) Daemon.... Starting Permit User Sessions... [ OK ] Started Permit User Sessions. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started Enable and configure wl18xx bluetooth stack. [ OK ] Started rc.pvr.service. Starting weston.service... [ OK ] Started Simple Network Man…ement Protocol (SNMP) Daemon.. [ 7.863891] startwlanap.sh[741]: sed: unmatched '/' [ OK ] Started Synchronize System and HW clocks. [ 7.875998] startwlanap.sh[742]: adding wlan1 interface [ 7.895908] startwlanap.sh[744]: command failed: No such file or directory (-2) [ 7.933650] startwlanap.sh[745]: Configuration file: /usr/share/wl18xx/hostapd.conf [ 7.988819] startwlanap.sh[745]: Could not read interface wlan1 flags: No such device [ 7.989598] startwlanap.sh[745]: nl80211: Driver does not support authentication/association or connect commands [ 7.989928] startwlanap.sh[745]: nl80211: deinit ifname=wlan1 disabled_11b_rates=0 [ 8.008867] startwlanap.sh[745]: Could not read interface wlan1 flags: No such device [ 8.009377] startwlanap.sh[745]: nl80211 driver initialization failed. [ 8.009664] startwlanap.sh[745]: wlan1: interface state UNINITIALIZED->DISABLED [ 8.009892] startwlanap.sh[745]: wlan1: AP-DISABLED [ 8.010006] startwlanap.sh[745]: wlan1: CTRL-EVENT-TERMINATING [ 8.010120] startwlanap.sh[745]: hostapd_free_hapd_data: Interface wlan1 wasn't started [ 8.945906] startwlanap.sh[844]: SIOCSIFADDR: No such device [ 8.973153] startwlanap.sh[844]: wlan1: ERROR while getting interface flags: No such device [ 8.996637] startwlanap.sh[844]: SIOCSIFNETMASK: No such device [ 9.021370] startwlanap.sh[844]: wlan1: ERROR while getting interface flags: No such device *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: autoconf bash-dev bash bc binutils cifs-utils coreutils-stdbuf coreutils cpio cpp-symlinks cpp dosfstools elfutils g++-symlinks g++ gawk gcc-symlinks gcc gdb gdbserver gettext glmark2 gstreamer1.0-libav gzip hidapi less libasm1 libbfd libdw1 libelf1 libgdbm-compat4 libgdbm-dev libgdbm6 libgettextlib libgettextsrc libgmp10 libidn2-0 libmpc3 libmpfr6 libreadline-dev libreadline8 libunistring2 m4-dev m4 make nettle parted tar which If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Started Print notice about GPLv3 packages. [ 10.211797] startwlanap.sh[927]: iperf3: error - unable to start listener for connections: Cannot assign requested address [ 10.228590] startwlanap.sh[927]: iperf3: exiting [ OK ] Started weston.service. Starting telnetd.service... [ OK ] Started telnetd.service. Starting hmi_demo.service... Starting LSB: Expand Rootfs of boot device... [ OK ] Started LSB: Expand Rootfs of boot device. [ 11.069455] PVR_K: 934: RGX Firmware image 'rgx.fw.33.15.11.3' loaded [ 11.099796] PVR_K: 934: Shader binary image 'rgx.sh.33.15.11.3' loaded [ OK ] Started hmi_demo.service. Stopping hmi_demo.service... [ OK ] Stopped hmi_demo.service. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am62xx-evm ttyS2 Arago 2021.09 am62xx-evm ttyS2 am62xx-evm login:
OK I first ran "mmc part" it was telling me unknown partition table type. So I reflashed my SD card using bmap-tool. Then I realized when running "mmc list" and "mmc dev" that u-boot was defaulting to the blank eMMC. (All that is to say: my UUIDs have changed since yesterday.)
After running "mmc dev 1", "mmc part" returns the partitions and UUIDs correctly.
If I let the boot run uninterfered or if I follow the commands you ran in your log above, the UUID matches the rootfs UUID from "mmc part"
See attached log.
My suspicion is that previous errors from loading/booting are the actual culprit.
U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Aug 30 2023 - 02:00:39 -0700) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 13424 bytes spl_init Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed Authentication passed Authentication passed loaded - jumping to U-Boot... Loading Environment from MMC... *** Warning - No MMC card found, using default environment Starting ATF on ARM64 core... NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty NOTICE: BL31: Built : 05:06:58, Feb 24 2023 U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Aug 30 2023 - 02:00:35 -0700) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') spl_init Trying to boot from MMC2 Authentication passed Authentication passed loaded - jumping to U-Boot... U-Boot 2021.01-00001-g45cb7e44ae-dirty (Aug 30 2023 - 02:00:35 -0700) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK DRAM: 512 MiB MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 Loading Environment from MMC... MMC partition switch failed *** Warning - MMC partition switch failed, using default environment In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 => mmc part ## Unknown partition table type 0 => mmc dev switch to partitions #0, OK mmc0(part 0) is current device => mmc list mmc@fa10000: 0 (eMMC) mmc@fa00000: 1 mmc@fa20000: 2 => mmc dev 1 switch to partitions #0, OK mmc1 is current device => mmc list mmc@fa10000: 0 (eMMC) mmc@fa00000: 1 (SD) mmc@fa20000: 2 => mmc part Partition Map for MMC device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 273522 ec635e3c-01 0c Boot 2 276480 651408 ec635e3c-02 83 => run findfdt => run envboot switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 1490 bytes read in 34 ms (42 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 1 bytes read in 33 ms (0 Bytes/s) Already setup. => run init_mmc => print uuid uuid=ec635e3c-02 => run get_kern_mmc ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 19147264 bytes read in 1585 ms (11.5 MiB/s) => run get_fdt_mmc ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 41805 bytes read in 39 ms (1 MiB/s) => run run_kern ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) Loading Device Tree to 000000008fff2000, end 000000008ffff34c ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.168-g2c23e6c538 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile3 [ 0.000000] Machine model: Texas Instruments AM625 Generic [ 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 2 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x000000009fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009e77ffff] [ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff] [ 0.000000] cma: Failed to reserve 512 MiB [ 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 22 pages/cpu s51288 r8192 d30632 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=ec635e3c-02 rw roott [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 461560K/524288K available (11200K kernel code, 1162K rwdata, 4308K rodata, 1920K init, 431K bss, 62728K r) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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=1. [ 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=1 [ 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] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 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.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008466] Console: colour dummy device 80x25 [ 0.013056] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023738] pid_max: default: 32768 minimum: 301 [ 0.028538] LSM: Security Framework initializing [ 0.033308] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.040787] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.050384] rcu: Hierarchical SRCU implementation. [ 0.055567] Platform MSI: msi-controller@1820000 domain created [ 0.061810] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.071033] EFI services will not be available. [ 0.075760] smp: Bringing up secondary CPUs ... [ 0.080399] smp: Brought up 1 node, 1 CPU [ 0.084497] SMP: Total of 1 processors activated. [ 0.089313] CPU features: detected: 32-bit EL0 Support [ 0.094569] CPU features: detected: CRC32 instructions [ 0.107209] CPU: All CPU(s) started at EL2 [ 0.111414] alternatives: patching kernel code [ 0.116931] devtmpfs: initialized [ 0.125822] KASLR disabled due to lack of seed [ 0.130598] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.140574] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.147716] pinctrl core: initialized pinctrl subsystem [ 0.153595] DMI not present or invalid. [ 0.158142] NET: Registered protocol family 16 [ 0.163134] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.170370] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.178314] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.186899] thermal_sys: Registered thermal governor 'step_wise' [ 0.186903] thermal_sys: Registered thermal governor 'power_allocator' [ 0.193582] cpuidle: using governor menu [ 0.204468] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.211446] ASID allocator initialised with 65536 entries [ 0.230446] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.237368] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.244296] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.251152] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.259058] cryptd: max_cpu_qlen set to 1000 [ 0.266325] iommu: Default domain type: Translated [ 0.271697] SCSI subsystem initialized [ 0.276002] mc: Linux media interface: v0.10 [ 0.280410] videodev: Linux video capture interface: v2.00 [ 0.286098] pps_core: LinuxPPS API ver. 1 registered [ 0.291175] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.300524] PTP clock support registered [ 0.304564] EDAC MC: Ver: 3.0.0 [ 0.308432] FPGA manager framework [ 0.312015] Advanced Linux Sound Architecture Driver Initialized. [ 0.319142] clocksource: Switched to clocksource arch_sys_counter [ 0.325645] VFS: Disk quotas dquot_6.6.0 [ 0.329712] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.341429] NET: Registered protocol family 2 [ 0.346081] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.354277] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.362948] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.370903] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.378276] TCP: Hash tables configured (established 4096 bind 4096) [ 0.384913] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.391619] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.398862] NET: Registered protocol family 1 [ 0.403717] RPC: Registered named UNIX socket transport module. [ 0.409804] RPC: Registered udp transport module. [ 0.414614] RPC: Registered tcp transport module. [ 0.419422] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.426012] NET: Registered protocol family 44 [ 0.430567] PCI: CLS 0 bytes, default 64 [ 0.435265] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.447003] Initialise system trusted keyrings [ 0.451845] workingset: timestamp_bits=46 max_order=17 bucket_order=0 [ 0.462227] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.468765] NFS: Registering the id_resolver key type [ 0.474022] Key type id_resolver registered [ 0.478301] Key type id_legacy registered [ 0.482459] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.489315] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.497065] 9p: Installing v9fs 9p2000 file system support [ 0.536916] Key type asymmetric registered [ 0.541141] Asymmetric key parser 'x509' registered [ 0.546196] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.553791] io scheduler mq-deadline registered [ 0.558436] io scheduler kyber registered [ 0.563602] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 0.569932] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 0.580973] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.597862] brd: module loaded [ 0.606860] loop: module loaded [ 0.610704] megasas: 07.714.04.00-rc1 [ 0.617469] tun: Universal TUN/TAP device driver, 1.6 [ 0.623070] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.629512] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.635636] sky2: driver version 1.30 [ 0.639864] VFIO - User Level meta-driver version: 0.3 [ 0.645957] i2c /dev entries driver [ 0.650846] sdhci: Secure Digital Host Controller Interface driver [ 0.657234] sdhci: Copyright(c) Pierre Ossman [ 0.661867] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.668205] ledtrig-cpu: registered to indicate activity on CPUs [ 0.674603] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.682432] optee: probing for conduit method. [ 0.687065] optee: revision 3.20 (8e74d476) [ 0.687326] optee: dynamic shared memory is enabled [ 0.696812] optee: initialized driver [ 0.702002] NET: Registered protocol family 17 [ 0.706761] 9pnet: Installing 9P2000 support [ 0.711233] Key type dns_resolver registered [ 0.715961] Loading compiled-in X.509 certificates [ 0.726526] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided. [ 0.735879] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [ 0.788753] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0 [ 0.795275] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.803494] omap8250 2800000.serial: failed to get alias [ 0.816097] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 0.821441] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:03:53 UTC (233) [ 0.932218] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present! [ 0.940137] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present! [ 0.947919] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present! [ 0.956482] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 0.974783] ALSA device list: [ 0.977846] No soundcards found. [ 0.981395] Warning: unable to open an initial console. [ 0.986886] Waiting for root device PARTUUID=ec635e3c-02...
Hi,
It seems like kernel was enable to open /dev/console:
/* Open /dev/console, for stdin/stdout/stderr, this should never fail */ void __init console_on_rootfs(void) { struct file *file = filp_open("/dev/console", O_RDWR, 0); if (IS_ERR(file)) { pr_err("Warning: unable to open an initial console.\n"); return; }
This leads back to the following:
Establish an initial minimal pinmux setup for the custom board: A minimal pinmux setup is needed to avoid signal conflicts that may occur when running a TI EVM pinmux configuration on a custom board that has different pinmux requirements. Pinmux performed in U-Boot is usually limited to: the peripherals that are directly involved in the boot process (such as GPMC, DDR, MMC, SPI, etc.) an I2C module used for PMIC connectivity the console UART The TI-provided Pin MUX Utility in SysConfig is the recommended way to generate pinmux settings for a custom board. Customize console UART settings: Configure the desired console index using the Kconfig tool.
I had left the hello world kernel device tree relatively untouched since I was focused on the u-boot errors. (I had disabled a few nodes that prevented compiling and configured the memory node for 512MB).
The hello world device tree only has main_uart0 and main_uart1 enabled, but it needed an alias to tell the kernel that main_uart0 is /dev/ttyS2. I added that which solved the console error.
[ 0.716809] Loading compiled-in X.509 certificates [ 0.727414] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided. [ 0.736726] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') [ 0.789602] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0 [ 0.796124] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.804731] printk: console [ttyS2] disabled [ 0.809240] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250 [ 0.818029] printk: console [ttyS2] enabled [ 0.818029] printk: console [ttyS2] enabled [ 0.826480] printk: bootconsole [ns16550a0] disabled [ 0.826480] printk: bootconsole [ns16550a0] disabled [ 0.843775] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 0.849021] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:14 UTC (14) [ 0.959567] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present! [ 0.967302] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present! [ 0.974817] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present! [ 0.982727] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.001886] ALSA device list: [ 1.004869] No soundcards found. [ 1.008759] Waiting for root device PARTUUID=ec635e3c-02...
At this point I'm getting to a login prompt and have plenty of errors to resolve. But I do want to focus back on the "memory-region errors" from u-boot and the "cma: Failed to reserve 512 MiB" from Linux
U-Boot SPL 2021.01-00002-g8bfc0bf03e-dirty (Aug 31 2023 - 15:13:29 -0700) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') SPL initial stack usage: 13424 bytes spl_init Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed Authentication passed Authentication passed loaded - jumping to U-Boot... Loading Environment from MMC... *** Warning - No MMC card found, using default environment Starting ATF on ARM64 core... NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty NOTICE: BL31: Built : 05:06:58, Feb 24 2023 U-Boot SPL 2021.01-00002-g8bfc0bf03e-dirty (Aug 31 2023 - 15:13:25 -0700) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar') spl_init Trying to boot from MMC2 Authentication passed Authentication passed loaded - jumping to U-Boot... U-Boot 2021.01-00002-g8bfc0bf03e-dirty (Aug 31 2023 - 15:13:25 -0700) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK DRAM: 512 MiB MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 Loading Environment from MMC... MMC: block number 0x3500 exceeds max(0x2000) *** Warning - !read failed, using default environment 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 Failed to load 'boot.scr' ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 1490 bytes read in 35 ms (41 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 1 bytes read in 33 ms (0 Bytes/s) Already setup. ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 19147264 bytes read in 1585 ms (11.5 MiB/s) ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) 43685 bytes read in 40 ms (1 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 ERROR: reserving fdt memory region failed (addr=9c800000 size=300000) ERROR: reserving fdt memory region failed (addr=9cb00000 size=100000) ERROR: reserving fdt memory region failed (addr=9cc00000 size=e00000) ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000) ERROR: reserving fdt memory region failed (addr=9e780000 size=80000) ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000) Loading Device Tree to 000000008fef2000, end 000000008fffffff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.168-g2c23e6c538 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain f3 [ 0.000000] Machine model: Texas Instruments AM625 Generic [ 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 0x000000009c800000, size 3 MiB [ 0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB [ 0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 2 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x000000009fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009c7fffff] [ 0.000000] node 0: [mem 0x000000009c800000-0x000000009d9fffff] [ 0.000000] node 0: [mem 0x000000009da00000-0x000000009dafffff] [ 0.000000] node 0: [mem 0x000000009db00000-0x000000009e6fffff] [ 0.000000] node 0: [mem 0x000000009e700000-0x000000009e77ffff] [ 0.000000] node 0: [mem 0x000000009e780000-0x000000009fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff] [ 0.000000] cma: Failed to reserve 512 MiB [ 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 22 pages/cpu s51288 r8192 d30632 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=ec6t [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 430888K/524288K available (11200K kernel code, 1162K rwdata, 4308K rodata, 1920K init, 43) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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=1. [ 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=1 [ 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] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 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: 4407s [ 0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008472] Console: colour dummy device 80x25 [ 0.013062] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=8) [ 0.023744] pid_max: default: 32768 minimum: 301 [ 0.028542] LSM: Security Framework initializing [ 0.033313] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.040793] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.050378] rcu: Hierarchical SRCU implementation. [ 0.055563] Platform MSI: msi-controller@1820000 domain created [ 0.061819] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.071044] EFI services will not be available. [ 0.075772] smp: Bringing up secondary CPUs ... [ 0.080413] smp: Brought up 1 node, 1 CPU [ 0.084511] SMP: Total of 1 processors activated. [ 0.089326] CPU features: detected: 32-bit EL0 Support [ 0.094583] CPU features: detected: CRC32 instructions [ 0.107235] CPU: All CPU(s) started at EL2 [ 0.111439] alternatives: patching kernel code [ 0.116950] devtmpfs: initialized [ 0.126015] KASLR disabled due to lack of seed [ 0.130789] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.140767] futex hash table entries: 256 (order: 2, 16384 bytes, linear) [ 0.147908] pinctrl core: initialized pinctrl subsystem [ 0.153805] DMI not present or invalid. [ 0.158345] NET: Registered protocol family 16 [ 0.163342] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.170579] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.178523] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.187108] thermal_sys: Registered thermal governor 'step_wise' [ 0.187113] thermal_sys: Registered thermal governor 'power_allocator' [ 0.193784] cpuidle: using governor menu [ 0.204684] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.211659] ASID allocator initialised with 65536 entries [ 0.231642] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.238570] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.245486] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.252342] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.260235] cryptd: max_cpu_qlen set to 1000 [ 0.267538] iommu: Default domain type: Translated [ 0.272900] SCSI subsystem initialized [ 0.277212] mc: Linux media interface: v0.10 [ 0.281622] videodev: Linux video capture interface: v2.00 [ 0.287307] pps_core: LinuxPPS API ver. 1 registered [ 0.292383] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.301733] PTP clock support registered [ 0.305774] EDAC MC: Ver: 3.0.0 [ 0.309659] FPGA manager framework [ 0.313244] Advanced Linux Sound Architecture Driver Initialized. [ 0.320352] clocksource: Switched to clocksource arch_sys_counter [ 0.326854] VFS: Disk quotas dquot_6.6.0 [ 0.330919] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.342674] NET: Registered protocol family 2 [ 0.347326] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.355514] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.364181] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.372138] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.379509] TCP: Hash tables configured (established 4096 bind 4096) [ 0.386150] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.392858] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.400100] NET: Registered protocol family 1 [ 0.404948] RPC: Registered named UNIX socket transport module. [ 0.411033] RPC: Registered udp transport module. [ 0.415843] RPC: Registered tcp transport module. [ 0.420652] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.427243] NET: Registered protocol family 44 [ 0.431799] PCI: CLS 0 bytes, default 64 [ 0.436502] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 0.448297] Initialise system trusted keyrings [ 0.453135] workingset: timestamp_bits=46 max_order=17 bucket_order=0 [ 0.463490] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.470044] NFS: Registering the id_resolver key type [ 0.475305] Key type id_resolver registered [ 0.479583] Key type id_legacy registered [ 0.483738] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.490595] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.498340] 9p: Installing v9fs 9p2000 file system support [ 0.538723] Key type asymmetric registered [ 0.542949] Asymmetric key parser 'x509' registered [ 0.548003] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.555597] io scheduler mq-deadline registered [ 0.560242] io scheduler kyber registered [ 0.565429] pinctrl-single 4084000.pinctrl: 34 pins, size 136 [ 0.571773] pinctrl-single f4000.pinctrl: 171 pins, size 684 [ 0.583068] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.600150] brd: module loaded [ 0.609223] loop: module loaded [ 0.613046] megasas: 07.714.04.00-rc1 [ 0.619794] tun: Universal TUN/TAP device driver, 1.6 [ 0.625443] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.631883] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.637998] sky2: driver version 1.30 [ 0.642250] VFIO - User Level meta-driver version: 0.3 [ 0.648399] i2c /dev entries driver [ 0.653288] sdhci: Secure Digital Host Controller Interface driver [ 0.659666] sdhci: Copyright(c) Pierre Ossman [ 0.664475] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.670840] ledtrig-cpu: registered to indicate activity on CPUs [ 0.677233] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.685118] optee: probing for conduit method. [ 0.689720] optee: revision 3.20 (8e74d476) [ 0.689975] optee: dynamic shared memory is enabled [ 0.699463] optee: initialized driver [ 0.704755] NET: Registered protocol family 17 [ 0.709470] 9pnet: Installing 9P2000 support [ 0.713927] Key type dns_resolver registered [ 0.718650] Loading compiled-in X.509 certificates [ 0.730093] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided. [ 0.739460] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar) [ 0.793460] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0 [ 0.799963] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.809220] printk: console [ttyS2] disabled [ 0.813746] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250 [ 0.822536] printk: console [ttyS2] enabled [ 0.822536] printk: console [ttyS2] enabled [ 0.830989] printk: bootconsole [ns16550a0] disabled [ 0.830989] printk: bootconsole [ns16550a0] disabled [ 0.848413] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 0.853647] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:16 UTC (16) [ 0.965097] mmc1: CQHCI version 5.10 [ 0.969951] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present! [ 0.978292] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present! [ 0.985963] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present! [ 0.993896] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.013023] ALSA device list: [ 1.015999] No soundcards found. [ 1.019423] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 1.029046] Waiting for root device PARTUUID=ec635e3c-02... [ 1.062489] mmc1: new SDHC card at address 0001 [ 1.067774] mmcblk1: mmc1:0001 ASTC 7.32 GiB [ 1.074000] mmcblk1: p1 p2 [ 1.152521] EXT4-fs (mmcblk1p2): recovery complete [ 1.158531] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.166699] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.173940] devtmpfs: mounted [ 1.178289] Freeing unused kernel memory: 1920K [ 1.182934] Run /sbin/init as init process [ 1.746317] systemd[1]: System time before build time, advancing clock. [ 1.891522] NET: Registered protocol family 10 [ 1.896905] Segment Routing with IPv6 [ 1.970519] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +S) [ 1.992579] systemd[1]: Detected architecture arm64. Welcome to Arago 2021.09! [ 2.021553] systemd[1]: Set hostname to <am62xx-evm>. [ 2.536726] random: systemd: uninitialized urandom read (16 bytes read) [ 2.546530] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 2.568551] random: systemd: uninitialized urandom read (16 bytes read) [ 2.576539] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 2.600521] random: systemd: uninitialized urandom read (16 bytes read) [ 2.608210] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 2.628836] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 2.652677] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 2.676631] systemd[1]: Reached target Paths. [ OK ] Reached target Paths. [ 2.696499] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 2.716543] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 2.736486] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 2.788662] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 2.812650] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 2.837968] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 2.861137] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 2.887814] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 2.896794] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 2.921108] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 2.941271] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 2.965083] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 2.984841] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 3.008697] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 3.036864] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 3.068830] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 3.101353] systemd[1]: Mounting Temporary Directory (/tmp)... Mounting Temporary Directory (/tmp)... [ 3.133022] systemd[1]: Starting Create list of static device nodes for the current kernel... Starting Create list of st…odes for the current kernel... [ 3.176929] systemd[1]: Starting Start psplash boot splash screen... Starting Start psplash boot splash screen... [ 3.205175] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 3.219501] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 3.237218] systemd[1]: Starting Journal Service... Starting Journal Service... [ 3.290745] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 3.316712] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 3.373218] systemd[1]: Starting udev Coldplug all Devices... [ 3.404208] cryptodev: loading out-of-tree module taints kernel. Starting udev Coldplug all Devices... [ 3.430701] cryptodev: driver 1.10 loaded. [ 3.438678] systemd[1]: Started RPC Bind. [ OK ] Started RPC Bind. [ 3.468135] systemd[1]: Started Journal Service. [ 3.483056] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [ OK ] Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory (/tmp). [ OK ] Started Create list of sta… nodes for the current kernel. [FAILED] Failed to start Start psplash boot splash screen. See 'systemctl status psplash-start.service' for details. [DEPEND] Dependency failed for Star…progress communication helper. [ OK ] Started Load Kernel Modules. [ OK ] Started Remount Root and Kernel File Systems. [ 3.697558] random: systemd: uninitialized urandom read (16 bytes read) [ 3.707135] random: systemd-journal: uninitialized urandom read (16 bytes read) Mounting Kernel Configuration File System... [ 3.733074] random: systemd-journal: uninitialized urandom read (16 bytes read) Starting Flush Journal to Persistent Storage... Starting Apply Kernel Variables... [ 3.809245] systemd-journald[173]: Received client request to flush runtime journal. Starting Create Static Device Nodes in /dev... [ OK ] Mounted Kernel Configuration File System. [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). Mounting /media/ram... Mounting /var/volatile... Starting udev Kernel Device Manager... [ OK ] Started udev Coldplug all Devices. [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Started udev Kernel Device Manager. [ OK ] Started Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Network Time Synchronization. [ 4.821339] random: systemd: uninitialized urandom read (16 bytes read) [ OK ] Reached target System Initialization. [ 4.860815] random: systemd: uninitialized urandom read (16 bytes read) [ OK ] Started Daily Cleanup of Temporary Directories. [ 4.892739] random: systemd: uninitialized urandom read (16 bytes read) [ OK ] Reached target System Time Set. [ OK ] Reached target System Time Synchronized. [ OK ] Reached target Timers. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on dropbear.socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. [ OK ] Started D-Bus System Message Bus. Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... Starting Login Service... [ OK ] Started TEE Supplicant. Starting telnetd.service... [ OK ] Started IPv6 Packet Filtering Framework. [ OK ] Started IPv4 Packet Filtering Framework. [ OK ] Reached target Network (Pre). Starting Network Service... [ OK ] Started telnetd.service. Starting LSB: Expand Rootfs of boot device... [ 5.839030] random: systemd-journal: uninitialized urandom read (16 bytes read) [ 5.896458] random: crng init done [ 5.899872] random: 88 urandom warning(s) missed due to ratelimiting [ OK ] Started Load/Save Random Seed. [ OK ] Started Network Service. Starting Wait for Network to be Configured... Starting Network Name Resolution... [ OK ] Started Login Service. [ OK ] Started LSB: Expand Rootfs of boot device. [ 6.507368] CAN device driver interface [ 6.789694] m_can_platform 20701000.can: m_can device registered (irq=32, version=32) [ 6.881246] Internal error: synchronous external abort: 96000010 [#1] PREEMPT SMP [ 6.888735] Modules linked in: rti_wdt(+) sa2ul sha512_generic authenc m_can_platform(+) m_can mcrc can_dev s6 [ 6.901186] CPU: 0 PID: 204 Comm: systemd-udevd Tainted: G O 5.10.168-g2c23e6c538 #1 [ 6.910210] Hardware name: Texas Instruments AM625 Generic (DT) [ 6.916117] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO BTYPE=--) [ 6.922121] pc : rti_wdt_probe+0x1e0/0x4e8 [rti_wdt] [ 6.927074] lr : rti_wdt_probe+0x1d0/0x4e8 [rti_wdt] [ 6.932024] sp : ffff800011a6b930 [ 6.935326] x29: ffff800011a6b930 x28: 0000000000000100 [ 6.940627] x27: ffff8000100f67a8 x26: 0000000000000003 [ 6.945928] x25: ffff8000111f43c8 x24: 0000000000000023 [ 6.951229] x23: ffff000003586720 x22: ffff000000274800 [ 6.956530] x21: ffff000003586690 x20: ffff000000274810 [ 6.961831] x19: ffff000003586680 x18: 0000000000000002 [ 6.967132] x17: 0000000000000000 x16: 0000000000000000 [ 6.972432] x15: 0000000000000001 x14: 0000000000015fcb [ 6.977732] x13: 0000000000000000 x12: ffff800011586000 [ 6.983033] x11: ffff80001154f000 x10: 0000000000001000 [ 6.988334] x9 : ffff800011247000 x8 : ffff80001112a4a4 [ 6.993634] x7 : 0000000000000041 x6 : 000000000000008a [ 6.998934] x5 : 000000000e021000 x4 : ffff000000274a10 [ 7.004235] x3 : ffff000001556000 x2 : 0000000000000000 [ 7.009536] x1 : ffff00000356b900 x0 : ffff80001154d090 [ 7.014837] Call trace: [ 7.017279] rti_wdt_probe+0x1e0/0x4e8 [rti_wdt] [ 7.021893] platform_drv_probe+0x54/0xa8 [ 7.025890] really_probe+0xec/0x400 [ 7.029454] driver_probe_device+0x58/0xb8 [ 7.033539] device_driver_attach+0x74/0x80 [ 7.037710] __driver_attach+0x68/0xf8 [ 7.041448] bus_for_each_dev+0x70/0xc0 [ 7.045272] driver_attach+0x24/0x30 [ 7.048836] bus_add_driver+0x150/0x200 [ 7.052660] driver_register+0x64/0x120 [ 7.056484] __platform_driver_register+0x48/0x58 [ 7.061177] rti_wdt_driver_init+0x24/0x1000 [rti_wdt] [ 7.066305] do_one_initcall+0x54/0x1b8 [ 7.070132] do_init_module+0x44/0x1f0 [ 7.073870] load_module+0x1fbc/0x25d0 [ 7.077608] __do_sys_finit_module+0xb8/0xf8 [ 7.081866] __arm64_sys_finit_module+0x20/0x30 [ 7.086387] el0_svc_common.constprop.0+0x78/0x1c8 [ 7.091165] do_el0_svc+0x24/0xa0 [ 7.094472] el0_svc+0x14/0x20 [ 7.097516] el0_sync_handler+0xb0/0xb8 [ 7.101340] el0_sync+0x180/0x1c0 [ 7.104649] Code: f9000260 b140041f 54001128 91024000 (b9400000) [ 7.110732] ---[ end trace ac53b6bbb7c33475 ]--- [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Permit User Sessions... [ OK ] Started Permit User Sessions. [ 7.367257] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Synchronize System and HW clocks. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ 7.636014] platform 78000000.r5f: configured R5F for IPC-only mode [ 7.680609] platform 78000000.r5f: device does not have reserved memory regions, ret = -22 [ 7.709528] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: reserved memory init failed, ret = -22 [ 7.744474] remoteproc remoteproc0: releasing 78000000.r5f [ 7.756404] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_rproc_init failed, ret = -22 [ 7.776824] k3_r5_rproc: probe of bus@f0000:bus@b00000:r5fss@78000000 failed with error -22 *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: bash cifs-utils dosfstools less libdw1 libelf1 libreadline8 parted If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Started Print notice about GPLv3 packages. [ OK ] Created slice system-systemd\x2dfsck.slice. [ OK ] Found device /dev/mmcblk1p1. Starting File System Check on /dev/mmcblk1p1... [ OK ] Started File System Check on /dev/mmcblk1p1. Mounting /run/media/mmcblk1p1... [ OK ] Mounted /run/media/mmcblk1p1. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am62xx-evm ttyS2 Arago 2021.09 am62xx-evm ttyS2 am62xx-evm login:
At this point I'm getting to a login prompt and have plenty of errors to resolve. But I do want to focus back on the "memory-region errors" from u-boot and the "cma: Failed to reserve 512 MiB" from Linux
Can you please look at the below commit, and apply something like this to your DTS fileL
arm64: dts: ti: k3-am62x-sk-common: Reserve 128MiB of global CMA
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-6.1.y&id=8ed8775c45bf9c02a06b8accfc6bc2b6deb353bb
The commit is part of our ti-linux-6.1.y tree used for SDK v9.x.
Regards, Andreas
But I do want to focus back on the "memory-region errors" from u-boot
As for the U-Boot error, there's a section in an app note (below) that might be helpful...
Minimal Platform Development on AM62x Devices
https://www.ti.com/lit/pdf/spradd1
Please let me know if this addresses the warning messages seen during U-Boot startup.
Regards, Andreas
I have add #define CFG_PRAM (250 * 1024) in the file (include/configs/am62x_evm.h) .but it didn't work.
you can see I grep CFG_PARM. it is just used once >
hj@hj-VirtualBox:~/ti-processor-sdk-linux-am62xx-evm-08.06.00.42/board-support/u-boot-2021.01$ grep -nR "CFG_PRAM"
include/configs/am62x_evm.h:18:#define CFG_PRAM (250 * 1024)
below is uboot print information
U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Sep 20 2023 - 10:44:01 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
SPL initial stack usage: 13424 bytes
Trying to boot from MMC2
20230918test:spl: mmc init failed with error: boot_device=8
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Loading Environment from MMC... MMC Device 0 not found
*** Warning - No MMC card found, using default environment
Starting ATF on ARM64 core...
NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
NOTICE: BL31: Built : 05:06:58, Feb 24 2023
U-Boot SPL 2021.01-00001-g45cb7e44ae-dirty (Sep 20 2023 - 10:46:51 +0800)
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
Trying to boot from MMC2
20230918test:spl: mmc init failed with error: boot_device=8
U-Boot 2021.01-00001-g45cb7e44ae-dirty (Sep 20 2023 - 10:46:51 +0800)
SoC: AM62X SR1.0 GP
Model: LICHAN-UBOOT Texas Instruments AM625 SK
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
DRAM: 512 MiB
MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
Loading Environment from MMC... *** Warning - No block device, using default environment
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed 1
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
Failed to load 'boot.scr'
Failed to load 'uEnv.txt'
ERROR: reserving fdt memory region failed (addr=9e780000 size=80000)
ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000)
ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000)
19147264 bytes read in 810 ms (22.5 MiB/s)
ERROR: reserving fdt memory region failed (addr=9e780000 size=80000)
ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000)
ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000)
52276 bytes read in 24 ms (2.1 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
ERROR: reserving fdt memory region failed (addr=9da00000 size=100000)
ERROR: reserving fdt memory region failed (addr=9db00000 size=c00000)
ERROR: reserving fdt memory region failed (addr=9e700000 size=80000)
ERROR: reserving fdt memory region failed (addr=9e780000 size=80000)
ERROR: reserving fdt memory region failed (addr=9e800000 size=1800000)
Loading Device Tree to 000000008fef0000, end 000000008fffffff ... OK
hj@hj-VirtualBox:~/ti-processor-sdk-linux-am62xx-evm-08.06.00.42/board-support/u-boot-2021.01$ grep -nR "CFG_PRAM"
include/configs/am62x_evm.h:18:#define CFG_PRAM (250 * 1024)
While the above is the recommended approach given in the app note discussed earlier, there's another, perhaps better/more universal approach that can be used for the same. Can you please try removing that CFG_PRAM definition again, and implement the below patch, and report back if this makes any difference for you. Thanks!
diff --git a/board/ti/am62x/evm.c b/board/ti/am62x/evm.c index 79c37b696bf1..3b6f5be47209 100644 --- a/board/ti/am62x/evm.c +++ b/board/ti/am62x/evm.c @@ -23,6 +23,8 @@ #include <asm/gpio.h> #include <cpu_func.h> +#include <linux/sizes.h> + #include "../common/board_detect.h" DECLARE_GLOBAL_DATA_PTR; @@ -86,6 +88,16 @@ int dram_init_banksize(void) return fdtdec_setup_memory_banksize(); } +phys_size_t get_effective_memsize(void) +{ + /* + * Just below 512MB are TF-A and OPTEE reserve regions, thus + * SPL/U-Boot RAM has to start below that. Leave 256MB space for + * all reserved memories. + */ + return gd->ram_size == SZ_512M ? SZ_256M : gd->ram_size; +} + #if defined(CONFIG_SPL_BUILD) static int video_setup(void) {
Regards, Andreas
it is working . my problem has solved.Thanks very much !
for 512Ram. the gd->ram_size set to (256+128)M , it is ok .
I have add #define CFG_PRAM (250 * 1024) in the file (include/configs/am62x_evm.h) .but it didn't work.
you can see I grep CFG_PARM. it is just used once >
Actually I just noticed why this approach didn't work for you. You tried using it in the context of SDK v8.6 (which uses ti-u-boot-2021.01), and in this U-Boot version the CFG_PARM feature did not exist yet, so adding this definition didn't do anything. So yes the other approach we discussed is better/more suitable especially in an SDK v8.6 context.
Regards, Andreas