|
【Linux】
RK3568固件编译烧写问题,启动起不来
发表于 2022-2-17 10:37:43
浏览:10394
|
回复:9
打印
只看该作者
[复制链接]
楼主
maskrom模式烧写,底板已经把Nor flash拆掉,烧写过程正常,但系统未启动成功,串口日志如下:
[ 1.647102] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 1.663598] usb 5-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=93.91
[ 1.663650] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.663666] usb 5-1: Product: USB2.1 Hub
[ 1.663680] usb 5-1: Manufacturer: GenesysLogic
[ 1.679229] mmc_host mmc3: Bus speed (slot 0) = 50000000Hz (slot req 100000000Hz, actual 50000000HZ div = 0)
[ 1.690991] dwmmc_rockchip fe000000.dwmmc: Successfully tuned phase to 347
[ 1.694604] mmc3: new ultra high speed SDR104 SDIO card at address 0001
[ 1.702951] mali fde60000.gpu: Kernel DDK version g7p1-01bet0
[ 1.703050] input: adc-keys as /devices/platform/adc-keys/input/input2
[ 1.703258] mali fde60000.gpu: Linked as a consumer to regulator.19
[ 1.703530] mali fde60000.gpu: dev_pm_opp_set_regulators: no regulator (shadercores) found: -19
[ 1.703667] mali fde60000.gpu: leakage=11
[ 1.703732] mali fde60000.gpu: pvtm = 92230, from nvmem
[ 1.704666] mali fde60000.gpu: avs=0
[ 1.704701] W : [File] : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; [Line] : 112; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
[ 1.705446] mali fde60000.gpu: GPU identified as 0x2 arch 7.4.0 r1p0 status 0
[ 1.705593] mali fde60000.gpu: No priority control manager is configured
[ 1.705625] mali fde60000.gpu: No memory group manager is configured
[ 1.706531] asoc-simple-card hdmi-sound: i2s-hifi <-> fe400000.i2s mapping ok
[ 1.706657] mali fde60000.gpu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[ 1.707957] mali fde60000.gpu: Probed as mali0
[ 1.714802] asoc-simple-card rk809-sound: rk817-hifi <-> fe410000.i2s mapping ok
[ 1.714860] asoc-simple-card rk809-sound: ASoC: no source widget found for MICBIAS1
[ 1.714879] asoc-simple-card rk809-sound: ASoC: Failed to add route MICBIAS1 -> direct -> Mic Jack
[ 1.714894] asoc-simple-card rk809-sound: ASoC: no sink widget found for IN1P
[ 1.714918] asoc-simple-card rk809-sound: ASoC: Failed to add route Mic Jack -> direct -> IN1P
[ 1.714940] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOL
[ 1.714964] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOL -> direct -> Headphone Jack
[ 1.714987] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOR
[ 1.715009] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOR -> direct -> Headphone Jack
[ 1.717203] hub 5-1:1.0: USB hub found
[ 1.717517] hub 5-1:1.0: 4 ports detected
[ 1.719932] 11wk2xxx_probe: setup mode 0, 8 bits/w, 10000000 Hz max
[ 1.740957] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 1.777143] vendor storage:20190527 ret = 0
[ 1.791118] usb 6-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 1.810817] usb 6-1: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=93.91
[ 1.810850] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.810904] usb 6-1: Product: USB3.2 Hub
[ 1.810923] usb 6-1: Manufacturer: GenesysLogic
[ 1.815169] devfreq fde60000.gpu: Couldn't update frequency transition information.
[ 1.829247] hub 6-1:1.0: USB hub found
[ 1.829606] hub 6-1:1.0: 4 ports detected
[ 1.894340] wk2xxx_serial_init()
[ 1.894379] wk2xxx_request_port
[ 1.894396] ttysWK0 at I/O 0x1 (irq = 113, base_baud = 460800) is a wk2xxx
[ 1.894799] uart_add_one_port success for line i:= 0 with right 0
[ 1.894836] wk2xxx_request_port
[ 1.894861] ttysWK1 at I/O 0x2 (irq = 113, base_baud = 460800) is a wk2xxx
[ 1.895197] uart_add_one_port success for line i:= 1 with right 0
[ 1.895223] wk2xxx_request_port
[ 1.895238] ttysWK2 at I/O 0x3 (irq = 113, base_baud = 460800) is a wk2xxx
[ 1.895549] uart_add_one_port success for line i:= 2 with right 0
[ 1.895583] wk2xxx_request_port
[ 1.895608] ttysWK3 at I/O 0x4 (irq = 113, base_baud = 460800) is a wk2xxx
[ 1.895924] uart_add_one_port success for line i:= 3 with right 0
[ 1.895954] uart_add_one_port = 0x0
[ 1.897294] register spi return v = :0
[ 1.897326] dhd_module_init: in Dongle Host Driver, version 100.10.545.9 (r826445-20200316-8)
[ 1.897351] ======== dhd_wlan_init_plat_data ========
[ 1.897370] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
[ 1.897469] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=114, oob_irq_flags=0x414
[ 1.897494] dhd_wlan_init_gpio: WL_REG_ON=-1
[ 1.897506] dhd_wifi_platform_load: Enter
[ 1.897519] Power-up adapter 'DHD generic adapter'
[ 1.900323] wifi_platform_set_power = 1, delay: 200 msec
[ 1.900358] ======== PULL WL_REG_ON(-1) HIGH! ========
[ 1.900380] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 1.900399] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 1.900418] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
[ 2.204323] wifi_platform_bus_enumerate device present 1
[ 2.204358] ======== Card detection to detect SDIO card! ========
[ 2.204371] mmc3:mmc host rescan start!
[ 2.220600] bcmsdh_register: register client driver
[ 2.220895] bcmsdh_sdmmc_probe: Enter num=1
[ 2.222067] bcmsdh_sdmmc_probe: Enter num=2
[ 2.222103] bus num (host idx)=3, slot num (rca)=1
[ 2.222116] found adapter info 'DHD generic adapter'
[ 2.222414] sdioh_attach: set sd_f2_blocksize 256
[ 2.222709] sdioh_attach: sd clock rate = 0
[ 2.223660] dhdsdio_probe : no mutex held. set lock
[ 2.224041] F1 signature read @0x18000000=0x1042aae8
[ 2.242309] F1 signature OK, socitype:0x1 chip:0xaae8 rev:0x2 pkg:0x4
[ 2.245675] DHD: dongle ram size is set to 1310720(orig 1310720) at 0x170000
[ 2.245956] [dhd] dhd_conf_set_chiprev : chip=0xaae8, chiprev=2
[ 2.247131] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
[ 2.247166] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
[ 2.247181] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
[ 2.247194] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
[ 2.247207] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
[ 2.247657] dhd_log_dump_init: kernel log buf size = 256KB; logdump_prsrv_tailsize = 80KB; limit prsrv tail size to = 38KB
[ 2.249265] dhd_attach(): thread:dhd_watchdog_thread:6c started
[ 2.249473] dhd_attach(): thread:dhd_dpc:6d started
[ 2.249758] dhd_attach(): thread:dhd_rxf:6e started
[ 2.249792] dhd_deferred_work_init: work queue initialized
[ 2.249821] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[ 2.249951] get_mem_val_from_file: File [/data/misc/wifi/.memdump.info] doesn't exist
[ 2.249983] dhd_get_memdump_info: MEMDUMP ENABLED = 3
[ 2.250014] sdioh_cis_read: func_cis_ptr[0]=0x1070
[ 2.288252] dhdsdio_probe_init: making DHD_BUS_DOWN
[ 2.288882] Dongle Host Driver, version 100.10.545.9 (r826445-20200316-8)
[ 2.289740] Register interface [wlan0] MAC: 10:2c:6b:7f:7d:ee
[ 2.289740]
[ 2.289924] dhd_dbg_detach_pkt_monitor, 2100
[ 2.289957] dhd_bus_devreset: == Power OFF ==
[ 2.290399] dhd_bus_stop: making DHD_BUS_DOWN
[ 2.290480] bcmsdh_oob_intr_unregister: Enter
[ 2.290505] bcmsdh_oob_intr_unregister: irq is not registered
[ 2.290536] dhd_bus_devreset: making dhdpub up FALSE
[ 2.290562] dhd_txglom_enable: enable 0
[ 2.290581] dhd_bus_devreset: making DHD_BUS_DOWN
[ 2.290605] dhd_bus_devreset: WLAN OFF DONE
[ 2.290692] wifi_platform_set_power = 0, delay: 0 msec
[ 2.290725] ======== PULL WL_REG_ON(-1) LOW! ========
[ 2.290747] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 2.290779] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 2.290802] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[ 2.290823] dhdsdio_probe : the lock is released.
[ 2.292216] dhd_module_init: Exit err=0
[ 2.292807] ==gsl_ts_init==
[ 2.292922] ret=0
[ 2.294460] iommu: Adding device fde40000.npu to group 0
[ 2.294524] RKNPU fde40000.npu: Linked as a consumer to fde4b000.iommu
[ 2.295219] RKNPU fde40000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
[ 2.295451] RKNPU fde40000.npu: Linked as a consumer to regulator.21
[ 2.295501] RKNPU fde40000.npu: can't request region for resource [mem 0xfde40000-0xfde4ffff]
[ 2.296354] [drm] Initialized rknpu 0.4.2 20210701 for fde40000.npu on minor 1
[ 2.296786] RKNPU fde40000.npu: leakage=6
[ 2.296862] RKNPU fde40000.npu: pvtm = 92230, from nvmem
[ 2.297782] RKNPU fde40000.npu: avs=0
[ 2.298609] RKNPU fde40000.npu: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0 h_table=0
[ 2.298665] RKNPU fde40000.npu: failed to find power_model node
[ 2.298692] RKNPU fde40000.npu: RKNPU: failed to initialize power model
[ 2.298707] RKNPU fde40000.npu: RKNPU: failed to get dynamic-coefficient
[ 2.300674] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 2.307079] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.307267] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 2.307299] cfg80211: failed to load regulatory.db
[ 2.309270] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[ 2.311847] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 417; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '15:10:22', on 'Nov 29 2021'.
[ 2.312535] Mali:
[ 2.312538] Mali device driver loaded
[ 2.312914] xc7160 4-001b: T-chip firefly camera driver version: 00.01.02
[ 2.313300] xc7160 4-001b: Failed to get power-gpios, maybe no use
[ 2.316074] xc7160 4-001b: 4-001b supply avdd not found, using dummy regulator
[ 2.316192] xc7160 4-001b: Linked as a consumer to regulator.0
[ 2.316275] xc7160 4-001b: 4-001b supply dovdd not found, using dummy regulator
[ 2.316436] xc7160 4-001b: 4-001b supply dvdd not found, using dummy regulator
[ 2.316533] xc7160 4-001b: could not get default pinstate
[ 2.316563] xc7160 4-001b: could not get sleep pinstate
[ 2.316602] xc7160 4-001b: Success to get xc7160 endpoint data lanes, dts uses 4 lanes
[ 2.316625] xc7160 4-001b: xc7160 num data lanes is 4
[ 2.331085] xc7160 4-001b: write XC7160_REG_HIGH_SELECT failed
[ 2.332313] xc7160: probe of 4-001b failed with error -5
[ 2.332430] rkisp rkisp-vir0: clear unready subdev num: 4
[ 2.332460] rockchip-csi2-dphy0: No link between dphy and sensor
[ 2.333258] rockchip-csi2-dphy0: No link between dphy and sensor
[ 2.333285] rkisp-vir0: update sensor failed
v 2.340134] |
|