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/TMDSEVM572X: No messages starting Linux kernel

Other Parts Discussed in Thread: TMDSEVM572X, DRA752

hello,

I design a board acoording to TMDSEVM572X AM572x Evaluation Module.

On U-boot and MLO, it is ok to boot.

When I boot linux kernel by u-boot, it stop at "Start kernel", and nothing else.

I test the same dtb file and kernel image file on TMDSEVM572X AM572x Evaluation Module, it can boot to nfs root.

The main different between my board and TMDSEVM572X are:

(1). using two memory chips instead of four chip of TMDSEVM572X .

(2). use different pin mux to config the devcies, eg. sd, usb, etc...

(3). use different sys clk 2 rate, acoording to process manual,  it is not essential.

question:

1.for the am572x cpu, is there any essential devices should be inited before linux kernel print message on console?

2.for the am572x, I can not find the memory config in the linux kernel. It should be configed by uboot or mlo, Is it right? if the u-boot start correctly, so the memory config for kernel I think it is ok.

3.for the cpu dm3xxx or 4xxx, in linux I found some pin mux config code, but for am57xx,  I find nothing about that, all of pin mux is moved to dts file? by default, the pin mux is the same as u-boot?

4.Is the problem cause by different sys clk 2 rate?

CPU : DRA752-GP ES2.0
Model: TI AM572x EVM Rev A3
Board: AM572x EVM REV A.30
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1

  • The Uboot Console output 

    => run netboot
    link up on port 0, speed 100, full duplex
    Using ethernet@48484000 device
    TFTP from server 192.168.3.182; our IP address is 192.168.3.185
    Filename 'zimage-am57xx-evm.bin'.
    Load address: 0x82000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ####################################################
    591.8 KiB/s
    done
    Bytes transferred = 3592112 (36cfb0 hex)
    link up on port 0, speed 100, full duplex
    Using ethernet@48484000 device
    TFTP from server 192.168.3.182; our IP address is 192.168.3.185
    Filename 'siui_am57xx.dtb'.
    Load address: 0x88000000
    Loading: ###################
    457 KiB/s
    done
    Bytes transferred = 97055 (17b1f hex)
    Kernel image @ 0x82000000 [ 0x000000 - 0x36cfb0 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe5000, end 8ffffb1e ... OK

    Starting kernel ...

    The attachment file is the dts and kernel config.

    tisdk_am57xx-evm_wjh_defconfig.rar

    siui_am57xx.rar

  • The software team have been notified. They will respond here.
  • Hi,

    Have you verified that you use the same uart as a debug console in both u-boot & linux?
    Please post the output of printenv. Also which SDK are you using?

    Best Regards,
    Yordan
  • SDK: ti-processor-sdk-linux-am57xx-evm-03.02.00.05
    UART: UART 3 (ttyO2)

    arch=arm
    args_fit=setenv bootargs console=${console}
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    autoload=no
    baudrate=115200
    board=am57xx
    board_name=beagle_x15
    boot_fdt=try
    boot_fit=0
    bootargs=console=ttyO2,115200n8 root=/dev/nfs nfsroot=192.168.3.182:/home/siui/project/ti/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/targetNFS,nolock rw ip=192.168.3.183
    bootcmd=if test ${dofastboot} -eq 1; then echo Boot fastboot requested, resetting dofastboot ...;setenv dofastboot 0; saveenv;echo Booting into fastboot ...; fastboot 0;fi;if test ${boot_fit} -eq 1; then run update_to_fit;fi;run findfdt; run envboot; run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; setenv mmcroot /dev/mmcblk0p2 rw; run mmcboot;
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootfile=zimage-am57xx-evm.bin
    bootm_size=0x10000000
    bootpart=0:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyO2,115200n8
    cpu=armv7
    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-os-args.raw raw 0x80 0x80;spl-os-image.raw raw 0x900 0x2000;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-os-args.raw raw 0x80 0x80;spl-os-image.raw raw 0x900 0x2000;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
    dfu_alt_info_qspi=MLO raw 0x0 0x040000;u-boot.img raw 0x040000 0x0100000;u-boot-spl-os raw 0x140000 0x080000;u-boot-env raw 0x1C0000 0x010000;u-boot-env.backup raw 0x1D0000 0x010000;kernel raw 0x1E0000 0x800000
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
    dfu_bufsiz=0x10000
    dofastboot=0
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    ethact=ethernet@48484000
    ethaddr=d4:36:39:24:e2:c8
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=fdf23680
    fdtfile=siui_am57xx.dtb
    findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi; if test $board_name = dra7xx; then setenv fdtfile dra7-evm.dtb; fi;if test $board_name = dra72x-revc; then setenv fdtfile dra72-evm-revc.dtb; fi;if test $board_name = dra72x; then setenv fdtfile dra72-evm.dtb; fi;if test $board_name = dra71x; then setenv fdtfile dra71-evm.dtb; fi;if test $board_name = beagle_x15; then setenv fdtfile am57xx-beagle-x15.dtb; fi;if test $board_name = beagle_x15_revb1; then setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;if test $board_name = am57xx_evm; then setenv fdtfile am57xx-evm.dtb; fi;if test $board_name = am57xx_evm_reva3; then setenv fdtfile am57xx-evm-reva3.dtb; fi;if test $board_name = siui_am57xx_reva3; then setenv fdtfile siui_am57xx.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = no; then setenv fdtfile am572x-idk.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am572x-idk-lcd-osd.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am572x-idk-lcd-osd101t2587.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = no; then setenv fdtfile am571x-idk.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am571x-idk-lcd-osd.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am571x-idk-lcd-osd101t2587.dtb; fi;if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi;
    finduuid=part uuid mmc ${bootpart} uuid
    fit_bootfile=fitImage.itb
    fit_loadaddr=0x88000000
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    ipaddr=192.168.3.185
    kernel_addr_r=0x82000000
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadfit=run args_fit; bootm ${loadaddr}#${fdtfile};
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else run mmcloados;fi;fi;fi;
    mmcdev=0
    mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcrootfstype=ext4 rootwait
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=${static_ip}
    netboot=run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
    netloadfdt=tftp ${fdtaddr} ${fdtfile}
    netloadimage=tftp ${loadaddr} ${bootfile}
    nfsopts=nolock
    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rdaddr=0x88080000
    rootpath=/home/siui/project/ti/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/targetNFS
    scriptaddr=0x80000000
    scsidevs=0
    serverip=192.168.3.182
    soc=omap5
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial@48020000
    stdin=serial@48020000
    stdout=serial@48020000
    update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}
    usbtty=cdc_acm
    vendor=ti
    ver=U-Boot 2016.05-00304-g323bf10-dirty (Jul 26 2017 - 15:13:45 +0800)
    vram=16M

    Environment size: 6010/65532 bytes
  • I use earlyprintk, and console output some useful debug info.

    the console output:

    run netboot
    link up on port 0, speed 100, full duplex
    Using ethernet@48484000 device
    TFTP from server 192.168.3.182; our IP address is 192.168.3.185
    Filename 'zimage-am57xx-evm.bin'.
    Load address: 0x82000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ####################################################
    590.8 KiB/s
    done
    Bytes transferred = 3593200 (36d3f0 hex)
    link up on port 0, speed 100, full duplex
    Using ethernet@48484000 device
    TFTP from server 192.168.3.182; our IP address is 192.168.3.185
    Filename 'siui_am57xx.dtb'.
    Load address: 0x88000000
    Loading: ###################
    587.9 KiB/s
    done
    Bytes transferred = 96945 (17ab1 hex)
    Kernel image @ 0x82000000 [ 0x000000 - 0x36d3f0 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe5000, end 8ffffab0 ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.4.32-gadde2ca9f8 (siui@ubuntu) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #36 SMP PREEMPT Thu Jul 27 19:29:54 ULAT 2017
    [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] Machine model: SIUI TI AM572x EVM Rev A3
    [ 0.000000] bootconsole [earlycon0] enabled
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 24 MiB at 0x00000000fd400000
    [ 0.000000] Forcing write-allocate cache policy for SMP
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] OMAP4: Map 0x00000000fed00000 to fe600000 for dram barrier
    [ 0.000000] DRA752 ES2.0
    [ 0.000000] PERCPU: Embedded 11 pages/cpu @eed58000 s14848 r8192 d22016 u45056
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 468544
    [ 0.000000] Kernel command line: console=ttyO2,115200n8 earlyprintk=serial root=/dev/nfs nfsroot=192.168.3.182:/home/siui/project/ti/ti-processor-sdk-linux-am57xx-evm-03.02.00.05/targetNFS,nolock rw ip=192.168.3.185:192.168.3.182:::::off
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 1664432K/1881088K available (6571K kernel code, 360K rwdata, 2404K rodata, 332K init, 289K bss, 28240K reserved, 188416K cma-reserved, 1266688K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc08cc044 (8977 kB)
    [ 0.000000] .init : 0xc08cd000 - 0xc0920000 ( 332 kB)
    [ 0.000000] .data : 0xc0920000 - 0xc097a3b0 ( 361 kB)
    [ 0.000000] .bss : 0xc097c000 - 0xc09c4680 ( 290 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [ 0.000000] Architected 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.008308] Switching to timer-based delay loop, resolution 162ns
    [ 0.014946] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.025206] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.030896] Console: colour dummy device 80x30
    [ 0.035552] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [ 0.042345] This ensures that you still see kernel messages. Please
    [ 0.048859] update your kernel commandline.
    [ 0.053249] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.063881] pid_max: default: 32768 minimum: 301
    [ 0.068790] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.075675] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.083555] Initializing cgroup subsys io
    [ 0.087778] Initializing cgroup subsys memory
    [ 0.092352] Initializing cgroup subsys devices
    [ 0.097002] Initializing cgroup subsys freezer
    [ 0.101660] Initializing cgroup subsys perf_event
    [ 0.106575] Initializing cgroup subsys pids
    [ 0.110971] CPU: Testing write buffer coherency: ok
    [ 0.116277] /cpus/cpu@0 missing clock-frequency property
    [ 0.121821] /cpus/cpu@1 missing clock-frequency property
    [ 0.127378] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.133301] Setting up static identity map for 0x80008380 - 0x800083d8
    [ 0.220383] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.220442] Brought up 2 CPUs
    [ 0.229461] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.235901] CPU: All CPU(s) started in HYP mode.
    [ 0.240721] CPU: Virtualization extensions available.
    [ 0.246379] devtmpfs: initialized
    [ 0.276341] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.285215] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.489410] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [ 0.496997] pgd = c0003000
    [ 0.499858] [00000000] *pgd=80000080004003, *pmd=00000000
    [ 0.505496] Internal error: : 1211 [#1] PREEMPT SMP ARM
    [ 0.510943] Modules linked in:
    [ 0.514167] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.32-gadde2ca9f8 #36
    [ 0.521485] Hardware name: Generic DRA74X (Flattened Device Tree)
    [ 0.527823] task: ee890000 ti: ee88c000 task.ti: ee88c000
    [ 0.533453] PC is at _enable_sysc+0x4c/0x230
    [ 0.537921] LR is at _enable_sysc+0x38/0x230
    [ 0.542388] pc : [<c0024bb4>] lr : [<c0024ba0>] psr: 40000013
    [ 0.542388] sp : ee88de30 ip : ee88de30 fp : ee88de5c
    [ 0.554341] r10: 00000000 r9 : c08cd600 r8 : 000000a8
    [ 0.559784] r7 : c092dd00 r6 : c097c608 r5 : 00000000 r4 : c092d7c8
    [ 0.566567] r3 : c092d850 r2 : 00000002 r1 : c092d850 r0 : c092d7c8
    [ 0.573350] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
    [ 0.580934] Control: 30c5387d Table: 80003000 DAC: fffffffd
    [ 0.586915] Process swapper/0 (pid: 1, stack limit = 0xee88c210)
    [ 0.593163] Stack: (0xee88de30 to 0xee88e000)
    [ 0.597717] de20: c002bdfc c0671318 ee88de5c ee88de48
    [ 0.606196] de40: c002da84 c092d7c8 00000000 c097c608 ee88de84 ee88de60 c0024f3c c0024b74
    [ 0.614674] de60: ee88de84 ee88de70 c092d7c8 00000002 c092d814 ee9e3580 ee88deb4 ee88de88
    [ 0.623152] de80: c08d9aec c0024da4 c08da32c c092d7c8 c0927bb8 0000000c ee9e3580 c092d7c8
    [ 0.631630] dea0: c0927bb8 c0925730 ee88decc ee88deb8 c08da3a8 c08d9a2c c0925730 c08da32c
    [ 0.640108] dec0: ee88df4c ee88ded0 c000982c c08da338 ee88def4 ee88dee0 c08cd61c c02bb320
    [ 0.648586] dee0: effff500 c06a3be4 ee88df4c ee88def8 c004f540 c08cd60c ee88df34 c0808ad0
    [ 0.657063] df00: c0808b1c c08084c4 00000001 00000001 00000000 c08c9e74 c087fc1c 00000000
    [ 0.665541] df20: 00000474 c097c000 c097c000 c091b014 c090d820 000000a8 c08cd600 00000002
    [ 0.674018] df40: ee88df94 ee88df50 c08cdf68 c00097a0 00000001 00000001 00000000 c08cd600
    [ 0.682493] df60: 175c7855 c08c9e74 175c7855 c097c000 c066c6dc 00000000 00000000 00000000
    [ 0.690971] df80: 00000000 00000000 ee88dfac ee88df98 c066c6f4 c08cdda0 00000000 c066c6dc
    [ 0.699448] dfa0: 00000000 ee88dfb0 c000fb88 c066c6e8 00000000 00000000 00000000 00000000
    [ 0.707924] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 0.716401] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 175c7855 175c7855
    [ 0.724875] Backtrace:
    [ 0.727476] [<c0024b68>] (_enable_sysc) from [<c0024f3c>] (_enable+0x1a4/0x2d8)
    [ 0.735060] r6:c097c608 r5:00000000 r4:c092d7c8
    [ 0.739898] [<c0024d98>] (_enable) from [<c08d9aec>] (_setup.part.15+0xcc/0x3fc)
    [ 0.747569] r7:ee9e3580 r6:c092d814 r5:00000002 r4:c092d7c8
    [ 0.753483] [<c08d9a20>] (_setup.part.15) from [<c08da3a8>] (__omap_hwmod_setup_all+0x7c/0x98)
    [ 0.762401] r6:c0925730 r5:c0927bb8 r4:c092d7c8
    [ 0.767239] [<c08da32c>] (__omap_hwmod_setup_all) from [<c000982c>] (do_one_initcall+0x98/0x1e4)
    [ 0.776337] r5:c08da32c r4:c0925730
    [ 0.780100] [<c0009794>] (do_one_initcall) from [<c08cdf68>] (kernel_init_freeable+0x1d4/0x268)
    [ 0.789107] r10:00000002 r9:c08cd600 r8:000000a8 r7:c090d820 r6:c091b014 r5:c097c000
    [ 0.797243] r4:c097c000
    [ 0.799937] [<c08cdd94>] (kernel_init_freeable) from [<c066c6f4>] (kernel_init+0x18/0xf4)
    [ 0.808410] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c066c6dc
    [ 0.816549] r4:c097c000
    [ 0.819241] [<c066c6dc>] (kernel_init) from [<c000fb88>] (ret_from_fork+0x14/0x2c)
    [ 0.827091] r5:c066c6dc r4:00000000
    [ 0.830849] Code: e3130080 1a000061 e5943004 e1a00004 (e5942058)
    [ 0.837202] ---[ end trace 00bf4af046e0e790 ]---
    [ 0.842057] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [ 0.842057]
    [ 0.851607] CPU1: stopping
    [ 0.854474] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 4.4.32-gadde2ca9f8 #36
    [ 0.863040] Hardware name: Generic DRA74X (Flattened Device Tree)
    [ 0.869375] Backtrace:
    [ 0.871986] [<c00131a4>] (dump_backtrace) from [<c00133a0>] (show_stack+0x18/0x1c)
    [ 0.879837] r7:ee8b7f40 r6:20000193 r5:00000000 r4:c094ce8c
    [ 0.885750] [<c0013388>] (show_stack) from [<c02b43cc>] (dump_stack+0x8c/0xa0)
    [ 0.893250] [<c02b4340>] (dump_stack) from [<c00164e0>] (handle_IPI+0x184/0x198)
    [ 0.900923] r7:ee8b7f40 r6:00000000 r5:00000001 r4:c091d424
    [ 0.906833] [<c001635c>] (handle_IPI) from [<c00094c4>] (gic_handle_irq+0x78/0x7c)
    [ 0.914682] r7:fa212000 r6:ee8b7f40 r5:fa21200c r4:c09228e0
    [ 0.920587] [<c000944c>] (gic_handle_irq) from [<c0013e80>] (__irq_svc+0x40/0x74)
    [ 0.928349] Exception stack(0xee8b7f40 to 0xee8b7f88)
    [ 0.933618] 7f40: 00000001 00000000 00000000 c0020800 ee8b6000 c09224ac 00000000 00000000
    [ 0.942093] 7f60: ee8b7fb0 c067521c c092250c ee8b7f9c ee8b7fa0 ee8b7f90 c0010614 c0010618
    [ 0.950566] 7f80: 60000013 ffffffff
    [ 0.954226] r9:c067521c r8:ee8b7fb0 r7:ee8b7f74 r6:ffffffff r5:60000013 r4:c0010618
    [ 0.962283] [<c00105d8>] (arch_cpu_idle) from [<c0070c60>] (default_idle_call+0x28/0x34)
    [ 0.970676] [<c0070c38>] (default_idle_call) from [<c0070ec0>] (cpu_startup_entry+0x200/0x260)
    [ 0.979601] [<c0070cc0>] (cpu_startup_entry) from [<c00160c8>] (secondary_start_kernel+0x16c/0x178)
    [ 0.988965] r7:c097c2a8
    [ 0.991654] [<c0015f5c>] (secondary_start_kernel) from [<8000956c>] (0x8000956c)
    [ 0.999325] r7:c097c2a8 r6:30c0387d r5:00000000 r4:ae843d00
    [ 1.005235] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [ 1.005235]

  • The problem is resolved.

    The reason is: 

    Acoording to processor manual, the RTC_PROZ pin should be connect to POR, but my board connect to ground.

    Finally, I disable the module of RTC of am57xx, and comment all code about it.

    Because my board use another rct chip, not the rct of am57xx.