Hi,
We are using AM6546 custom board with SDK versioned 07_01_00_17.
1. When use R5 : tiboot3.bin, there is no console debug
2. When mounting rootfs, kernel rebooting
Please help me to get solution and find the attached debug log for your reference.
U-Boot SPL 2020.01-dirty (Dec 29 2020 - 18:06:20 +0530) SYSFW ABI: 3.1 (firmware rev 0x0014 '20.8.5--v2020.08b (Terrific Lla') Reading on-board EEPROM at 0x50 failed -1 Trying to boot from MMC2 U-Boot 2020.01-dirty (Dec 29 2020 - 18:06:20 +0530) SoC: AM65X SR2.0 Model: Texas Instruments AM654 Base Board Reading on-board EEPROM at 0x50 failed -1 Board: AM6-COMPROCEVM rev E3 DRAM: 4 GiB MMC: sdhci@4f80000: 0, sdhci@4fa0000: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Reading on-board EEPROM at 0x50 failed -1 Net: Warning: ethernet@46000000 using MAC address from ROM eth0: ethernet@46000000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 1011 bytes read in 5 ms (197.3 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... 16666632 bytes read in 671 ms (23.7 MiB/s) 64199 bytes read in 8 ms (7.7 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.4.74-g9574bba32a (administrator@administrator-Op0 [ 0.000000] Machine model: Texas Instruments AM654 Base Board [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002810000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, B [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compl [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, B [ 0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatibl [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, B [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compl [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, B [ 0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatibl [ 0.000000] cma: Reserved 512 MiB at 0x00000000e0000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 u131072 [ 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: 55976 [ 0.000000] Kernel command line: console=ttyS3,115200n8 earlycon=ns16550a,mmt [ 0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes) [ 0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes,) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB) [ 0.000000] Memory: 3515712K/3586048K available (9598K kernel code, 788K rwd) [ 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 restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 ji. [ 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: 960 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: no VLPI support, no direct LPI support [ 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: allocated 1048576 Devices @8c0800000 (fl) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x00000008c00d0000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00e000 [ 0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x43c wi0 [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless [ 0.000005] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398s [ 0.008643] Console: colour dummy device 80x25 [ 0.013253] Calibrating delay loop (skipped), value calculated using timer f) [ 0.023970] pid_max: default: 32768 minimum: 301 [ 0.028824] LSM: Security Framework initializing [ 0.033638] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, lin) [ 0.041247] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes) [ 0.051711] ASID allocator initialised with 32768 entries [ 0.057428] rcu: Hierarchical SRCU implementation. [ 0.062727] Platform MSI: gic-its@1820000 domain created [ 0.068491] PCI/MSI: /bus@100000/interrupt-controller@1800000/gic-its@182000d [ 0.077718] smp: Bringing up secondary CPUs ... [ 0.083599] Detected VIPT I-cache on CPU1 [ 0.083638] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.083652] GICv3: CPU1: using allocated LPI pending table @0x00000008c00f000 [ 0.083700] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.085128] Detected VIPT I-cache on CPU2 [ 0.085169] GICv3: CPU2: found redistributor 100 region 0:0x00000000018c0000 [ 0.085184] GICv3: CPU2: using allocated LPI pending table @0x00000008c010000 [ 0.085238] CPU2: Booted secondary processor 0x0000000100 [0x410fd034] [ 0.086566] Detected VIPT I-cache on CPU3 [ 0.086601] GICv3: CPU3: found redistributor 101 region 0:0x00000000018e0000 [ 0.086615] GICv3: CPU3: using allocated LPI pending table @0x00000008c011000 [ 0.086658] CPU3: Booted secondary processor 0x0000000101 [0x410fd034] [ 0.086811] smp: Brought up 1 node, 4 CPUs [ 0.167203] SMP: Total of 4 processors activated. [ 0.172042] CPU features: detected: 32-bit EL0 Support [ 0.177338] CPU features: detected: CRC32 instructions [ 0.194176] CPU: All CPU(s) started at EL2 [ 0.198439] alternatives: patching kernel code [ 0.204694] devtmpfs: initialized [ 0.218661] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms [ 0.228692] futex hash table entries: 1024 (order: 0, 65536 bytes, linear) [ 0.237207] pinctrl core: initialized pinctrl subsystem [ 0.243579] NET: Registered protocol family 16 [ 0.255317] DMA: preallocated 256 KiB pool for atomic allocations [ 0.262490] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.292291] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages [ 0.299202] HugeTLB registered 512 MiB page size, pre-allocated 0 pages [ 0.305995] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.316007] cryptd: max_cpu_qlen set to 1000 [ 0.327272] iommu: Default domain type: Translated [ 0.332726] SCSI subsystem initialized [ 0.337335] mc: Linux media interface: v0.10 [ 0.341761] videodev: Linux video capture interface: v2.00 [ 0.347421] pps_core: LinuxPPS API ver. 1 registered [ 0.352519] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom> [ 0.361907] PTP clock support registered [ 0.365958] EDAC MC: Ver: 3.0.0 [ 0.370432] FPGA manager framework [ 0.374067] Advanced Linux Sound Architecture Driver Initialized. [ 0.381362] clocksource: Switched to clocksource arch_sys_counter [ 0.387878] VFS: Disk quotas dquot_6.6.0 [ 0.392024] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes) [ 0.407006] thermal_sys: Registered thermal governor 'step_wise' [ 0.407011] thermal_sys: Registered thermal governor 'power_allocator' [ 0.413771] NET: Registered protocol family 2 [ 0.425627] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 655) [ 0.434528] TCP established hash table entries: 32768 (order: 2, 262144 byte) [ 0.442964] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, line) [ 0.451057] TCP: Hash tables configured (established 32768 bind 32768) [ 0.457933] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear) [ 0.464938] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear) [ 0.472578] NET: Registered protocol family 1 [ 0.477834] RPC: Registered named UNIX socket transport module. [ 0.483929] RPC: Registered udp transport module. [ 0.488767] RPC: Registered tcp transport module. [ 0.493595] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.500218] PCI: CLS 0 bytes, default 64 [ 0.505475] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters ae [ 0.519296] Initialise system trusted keyrings [ 0.524057] workingset: timestamp_bits=46 max_order=16 bucket_order=0 [ 0.537571] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.544330] NFS: Registering the id_resolver key type [ 0.549561] Key type id_resolver registered [ 0.553860] Key type id_legacy registered [ 0.557985] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.565135] 9p: Installing v9fs 9p2000 file system support [ 0.590729] Key type asymmetric registered [ 0.594948] Asymmetric key parser 'x509' registered [ 0.599997] Block layer SCSI generic (bsg) driver version 0.4 loaded (major ) [ 0.607594] io scheduler mq-deadline registered [ 0.612245] io scheduler kyber registered [ 0.618971] pinctrl-single 4301c000.pinmux: 70 pins, size 280 [ 0.625473] pinctrl-single 11c000.pinmux: 185 pins, size 740 [ 0.631441] pinctrl-single 11c2e8.pinmux: 9 pins, size 36 [ 0.643164] k3-ringacc 2b800000.ringacc: Failed to get MSI domain [ 0.649540] k3-ringacc 3c000000.ringacc: Failed to get MSI domain [ 0.660268] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.684594] brd: module loaded [ 0.696759] loop: module loaded [ 0.703930] libphy: Fixed MDIO Bus: probed [ 0.708807] tun: Universal TUN/TAP device driver, 1.6 [ 0.714800] igbvf: Intel(R) Gigabit Virtual Function Network Driver - versiok [ 0.722845] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.728972] sky2: driver version 1.30 [ 0.734116] VFIO - User Level meta-driver version: 0.3 [ 0.740308] i2c /dev entries driver [ 0.745190] sdhci: Secure Digital Host Controller Interface driver [ 0.751541] sdhci: Copyright(c) Pierre Ossman [ 0.756548] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.763603] ledtrig-cpu: registered to indicate activity on CPUs [ 0.769874] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resoure [ 0.778752] optee: probing for conduit method from DT. [ 0.784059] optee: revision 3.8 (199fca17) [ 0.784846] optee: initialized driver [ 0.794594] NET: Registered protocol family 17 [ 0.799395] 9pnet: Installing 9P2000 support [ 0.803848] Key type dns_resolver registered [ 0.808671] registered taskstats version 1 [ 0.812891] Loading compiled-in X.509 certificates [ 0.827315] k3-ringacc 2b800000.ringacc: Failed to get MSI domain [ 0.833835] k3-ringacc 3c000000.ringacc: Failed to get MSI domain [ 0.845623] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: invalid resoure [ 0.853254] ti-sci bus@100000:bus@28380000:bus@42040000:dmsc: ABI: 3.1 (firm) [ 0.913780] pca953x 0-0039: 0-0039 supply vcc not found, using dummy regulatr [ 0.921299] pca953x 0-0039: using no AI [ 0.945430] pca953x 0-0039: failed writing register [ 0.950591] pca953x: probe of 0-0039 failed with error -121 [ 0.956479] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz [ 0.963081] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz [ 0.969837] pca953x 2-0021: 2-0021 supply vcc not found, using dummy regulatr [ 0.977334] pca953x 2-0021: using no AI [ 1.005533] random: fast init done [ 1.009558] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz [ 1.016185] omap_i2c 2010000.i2c: bus 3 rev0.12 at 400 kHz [ 1.022621] omap_i2c 2020000.i2c: bus 4 rev0.12 at 400 kHz [ 1.028991] omap_i2c 2030000.i2c: bus 5 rev0.12 at 100 kHz [ 1.035650] ti-sci-intr bus@100000:bus@28380000:bus@42040000:interrupt-contrd [ 1.046939] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 1d [ 1.055890] ti-sci-intr bus@100000:navss@30800000:interrupt-controller1: Intd [ 1.066306] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator d [ 1.083446] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, 5 [ 1.093473] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled [ 1.100269] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66348100, num_proxies4 [ 1.121893] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:818, 7 [ 1.132012] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled [ 1.138827] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66348100, num_proxies4 [ 1.147411] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 8, base_baud = 0 [ 1.157401] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 17, base_baud = 30 [ 1.167053] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 18, base_baud = 30 [ 1.175858] printk: console [ttyS3] enabled [ 1.175858] printk: console [ttyS3] enabled [ 1.184323] printk: bootconsole [ns16550a0] disabled [ 1.184323] printk: bootconsole [ns16550a0] disabled [ 1.195241] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 19, base_baud = 30 [ 1.253376] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 0 [ 1.261049] libphy: 46000f00.mdio: probed [ 1.266887] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, dri7 [ 1.275213] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss ve0 [ 1.288111] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma chann7 [ 1.298215] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, ad0 [ 1.307052] thermal thermal_zone1: failed to read out thermal zone (-22) [ 1.314718] mmc0: CQHCI version 5.10 [ 1.359665] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADt [ 1.368590] mmc1: CQHCI version 5.10 [ 1.455984] mmc0: Command Queue Engine enabled [ 1.460461] mmc0: new HS200 MMC card at address 0001 [ 1.466122] mmcblk0: mmc0:0001 S0J57X 29.6 GiB [ 1.470950] mmcblk0boot0: mmc0:0001 S0J57X partition 1 31.5 MiB [ 1.477189] mmcblk0boot1: mmc0:0001 S0J57X partition 2 31.5 MiB [ 1.483372] mmcblk0rpmb: mmc0:0001 S0J57X partition 3 4.00 MiB, chardev (240) [ 1.492513] mmcblk0: [ 2.384369] mmc1: SDHCI controller on 4fa0000.sdhci [4fa0000.sdhci] using ADt [ 2.405394] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100 [ 2.412369] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100 [ 2.422587] ti-udma 285c0000.dma-controller: Channels: 96 (tchan: 48, rchan:) [ 2.445930] ti-udma 31150000.dma-controller: Channels: 267 (tchan: 119, rcha) [ 2.496108] cadence-qspi 47040000.spi: PHY calibration failed: -2 [ 2.502218] spi-nor spi7.0: mt35xu512aba (65536 Kbytes) [ 2.507482] 8 cmdlinepart partitions found on MTD device 47040000.spi.0 [ 2.514123] Creating 8 MTD partitions on "47040000.spi.0": [ 2.519635] 0x000000000000-0x000000080000 : "ospi.tiboot3" [ 2.526722] 0x000000080000-0x000000280000 : "ospi.tispl" [ 2.533713] 0x000000280000-0x000000680000 : "ospi.u-boot" [ 2.540405] 0x000000680000-0x0000006a0000 : "ospi.env" [ 2.546984] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup" [ 2.554231] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw" [ 2.560966] 0x000000800000-0x000003fe0000 : "ospi.rootfs" [ 2.567663] 0x000003fe0000-0x000004000000 : "ospi.phypattern" [ 2.582616] spi-nor spi9.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00 [ 2.589584] spi-nor: probe of spi9.0 failed with error -2 [ 2.633387] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 0 [ 2.641078] libphy: 46000f00.mdio: probed [ 2.646630] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, dri7 [ 2.654952] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss ve0 [ 2.669146] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48 [ 2.676338] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 54 [ 2.683659] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64 [ 2.690664] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:20000 [ 2.703072] debugfs: Directory 'pd:121' with parent 'pm_genpd' already prese! [ 2.710462] debugfs: Directory 'pd:120' with parent 'pm_genpd' already prese! [ 2.720220] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 2.727739] hctosys: unable to open rtc device (rtc0) [ 2.748309] ALSA device list: [ 2.751294] No soundcards found. [ 2.755080] Waiting 2 sec before mounting root device... [ 2.765495] mmc1: new ultra high speed DDR50 SDHC card at address 0001 [ 2.772926] mmcblk1: mmc1:0001 0016G 15.2 GiB [ 2.781266] mmcblk1: p1 p2 [ 4.806190] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. ) [ 4.814369] VFS: Mounted root (ext4 filesystem) on device 179:98. [ 4.826249] devtmpfs: mounted [ 4.830073] Freeing unused kernel memory: 1664K [ 4.834692] Run /sbin/init as init process [ 5.379462] systemd[1]: System time before build time, advancing clock. [ 5.461389] NET: Registered protocol family 10 [ 5.467011] Segment Routing with IPv6 [ 5.507923] systemd[1]: systemd 244.3+ running in system mode. (+PAM -AUDIT ) [ 5.530157] systemd[1]: Detected architecture arm64. Welcome to Arago 2020.09! [ 5.586321] systemd[1]: Set hostname to <am65xx-evm>. [ 5.606591] random: systemd: uninitialized urandom read (16 bytes read) [ 5.613273] systemd[1]: Initializing machine ID from random generator. U-Boot SPL 2020.01-dirty (Dec 29 2020 - 18:06:20 +0530) SYSFW ABI: 3.1 (firmware rev 0x0014 '20.8.5--v2020.08b (Terrific Lla') Reading on-board EEPROM at 0x50 failed -1 Trying to boot from MMC2 U-Boot 2020.01-dirty (Dec 29 2020 - 18:06:20 +0530) SoC: AM65X SR2.0 Model: Texas Instruments AM654 Base Board Reading on-board EEPROM at 0x50 failed -1 Board: AM6-COMPROCEVM rev E3 DRAM: 4 GiB MMC: sdhci@4f80000: 0, sdhci@4fa0000: 1