-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
I compiled the kernel using branch release-20160920, hoping to use it with my
firefly rk3288 reload board (see http://en.t-firefly.com/en/firenow/firefly_rk3288/).
I configured the kernel with rockchip_linux_defconfig and I'm using rk3288-firefly.dts. I managed to boot with the kernel but it seems that the hardware on my firefly reload board doesn't work. I can see graphics via HDMI and see the linux desktop but when I plug in a mouse it doesn't work, probably because the .dts file for my reload board has to be different from the original .dts for the firefly board.
Also, I get the below kernel messages on the serial console endlessly looping, I suppose this has to do with the .dts file not being correct for my board. See below for the kernel messages on the serial console which are looping non stop.
I know that firefly has a kernel config and dts file for the reload board in their kernel repository. I thought I could copy their .dts and kernel config to use it with the above branch of rockchip's kernel but I'm not sure how to do it. Is it a matter of putting their kernel config in ./arch/arm/configs/ and .dts file in ./arch/arm/boot/dts/ and i can automatically use it or is there something else I should do? I would appreciate it if the kernel config/dts file for the reload board are added to rockchip's kernel repo.
[ 690.278519] dhd_txglom_enable: enable 0
[ 690.282359] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0
[ 690.288406] dhd_conf_set_txglom_params: txglom_bucket_size=0
[ 690.294061] dhd_conf_set_txglom_params: txglomsize=0,
deferred_tx_len=0, bus_txglom=0
[ 690.301906] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0
[ 690.308190] dhd_bus_devreset: WLAN OFF DONE
[ 690.313696] wifi_platform_set_power = 0
[ 690.317576] ======== PULL WL_REG_ON LOW! ========
[ 690.322278] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 690.327626] [WLAN_RFKILL]: wifi shut off power.
[ 690.332155] wl_android_wifi_off out
[ 690.467023] dhd_stop: Exit
[ 690.480667] dhd_set_mac_addr_handler: interface info not available/down
[ 690.590926] dhd_open: Enter eebb7800
[ 690.594506]
[ 690.594506] Dongle Host Driver, version 1.363.59.144.1 (r)
[ 690.601499] wl_android_wifi_on in 1
[ 690.605414] wl_android_wifi_on in 2: g_wifi_on=0
[ 690.610055] wifi_platform_set_power = 1
[ 690.613885] ======== PULL WL_REG_ON HIGH! ========
[ 690.618684] [WLAN_RFKILL]: rockchip_wifi_power: 1
[ 690.623381] [WLAN_RFKILL]: wifi turn on power. -1
[ 690.837146] sdio_reset_comm():
[ 690.843390] dwmmc_rockchip ff0d0000.dwmmc: could not set regulator OCR (-22)
[ 690.850729] dwmmc_rockchip ff0d0000.dwmmc: failed to enable vmmc regulator
[ 690.887384] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req
400000Hz, actual 400000HZ div = 0)
[ 690.910541] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req
200000Hz, actual 200000HZ div = 0)
[ 690.958322] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 690.966781] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 690.975271] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 690.986141] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 691.098590] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot
req 50000000Hz, actual 50000000HZ div = 0)
[ 692.167059] dwmmc_rockchip ff0d0000.dwmmc: Successfully tuned phase to 117
[ 692.174157] sdioh_start: set sd_f2_blocksize 128
[ 692.183550]
[ 692.183550]
[ 692.183550] dhd_bus_devreset: == WLAN ON ==
[ 692.192021] F1 signature read @0x18000000=0x16224335
[ 692.207003] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2
[ 692.214942] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 692.224124] dhd_os_open_image: /system/etc/firmware/config.txt (204
bytes) open success
[ 692.233653] dhd_conf_read_config: dhd_doflow = 1
[ 692.238549] dhd_conf_read_config: srl = 15
[ 692.242687] dhd_conf_read_config: lrl = 15
[ 692.247548] dhd_conf_set_fw_name_by_chip:
firmware_path=/system/etc/firmware/fw_bcm4339a0_ag.bin
[ 692.256352] dhdsdio_download_firmware: set use_rxchain 0
[ 692.261742] dhdsdio_download_firmware: set txglomsize 40
[ 692.267139] sdioh_set_mode: set txglom_mode to copy
[ 692.272035] Final fw_path=/system/etc/firmware/fw_bcm4339a0_ag.bin
[ 692.278286] Final nv_path=/system/etc/firmware/nvram_AP6335.txt
[ 692.284222] Final conf_path=/system/etc/firmware/config.txt
[ 692.297615] dhd_os_open_image:
/system/etc/firmware/fw_bcm4339a0_ag.bin (517576 bytes) open success
[ 692.360876] dhd_os_open_image:
/system/etc/firmware/nvram_AP6335.txt (2375 bytes) open success
[ 692.369518] NVRAM version: AP6335_NVRAM_V1.2_01092014
[ 692.375557] dhdsdio_write_vars: Download, Upload and compare of
NVRAM succeeded.
[ 692.561339] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 692.567307] bcmsdh_oob_intr_register: Enter
[ 692.571483] bcmsdh_oob_intr_register: HW_OOB enabled
[ 692.576438] bcmsdh_oob_intr_register OOB irq=223 flags=4
[ 692.582201] bcmsdh_oob_intr_register: enable_irq_wake
[ 692.589367] dhd_conf_set_fw_int_cmd: set WLC_SET_BAND 142 0
[ 692.604561] Firmware up: op_mode=0x0005, MAC=94:a1:a2:4b:4b:46
[ 692.610399] dhd_conf_set_country: set country ALL, revision 0
[ 692.616134] dhd_conf_set_fw_string_struct_cmd: set country
[ 692.622243] CONFIG-ERROR) dhd_conf_set_fw_string_struct_cmd:
country setting failed -2
[ 692.630959] Country code: US (US/0)
[ 692.634635] dhd_conf_set_fw_string_cmd: set roam_off 1
[ 692.641241] dhd_conf_set_fw_int_cmd: set WLC_SET_SRL 32 15
[ 692.646994] dhd_conf_set_fw_int_cmd: set WLC_SET_LRL 34 15
[ 692.652914] dhd_conf_set_fw_string_cmd: set txbf 1
[ 692.666123] dhd_preinit_ioctls event_msgs_ext not support or
version mismatch -23
[ 692.677594] Firmware version = wl0: Jul 25 2013 00:04:02 version
6.37.32.5 (r414538)
[ 692.685325] Driver: 1.363.59.144.1 (r)
[ 692.685325] Firmware: wl0: Jul 25 2013 00:04:02 version 6.37.32.5 (r414538)
[ 692.697207] dhd_txglom_enable: enable 1
[ 692.701037] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0
[ 692.707049] dhd_conf_set_txglom_params: txglom_bucket_size=0
[ 692.712700] dhd_conf_set_txglom_params: txglomsize=40,
deferred_tx_len=40, bus_txglom=0
[ 692.720699] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0
[ 692.726969] dhd_conf_set_disable_proptx: set disable_proptx 0
[ 692.733889] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64
[ 692.741297] wl_android_wifi_on: Success
[ 692.745595] wl_create_event_handler(): thread:wl_event_handler:6b4 started
[ 692.745601] tsk Enter, tsk = 0xedf415c8
[ 692.825591] dhd_open: Exit ret=0
[ 692.832518] dhd_stop: Enter eebb7800
[ 692.838009] wl_event_handler: was terminated
[ 692.842282] wl_destroy_event_handler(): thread:wl_event_handler:6b4
terminated OK
[ 692.849966] CFGP2P-ERROR) wl_cfgp2p_disable_discovery : do
nothing, not initialized
[ 692.857800] CFGP2P-ERROR) wl_cfgp2p_deinit_priv : In
[ 692.863390] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created
[ 692.870864] wl_android_wifi_off in 1
[ 692.874561] wl_android_wifi_off in 2: g_wifi_on=1, on_failure=1
[ 692.881115] dhdsdio_isr : bus is down. we have nothing to do
[ 692.886795] bcmsdh_oob_intr_unregister: Enter
[ 692.891203] ------------[ cut here ]------------
[ 692.895833] WARNING: CPU: 0 PID: 423 at drivers/clk/clk.c:680
clk_core_disable+0x34/0x16c()
[ 692.904173] Modules linked in:
[ 692.907245] CPU: 0 PID: 423 Comm: NetworkManager Tainted: G
W 4.4.16 #2
[ 692.914979] Hardware name: Rockchip (Device Tree)
[ 692.919701] from
[ 692.927449] from
[ 692.934676] from
[ 692.942765] from
[ 692.951546] from
[ 692.960070] from
[ 692.967901] from
[ 692.976774] from
[ 692.985731] from
[ 692.993300] from
[ 693.000352] from
[ 693.008789] from
[ 693.018007] from
[ 693.026707] from
[ 693.035578] from
[ 693.043496] from
[ 693.051068] from
[ 693.058899] from
[ 693.066988] from
[ 693.075423] from
[ 693.083338] from
[ 693.090907] from
[ 693.099084] from
[ 693.107347] from
[ 693.115263] from
[ 693.123353] from
[ 693.131616] from
[ 693.139445] from
[ 693.147360] from
[ 693.155188] from
[ 693.162758] from
[ 693.170494] ---[ end trace 94868236ff675595 ]---