{"action":"opened","issue":{"url":"https://api.github.com/repos/rockchip-linux/kernel/issues/1","repository_url":"https://api.github.com/repos/rockchip-linux/kernel","labels_url":"https://api.github.com/repos/rockchip-linux/kernel/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rockchip-linux/kernel/issues/1/comments","events_url":"https://api.github.com/repos/rockchip-linux/kernel/issues/1/events","html_url":"https://github.com/rockchip-linux/kernel/issues/1","id":182070806,"number":1,"title":"missing .dts file for firefly rk3288 reload board","user":{"login":"bschiett","id":158438,"avatar_url":"https://avatars.githubusercontent.com/u/158438?v=3","gravatar_id":"","url":"https://api.github.com/users/bschiett","html_url":"https://github.com/bschiett","followers_url":"https://api.github.com/users/bschiett/followers","following_url":"https://api.github.com/users/bschiett/following{/other_user}","gists_url":"https://api.github.com/users/bschiett/gists{/gist_id}","starred_url":"https://api.github.com/users/bschiett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bschiett/subscriptions","organizations_url":"https://api.github.com/users/bschiett/orgs","repos_url":"https://api.github.com/users/bschiett/repos","events_url":"https://api.github.com/users/bschiett/events{/privacy}","received_events_url":"https://api.github.com/users/bschiett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-10T17:29:37Z","updated_at":"2016-10-10T17:29:37Z","closed_at":null,"body":"I compiled the kernel using branch release-20160920, hoping to use it with my \r\nfirefly rk3288 reload board (see http://en.t-firefly.com/en/firenow/firefly_rk3288/). \r\n\r\nI 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. \r\n\r\nAlso, 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. \r\n\r\nI 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. \r\n\r\n[  690.278519] dhd_txglom_enable: enable 0\r\n[  690.282359] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0\r\n[  690.288406] dhd_conf_set_txglom_params: txglom_bucket_size=0\r\n[  690.294061] dhd_conf_set_txglom_params: txglomsize=0,\r\ndeferred_tx_len=0, bus_txglom=0\r\n[  690.301906] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0\r\n[  690.308190] dhd_bus_devreset:  WLAN OFF DONE\r\n[  690.313696] wifi_platform_set_power = 0\r\n[  690.317576] ======== PULL WL_REG_ON LOW! ========\r\n[  690.322278] [WLAN_RFKILL]: rockchip_wifi_power: 0\r\n[  690.327626] [WLAN_RFKILL]: wifi shut off power.\r\n[  690.332155] wl_android_wifi_off out\r\n[  690.467023] dhd_stop: Exit\r\n[  690.480667] dhd_set_mac_addr_handler: interface info not available/down\r\n[  690.590926] dhd_open: Enter eebb7800\r\n[  690.594506]\r\n[  690.594506] Dongle Host Driver, version 1.363.59.144.1 (r)\r\n[  690.601499] wl_android_wifi_on in 1\r\n[  690.605414] wl_android_wifi_on in 2: g_wifi_on=0\r\n[  690.610055] wifi_platform_set_power = 1\r\n[  690.613885] ======== PULL WL_REG_ON HIGH! ========\r\n[  690.618684] [WLAN_RFKILL]: rockchip_wifi_power: 1\r\n[  690.623381] [WLAN_RFKILL]: wifi turn on power. -1\r\n[  690.837146] sdio_reset_comm():\r\n[  690.843390] dwmmc_rockchip ff0d0000.dwmmc: could not set regulator OCR (-22)\r\n[  690.850729] dwmmc_rockchip ff0d0000.dwmmc: failed to enable vmmc regulator\r\n[  690.887384] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req\r\n400000Hz, actual 400000HZ div = 0)\r\n[  690.910541] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req\r\n200000Hz, actual 200000HZ div = 0)\r\n[  690.958322] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)\r\n[  690.966781] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)\r\n[  690.975271] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)\r\n[  690.986141] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)\r\n[  691.098590] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot\r\nreq 50000000Hz, actual 50000000HZ div = 0)\r\n[  692.167059] dwmmc_rockchip ff0d0000.dwmmc: Successfully tuned phase to 117\r\n[  692.174157] sdioh_start: set sd_f2_blocksize 128\r\n[  692.183550]\r\n[  692.183550]\r\n[  692.183550] dhd_bus_devreset: == WLAN ON ==\r\n[  692.192021] F1 signature read @0x18000000=0x16224335\r\n[  692.207003] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2\r\n[  692.214942] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000\r\n[  692.224124] dhd_os_open_image: /system/etc/firmware/config.txt (204\r\nbytes) open success\r\n[  692.233653] dhd_conf_read_config: dhd_doflow = 1\r\n[  692.238549] dhd_conf_read_config: srl = 15\r\n[  692.242687] dhd_conf_read_config: lrl = 15\r\n[  692.247548] dhd_conf_set_fw_name_by_chip:\r\nfirmware_path=/system/etc/firmware/fw_bcm4339a0_ag.bin\r\n[  692.256352] dhdsdio_download_firmware: set use_rxchain 0\r\n[  692.261742] dhdsdio_download_firmware: set txglomsize 40\r\n[  692.267139] sdioh_set_mode: set txglom_mode to copy\r\n[  692.272035] Final fw_path=/system/etc/firmware/fw_bcm4339a0_ag.bin\r\n[  692.278286] Final nv_path=/system/etc/firmware/nvram_AP6335.txt\r\n[  692.284222] Final conf_path=/system/etc/firmware/config.txt\r\n[  692.297615] dhd_os_open_image:\r\n/system/etc/firmware/fw_bcm4339a0_ag.bin (517576 bytes) open success\r\n[  692.360876] dhd_os_open_image:\r\n/system/etc/firmware/nvram_AP6335.txt (2375 bytes) open success\r\n[  692.369518] NVRAM version: AP6335_NVRAM_V1.2_01092014\r\n[  692.375557] dhdsdio_write_vars: Download, Upload and compare of\r\nNVRAM succeeded.\r\n[  692.561339] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)\r\n[  692.567307] bcmsdh_oob_intr_register: Enter\r\n[  692.571483] bcmsdh_oob_intr_register: HW_OOB enabled\r\n[  692.576438] bcmsdh_oob_intr_register OOB irq=223 flags=4\r\n[  692.582201] bcmsdh_oob_intr_register: enable_irq_wake\r\n[  692.589367] dhd_conf_set_fw_int_cmd: set WLC_SET_BAND 142 0\r\n[  692.604561] Firmware up: op_mode=0x0005, MAC=94:a1:a2:4b:4b:46\r\n[  692.610399] dhd_conf_set_country: set country ALL, revision 0\r\n[  692.616134] dhd_conf_set_fw_string_struct_cmd: set country\r\n[  692.622243] CONFIG-ERROR) dhd_conf_set_fw_string_struct_cmd:\r\ncountry setting failed -2\r\n[  692.630959] Country code: US (US/0)\r\n[  692.634635] dhd_conf_set_fw_string_cmd: set roam_off 1\r\n[  692.641241] dhd_conf_set_fw_int_cmd: set WLC_SET_SRL 32 15\r\n[  692.646994] dhd_conf_set_fw_int_cmd: set WLC_SET_LRL 34 15\r\n[  692.652914] dhd_conf_set_fw_string_cmd: set txbf 1\r\n[  692.666123] dhd_preinit_ioctls event_msgs_ext not support or\r\nversion mismatch -23\r\n[  692.677594] Firmware version = wl0: Jul 25 2013 00:04:02 version\r\n6.37.32.5 (r414538)\r\n[  692.685325]   Driver: 1.363.59.144.1 (r)\r\n[  692.685325]   Firmware: wl0: Jul 25 2013 00:04:02 version 6.37.32.5 (r414538)\r\n[  692.697207] dhd_txglom_enable: enable 1\r\n[  692.701037] dhd_conf_set_txglom_params: swtxglom=0, txglom_ext=0\r\n[  692.707049] dhd_conf_set_txglom_params: txglom_bucket_size=0\r\n[  692.712700] dhd_conf_set_txglom_params: txglomsize=40,\r\ndeferred_tx_len=40, bus_txglom=0\r\n[  692.720699] dhd_conf_set_txglom_params: tx_in_rx=1, tx_max_offset=0\r\n[  692.726969] dhd_conf_set_disable_proptx: set disable_proptx 0\r\n[  692.733889] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64\r\n[  692.741297] wl_android_wifi_on: Success\r\n[  692.745595] wl_create_event_handler(): thread:wl_event_handler:6b4 started\r\n[  692.745601] tsk Enter, tsk = 0xedf415c8\r\n[  692.825591] dhd_open: Exit ret=0\r\n[  692.832518] dhd_stop: Enter eebb7800\r\n[  692.838009] wl_event_handler: was terminated\r\n[  692.842282] wl_destroy_event_handler(): thread:wl_event_handler:6b4\r\nterminated OK\r\n[  692.849966] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do\r\nnothing, not initialized\r\n[  692.857800] CFGP2P-ERROR) wl_cfgp2p_deinit_priv : In\r\n[  692.863390] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created\r\n[  692.870864] wl_android_wifi_off in 1\r\n[  692.874561] wl_android_wifi_off in 2: g_wifi_on=1, on_failure=1\r\n[  692.881115] dhdsdio_isr : bus is down. we have nothing to do\r\n[  692.886795] bcmsdh_oob_intr_unregister: Enter\r\n[  692.891203] ------------[ cut here ]------------\r\n[  692.895833] WARNING: CPU: 0 PID: 423 at drivers/clk/clk.c:680\r\nclk_core_disable+0x34/0x16c()\r\n[  692.904173] Modules linked in:\r\n[  692.907245] CPU: 0 PID: 423 Comm: NetworkManager Tainted: G\r\nW       4.4.16 #2\r\n[  692.914979] Hardware name: Rockchip (Device Tree)\r\n[  692.919701] [<c01100d8>] (unwind_backtrace) from [<c010bbf0>]\r\n(show_stack+0x20/0x24)\r\n[  692.927449] [<c010bbf0>] (show_stack) from [<c038fbe0>]\r\n(dump_stack+0x88/0xa8)\r\n[  692.934676] [<c038fbe0>] (dump_stack) from [<c011d970>]\r\n(warn_slowpath_common+0x98/0xc4)\r\n[  692.942765] [<c011d970>] (warn_slowpath_common) from [<c011da58>]\r\n(warn_slowpath_null+0x2c/0x34)\r\n[  692.951546] [<c011da58>] (warn_slowpath_null) from [<c07472d8>]\r\n(clk_core_disable+0x34/0x16c)\r\n[  692.960070] [<c07472d8>] (clk_core_disable) from [<c07476b8>]\r\n(clk_disable+0x44/0x50)\r\n[  692.967901] [<c07476b8>] (clk_disable) from [<c03c19a0>]\r\n(rockchip_irq_gc_mask_set_bit+0x28/0x2c)\r\n[  692.976774] [<c03c19a0>] (rockchip_irq_gc_mask_set_bit) from\r\n[<c0170554>] (irq_shutdown+0x68/0x7c)\r\n[  692.985731] [<c0170554>] (irq_shutdown) from [<c016dbf8>]\r\n(__free_irq+0x120/0x26c)\r\n[  692.993300] [<c016dbf8>] (__free_irq) from [<c016de08>] (free_irq+0x6c/0x78)\r\n[  693.000352] [<c016de08>] (free_irq) from [<c0598fdc>]\r\n(bcmsdh_oob_intr_unregister+0x8c/0xa4)\r\n[  693.008789] [<c0598fdc>] (bcmsdh_oob_intr_unregister) from\r\n[<c05a959c>] (dhd_bus_devreset+0x8c/0x2f0)\r\n[  693.018007] [<c05a959c>] (dhd_bus_devreset) from [<c057c67c>]\r\n(dhd_net_bus_devreset+0xd4/0x118)\r\n[  693.026707] [<c057c67c>] (dhd_net_bus_devreset) from [<c058e9c4>]\r\n(wl_android_wifi_off+0x90/0xf4)\r\n[  693.035578] [<c058e9c4>] (wl_android_wifi_off) from [<c0580964>]\r\n(dhd_stop+0x6c/0x1e8)\r\n[  693.043496] [<c0580964>] (dhd_stop) from [<c07c6efc>]\r\n(__dev_close_many+0xa8/0xcc)\r\n[  693.051068] [<c07c6efc>] (__dev_close_many) from [<c07c703c>]\r\n(__dev_close+0x38/0x50)\r\n[  693.058899] [<c07c703c>] (__dev_close) from [<c07ceeec>]\r\n(__dev_change_flags+0x9c/0x144)\r\n[  693.066988] [<c07ceeec>] (__dev_change_flags) from [<c07cefbc>]\r\n(dev_change_flags+0x28/0x58)\r\n[  693.075423] [<c07cefbc>] (dev_change_flags) from [<c07de7bc>]\r\n(do_setlink+0x308/0x738)\r\n[  693.083338] [<c07de7bc>] (do_setlink) from [<c07dfbf0>]\r\n(rtnl_newlink+0x378/0x6d0)\r\n[  693.090907] [<c07dfbf0>] (rtnl_newlink) from [<c07e00f0>]\r\n(rtnetlink_rcv_msg+0x1a8/0x1bc)\r\n[  693.099084] [<c07e00f0>] (rtnetlink_rcv_msg) from [<c07fd694>]\r\n(netlink_rcv_skb+0x68/0xbc)\r\n[  693.107347] [<c07fd694>] (netlink_rcv_skb) from [<c07dde34>]\r\n(rtnetlink_rcv+0x28/0x34)\r\n[  693.115263] [<c07dde34>] (rtnetlink_rcv) from [<c07fcfec>]\r\n(netlink_unicast+0x158/0x250)\r\n[  693.123353] [<c07fcfec>] (netlink_unicast) from [<c07fd4ec>]\r\n(netlink_sendmsg+0x358/0x374)\r\n[  693.131616] [<c07fd4ec>] (netlink_sendmsg) from [<c07b2160>]\r\n(sock_sendmsg+0x44/0x54)\r\n[  693.139445] [<c07b2160>] (sock_sendmsg) from [<c07b2b2c>]\r\n(___sys_sendmsg+0x190/0x204)\r\n[  693.147360] [<c07b2b2c>] (___sys_sendmsg) from [<c07b398c>]\r\n(__sys_sendmsg+0x4c/0x70)\r\n[  693.155188] [<c07b398c>] (__sys_sendmsg) from [<c07b39c8>]\r\n(SyS_sendmsg+0x18/0x1c)\r\n[  693.162758] [<c07b39c8>] (SyS_sendmsg) from [<c0107200>]\r\n(ret_fast_syscall+0x0/0x3c)\r\n[  693.170494] ---[ end trace 94868236ff675595 ]---"}}
{"actor":{"display_login":"bschiett"}}