Firefly开源社区

打印 上一主题 下一主题

求助:RK3128插SD卡时,启动出现问题

16

积分

0

威望

0

贡献

游客

积分
16

求助:RK3128插SD卡时,启动出现问题

发表于 2018-2-23 22:36:55      浏览:8282 | 回复:6        打印      只看该作者   [复制链接] 楼主
[    0.779221] cpu_det_gpio up
[    0.779296] power_hold_gpio up
[    0.779347] rk818_i2c_probe: rk818_pmic_sleep=0
[    0.783355] vdd_arm: 712 <--> 1500 mV at 1100 mV
[    0.787680] vdd_logic: 712 <--> 1500 mV at 1100 mV
[    0.791527] rk818_dcdc3: 1200 mV
[    0.795872] vccio: 1800 <--> 3300 mV at 3000 mV
[    0.799766] rk818_ldo1: 3300 mV
[    0.803586] rk818_ldo2: 3000 mV
[    0.807421] rk818_ldo3: 1100 mV
[    ▒▒ ▒
▒▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒)▒+▒▒!▒▒▒f▒H▒%r▒@▒▒Ɓz▒▒▒Y▒▒▒▒▒Y9r        /▒▒y ▒!

▒▒▒▒▒G▒,FJ6▒X▒h3▒▒*R▒▒▒▒;▒
                                                                                         

