Firefly开源社区

标题: 3128c的板子跑自己的code android7.1 kernel跑一小会后就挂掉了 [打印本页]

作者: Jensum    时间: 2019-2-22 16:24
标题: 3128c的板子跑自己的code android7.1 kernel跑一小会后就挂掉了
rk3128 android7.1更改一些对应 aio-rk3128c的开发板配置,下进去后 kernel跑到0.93s左右 log就没打印了。其中发现系统wdt 或者I2S去获取clocksource都失败了,请问这个是什么原因?
[    0.825469] RK29 Watchdog Timer, (c) 2011 Rockchip Electronics
[    0.825628] ERROR: could not get clock /wdt@2004c000:pclk_wdt(0)

[    0.890234] rockchip-i2s 10200000.i2s1: i2s1 has no mclk
具体log:
1A1A1C1D   3
DDR3
1C1C1C1D   F
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
mach:2
OUT
Boot1 Release Time: 2017-06-12, version: 2.40
ChipType = 0xa, 1368
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=7456MB
FwPar1¥?0 20
StorageInit ok = 111447
Code check OK! theLoader 0x60000000, 151465
hdr 0x0:0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

hdr 0x0:0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

hdr 0x0:0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

hdr 0x0:0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,


U-Boot 2014.10-RK3128-06-02461-gfc6a1db (Feb 21 2019 - 09:05:30)

CPU: rk3128
cpu version = 0
CPU's clock information:
    arm pll = 300000000HZ
    periph pll = 594000000HZ
    ddr pll = 600000000HZ
    codec pll = 400000000HZ
Board:  Rockchip platform Board
Uboot as second level loader
DRAM:  Found dram banks: 1
Adding bank:0000000060000000(0000000040000000)
128 MiB
GIC CPU mask = 0x00000001
*V?k%1¥с= 0 20
SdmmcInit = 2 0
storage init OK!
Using default environment

GetParam
Load FDT from resource image.
power key: bank-3 pin-23
can't find dts node for fixed
rk816_set_regulator_init vdd_arm init uV:1300000
pmic:rk816
Can't find dts node for fuel guage cw201x
can't find dts node for ADC
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2019-02-21#2.40
empty serial no.
normal boot.
checkKey
vbus = 1
read logo on state from dts [1]
got recovery cmd from misc.
load fdt from resouce.
Secure Boot state: 0
kernel   @ 0x62000000 (0x007b7f78)
ramdisk  @ 0x65bf0000 (0x004c3070)
bootrk: do_bootm_linux...
   Loading Device Tree to 65600000, end 6561791c ... OK
Add bank:0000000060000000, 0000000040000000

Starting kernel ...

