Firefly开源社区

标题: rk3308 mmc由samsung 8G换为镁光 4G需要特别配置么 [打印本页]

作者: wx_峰_Os381    时间: 2020-3-13 11:45
标题: rk3308 mmc由samsung 8G换为镁光 4G需要特别配置么
rk3308 mmc由samsung 8G换为镁光 4G需要特别配置么?
现在板子有时可以起来, 有时起不来, 在firefly 开源demo板上(samsung 8G)可以起来, 原始sdk可以兼容么
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.143 (david@ubuntu) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #2 SMP PREEMPT Thu Mar 12 02:13:09 PDT 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd042]
[    0.000000] earlycon: Early serial console at MMIO32 0xff0c0000 (options '')
[    0.000000] bootconsole [uart0] enabled
[    0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[    0.000000] On node 0 totalpages: 130560
[    0.000000]   DMA zone: 2040 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 130560 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] PERCPU: Embedded 19 pages/cpu @ffffffc01ff54000 s40088 r8192 d29544 u77824
[    0.000000] pcpu-alloc: s40088 r8192 d29544 u77824 alloc=19*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 128520
[    0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.slot_suffix= androidboot.serialno=c3d9b8674f4b94f6  rootwait earlycon=uart8250,mmio32,0xff0c0000 swiotlb=1 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext2 snd_aloop.index=7
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] software IO TLB [mem 0x1fe50000-0x1fe90000] (0MB) mapped at [ffffffc01fe50000-ffffffc01fe8ffff]
[    0.000000] Memory: 504940K/522240K available (4350K kernel code, 390K rwdata, 1716K rodata, 320K init, 464K bss, 17300K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000   (   246 GB)
[    0.000000]       .init : 0xffffff8008670000 - 0xffffff80086c0000   (   320 KB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff80084c0000   (  4352 KB)
[    0.000000]     .rodata : 0xffffff80084c0000 - 0xffffff8008670000   (  1728 KB)
[    0.000000]       .data : 0xffffff80086c0000 - 0xffffff8008721808   (   391 KB)
[    0.000000]     fixed   : 0xffffffbffe7fd000 - 0xffffffbffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.000000]     memory  : 0xffffffc000200000 - 0xffffffc020000000   (   510 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] rockchip_mmc_get_phase: invalid clk rate
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001833] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.002787] pid_max: default: 32768 minimum: 301
[    0.003364] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.003976] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.005624] sched-energy: CPU device node has no sched-energy-costs
[    0.006255] Invalid sched_group_energy for CPU0
[    0.006684] CPU0: update cpu_capacity 1024
[    0.007118] ASID allocator initialised with 65536 entries
[    0.016946] Detected VIPT I-cache on CPU1
[    0.017013] Invalid sched_group_energy for CPU1
[    0.017019] CPU1: update cpu_capacity 1024
[    0.017023] CPU1: Booted secondary processor [410fd042]
[    0.019957] Detected VIPT I-cache on CPU2
[    0.019997] Invalid sched_group_energy for CPU2
[    0.020002] CPU2: update cpu_capacity 1024
[    0.020006] CPU2: Booted secondary processor [410fd042]
[    0.022999] Detected VIPT I-cache on CPU3
[    0.023039] Invalid sched_group_energy for CPU3
[    0.023043] CPU3: update cpu_capacity 1024
[    0.023048] CPU3: Booted secondary processor [410fd042]
[    0.023118] Brought up 4 CPUs
[    0.028332] SMP: Total of 4 processors activated.
[    0.028774] CPU: All CPU(s) started at EL2
[    0.029297] Invalid sched_group_energy for CPU3
[    0.029720] Invalid sched_group_energy for Cluster3
[    0.030183] Invalid sched_group_energy for CPU2
[    0.030601] Invalid sched_group_energy for Cluster2
[    0.031050] Invalid sched_group_energy for CPU1
[    0.031479] Invalid sched_group_energy for Cluster1
[    0.031926] Invalid sched_group_energy for CPU0
[    0.032344] Invalid sched_group_energy for Cluster0
[    0.033411] devtmpfs: initialized
[    0.052819] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.053770] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.054867] pinctrl core: initialized pinctrl subsystem
[    0.056618] NET: Registered protocol family 16
[    0.062131] cpuidle: using governor menu
[    0.062533] Registered FIQ tty driver
[    0.063155] vdso: 2 pages (1 code @ ffffff80084c6000, 1 data @ ffffff80086c4000)
[    0.063863] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.064799] DMA: preallocated 256 KiB pool for atomic allocations
[    0.072753] console [pstore-1] enabled
[    0.073108] pstore: Registered ramoops as persistent store backend
[    0.073691] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[    0.081368] gpiochip_add_data: registered GPIOs 0 to 31 on device: gpio0
[    0.081513] gpiochip_add_data: registered GPIOs 32 to 63 on device: gpio1
[    0.081650] gpiochip_add_data: registered GPIOs 64 to 95 on device: gpio2
[    0.081771] gpiochip_add_data: registered GPIOs 96 to 127 on device: gpio3
[    0.081918] gpiochip_add_data: registered GPIOs 128 to 159 on device: gpio4
[    0.092270] fiq debugger fiq mode enabled
[    0.093132] console [ttyFIQ0] enabled
[    0.093808] bootconsole [uart0] disabled
[    0.094502] Registered fiq debugger ttyFIQ0
[    0.106106] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vdd-log[0]'
[    0.106535] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vdd-1v0[0]'
[    0.106846] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-1v8[0]'
[    0.107459] vcc_1v8: regulator get failed, ret=-517
[    0.107657] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-sd[0]' - status (0)
[    0.108123] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-1v8-codec[0]'
[    0.108412] vcc_1v8_codec: regulator get failed, ret=-517
[    0.108636] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-ddr[0]'
[    0.109043] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-io[0]'
[    0.109375] vcc_1v8: supplied by vcc_io
[    0.109480] vcc_1v8_codec: supplied by vcc_io
[    0.109656] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vccio-flash[0]'
[    0.110003] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc-phy-regulator[0]'
[    0.110605] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/vccio-sd[0]'
[    0.110678] of_get_named_gpiod_flags: parsed 'gpios' property of node '/vccio-sd[0]' - status (0)
[    0.111511] SCSI subsystem initialized
[    0.111891] usbcore: registered new interface driver usbfs
[    0.111973] usbcore: registered new interface driver hub
[    0.112117] usbcore: registered new device driver usb
[    0.112254] pps_core: LinuxPPS API ver. 1 registered
[    0.112266] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.112304] PTP clock support registered
[    0.114593] rockchip-cpuinfo cpuinfo: Serial         : 459c2ab7bcacf624
[    0.115172] clocksource: Switched to clocksource arch_sys_counter
[    0.117893] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    0.118317] NET: Registered protocol family 2
[    0.119130] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.119256] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.119364] TCP: Hash tables configured (established 4096 bind 4096)
[    0.119492] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.119530] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.119787] NET: Registered protocol family 1
[    0.120149] fan_init 0
[    0.121090] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.132863] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.133209] ntfs: driver 2.1.32 [Flags: R/W].
[    0.136930] io scheduler noop registered (default)
[    0.138306] phy phy-ff008000.syscon:usb2-phy@100.0: Failed to get VBUS supply regulator
[    0.142754] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.142806] dma-pl330 ff2c0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.145550] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.145594] dma-pl330 ff2d0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.145977] rockchip-pvtm ff000000.grf:pmu-pvtm: failed to get rst 0 pmu
[    0.146145] rockchip-pvtm ff00c000.syscon:pvtm: failed to get rst 0 core
[    0.146755] pwm-regulator vdd-core: GPIO lookup for consumer enable
[    0.146772] pwm-regulator vdd-core: using device tree for GPIO lookup
[    0.146788] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/vdd-core[0]'
[    0.146804] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/vdd-core[0]'
[    0.146820] pwm-regulator vdd-core: using lookup tables for GPIO lookup
[    0.146834] pwm-regulator vdd-core: lookup for GPIO enable failed
[    0.147689] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.151017] [drm] Initialized drm 1.1.0 20060810
[    0.151152] random: nonblocking pool is initialized
[    0.153409] Unable to detect cache hierarchy for CPU 0
[    0.161518] loop: module loaded
[    0.161941] SCSI Media Changer driver v0.25
[    0.163484] rockchip-spi ff120000.spi: registered master spi0
[    0.163713] spi spi0.0: setup mode 0, 8 bits/w, 50000000 Hz max --> 0
[    0.164317] rockchip-spi ff120000.spi: registered child spi0.0
[    0.166007] rk_gmac-dwmac ff4e0000.ethernet: clock input or output? (input).
[    0.166057] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: tx_delay.
[    0.166074] rk_gmac-dwmac ff4e0000.ethernet: set tx_delay to 0x30
[    0.166090] rk_gmac-dwmac ff4e0000.ethernet: Can not read property: rx_delay.
[    0.166130] rk_gmac-dwmac ff4e0000.ethernet: set rx_delay to 0x10
[    0.166190] rk_gmac-dwmac ff4e0000.ethernet: integrated PHY? (no).
[    0.166422] rk_gmac-dwmac ff4e0000.ethernet: clock input from PHY
[    0.171463] rk_gmac-dwmac ff4e0000.ethernet: init for RMII
[    0.171611] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    0.171626]  Ring mode enabled
[    0.171637]  DMA HW capability register supported
[    0.171646]  Normal descriptors
[    0.171658]  RX Checksum Offload Engine supported (type 2)
[    0.171668]  TX Checksum insertion supported
[    0.171677]  Wake-Up On Lan supported
[    0.171756]  Enable RX Mitigation via HW Watchdog Timer
[    0.171920] of_get_named_gpiod_flags: can't parse 'snps,reset-gpio' property of node '/ethernet@ff4e0000[0]'
[    0.175464] libphy: stmmac: probed
[    0.175502] eth%d: PHY ID 001cc816 at 0 IRQ POLL (stmmac-0:00) active
[    0.175522] eth%d: PHY ID 001cc816 at 1 IRQ POLL (stmmac-0:01)
[    0.177102] ff400000.usb supply vusb_d not found, using dummy regulator
[    0.177271] ff400000.usb supply vusb_a not found, using dummy regulator
[    0.290247] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[    0.290864] dwc2 ff400000.usb: DWC OTG Controller
[    0.290915] dwc2 ff400000.usb: new USB bus registered, assigned bus number 1
[    0.290981] dwc2 ff400000.usb: irq 20, io mem 0xff400000
[    0.292042] hub 1-0:1.0: USB hub found
[    0.292101] hub 1-0:1.0: 1 port detected
[    0.472423] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.472463] ehci-platform: EHCI generic platform driver
[    0.472755] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.472808] ohci-platform: OHCI generic platform driver
[    0.473036] usbcore: registered new interface driver uas
[    0.473214] usbcore: registered new interface driver usb-storage
[    0.473296] usbcore: registered new interface driver ums-alauda
[    0.473356] usbcore: registered new interface driver ums-cypress
[    0.473421] usbcore: registered new interface driver ums-datafab
[    0.473477] usbcore: registered new interface driver ums_eneub6250
[    0.473538] usbcore: registered new interface driver ums-freecom
[    0.473595] usbcore: registered new interface driver ums-isd200
[    0.473660] usbcore: registered new interface driver ums-jumpshot
[    0.473720] usbcore: registered new interface driver ums-karma
[    0.473785] usbcore: registered new interface driver ums-onetouch
[    0.473857] usbcore: registered new interface driver ums-sddr09
[    0.473916] usbcore: registered new interface driver ums-sddr55
[    0.473978] usbcore: registered new interface driver ums-usbat
[    0.474470] i2c /dev entries driver
[    0.475672] phy phy-ff008000.syscon:usb2-phy@100.0: charger = USB_CDP_CHARGER
[    0.475743] rk3x-i2c ff050000.i2c: Initialized RK3xxx I2C bus at ffffff80087e4000
[    0.476566] rk3x-i2c ff070000.i2c: Initialized RK3xxx I2C bus at ffffff80087e6000
[    0.479476] rk_tsadcv2_temp_to_code: Invalid conversion table: code=4095, temperature=2147483647
[    0.479777] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully!
[    0.480568] cpu cpu0: leakage=18
[    0.480883] cpu cpu0: Failed to get pvtm
[    0.482412] cpu cpu0: l=0 h=55000 hyst=5000 l_limit=1200000000 h_limit=1008000000
[    0.484064] Synopsys Designware Multimedia Card Interface Driver
[    0.484717] dwmmc_rockchip ff490000.dwmmc: No default pinctrl state
[    0.484748] dwmmc_rockchip ff490000.dwmmc: No off pinctrl state
[    0.484875] dwmmc_rockchip ff490000.dwmmc: IDMAC supports 32-bit address mode.
[    0.484927] dwmmc_rockchip ff490000.dwmmc: Using internal DMA controller.
[    0.484952] dwmmc_rockchip ff490000.dwmmc: Version ID is 270a
[    0.485031] dwmmc_rockchip ff490000.dwmmc: DW MMC controller at irq 21,32 bit host data width,256 deep fifo
[    0.485129] dwmmc_rockchip ff490000.dwmmc: No vmmc regulator found
[    0.485149] dwmmc_rockchip ff490000.dwmmc: No vqmmc regulator found
[    0.485231] dwmmc_rockchip ff490000.dwmmc: GPIO lookup for consumer wp
[    0.485246] dwmmc_rockchip ff490000.dwmmc: using device tree for GPIO lookup
[    0.485265] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ff490000[0]'
[    0.485279] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ff490000[0]'
[    0.485297] dwmmc_rockchip ff490000.dwmmc: using lookup tables for GPIO lookup
[    0.485312] dwmmc_rockchip ff490000.dwmmc: lookup for GPIO wp failed
[    0.496387] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.507372] dwmmc_rockchip ff490000.dwmmc: 1 slots initialized
[    0.507997] usbcore: registered new interface driver usbhid
[    0.508017] usbhid: USB HID core driver
[    0.508228] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    0.508587] rockchip-dmc dmc: Failed to get leakage
[    0.508711] rockchip-dmc dmc: Failed to get pvtm
[    0.509074] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[    0.509102] rockchip-dmc dmc: don't add devfreq feature
[    0.511589] rknandc_base v1.1 2017-01-11
[    0.511846] rksfc_base v1.1 2016-01-08
[    0.513117] NET: Registered protocol family 10
[    0.515293] NET: Registered protocol family 17
[    0.515394] NET: Registered protocol family 15
[    0.516095] flash vendor_init_thread!
[    0.516114] flash vendor storage:20170308 ret = -1
[    0.518321] hctosys: unable to open rtc device (rtc0)
[    0.534198] vcc_sd: disabling
[    0.534266] vccio_sd: disabling
[    0.544395] mmc0: MAN_BKOPS_EN bit is not set
[    0.549341] mmc_host mmc0: Bus speed (slot 0) = 131072000Hz (slot req 150000000Hz, actual 131072000HZ div = 0)
[    0.709130] dwmmc_rockchip ff490000.dwmmc: Successfully tuned phase to 243
[    0.709549] mmc0: new HS200 MMC card at address 0001
[    0.711654] mmcblk0: mmc0:0001 Q2J54A 3.64 GiB
[    0.713303] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 2.00 MiB
[    0.713985] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 2.00 MiB
[    0.714525] mmcblk0rpmb: mmc0:0001 Q2J54A partition 3 512 KiB
[    0.719580]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[    1.044937] vendor storage:20160801 ret = 0
后面就卡死了,重启几次又可以起来, 大家麻烦帮忙判断下这是什么问题




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