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.

AM5726: Kernel decompression failed

Part Number: AM5726
Other Parts Discussed in Thread: BEAGLEBOARD-X15, AM5728

Am5726 sometimes gets stuck in the kernel decompression step during startup

  • 请贴出使用的软件版本以及启动log。

  • ti-processor-sdk-linux-rt-am57xx-evm-06.03.00.106


    U-Boot SPL 2019.01-g31b89e620c-dirty (Mar 04 2022 - 14:46:06 +0800)
    DRA752-GP ES2.0
    ** Unable to read file dra7-ipu1-fw.xem4 **


    U-Boot 2019.01-g31b89e620c-dirty (Mar 04 2022 - 14:46:06 +0800)

    CPU  : DRA752-GP ES2.0
    Model: TI AM5728 BeagleBoard-X15
    Board: AM572x EVM REV
    DRAM:  512 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Warning: fastboot.board_rev: unknown board revision
    Net:   
    Warning: ethernet@48484000 MAC addresses don't match:
    Address in ROM is          34:08:e1:f1:93:fc
    Address in environment is  50:51:a9:dd:e3:5e
    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 **
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    OMAP SD/MMC: 0 (SD)
    OMAP SD/MMC: 1 (eMMC)
    ** Can not find directory. **
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4207104 bytes read in 185 ms (21.7 MiB/s)
    92131 bytes read in 5 ms (17.6 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe6000, end 8ffff7e2 ... OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.94-rt39-ga242ccf3f1 (baron@ubuntu) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #31 SMP PREEMPT RT Wed Oct 13 17:25:53 HKT 2021
    [    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 AM5728 BeagleBoard-X15
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 24 MiB at 0x000000009e400000
    [    0.000000] OMAP4: Map 0x000000009fe00000 to (ptrval) for dram barrier
    [    0.000000] Hit pending asynchronous external abort (FSR=0x00001211) during first unmask, this is most likely caused by a firmware/bootloader bug.
    [    0.000000] DRA752 ES2.0
    [    0.000000] random: get_random_bytes called from start_kernel+0xb0/0x488 with crng_init=0
    [    0.000000] percpu: Embedded 15 pages/cpu s32224 r8192 d21024 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 128864
    [    0.000000] Kernel command line: mem=524160K earlyprintk=serial,ttyS2,115200 console=ttyS2,115200n8 root=PARTUUID=e8fb3343-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 474692K/520064K available (8192K kernel code, 336K rwdata, 2608K rodata, 2048K init, 273K bss, 20796K reserved, 24576K cma-reserved, 0K highmem)
    [    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 - 0xdffe0000   ( 511 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 337 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 274 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
    [    0.000000]  No expedited grace period (rcu_normal_after_boot).
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] clock: dpll_abe_ck failed transition to 'locked'
    [    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.000012] Switching to timer-based delay loop, resolution 162ns
    [    0.000286] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000289] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000733] Console: colour dummy device 80x30
    [    0.275050] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.275059] pid_max: default: 32768 minimum: 301
    [    0.275201] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.275209] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.275974] CPU: Testing write buffer coherency: ok
    [    0.276011] CPU0: Spectre v2: using ICIALLU workaround
    [    0.276301] /cpus/cpu@0 missing clock-frequency property
    [    0.321253] /cpus/cpu@1 missing clock-frequency property
    [    0.326701] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.390177] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.410170] rcu: Hierarchical SRCU implementation.
    [    0.470427] EFI services will not be available.
    [    0.490309] smp: Bringing up secondary CPUs ...
    [    0.610715] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.610719] CPU1: Spectre v2: using ICIALLU workaround
    [    0.610847] smp: Brought up 1 node, 2 CPUs
    [    0.626129] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.632471] CPU: All CPU(s) started in HYP mode.
    [    0.637202] CPU: Virtualization extensions available.
    [    0.642939] devtmpfs: initialized
    [    0.670755] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.678862] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.688950] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.695862] pinctrl core: initialized pinctrl subsystem
    [    0.701803] DMI not present or invalid.
    [    0.706088] NET: Registered protocol family 16
    [    0.712065] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.720052] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    2.138252] clock: dpll_abe_ck failed transition to 'locked'
    [    3.431499] clock: dpll_abe_ck failed transition to 'locked'
    [    4.724715] clock: dpll_abe_ck failed transition to 'locked'
    [    4.730524] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [    4.730528] pgd = (ptrval)
    [    4.730531] [00000000] *pgd=80000080004003, *pmd=00000000
    [    4.730544] Internal error: : 1211 [#1] PREEMPT SMP ARM
    [    4.730548] Modules linked in:
    [    4.730556] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.94-rt39-ga242ccf3f1 #31
    [    4.730559] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    4.730571] PC is at _enable_sysc+0x5c/0x25c
    [    4.730576] LR is at _enable_sysc+0x48/0x25c
    [    4.730580] pc : [<c021db30>]    lr : [<c021db1c>]    psr: 40000013
    [    4.730583] sp : dd88be38  ip : dd88be38  fp : dd88be64
    [    4.730587] r10: c0e5a32c  r9 : c0e49824  r8 : 00000000
    [    4.730590] r7 : c1012900  r6 : 00000000  r5 : c1007488  r4 : c101337c
    [    4.730593] r3 : c1013418  r2 : c1013438  r1 : 00000004  r0 : c101337c
    [    4.730599] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    4.730603] Control: 30c5387d  Table: 80003000  DAC: fffffffd
    [    4.730607] Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
    [    4.730611] Stack: (0xdd88be38 to 0xdd88c000)
    [    4.730615] be20:                                                       c0225098 c09ba6e4
    [    4.730621] be40: dd88be64 268c3dc2 c101337c c1054998 00000000 c1012900 dd88be8c dd88be68
    [    4.730626] be60: c021de88 c021dae0 c101337c c1010804 c101337c c10133a0 c1007488 c10133b4
    [    4.730631] be80: dd88bebc dd88be90 c021e3b0 c021dd3c dd88bebc dd88bea0 c021c9b4 268c3dc2
    [    4.730636] bea0: c101337c c100c728 ffffe000 c0e0cef4 dd88bed4 dd88bec0 c0e0d014 c021e1f8
    [    4.730641] bec0: c1054340 c1007488 dd88bf4c dd88bed8 c02023fc c0e0cf00 00000000 c0bb6934
    [    4.730646] bee0: c0bb6914 c0bb6900 c0bc2074 c1007488 00000000 c0bb68ec 00000002 00000002
    [    4.730651] bf00: 00000000 c0bac6d8 c0e004f0 c0c8a334 c10189c8 dff87930 00000000 268c3dc2
    [    4.730656] bf20: c0280488 268c3dc2 c1054340 00000003 c1054340 c1054340 c0e004f0 c0e49844
    [    4.730661] bf40: dd88bf94 dd88bf50 c0e01050 c0202384 00000002 00000002 00000000 c0e004f0
    [    4.730666] bf60: c0c8a334 000000d2 c09ba73c 00000000 c09b5438 00000000 00000000 00000000
    [    4.730671] bf80: 00000000 00000000 dd88bfac dd88bf98 c09b5448 c0e00e48 00000000 c09b5438
    [    4.730676] bfa0: 00000000 dd88bfb0 c02010e0 c09b5444 00000000 00000000 00000000 00000000
    [    4.730680] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    4.730685] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
    [    4.730687] Backtrace:
    [    4.730697] [<c021dad4>] (_enable_sysc) from [<c021de88>] (_enable+0x158/0x284)
    [    4.730703]  r7:c1012900 r6:00000000 r5:c1054998 r4:c101337c
    [    4.730711] [<c021dd30>] (_enable) from [<c021e3b0>] (_setup.part.16+0x1c4/0x4e4)
    [    4.730715]  r7:c10133b4 r6:c1007488 r5:c10133a0 r4:c101337c
    [    4.730725] [<c021e1ec>] (_setup.part.16) from [<c0e0d014>] (__omap_hwmod_setup_all+0x120/0x134)
    [    4.730730]  r7:c0e0cef4 r6:ffffe000 r5:c100c728 r4:c101337c
    [    4.730738] [<c0e0cef4>] (__omap_hwmod_setup_all) from [<c02023fc>] (do_one_initcall+0x84/0x1b0)
    [    4.730741]  r5:c1007488 r4:c1054340
    [    4.730750] [<c0202378>] (do_one_initcall) from [<c0e01050>] (kernel_init_freeable+0x214/0x2a8)
    [    4.730755]  r8:c0e49844 r7:c0e004f0 r6:c1054340 r5:c1054340 r4:00000003
    [    4.730765] [<c0e00e3c>] (kernel_init_freeable) from [<c09b5448>] (kernel_init+0x10/0x118)
    [    4.730770]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c09b5438
    [    4.730772]  r4:00000000
    [    4.730779] [<c09b5438>] (kernel_init) from [<c02010e0>] (ret_from_fork+0x14/0x34)
    [    4.730783] Exception stack(0xdd88bfb0 to 0xdd88bff8)
    [    4.730787] bfa0:                                     00000000 00000000 00000000 00000000
    [    4.730792] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    4.730796] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [    4.730800]  r5:c09b5438 r4:00000000
    [    4.730806] Code: e3130080 1a000067 e5943004 e1a00004 (e5942044)
    [    5.095513] ---[ end trace 0000000000000001 ]---
    [    5.095553] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [    5.095553]
    [    5.095564] CPU1: stopping
    [    5.095571] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D           4.19.94-rt39-ga242ccf3f1 #31
    [    5.095573] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    5.095575] Backtrace:
    [    5.095587] [<c020c744>] (dump_backtrace) from [<c020ca7c>] (show_stack+0x18/0x1c)
    [    5.095594]  r7:fa212000 r6:60000193 r5:00000000 r4:c10522dc
    [    5.095602] [<c020ca64>] (show_stack) from [<c09a0dcc>] (dump_stack+0x9c/0xb0)
    [    5.095609] [<c09a0d30>] (dump_stack) from [<c020f1b8>] (handle_IPI+0x1bc/0x22c)
    [    5.095614]  r7:fa212000 r6:00000001 r5:00000000 r4:c10545c0
    [    5.095626] [<c020effc>] (handle_IPI) from [<c05554cc>] (gic_handle_irq+0x94/0x98)
    [    5.095630]  r6:fa21200c r5:c102718c r4:c100796c
    [    5.095638] [<c0555438>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0xa0)
    [    5.095642] Exception stack(0xdd8d1f28 to 0xdd8d1f70)
    [    5.095647] 1f20:                   00000000 00000d68 00000000 c021a360 ffffe000 c10074bc
    [    5.095653] 1f40: c1007504 00000002 00000001 c1053f19 c0bb7158 dd8d1f84 dd8d1f88 dd8d1f78
    [    5.095656] 1f60: c0208bf8 c0208bfc 60000013 ffffffff
    [    5.095662]  r9:dd8d0000 r8:00000001 r7:dd8d1f5c r6:ffffffff r5:60000013 r4:c0208bfc
    [    5.095675] [<c0208bbc>] (arch_cpu_idle) from [<c09ba140>] (default_idle_call+0x34/0x40)
    [    5.095685] [<c09ba10c>] (default_idle_call) from [<c025b7cc>] (do_idle+0x110/0x178)
    [    5.095692] [<c025b6bc>] (do_idle) from [<c025bb20>] (cpu_startup_entry+0x20/0x28)
    [    5.095698]  r10:00000000 r9:412fc0f2 r8:80007000 r7:c10545c8 r6:00000001 r5:dd8d0000
    [    5.095701]  r4:00000087 r3:dd8d0000
    [    5.095708] [<c025bb00>] (cpu_startup_entry) from [<c020ed54>] (secondary_start_kernel+0x178/0x180)
    [    5.095715] [<c020ebdc>] (secondary_start_kernel) from [<8020210c>] (0x8020210c)
    [    5.095719]  r7:c10545c8 r6:30c0387d r5:00000000 r4:9d862ec0

  • Uncompressing Linux... done, booting the kernel.

    卡在这里吗?先参考以下文档看一下。

    Common Problems Booting Linux.pdf

  • 同一个产品,会概率的起不来。

    内核奔溃时都会有如下信息

    正常运行起来的内核是不会打印上面信息

  • 关于该报错,参考以下帖子看一下是否有帮助:

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1046293/am5716-dpll_abe_ck-failed-transition-to-locked

    如果无法帮助解决问题,建议您到英文论坛发布问题,会有相关专家给你支持。