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.

Linux/AM5718: Kernel reboot

Other Parts Discussed in Thread: AM5718, PMP, DRA722

Hi,

We working on our AM5718 coustom board with 512MB RAM and we boot through mmc0 (SD Card).

PSDK version : ti-processor-sdk-linux-am57xx-evm-05.03.00.07

Please find the kernel log below,

U-Boot SPL 2018.01-00569-gfd38f5a-dirty (May 27 2019 - 11:55:37)
DRA722-GP ES2.0
Trying to boot from MMC1
no pinctrl state for default mode
no pinctrl state for default mode


U-Boot 2018.01-00569-gfd38f5a-dirty (May 27 2019 - 11:55:37 +0530)

CPU : DRA722-GP ES2.0
Model: TI AM5718 IDK
Board: AM571x IDK REV 1.3B
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net: Could not get PHY for ethernet@48484000: addr 0
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Unable to read file boot.scr **
1490 bytes read in 325 ms (3.9 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
Running uenvcmd ...
1 bytes read in 157 ms (0 Bytes/s)
Already setup.
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
4014592 bytes read in 189 ms (20.3 MiB/s)
97226 bytes read in 18 ms (5.2 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe5000, end 8ffffbc9 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.79-ge669d52447 (firmware@firmware-E7450) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #4 SMP PREEMP9
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM571x IDK-LCD-OSD-Display
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x0000000094000000
[ 0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier
[ 0.000000] DRA722 ES2.0
[ 0.000000] percpu: Embedded 15 pages/cpu @dfc3d000 s31372 r8192 d21876 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129158
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=e6a55ee4-02 rw rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 320124K/521216K available (8192K kernel code, 346K rwdata, 2556K rodata, 2048K init, 282K bss, 20868K reserved, 180224K)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0000000 - 0xff800000 ( 504 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdfd00000 ( 509 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB)
[ 0.000000] .init : 0xc0e00000 - 0xc1000000 (2048 kB)
[ 0.000000] .data : 0xc1000000 - 0xc1056bd8 ( 347 kB)
[ 0.000000] .bss : 0xc1058000 - 0xc109eb60 ( 283 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000016] Switching to timer-based delay loop, resolution 162ns
[ 0.000351] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000360] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000803] Console: colour dummy device 80x30
[ 0.000820] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000827] This ensures that you still see kernel messages. Please
[ 0.000834] update your kernel commandline.
[ 0.000851] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.000866] pid_max: default: 32768 minimum: 301
[ 0.000979] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000990] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001504] CPU: Testing write buffer coherency: ok
[ 0.001541] CPU0: Spectre v2: using ICIALLU workaround
[ 0.001727] /cpus/cpu@0 missing clock-frequency property
[ 0.001740] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.039859] Setting up static identity map for 0x80200000 - 0x80200060
[ 0.059866] Hierarchical SRCU implementation.
[ 0.080048] EFI services will not be available.
[ 0.099922] smp: Bringing up secondary CPUs ...
[ 0.099932] smp: Brought up 1 node, 1 CPU
[ 0.099941] SMP: Total of 1 processors activated (12.29 BogoMIPS).
[ 0.099949] CPU: All CPU(s) started in HYP mode.
[ 0.099956] CPU: Virtualization extensions available.
[ 0.100344] devtmpfs: initialized
[ 0.118030] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0
[ 0.120059] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.120256] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.120272] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.123805] pinctrl core: initialized pinctrl subsystem
[ 0.124279] DMI not present or invalid.
[ 0.124508] NET: Registered protocol family 16
[ 0.130799] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.131645] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.326317] cpuidle: using governor ladder
[ 0.326351] cpuidle: using governor menu
[ 0.334694] OMAP GPIO hardware version 0.1
[ 0.361906] No ATAGs?
[ 0.361951] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.361963] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.362351] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.362362] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.362899] OMAP DMA hardware revision 0.0
[ 0.392472] edma 43300000.edma: memcpy is disabled
[ 0.395577] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.402343] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.405771] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.405975] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.406222] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.406469] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.406786] iommu: Adding device 58820000.ipu to group 1
[ 0.406870] iommu: Adding device 55020000.ipu to group 2
[ 0.407020] iommu: Adding device 40800000.dsp to group 0
[ 0.409497] palmas 0-0058: Irq flag is 0x00000004
[ 0.432243] palmas 0-0058: Muxing GPIO 2b, PWM 0, LED 0
[ 0.433841] SMPS12: supplied by regulator-dummy
[ 0.435544] SMPS3: supplied by VMAIN
[ 0.437076] SMPS45: supplied by regulator-dummy
[ 0.438887] SMPS6: supplied by VMAIN
[ 0.440558] SMPS7: supplied by VMAIN
[ 0.442353] SMPS8: supplied by VMAIN
[ 0.443591] SMPS9: supplied by VMAIN
[ 0.444562] LDO1: supplied by VMAIN
[ 0.450856] random: fast init done
[ 0.451325] LDO2: supplied by VMAIN
[ 0.461183] LDO3: supplied by VMAIN
[ 0.471192] LDO4: supplied by VMAIN
[ 0.481193] LDO5: supplied by regulator-dummy
[ 0.481881] LDO6: supplied by regulator-dummy
[ 0.482584] LDO7: supplied by regulator-dummy
[ 0.483276] LDO8: supplied by regulator-dummy
[ 0.483986] LDO9: supplied by VMAIN
[ 0.491528] LDOLN: supplied by VMAIN
[ 0.501245] LDOUSB: supplied by VMAIN
[ 0.514259] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.514473] media: Linux media interface: v0.10
[ 0.514510] Linux video capture interface: v2.00
[ 0.514584] pps_core: LinuxPPS API ver. 1 registered
[ 0.514593] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.514611] PTP clock support registered
[ 0.514638] EDAC MC: Ver: 3.0.0
[ 0.520734] dmi: Firmware registration failed.
[ 0.521153] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.521352] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 0.521702] Advanced Linux Sound Architecture Driver Initialized.
[ 0.530807] clocksource: Switched to clocksource arch_sys_counter
[ 0.538190] NET: Registered protocol family 2
[ 0.538718] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.538756] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.538824] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.538879] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.538901] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.539005] NET: Registered protocol family 1
[ 0.559359] RPC: Registered named UNIX socket transport module.
[ 0.559369] RPC: Registered udp transport module.
[ 0.559376] RPC: Registered tcp transport module.
[ 0.559384] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.560303] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 0.560429] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.561470] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.565507] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.576042] NFS: Registering the id_resolver key type
[ 0.576067] Key type id_resolver registered
[ 0.576075] Key type id_legacy registered
[ 0.576112] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.577732] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.577743] io scheduler noop registered
[ 0.577752] io scheduler deadline registered
[ 0.577849] io scheduler cfq registered (default)
[ 0.577859] io scheduler mq-deadline registered
[ 0.577867] io scheduler kyber registered
[ 0.582452] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.582600] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
[ 0.582673] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
[ 0.582684] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
[ 0.595947] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
[ 0.596319] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
[ 0.596355] OF: PCI: IO 0x20003000..0x20012fff -> 0x00000000
[ 0.596379] OF: PCI: MEM 0x20013000..0x2fffffff -> 0x20013000
[ 1.596634] dra7-pcie 51000000.pcie: phy link never came up
[ 1.596767] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[ 1.596780] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.596792] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 1.596802] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 1.597113] PCI: bus0: Fast back to back transfers disabled
[ 1.597202] PCI: bus1: Fast back to back transfers enabled
[ 1.597237] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
[ 1.597255] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 1.597574] pcieport 0000:00:00.0: Signaling PME with IRQ 170
[ 1.597699] pcieport 0000:00:00.0: AER enabled with IRQ 170
[ 1.598701] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 1.601270] V3_3D: supplied by smps9
[ 1.601529] vtt_fixed: supplied by V3_3D
[ 1.643200] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 1.645881] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 45, base_baud = 3000000) is a 8250
[ 2.694844] console [ttyS0] enabled
[ 2.700266] omap_rng 48090000.rng: Random Number Generator ver. 20
[ 2.707374] DSS: OMAP DSS rev 6.1
[ 2.712425] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 2.720889] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[ 2.731786] panel-dpi display: display supply vcc not found, using dummy regulator
[ 2.749356] brd: module loaded
[ 2.757718] loop: module loaded
[ 2.764867] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
[ 2.771721] libphy: Fixed MDIO Bus: probed
[ 2.830842] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 2.838535] davinci_mdio 48485000.mdio: detected phy mask 0
[ 2.921105] libphy: 48485000.mdio: probed
[ 2.925139] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver unknown
[ 2.933284] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver unknown
[ 2.941370] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
[ 2.949411] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown
[ 2.957493] davinci_mdio 48485000.mdio: phy[4]: device 48485000.mdio:04, driver unknown
[ 2.965565] davinci_mdio 48485000.mdio: phy[5]: device 48485000.mdio:05, driver unknown
[ 2.973618] davinci_mdio 48485000.mdio: phy[6]: device 48485000.mdio:06, driver unknown
[ 2.981671] davinci_mdio 48485000.mdio: phy[7]: device 48485000.mdio:07, driver unknown
[ 2.989710] davinci_mdio 48485000.mdio: phy[8]: device 48485000.mdio:08, driver unknown
[ 2.997762] davinci_mdio 48485000.mdio: phy[9]: device 48485000.mdio:09, driver unknown
[ 3.005814] davinci_mdio 48485000.mdio: phy[10]: device 48485000.mdio:0a, driver unknown
[ 3.013954] davinci_mdio 48485000.mdio: phy[11]: device 48485000.mdio:0b, driver unknown
[ 3.022092] davinci_mdio 48485000.mdio: phy[12]: device 48485000.mdio:0c, driver unknown
[ 3.030218] davinci_mdio 48485000.mdio: phy[13]: device 48485000.mdio:0d, driver unknown
[ 3.038721] davinci_mdio 48485000.mdio: phy[14]: device 48485000.mdio:0e, driver unknown
[ 3.046863] davinci_mdio 48485000.mdio: phy[15]: device 48485000.mdio:0f, driver unknown
[ 3.055001] davinci_mdio 48485000.mdio: phy[16]: device 48485000.mdio:10, driver unknown
[ 3.063140] davinci_mdio 48485000.mdio: phy[17]: device 48485000.mdio:11, driver unknown
[ 3.071279] davinci_mdio 48485000.mdio: phy[18]: device 48485000.mdio:12, driver unknown
[ 3.079403] davinci_mdio 48485000.mdio: phy[19]: device 48485000.mdio:13, driver unknown
[ 3.087542] davinci_mdio 48485000.mdio: phy[20]: device 48485000.mdio:14, driver unknown
[ 3.095680] davinci_mdio 48485000.mdio: phy[21]: device 48485000.mdio:15, driver unknown
[ 3.103819] davinci_mdio 48485000.mdio: phy[22]: device 48485000.mdio:16, driver unknown
[ 3.111957] davinci_mdio 48485000.mdio: phy[23]: device 48485000.mdio:17, driver unknown
[ 3.120082] davinci_mdio 48485000.mdio: phy[24]: device 48485000.mdio:18, driver unknown
[ 3.128253] davinci_mdio 48485000.mdio: phy[25]: device 48485000.mdio:19, driver unknown
[ 3.136394] davinci_mdio 48485000.mdio: phy[26]: device 48485000.mdio:1a, driver unknown
[ 3.144532] davinci_mdio 48485000.mdio: phy[27]: device 48485000.mdio:1b, driver unknown
[ 3.152669] davinci_mdio 48485000.mdio: phy[28]: device 48485000.mdio:1c, driver unknown
[ 3.160808] davinci_mdio 48485000.mdio: phy[29]: device 48485000.mdio:1d, driver unknown
[ 3.168932] davinci_mdio 48485000.mdio: phy[30]: device 48485000.mdio:1e, driver unknown
[ 3.177070] davinci_mdio 48485000.mdio: phy[31]: device 48485000.mdio:1f, driver unknown
[ 3.185994] cpsw 48484000.ethernet: Detected MACID = 30:45:11:cb:3b:ac
[ 3.192633] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[ 3.199014] cpsw 48484000.ethernet: ALE Table size 1024
[ 3.204288] cpsw 48484000.ethernet: device node lookup for pps timer failed
[ 3.211328] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[ 3.219196] cpsw 48484000.ethernet: cpsw: Detected MACID = 30:45:11:cb:3b:ad
[ 3.227469] i2c /dev entries driver
[ 3.231742] IR NEC protocol handler initialized
[ 3.236293] IR RC5(x/sz) protocol handler initialized
[ 3.241386] IR RC6 protocol handler initialized
[ 3.245934] IR JVC protocol handler initialized
[ 3.250482] IR Sony protocol handler initialized
[ 3.255129] IR SANYO protocol handler initialized
[ 3.259852] IR Sharp protocol handler initialized
[ 3.264587] IR MCE Keyboard/mouse protocol handler initialized
[ 3.270443] IR XMP protocol handler initialized
[ 3.280616] sdhci: Secure Digital Host Controller Interface driver
[ 3.286927] sdhci: Copyright(c) Pierre Ossman
[ 3.292398] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.298837] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 3.304240] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
[ 3.310929] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
[ 3.371253] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
[ 3.418412] mmc0: host does not support reading read-only switch, assuming write-enable
[ 3.428576] mmc0: new high speed SDHC card at address 59b4
[ 3.434470] mmcblk0: mmc0:59b4 00000 14.9 GiB
[ 3.440472] mmcblk0: p1 p2
[ 3.443308] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
[ 3.444601] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.454837] NET: Registered protocol family 10
[ 3.466077] Segment Routing with IPv6
[ 3.466121] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.466500] NET: Registered protocol family 17
[ 3.466671] Key type dns_resolver registered
[ 3.466767] omap_voltage_late_init: Voltage driver support not added
[ 3.466770] Power Management for TI OMAP4+ devices.
[ 3.466975] Registering SWP/SWPB emulation handler
[ 3.514418] dmm 4e000000.dmm: workaround for errata i878 in use
Stopped here and rebooted

We didn't get any error message,what maybe the issue.

Regards,
Ravi