<hit enter to activate fiq debugger>
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.104 (tangjinxiang@leelen-Vostro-270s) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #5 SMP PREEMPT Thu Feb 21 19:25:40 CST 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Rockchip RK3128, model: rockchip,rk3128
[    0.000000] rockchip_uboot_logo_setup: mem: 0x02000000@0x9dc00000, offset:0x01000000
[    0.000000] rockchip_uboot_mem_reserve: reserve 0x02000000@0x9dc00000 for uboot logo
[    0.000000] rockchip_ion_reserve
[    0.000000] ion heap(cma): base(0) size(800000) align(0)
[    0.000000] ion heap(vmalloc): base(0) size(0) align(0)
[    0.000000] cma: CMA: reserved 8 MiB at 9d400000
[    0.000000] ion_reserve: cma reserved base 9d400000 size 8388608
[    0.000000] cma: CMA: reserved 16 MiB at 7f000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] Boot mode: RECOVERY (2) flag: RECOVER (0xc3524203)
[    0.000000] PERCPU: Embedded 9 pages/cpu @c18e1000 s13440 r8192 d15232 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 261120
[    0.000000] Kernel command line: vmalloc=496M rockchip_jtag console=ttyFIQ0 androidboot.baseband=N/A androidboot.selinux=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init  mtdparts=rk29xxnand:0x00002000@0x00000000(parameter),0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00002000@0x00006000(misc),0x00008000@0x00008000(resource),0x00006000@0x00010000(kernel),0x00006000@0x00016000(boot),0x00010000@0x0001C000(recovery),0x00020000@0x0002C000(backup),0x00040000@0x0004C000(cache),0x00008000@0x0008C000(metadata),0x00002000@0x00094000(kpanic),0x00400000@0x00096000(system),0x00020000@0x00496000(radical_update),-@0x004B6000(userdata) storagemedia=emmc uboot_logo=0x02000000@0x9dc00000:0x01000000 loader.timestamp=2019-02-21_09:05:30 SecureBootCheckOk=0
[    0.000000] rockchip jtag enabled
[    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] allocated 2097152 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 1024MB = 1024MB total
[    0.000000] Memory: 958156k/958156k available, 90420k reserved, 483328K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0dd9f74   (14152 kB)
[    0.000000]       .init : 0xc0dda000 - 0xc0e39480   ( 382 kB)
[    0.000000]       .data : 0xc0e3a000 - 0xc0f693a0   (1213 kB)
[    0.000000]        .bss : 0xc0f693a0 - 0xc109945c   (1217 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] rk_clk_tree_init start!
[    0.000000] rk_get_uboot_display_flag: uboot_logo_on = 1
[    0.000000] rkclk_init_clks: cnt_parent = 25
[    0.000000] rkclk_init_clks: cnt_rate = 17
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: ARM arch timer >56 bits at 24000kHz, resolution 41ns
[    0.000000] process version: 0
[    0.000000] channel:0, lkg:23
[    0.000000] target-temp:85
[    0.000000] channel:0, lkg:23
[    0.000000] channel:0, lkg:23
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[    0.550094] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.550121] pid_max: default: 32768 minimum: 301
[    0.550329] Security Framework initialized
[    0.550357] SELinux:  Initializing.
[    0.550505] Mount-cache hash table entries: 512
[    0.551692] Initializing cgroup subsys debug
[    0.551720] Initializing cgroup subsys memory
[    0.551771] Initializing cgroup subsys freezer
[    0.551833] CPU: Testing write buffer coherency: ok
[    0.552350] /cpus/cpu@0 missing clock-frequency property
[    0.552378] /cpus/cpu@1 missing clock-frequency property
[    0.552397] /cpus/cpu@2 missing clock-frequency property
[    0.552416] /cpus/cpu@3 missing clock-frequency property
[    0.552492] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.552562] Setting up static identity map for 0xc09c18d8 - 0xc09c1930
[    0.554759] last_log: 0x7e900000 map to 0xe0804000 and copy to 0xe0886000, size 0x80000 early 0x1798 (version 3.1)
[    0.627875] CPU1: Booted secondary processor
[    0.627932] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.647566] CPU2: Booted secondary processor
[    0.647612] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.667317] CPU3: Booted secondary processor
[    0.667360] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.667545] Brought up 4 CPUs
[    0.667599] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.667613] CPU: All CPU(s) started in SVC mode.
[    0.669028] devtmpfs: initialized
[    0.678296] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.680015] pinctrl core: initialized pinctrl subsystem
[    0.680510] regulator-dummy: no parameters
[    0.707791] NET: Registered protocol family 16
[    0.711588] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.712310] ion_snapshot: 0x7ea60000 map to 0xe0907000 and copy to 0xc106eab4 (version 0.1)
[    0.712505] Registered FIQ tty driver
[    0.714758] console [ttyFIQ0] enabled
[    0.715225] Registered fiq debugger ttyFIQ0
[    0.717503] rockchip_get_bank_data:name=/pinctrl@20008000/gpio0@2007c000 start=0x2007c000,end=0x2007c0ff
[    0.717645] rockchip_get_bank_data:name=/pinctrl@20008000/gpio1@20080000 start=0x20080000,end=0x200800ff
[    0.717730] rockchip_get_bank_data:name=/pinctrl@20008000/gpio2@20084000 start=0x20084000,end=0x200840ff
[    0.717809] rockchip_get_bank_data:name=/pinctrl@20008000/gpio3@20088000 start=0x20088000,end=0x200880ff
[    0.717896] rockchip_get_bank_data:name=/pinctrl@20008000/gpio15@2008A000 start=0x20086000,end=0x200860ff
[    0.717968] rockchip_pinctrl_probe:name=rk312x-GPIO,type=5
[    0.717996] rockchip_pinctrl_probe:name=base start=0x20008000,end=0x200080a7
[    0.718022] rockchip_pinctrl_probe:name=mux start=0x200080a8,end=0x200080f3
[    0.718049] rockchip_pinctrl_probe:name=pull start=0x20008118,end=0x20008137
[    0.718074] rockchip_pinctrl_probe:name=drv start=0x20008100,end=0x20008103
[    0.721026] of_get_gpio_init_config:gpio[0] = 87, value = 1
[    0.721121] rockchip_pinctrl_probe:init ok
[    0.724569] syscon 20008000.syscon: regmap [mem 0x20008000-0x200083ff] registered
[    0.731408] rk_iommu 1010e300.vop_mmu: (vop) Enter
[    0.731460] rk_iommu 1010e300.vop_mmu: skip request vop mmu irq
[    0.731550] rk_iommu 1010e300.vop_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.731576] rk_iommu 1010e300.vop_mmu: (vop) Initialized
[    0.731864] rk_iommu 10104440.hevc_mmu: (hevc) Enter
[    0.732004] rk_iommu 10104440.hevc_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.732032] rk_iommu 10104440.hevc_mmu: (hevc) Initialized
[    0.732313] rk_iommu 10106800.vpu_mmu: (vpu) Enter
[    0.732447] rk_iommu 10106800.vpu_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.732474] rk_iommu 10106800.vpu_mmu: (vpu) Initialized
[    0.732740] rk_iommu 10108800.iep_mmu: (iep) Enter
[    0.732863] rk_iommu 10108800.iep_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.732890] rk_iommu 10108800.iep_mmu: (iep) Initialized
[    0.734718] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.734745] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.735525] rk3368_init_rockchip_pmu_ops: could not find pmu dt node
[    0.735570] DDR DEBUG: version 1.02 20140828
[    0.735590] DDR DEBUG: DRAM Type:DDR3
[    0.735614] DDR DEBUG: 1 CS, ROW=15, Bank=8, COL=10, Total Capability=1024MB
[    0.735659] DDR DEBUG: init success!!! freq=300MHz
[    0.815882] bio: create slab <bio-0> at 0
[    0.816970] Rockchip hdmi driver version 2.0
[    0.818850] SCSI subsystem initialized
[    0.819199] usbcore: registered new interface driver usbfs
[    0.819300] usbcore: registered new interface driver hub
[    0.819536] usbcore: registered new device driver usb
[    0.823149] rockchip_i2c 20072000.i2c: i2c-0: Rockchip I2C adapter
[    0.824218] rockchip_i2c 2005a000.i2c: i2c-2: Rockchip I2C adapter
[    0.824400] media: Linux media interface: v0.10
[    0.824503] Linux video capture interface: v2.00
[    0.824731] pps_core: LinuxPPS API ver. 1 registered
[    0.824752] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.824800] PTP clock support registered
[    0.824938] i2c-core: driver [bq24296] using legacy suspend method
[    0.824961] i2c-core: driver [bq24296] using legacy resume method
[    0.825469] RK29 Watchdog Timer, (c) 2011 Rockchip Electronics
[    0.825628] ERROR: could not get clock /wdt@2004c000:pclk_wdt(0)
[    0.825687] rk29-wdt 2004c000.wdt: failed to find watchdog clock source
[    0.825744] rk29-wdt: probe of 2004c000.wdt failed with error -2
[    0.826913] Rockchip ion module is successfully loaded (v1.1)
[    0.827183] Advanced Linux Sound Architecture Driver Initialized.
[    0.827996] Bluetooth: Core ver 2.16
[    0.828074] NET: Registered protocol family 31
[    0.828095] Bluetooth: HCI device and connection manager initialized
[    0.828128] Bluetooth: HCI socket layer initialized
[    0.828157] Bluetooth: L2CAP socket layer initialized
[    0.828210] Bluetooth: SCO socket layer initialized
[    0.828663] cfg80211: Calling CRDA to update world regulatory domain
[    0.831255] rk8xx_i2c_probe,line=817
[    0.831956] pmic is rk816, chip version is 8163
[    0.832488] pmic on/off source: on=0x40, off=0x0
[    0.838902] rk8xx_i2c_probe: rk8xx_pmic_sleep=0
[    0.842569] rk816_regulator_probe: compatible rk816
[    0.846107] vdd_arm: 712 <--> 1450 mV at 1300 mV
[    0.849213] vdd_logic: 712 <--> 1450 mV at 1100 mV
[    0.852302] vcc_ddr: 1200 mV
[    0.855411] vccio: 3000 <--> 3300 mV at 3300 mV
[    0.858917] rk816_ldo1: 2800 mV
[    0.862381] rk816_ldo2: 1800 mV
[    0.865906] rk816_ldo3: 1100 mV
[    0.869370] vcc_lan: 3300 mV
[    0.872840] rk816_ldo5: 3300 mV
[    0.876279] rk816_ldo6: 3300 mV
[    0.877204] rk8xx_i2c_probe success
[    0.877273] i2c-core: driver [rk816] using legacy suspend method
[    0.877293] i2c-core: driver [rk816] using legacy resume method
[    0.877371] i2c-core: driver [rk818] using legacy suspend method
[    0.877391] i2c-core: driver [rk818] using legacy resume method
[    0.878385] rk816_rtc_probe,line=463
[    0.888301] rk8xx-rtc rk8xx-rtc: rtc core: registered rk816 as rtc0
[    0.889727] rk816: rtc ok
[    0.890234] rockchip-i2s 10200000.i2s1: i2s1 has no mclk
[    0.892730] Switching to clocksource arch_sys_counter
[    0.925176] rk_battery_charger_detect_cb , battery_charger_detect 1
[    0.933768] rga 1010c000.rga: rga ion client create success!
[    0.934083] rga: Driver loaded succesfully
[    0.934207] rga: Module initialized.
[    0.934μ




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1