▒▒▒▒▒r▒~▒▒▒▒▒'@▒ ▒0▒▒p▒▒O▒H▒▒▒!▒▒Y▒D▒U▒▒▒FM▒L�T▒t▒▒!▒▒ ▒▒▒@▒▒
▒▒@▒▒▒▒▒▒@▒0▒▒▒▒▒▒▒?}▒▒▒▒▒▒ ▒▒▒ ▒(▒▒▒▒▒▒▒▒▒▒p▒▒
▒▒▒/;▒▒▒▒▒▒@▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒▒c▒▒▒`▒▒▒#▒▒I▒▒▒▒ ▒6}▒▒▒▒▒▒▒▒▒▒▒▒Q"▒▒▒#▒▒▒▒▒▒▒#H▒▒<}▒▒▒Ȁ▒`N▒▒`▒▒
回复

使用道具 举报

16

积分

0

威望

0

贡献

游客

积分
16
发表于 2018-2-23 22:41:17        只看该作者  沙发
1. fireprime插sd卡时,kernel启动就会卡在”rk818”这里。无论sd卡是空的,是有文件的,还是有rootfs的。
2. 不插卡启动正常。
3. 电源用的5v 2A的适配器。
不清楚是什么原因,求大神解答
回复

使用道具 举报

16

积分

0

威望

0

贡献

游客

积分
16
发表于 2018-2-23 22:42:09        只看该作者  板凳
完整的反馈信息:

▒▒▒DDR Version 2.04 20150121
In
1A1A1C1B   3
DDR3
1C1C1C1C   F
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
mach:2
OUT
Boot1 Release Time: 2015-05-25, version: 2.25
ChipType = a 1359
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=e90000
FwPart▒▒▒▒eMF▒;_^r▒▒\r\▒0
FwPartOffset=0 , 0
StorageInit ok = 150510
theL

U-Boot 2014.10-RK3128-10 (Dec 28 2015 - 14:53:17)

CPU: rk3128
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
rk dma▒▒▒▒▒▒▒▒storage init OK!
Using default environment

GetParam
check parameter success
Unknow param: MACHINE_MODEL:rk312x!
Unknow param: MACHINE_ID:007!
Unknow param: MANUFACTURER:RK30SDK!
failed to prepare fdt from boot!
power key: bank-3 pin-23
can't find dts node for ricoh619
can't find dts node for act8846
can't find dts node for rk808
v01: power_hold GPIO pull up
cpu_det GPIO pull up
pmic:rk818
Can't find dts node for fuel guage cw201x
can't find dts node for ADC
Enter power_led_init
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2015-06-12#2.25
empty serial no.
checkKey
vbus = 1
use dc chg rk818_charger_setting iset1:0xf9 chgiset:0xf5 current 1
read logo_on switch from dts [1]
can't find power_ctr node for lcdc0
failed to find part:logo
Hit any key to stop autoboot:  0
load fdt from resouce.
ERROR: [get_entry_ram]: Cannot find logo_kernel.bmp!
Secure Boot state: 0
kernel   @ 0x62000000 (0x006a5320)
ramdisk  @ 0x65bf0000 (0x00299428)
bootrk: do_bootm_linux...
   Loading Device Tree to 65600000, end 6561663c ... 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 cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.0 (william@william-K42JP) (gcc version 4.6.x-google 20120106

(prerelease) (GCC) ) #2 SMP PREEMPT Fri Feb 23 20:54:36 CST 2018
[    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: 2000000@9dc00000, offset:0
[    0.000000] rockchip_uboot_mem_reserve: reserve 2000000@9dc00000 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] PERCPU: Embedded 9 pages/cpu @c166b000 s14016 r8192 d14656 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,115200

console=tty0 earlyprintk root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4

init=/sbin/init  mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000

(misc),0x00008000@0x00006000(resource),0x00010000@0x0000E000(boot),0x00020000@0x0001E000

(backup),-@0x0003E000(linuxroot) storagemedia=emmc uboot_logo=0x02000000@0x9dc00000

loader.timestamp=2015-12-28_14:53:17
[    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: 962896k/962896k available, 85680k 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 - 0xc0ba890c   (11907 kB)
[    0.000000]       .init : 0xc0ba9000 - 0xc0c036c0   ( 362 kB)
[    0.000000]       .data : 0xc0c04000 - 0xc0d20438   (1138 kB)
[    0.000000]        .bss : 0xc0d20438 - 0xc0e424fc   (1161 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! cru base = 0xfed00000
[    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:22
[    0.000000] target-temp:85
[    0.000000] FirePrime hardware version: V01
[    0.000000] channel:0, lkg:22
[    0.000000] target-temp:85
[    0.000000] channel:0, lkg:22
[    0.000000] target-temp:85
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled
[    0.548195] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00

BogoMIPS (lpj=240000)
[    0.548257] pid_max: default: 32768 minimum: 301
[    0.548468] Security Framework initialized
[    0.548514] SELinux:  Initializing.
[    0.548662] Mount-cache hash table entries: 512
[    0.549891] Initializing cgroup subsys debug
[    0.549943] Initializing cgroup subsys memory
[    0.550011] Initializing cgroup subsys freezer
[    0.550090] CPU: Testing write buffer coherency: ok
[    0.550636] /cpus/cpu@0 missing clock-frequency property
[    0.550690] /cpus/cpu@1 missing clock-frequency property
[    0.550727] /cpus/cpu@2 missing clock-frequency property
[    0.550763] /cpus/cpu@3 missing clock-frequency property
[    0.550851] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.550939] Setting up static identity map for 0xc0854a38 - 0xc0854a90
[    0.553122] last_log: 0x7e900000 map to 0xe0804000 and copy to 0xe0886000, size 0x80000 early

0x169b (version 3.0)
[    0.624623] CPU1: Booted secondary processor
[    0.624679] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.644320] CPU2: Booted secondary processor
[    0.644365] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.664067] CPU3: Booted secondary processor
[    0.664109] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.664293] Brought up 4 CPUs
[    0.664460] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.664495] CPU: All CPU(s) started in SVC mode.
[    0.665909] devtmpfs: initialized
[    0.675577] pinctrl core: initialized pinctrl subsystem
[    0.676106] regulator-dummy: no parameters
[    0.677651] NET: Registered protocol family 16
[    0.680855] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.681562] ion_snapshot: 0x7e998000 map to 0xe0907000 and copy to 0xc0e1da84 (version 0.1)
[    0.681820] Registered FIQ tty driver
[    0.684202] console [ttyFIQ0] enabled
[    0.684644] Registered fiq debugger ttyFIQ0
[    0.686219] rockchip_get_bank_data:name=/pinctrl@20008000/gpio0@2007c000

start=0x2007c000,end=0x2007c0ff
[    0.686396] rockchip_get_bank_data:name=/pinctrl@20008000/gpio1@20080000

start=0x20080000,end=0x200800ff
[    0.686518] rockchip_get_bank_data:name=/pinctrl@20008000/gpio2@20084000

start=0x20084000,end=0x200840ff
[    0.686635] rockchip_get_bank_data:name=/pinctrl@20008000/gpio3@20088000

start=0x20088000,end=0x200880ff
[    0.686760] rockchip_get_bank_data:name=/pinctrl@20008000/gpio15@2008A000

start=0x20086000,end=0x200860ff
[    0.686867] rockchip_pinctrl_probe:name=rk312x-GPIO,type=5
[    0.686918] rockchip_pinctrl_probe:name=base start=0x20008000,end=0x200080a7
[    0.686969] rockchip_pinctrl_probe:name=mux start=0x200080a8,end=0x200080f3
[    0.687019] rockchip_pinctrl_probe:name=pull start=0x20008118,end=0x20008137
[    0.687070] rockchip_pinctrl_probe:name=drv start=0x20008100,end=0x20008103
[    0.689840] rockchip_pinctrl_probe:init ok
[    0.697886] rk_iommu 1010e300.vop_mmu: (vop) Enter
[    0.697970] rk_iommu 1010e300.vop_mmu: skip request vop mmu irq
[    0.698081] rk_iommu 1010e300.vop_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.698143] rk_iommu 1010e300.vop_mmu: (vop) Initialized
[    0.698441] rk_iommu 10104440.hevc_mmu: (hevc) Enter
[    0.698608] rk_iommu 10104440.hevc_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.698671] rk_iommu 10104440.hevc_mmu: (hevc) Initialized
[    0.698967] rk_iommu 10106800.vpu_mmu: (vpu) Enter
[    0.699123] rk_iommu 10106800.vpu_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.699190] rk_iommu 10106800.vpu_mmu: (vpu) Initialized
[    0.699468] rk_iommu 10108800.iep_mmu: (iep) Enter
[    0.699617] rk_iommu 10108800.iep_mmu: IOVMM: Created 0x3ffff000 B IOVMM from 0x10000000.
[    0.699678] rk_iommu 10108800.iep_mmu: (iep) Initialized
[    0.701303] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.701367] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.701681] DDR DEBUG: version 1.02 20140828
[    0.701726] DDR DEBUG: DRAM Type:DDR3
[    0.701765] DDR DEBUG: 1 CS, ROW=15, Bank=8, COL=10, Total Capability=1024MB
[    0.701832] DDR DEBUG: init success!!! freq=300MHz
[    0.755912] bio: create slab <bio-0> at 0
[    0.757006] Rockchip hdmi driver version 2.0
.
[    0.758903] SCSI subsystem initialized
[    0.759269] usbcore: registered new interface driver usbfs
[    0.759398] usbcore: registered new interface driver hub
[    0.759630] usbcore: registered new device driver usb
[    0.761842] rockchip_i2c 20072000.i2c: i2c-0: Rockchip I2C adapter
[    0.764177] media: Linux media interface: v0.10
[    0.764298] Linux video capture interface: v2.00
[    0.764526] pps_core: LinuxPPS API ver. 1 registered
[    0.764573] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti

<giometti@linux.it>
[    0.764652] PTP clock support registered
[    0.764765] i2c-core: driver [bq24296] using legacy suspend method
[    0.764810] i2c-core: driver [bq24296] using legacy resume method
[    0.766226] Rockchip ion module is successfully loaded (v1.1)
[    0.766529] Advanced Linux Sound Architecture Driver Initialized.
[    0.767315] Bluetooth: Core ver 2.16
[    0.767412] NET: Registered protocol family 31
[    0.767451] Bluetooth: HCI device and connection manager initialized
[    0.767505] Bluetooth: HCI socket layer initialized
[    0.767552] Bluetooth: L2CAP socket layer initialized
[    0.767626] Bluetooth: SCO socket layer initialized
[    0.768093] cfg80211: Calling CRDA to update world regulatory domain
[    0.769768] act8931_i2c_probe,line=715
[    0.770616] The device is not act8931
[    0.771317] rk818_i2c_probe,line=1286
[    0.771642] rk818_pre_init,line=1201
[    0.779221] cpu_det_gpio up
[    0.779296] power_hold_gpio up
[    0.779347] rk818_i2c_probe: rk818_pmic_sleep=0
[    0.783355] vdd_arm: 712 <--> 1500 mV at 1100 mV
[    0.787680] vdd_logic: 712 <--> 1500 mV at 1100 mV
[    0.791527] rk818_dcdc3: 1200 mV
[    0.795872] vccio: 1800 <--> 3300 mV at 3000 mV
[    0.799766] rk818_ldo1: 3300 mV
[    0.803586] rk818_ldo2: 3000 mV
[    0.807421] rk818_ldo3: 1100 mV
[    ▒▒ ▒
▒▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒)▒+▒▒!▒▒▒f▒H▒%r▒@▒▒Ɓz▒▒▒Y▒▒▒▒▒Y9r        /▒▒y ▒!

▒▒▒▒▒G▒,FJ6▒X▒h3▒▒*R▒▒▒▒;▒
                                                                                         

▒▒▒▒▒r▒~▒▒▒▒▒'@▒ ▒0▒▒p▒▒O▒H▒▒▒!▒▒Y▒D▒U▒▒▒FM▒L�T▒t▒▒!▒▒ ▒▒▒@▒▒
▒▒@▒▒▒▒▒▒@▒0▒▒▒▒▒▒▒?}▒▒▒▒▒▒ ▒▒▒ ▒(▒▒▒▒▒▒▒▒▒▒p▒▒
▒▒▒/;▒▒▒▒▒▒@▒▒▒▒▒▒▒▒▒▒▒▒
▒▒▒▒c▒▒▒`▒▒▒#▒▒I▒▒▒▒ ▒6}▒▒▒▒▒▒▒▒▒▒▒▒Q"▒▒▒#▒▒▒▒▒▒▒#H▒▒<}▒▒▒Ȁ▒`N▒▒`▒▒
回复

使用道具 举报

2965

积分

12

威望

22

贡献

高级创客

Rank: 6Rank: 6

积分
2965
发表于 2018-2-24 09:06:14        只看该作者  地板
rockchipzz 发表于 2018-2-23 22:42
完整的反馈信息:

▒▒▒DDR Version 2.04 20150121

sdmmc与串口debug印脚是复用的
回复

使用道具 举报

16

积分

0

威望

0

贡献

游客

积分
16
发表于 2018-2-24 11:01:29        只看该作者  5#
leung先森 发表于 2018-2-24 09:06
sdmmc与串口debug印脚是复用的

谢谢大神,我去改一下
回复

使用道具 举报

50

积分

0

威望

0

贡献

技术小白

积分
50
发表于 2020-2-12 13:30:56        只看该作者  6#
能否贴出修改的地方么?
回复

使用道具 举报

6

积分

0

威望

0

贡献

技术小白

积分
6
发表于 2020-4-8 16:00:25        只看该作者  7#
请问一下插入SD卡之后去哪里进行调试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表