18M很正常,本来就没多大,报错是因为包不支持这个平台无视就行
WhycanService 发布的帖子
-
回复: T113现在是用awboot+tina的方案比较成熟吗?
@haaland
量产方案使用原厂的spl+uboot+linux,支持安全启动和tee安全环境主线kernel 使用 awboot启动,uboot的patch也已经提交主线等待合并
awboot不能启动tina,因为tina使用optee环境作为smc启动
-
回复: ubuntu20.04 编译openwt 失败
sudo apt-get update sudo apt-get upgrade -y sudo apt-get install build-essential subversion git libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof sudo dpkg --add-architecture i386 sudo apt-get update sudo apt install gcc-multilib sudo apt install libc6:i386 libstdc++6:i386 lib32z1
-
回复: 移植RTL8188fu驱动编译报错,sw_usb_enable_hcd等函数未定义
@fanfan RTL8188FU只有150mbps,正常来说跑到120mbps左右即达标,如果需要跑到200m可以考虑更换aw869a wifi
-
回复: 移植RTL8811驱动编译报错,sw_usb_disable_hcd、script_parser_fetch、sw_usb_enable_hcd函数没找到
参考下:
移植RTL8188fu驱动编译报错,sw_usb_enable_hcd等函数未定义
https://bbs.aw-ol.com/topic/2841/share/8 -
回复: 移植RTL8188fu驱动编译报错,sw_usb_enable_hcd等函数未定义
@fanfan 我这里什么都没修改,勾选上直接编译完成了
编译log:
CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh CHK include/generated/compile.h CC [M] drivers/net/wireless/rtl8211cu/core/rtw_cmd.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_security.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_debug.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_io.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_ioctl_query.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_ioctl_set.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_ieee80211.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_mlme.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_mlme_ext.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_mi.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_wlan_util.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_vht.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_pwrctrl.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_rf.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_chplan.o CC [M] drivers/net/wireless/rtl8211cu/core/monitor/rtw_radiotap.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_recv.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_sta_mgt.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_ap.o CC [M] drivers/net/wireless/rtl8211cu/core/wds/rtw_wds.o CC [M] drivers/net/wireless/rtl8211cu/core/mesh/rtw_mesh.o CC [M] drivers/net/wireless/rtl8211cu/core/mesh/rtw_mesh_pathtbl.o CC [M] drivers/net/wireless/rtl8211cu/core/mesh/rtw_mesh_hwmp.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_xmit.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_p2p.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_rson.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_tdls.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_br_ext.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_iol.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_sreset.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_btcoex_wifionly.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_btcoex.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_beamforming.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_odm.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_rm.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_rm_fsm.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_ft.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_wnm.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_mbo.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_rm_util.o CC [M] drivers/net/wireless/rtl8211cu/core/efuse/rtw_efuse.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_roch.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/aes-internal.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/aes-internal-enc.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/aes-gcm.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/aes-ccm.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/aes-omac1.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/ccmp.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/gcmp.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/aes-siv.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/aes-ctr.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/sha256-internal.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/sha256.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/sha256-prf.o CC [M] drivers/net/wireless/rtl8211cu/core/crypto/rtw_crypto_wrap.o CC [M] drivers/net/wireless/rtl8211cu/core/rtw_swcrypto.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/osdep_service.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/os_intfs.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/usb_intf.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/usb_ops_linux.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/ioctl_linux.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/xmit_linux.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/mlme_linux.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/recv_linux.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/ioctl_cfg80211.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/rtw_cfgvendor.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/wifi_regd.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/rtw_android.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/rtw_proc.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/nlrtw.o CC [M] drivers/net/wireless/rtl8211cu/os_dep/linux/rtw_rhashtable.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_intf.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_com.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_com_phycfg.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_phy.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_dm.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_dm_acs.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_btcoex_wifionly.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_btcoex.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_mp.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_mcc.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_hci/hal_usb.o CC [M] drivers/net/wireless/rtl8211cu/hal/led/hal_led.o CC [M] drivers/net/wireless/rtl8211cu/hal/led/hal_usb_led.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/rtl8821c_halinit.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/rtl8821c_mac.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/rtl8821c_cmd.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/rtl8821c_phy.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/rtl8821c_dm.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/rtl8821c_ops.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/hal8821c_fw.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/usb/rtl8821cu_halinit.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/usb/rtl8821cu_halmac.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/usb/rtl8821cu_io.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/usb/rtl8821cu_xmit.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/usb/rtl8821cu_recv.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/usb/rtl8821cu_led.o CC [M] drivers/net/wireless/rtl8211cu/hal/rtl8821c/usb/rtl8821cu_ops.o CC [M] drivers/net/wireless/rtl8211cu/hal/efuse/rtl8821c/HalEfuseMask8821C_USB.o CC [M] drivers/net/wireless/rtl8211cu/hal/hal_halmac.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_api.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_dbg.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_bb_rf_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_cfg_wmac_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_common_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_efuse_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_flash_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_fw_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_gpio_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_init_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_mimo_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_usb_88xx.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_8821c/halmac_cfg_wmac_8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_8821c/halmac_common_8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_8821c/halmac_gpio_8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_8821c/halmac_init_8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_8821c/halmac_phy_8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_8821c/halmac_pwr_seq_8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/halmac/halmac_88xx/halmac_8821c/halmac_usb_8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_debug.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_antdiv.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_soml.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_smt_ant.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_antdect.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_interface.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_phystatus.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_hwconfig.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_dig.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_pathdiv.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_rainfo.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_dynamictxpower.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_adaptivity.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_cfotracking.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_noisemonitor.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_beamforming.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_direct_bf.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_dfs.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/txbf/halcomtxbf.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/txbf/haltxbfinterface.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/txbf/phydm_hal_txbf_api.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_adc_sampling.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_ccx.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_psd.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_primary_cca.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_cck_pd.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_rssi_monitor.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_auto_dbg.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_math_lib.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_api.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_pow_train.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_lna_sat.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_pmac_tx_setting.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_mp.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/phydm_cck_rx_pathdiv.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/halrf.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/halrf_debug.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/halphyrf_ce.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/halrf_powertracking_ce.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/halrf_powertracking.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/halrf_kfree.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/halrf_psd.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/rtl8821c/halhwimg8821c_bb.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/rtl8821c/halhwimg8821c_mac.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/rtl8821c/phydm_hal_api8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/rtl8821c/phydm_regconfig8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/rtl8821c/phydm_rtl8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/rtl8821c/halhwimg8821c_rf.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/rtl8821c/halrf_8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.o CC [M] drivers/net/wireless/rtl8211cu/hal/btc/halbtc8821cwifionly.o CC [M] drivers/net/wireless/rtl8211cu/hal/btc/halbtc8821c1ant.o CC [M] drivers/net/wireless/rtl8211cu/hal/btc/halbtc8821c2ant.o CC [M] drivers/net/wireless/rtl8211cu/platform/platform_ops.o CC [M] drivers/net/wireless/rtl8211cu/platform/platform_ARM_SUNxI_usb.o drivers/net/wireless/rtl8211cu/platform/platform_ARM_SUNxI_usb.c: In function 'platform_wifi_power_on': drivers/net/wireless/rtl8211cu/platform/platform_ARM_SUNxI_usb.c:119:1: warning: label 'exit' defined but not used [-Wunused-label] exit: ^~~~ drivers/net/wireless/rtl8211cu/platform/platform_ARM_SUNxI_usb.c: At top level: cc1: warning: unrecognized command line option '-Wno-implicit-fallthrough' LD [M] drivers/net/wireless/rtl8211cu/8821cu.o
可能是驱动不一样的问题,我这个驱动是原厂提供的。
platform_ARM_SUNxI_usb.c
/****************************************************************************** * * Copyright(c) 2013 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA * * ******************************************************************************/ /* * Description: * This file can be applied to following platforms: * CONFIG_PLATFORM_ARM_SUNXI Series platform * */ #include <drv_types.h> #ifdef CONFIG_PLATFORM_ARM_SUNxI extern int sunxi_usb_disable_hcd(__u32 usbc_no); extern int sunxi_usb_enable_hcd(__u32 usbc_no); extern int sunxi_wlan_get_bus_index(void); extern void sunxi_wlan_set_power(int on); #endif #if defined(CONFIG_PLATFORM_ARM_SUN6I) || defined(CONFIG_PLATFORM_ARM_SUN7I) extern int sw_usb_disable_hcd(__u32 usbc_no); extern int sw_usb_enable_hcd(__u32 usbc_no); extern void wifi_pm_power(int on); static script_item_u item; #endif #ifdef CONFIG_PLATFORM_ARM_SUN8I extern int sunxi_usb_disable_hcd(__u32 usbc_no); extern int sunxi_usb_enable_hcd(__u32 usbc_no); extern void wifi_pm_power(int on); static script_item_u item; #endif int platform_wifi_power_on(void) { int ret = 0; int usb_no = sunxi_wlan_get_bus_index(); printk("platform_wifi_power_on(), usb_index: %d\n", usb_no); #ifdef CONFIG_PLATFORM_ARM_SUNxI #ifndef CONFIG_RTL8723A { /* ----------get usb_wifi_usbc_num------------- */ sunxi_wlan_set_power(1); mdelay(100); } #endif //CONFIG_RTL8723A #endif //CONFIG_PLATFORM_ARM_SUNxI #if defined(CONFIG_PLATFORM_ARM_SUN6I) || defined(CONFIG_PLATFORM_ARM_SUN7I) { script_item_value_type_e type; type = script_get_item("wifi_para", "wifi_usbc_id", &item); if(SCIRPT_ITEM_VALUE_TYPE_INT != type){ printk("ERR: script_get_item wifi_usbc_id failed\n"); ret = -ENOMEM; goto exit; } printk("sw_usb_enable_hcd: usbc_num = %d\n", item.val); wifi_pm_power(1); mdelay(10); #if !(defined(CONFIG_RTL8723A)) && !(defined(CONFIG_RTL8723B)) sw_usb_enable_hcd(item.val); #endif } #endif //defined(CONFIG_PLATFORM_ARM_SUN6I) || defined(CONFIG_PLATFORM_ARM_SUN7I) #if defined(CONFIG_PLATFORM_ARM_SUN8I) { script_item_value_type_e type; type = script_get_item("wifi_para", "wifi_usbc_id", &item); if(SCIRPT_ITEM_VALUE_TYPE_INT != type){ printk("ERR: script_get_item wifi_usbc_id failed\n"); ret = -ENOMEM; goto exit; } printk("sw_usb_enable_hcd: usbc_num = %d\n", item.val); wifi_pm_power(1); mdelay(10); #if !(defined(CONFIG_RTL8723A)) && !(defined(CONFIG_RTL8723B)) sunxi_usb_enable_hcd(item.val); #endif } #endif //CONFIG_PLATFORM_ARM_SUN8I exit: return ret; } void platform_wifi_power_off(void) { int usb_no = sunxi_wlan_get_bus_index(); printk("platform_wifi_power_off(), usb_index: %d\n", usb_no); #ifdef CONFIG_PLATFORM_ARM_SUNxI #ifndef CONFIG_RTL8723A //DBG_8192C("sw_usb_disable_hcd: usbc_num = %d\n", usb_wifi_host); //sw_usb_disable_hcd(usb_wifi_host); mdelay(100); sunxi_wlan_set_power(0); #endif //ifndef CONFIG_RTL8723A #endif //CONFIG_PLATFORM_ARM_SUNxI #if defined(CONFIG_PLATFORM_ARM_SUN6I) || defined(CONFIG_PLATFORM_ARM_SUN7I) #if !(defined(CONFIG_RTL8723A)) && !(defined(CONFIG_RTL8723B)) sw_usb_disable_hcd(item.val); #endif wifi_pm_power(0); #endif //defined(CONFIG_PLATFORM_ARM_SUN6I) || defined(CONFIG_PLATFORM_ARM_SUN7I) #if defined(CONFIG_PLATFORM_ARM_SUN8I) #if !(defined(CONFIG_RTL8723A)) && !(defined(CONFIG_RTL8723B)) sunxi_usb_disable_hcd(item.val); #endif wifi_pm_power(0); #endif //defined(CONFIG_PLATFORM_ARM_SUN8I) }
如果出现
WARNING: module 8821cu uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
可以参考:
D1 LicheeRV Dock 移植RTL8723DS驱动
-
回复: D1H如何调整HDMI分辨率,支持800x480液晶
看情况是屏幕的VID不支持,所以读取到EDID但是也没有生成VID。也有可能是分辨率不支持。可以用调试节点强制设置下看看:
cd /sys/kernel/debug/dispdbg echo disp0 > name echo switch1 > command echo 4 5 0 0 0x4 0x101 0 0 0 8 > param echo 1 > start
第四行命令中的5可以替换为下列数
0:480i 1:576i 2:480p 3:576p 4:720p50 5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60
-
回复: R128 S2 单天线是否需要软件配置为单天线
先确认下硬件板的射频阻抗是不是50Ω,固件现在默认就是配置RF0输出,所以RF1浮空没太大影响
如果硬件阻抗匹配,那给个板子或者测下射频性能的数据分析下
-
回复: 移植RTL8188fu驱动编译报错,sw_usb_enable_hcd等函数未定义
@hy123456 我这也搜索不到定义,但是貌似没有使用那一段代码,直接编译通过的
-
回复: 移植RTL8188fu驱动编译报错,sw_usb_enable_hcd等函数未定义
@hy123456 检查makefile的配置:
########################## WIFI IC ############################ CONFIG_MULTIDRV = n CONFIG_RTL8188E = n CONFIG_RTL8812A = n CONFIG_RTL8821A = n CONFIG_RTL8192E = n CONFIG_RTL8723B = n CONFIG_RTL8814A = n CONFIG_RTL8723C = n CONFIG_RTL8188F = y CONFIG_RTL8822B = n CONFIG_RTL8723D = n CONFIG_RTL8821C = n ######################### Interface ########################### CONFIG_USB_HCI = y CONFIG_PCI_HCI = n CONFIG_SDIO_HCI = n CONFIG_GSPI_HCI = n ########################## Features ########################### CONFIG_MP_INCLUDED = y CONFIG_POWER_SAVING = y CONFIG_USB_AUTOSUSPEND = n CONFIG_HW_PWRP_DETECTION = n CONFIG_WIFI_TEST = n CONFIG_BT_COEXIST = n CONFIG_INTEL_WIDI = n CONFIG_WAPI_SUPPORT = n CONFIG_EFUSE_CONFIG_FILE = y CONFIG_EXT_CLK = n CONFIG_TRAFFIC_PROTECT = n CONFIG_LOAD_PHY_PARA_FROM_FILE = y CONFIG_TXPWR_BY_RATE_EN = y CONFIG_TXPWR_LIMIT_EN = n CONFIG_RTW_CHPLAN = 0xFF CONFIG_RTW_ADAPTIVITY_EN = disable CONFIG_RTW_ADAPTIVITY_MODE = normal CONFIG_SIGNAL_SCALE_MAPPING = n CONFIG_80211W = n CONFIG_REDUCE_TX_CPU_LOADING = n CONFIG_BR_EXT = y CONFIG_TDLS = n CONFIG_WIFI_MONITOR = n CONFIG_MCC_MODE = n CONFIG_APPEND_VENDOR_IE_ENABLE = n CONFIG_RTW_NAPI = y CONFIG_RTW_GRO = y CONFIG_RTW_NETIF_SG = n CONFIG_RTW_IPCAM_APPLICATION = n CONFIG_RTW_REPEATER_SON = n CONFIG_RTW_WIFI_HAL = y ########################## Debug ########################### CONFIG_RTW_DEBUG = y # default log level is _DRV_INFO_ = 4, # please refer to "How_to_set_driver_debug_log_level.doc" to set the available level. CONFIG_RTW_LOG_LEVEL = 1 ######################## Wake On Lan ########################## CONFIG_WOWLAN = n CONFIG_WAKEUP_TYPE = 0x7 #bit2: deauth, bit1: unicast, bit0: magic pkt. CONFIG_GPIO_WAKEUP = n CONFIG_WAKEUP_GPIO_IDX = default CONFIG_HIGH_ACTIVE = n CONFIG_PNO_SUPPORT = n CONFIG_PNO_SET_DEBUG = n CONFIG_AP_WOWLAN = n ######### Notify SDIO Host Keep Power During Syspend ########## CONFIG_RTW_SDIO_PM_KEEP_POWER = y ###################### MP HW TX MODE FOR VHT ####################### CONFIG_MP_VHT_HW_TX_MODE = n ###################### Platform Related ####################### CONFIG_PLATFORM_I386_PC = n CONFIG_PLATFORM_ANDROID_X86 = n CONFIG_PLATFORM_ANDROID_INTEL_X86 = n CONFIG_PLATFORM_JB_X86 = n CONFIG_PLATFORM_ARM_S3C2K4 = n CONFIG_PLATFORM_ARM_PXA2XX = n CONFIG_PLATFORM_ARM_S3C6K4 = n CONFIG_PLATFORM_MIPS_RMI = n CONFIG_PLATFORM_RTD2880B = n CONFIG_PLATFORM_MIPS_AR9132 = n CONFIG_PLATFORM_RTK_DMP = n CONFIG_PLATFORM_MIPS_PLM = n CONFIG_PLATFORM_MSTAR389 = n CONFIG_PLATFORM_MT53XX = n CONFIG_PLATFORM_ARM_MX51_241H = n CONFIG_PLATFORM_FS_MX61 = n CONFIG_PLATFORM_ACTIONS_ATJ227X = n CONFIG_PLATFORM_TEGRA3_CARDHU = n CONFIG_PLATFORM_TEGRA4_DALMORE = n CONFIG_PLATFORM_ARM_TCC8900 = n CONFIG_PLATFORM_ARM_TCC8920 = n CONFIG_PLATFORM_ARM_TCC8920_JB42 = n CONFIG_PLATFORM_ARM_TCC8930_JB42 = n CONFIG_PLATFORM_ARM_RK2818 = n CONFIG_PLATFORM_ARM_RK3066 = n CONFIG_PLATFORM_ARM_RK3188 = n CONFIG_PLATFORM_ARM_URBETTER = n CONFIG_PLATFORM_ARM_TI_PANDA = n CONFIG_PLATFORM_MIPS_JZ4760 = n CONFIG_PLATFORM_DMP_PHILIPS = n CONFIG_PLATFORM_MSTAR_TITANIA12 = n CONFIG_PLATFORM_MSTAR = n CONFIG_PLATFORM_SZEBOOK = n CONFIG_PLATFORM_ARM_SUNxI = y CONFIG_PLATFORM_ARM_SUN6I = n CONFIG_PLATFORM_ARM_SUN7I = n CONFIG_PLATFORM_ARM_SUN8I_W3P1 = n CONFIG_PLATFORM_ARM_SUN8I_W5P1 = n CONFIG_PLATFORM_ACTIONS_ATM702X = n CONFIG_PLATFORM_ACTIONS_ATV5201 = n CONFIG_PLATFORM_ACTIONS_ATM705X = n CONFIG_PLATFORM_ARM_SUN50IW1P1 = n CONFIG_PLATFORM_ARM_RTD299X = n CONFIG_PLATFORM_ARM_SPREADTRUM_6820 = n CONFIG_PLATFORM_ARM_SPREADTRUM_8810 = n CONFIG_PLATFORM_ARM_WMT = n CONFIG_PLATFORM_TI_DM365 = n CONFIG_PLATFORM_MOZART = n CONFIG_PLATFORM_RTK119X = n CONFIG_PLATFORM_RTK129X = n CONFIG_PLATFORM_NOVATEK_NT72668 = n CONFIG_PLATFORM_HISILICON = n CONFIG_PLATFORM_HISILICON_HI3798 = n CONFIG_PLATFORM_NV_TK1 = n CONFIG_PLATFORM_NV_TK1_UBUNTU = n CONFIG_PLATFORM_RTL8197D = n CONFIG_PLATFORM_AML_S905 = n CONFIG_PLATFORM_ZTE_ZX296716 = n ###############################################################
测试直接编译通过
-
回复: 使用自带codec录音报错, arecord: pcm_read:2072: read error: I/O error
amixer -D hw:audiocodec cset numid=21 0 && \ amixer -D hw:audiocodec cset numid=9 30 && \ amixer -D hw:audiocodec cset numid=23 1 && \ amixer -D hw:audiocodec cset numid=25 0 && \ arecord -D hw:audiocodec -f S16_LE -t wav -r 16000 -d 3 t.wav
-
回复: v831刚上电没有log打印,到了kernel阶段才有
kernel要指定log的寄存器地址
make kernel_menuconfig
找到 Kernel low-level debugging functions,修改寄存器地址 -
回复: 使用自带codec录音报错, arecord: pcm_read:2072: read error: I/O error
通过 amixer 查看 route 状态,确认是否设置了需要的上下电通路。
-
回复: [哪吒开发板]Tina Linux SPI主从通信验证实录
@jaunenahy 可以直接这样替换吗?我看了下好像没有这个时钟通路。如果需要低时钟可以打linux rt实时补丁然后软件模拟spi
-
回复: [哪吒开发板]Tina Linux SPI主从通信验证实录
@jaunenahy spi_dbi_enable 是使用dbi接口接屏幕,驱动挂载到dbi上了不兼容spidev
-
回复: 产生的tina_d1-h-nezha_uart0文件 boot不到Linux
;---------------------------------------------------------------------------------- ;card_ctrl -卡启动控制器选择2 ;card_high_speed -速度模式 0为低速,1为高速 ;card_line -4:4线卡,8:8线卡 ;sdc_ds -ds信号的GPIO配置 ;sdc_d1 -sdc卡数据1线信号的GPIO配置 ;sdc_d0 -sdc卡数据0线信号的GPIO配置 ;sdc_clk -sdc卡时钟信号的GPIO配置 ;sdc_cmd -sdc命令信号的GPIO配置 ;sdc_d3 -sdc卡数据3线信号的GPIO配置 ;sdc_d2 -sdc卡数据2线信号的GPIO配置 ;sdc_d4 -sdc卡数据4线信号的GPIO配置 ;sdc_d5 -sdc卡数据5线信号的GPIO配置 ;sdc_d6 -sdc卡数据6线信号的GPIO配置 ;sdc_d7 -sdc卡数据7线信号的GPIO配置 ;sdc_emmc_rst -emmc_rst信号的GPIO配置 ;sdc_ex_dly_used -ex_dly_used信号 ;sdc_io_1v8 -sdc_io_1v8高速emmc模式配置 ;---------------------------------------------------------------------------------- [card2_boot_para] card_ctrl = 2 card_high_speed = 1 card_line = 4 sdc_clk = port:PC2<3><1><3><default> sdc_cmd = port:PC3<3><1><3><default> sdc_d0 = port:PC6<3><1><3><default> sdc_d1 = port:PC5<3><1><3><default> sdc_d2 = port:PC4<3><1><3><default> sdc_d3 = port:PC7<3><1><3><default> sdc_emmc_rst = port:PC1<3><1><3><default>
-
AXP2101常用寄存器简介
概述
编写目的
简要介绍PMU AXP2101芯片的常用寄存器的使用说明及功能概述。
使用范围
Allwinner所有搭配axp2101的平台。
寄存器具体bit位介绍
后面的内容仅介绍寄存器的功能说明,涉及到具体的寄存器的某一个bit的功能说明,请查询PMU AXP2101的数据手册,EFUSE项代表此项可定制。
1. comm_status & comm_cfg
1.1 comm_status
reg Tpye Default value Reset Type Description 0x00 RD 0x0 POR 描述VBUS负载情况、BATFET、battery、芯片温度、电流等的状态信息 0x01 RD 0x0 POR 描述电池的充电状态、VINDPM 1.2 comm_cfg
主要涉及BATFET、Battery、die_temp、vsys_min、vimdpm、iin_lim、PMU关机和复位等操作。
reg Tpye Default value Reset Type Description 0x10 RW 0x30 system reset/POR PMU开关机/复位、PWRON、POWOK、VREF 0x12 RW (EFUSE) POR BATFFET的使能控制及OCP关断使能 0x13 RW 0x03 POR DIE Temperaure的保护设置及level config 0x14 RW 0x65 POR 线性充电和开关充电电压的限制 0x15 RW 0x06 POR VINDPM:VBUS输入电压限制 0x16 RW 0x01 POR 输入限流功能,总输入电流 0x17 RW 0x0 POR gague相关复位操作 0x18 RW 0x0A POR gague、watchdong、button/cell battery使能位 2 开/关机源触发及设置
主要涉及开机源、开机源的获取及设置,还有唤醒源的设置。
reg Tpye Default value Reset Type Description 0x20 RD 0x0 - 开机源 0x21 RD 0x0 POR 关机源 0x22 RW (EFUSE) POR LDO、DIE -TEM、POWON的PWROFF_EN 0x23 RW 0x3f POR DCDC过压关机,dcdc1~dcdc5的欠压关机使能控制 0x24 RW (EFUSE) POR 电池低电量关机设置 0x26 RW 0x08 POR 设置PMU唤醒源,sleep_en、DCDC唤醒源保持休眠前的值 0x27 RW POR 设置按键的短按中断、关机、开机的按键时间 0x28~0x2B Fast pwron setting and control 3 IRQ status & control
主要涉及PMU所有中断的使能及发生中断的标志位查看及清楚中断标志位。
reg Tpye Default value Reset Type Description 0x40 RW 0xff system reset Gague、battery irq_en 0x41 RW 0xfc system reset VBUS/Battery inset/remove PWRON IRQ_EN 0x42 RW 0x5f system reset 电池充电完成、开始充电、DIE-TEM的一些中断使能设置 0x48 RW1C 0x00 system reset/POR 查看对应0x00的中断发生及清除中断标志位 0x49 RW1C 0x00 system reset/POR 查看对应0x01的中断发生及清除中断标志位 0x4A RW1C 0x00 system reset/POR 查看对应0x02的中断发生及清除中断标志位 4 TS设置
此处直接查看AXP2101的数据手册进行相关的设计即可,此处不详细列举。
5 Chaerge
主要涉及充电部分的设置,比如:预充电电流、充电电流、预充电安全时间、电充完成安全时间、纽扣充电电压设置、电池充电电压设置等。
reg Tpye Default value Reset Type Description 0x61 RW 0x05 POR 预充电电流设置,默认为125mA 0x62 RW (EFUSE) POR 充电电流设置 0x64 RW 0x03 POR 电池充满限制电压 0x67 RW 0xd6 POR 预充电和充电安全时间设置 0x6A RW 0x03 POR 纽扣电池充电电压限制,默认为2.9V 6 DCDC 电源
主要涉及DCDC使能及电压设置。
reg Tpye Default value Reset Type Description 0x80 RW EFUSE system reset DCDC1~DCDC5的使能开关 0x81 RW 0x00 system reset /POR DCDC1~DCDC4d PWM/PFM mode control,DCDC UVP debounce time config 0x82~0x86 RW EFUES system reset DCDC1~DCDC5的电压设置 0x87 RW EFUSE POR DCDC1~DCDC3的最大输出电流设置 7 LDO电源
主要涉及LDO电源的使能及电压设置。
reg Tpye Default value Reset Type Description 0x90 RW EFUSE system reset aldo1~aldo4,bldo1~bldo2,cpusldo,dldo1 enable control 0x91 RW EFUSE system reset dldo1 enable control 0x92~0x0A RW EFUSE system reset LDO电压设置 8 Gauge
reg Tpye Default value Reset Type Description 0xA1 RW - POR 电池参数设置 0xA2 RW 0x00 POR 选择ROM或者sram存储配置参数 0xA4 RD 0x00 POR Battery percentage data -
回复: R128-S2 中的 APP-LDO 可以作为 1.2V常驻供电吗?不使用外挂dcdc了
如果产品对温升有高要求,VDD-SYS/DSP必须使用外部DCDC,否则可以忽略
见参考设计原理图小字:
-
回复: 请问D1H这么多分区都是干什么用的?
- BOOT_RESOURCE: 启动LOGO,开机动画
- ENV:启动参数,环境
- ENV-REDUND:启动参数,环境的备份分区,防止变砖
- BOOT:uboot,kernel,dtb打包的一个分区,包含内核
- DSP0:dsp小核固件
- ROOTFS:rootfs
-
回复: 做了一块D1-H板子,LDOA_OUT输出只有1.2V?
LDOA固定1.8V,供PLL电,这个电源不够会导致系统时钟不起振。检查LDOA外围设计和是否存在短路
-
回复: 求助,T113 tina 如何使用SPI1烧写Nand Flash?
@msh410278586 看起来是nand通讯失败了,默认使用的是spi0的,spi1需要修改uboot的sunxi-flash来支持
-
【奇淫巧计】使用 PhoenixSuit 清空NAND,eMMC,Flash存储器
有的时候想把flash擦成空片或者只格式化普通分区如user data分区,但是又不想重新烧录固件,如何只进行擦除而不升级固件?
(1)把附件spec_tool_只擦除flash不烧录固件的插件.fex,重命名为spec_tool.fex放到烧录工具目录下。
(2)PhoenixSuit:选择机器对应的固件。选择工具界面上保留数据升级:勾选该按钮,则升级前不进行格式化,private,secure storage、user data、mbr分区保留,其他擦除;选择分区擦除升级:勾选该按钮,则升级前只格式化普通分区,private,secure storage分区保留,其他擦除(注意会擦除mbr然后重新烧录mbr);选择全盘擦除升级:勾选该按钮,则升级前格式化全盘,包括SN等数据整块flash全部擦除执行完后flash变成空片,然后执行烧录。
(3)PhoenixUsbpro:不勾选工具上的全盘擦除,是否擦除取决于sysconfig.fex的eraseflag字段;勾选工具上的全盘擦除,整块flash全部擦除。
(4)awflash:命令行烧录工具,加上参数-e表示全盘擦除,不带-e参数是否擦除取决于sysconfig.fex的eraseflag字段。注:全盘擦除需要是uboot2018及以上的uboot版本,如果需要恢复成正常烧录固件请把spec_tool.fex文件删除然后重启工具即可。擦成空片后的flash如果打开了工具会执行跳fel动作。如果操作不成功,请查看串口打印erase_flag的值是否对应正确。
-
回复: 编译问题:error GNU libiconv not in use but included iconv.h is from libiconv
看一下编译工具链是不是musl的但是使用了glib的东西
-
回复: yolov3的 例子 在 v851s 无法运行
@super0759
tiny的输出是2个tensor,而标准v3是三个tensor,可以在后处理部分删除一个tensor的解析。这里Segmentation fault (core dumped)就是因为只输出了两个tensor但是后处理需要三个tensor导致数据错误 -
回复: V853 关于网络模型是多输入
@super0759 yolov3 最低需要22M内存,加上模型36M一共58M内存占用,64M内存需要裁减linux到6M内存占用内
-
回复: V851SE 修改为 spi nand flash 无法正常启动
# CONFIG_LOCALVERSION_AUTO is not set CONFIG_SYSVIPC=y # CONFIG_FHANDLE is not set CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_BSD_PROCESS_ACCT=y CONFIG_BSD_PROCESS_ACCT_V3=y CONFIG_LOG_BUF_SHIFT=14 CONFIG_CC_OPTIMIZE_FOR_SIZE=y # CONFIG_SYSFS_SYSCALL is not set # CONFIG_AIO is not set CONFIG_EMBEDDED=y # CONFIG_SLUB_DEBUG is not set # CONFIG_COMPAT_BRK is not set CONFIG_JUMP_LABEL=y CONFIG_CC_STACKPROTECTOR_REGULAR=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_BLK_DEV_BSG is not set CONFIG_ARCH_SUNXI=y CONFIG_ARCH_SUN8IW21=y CONFIG_EVB_PLATFORM=y CONFIG_SUNXI_SOC_NAME="sun8iw21" CONFIG_SWP_EMULATE=y # CONFIG_VDSO is not set CONFIG_ARM_PSCI=y CONFIG_PREEMPT=y CONFIG_AEABI=y CONFIG_OABI_COMPAT=y CONFIG_HIGHMEM=y # CONFIG_COMPACTION is not set CONFIG_CMA=y CONFIG_ARM_FLUSH_CONSOLE_ON_RESTART=y CONFIG_USE_OF=y # CONFIG_ATAGS is not set CONFIG_CMDLINE="earlyprintk=sunxi-uart,0x05000000 loglevel=8 initcall_debug=1 console=ttyS0 init=/init" CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y CONFIG_CPU_FREQ_GOV_INTERACTIVE=y CONFIG_CPUFREQ_DT=y CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y CONFIG_CPU_IDLE=y CONFIG_ARM_CPUIDLE=y CONFIG_SUNXI_CPU0IDLE=y CONFIG_VFP=y CONFIG_NEON=y # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set CONFIG_PM_WAKELOCKS=y CONFIG_PM_DEBUG=y CONFIG_PM_ADVANCED_DEBUG=y CONFIG_NET=y CONFIG_PACKET=y CONFIG_PACKET_DIAG=y CONFIG_UNIX=y CONFIG_UNIX_DIAG=y CONFIG_NET_KEY=y CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y CONFIG_IP_PING=y CONFIG_IP_FIB_TRIE_STATS=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_MULTIPATH=y CONFIG_IP_ROUTE_VERBOSE=y CONFIG_IP_MROUTE=y CONFIG_IP_MROUTE_MULTIPLE_TABLES=y CONFIG_IPV6_MULTIPLE_TABLES=y CONFIG_IPV6_SUBTREES=y CONFIG_IPV6_MROUTE=y CONFIG_BT=y CONFIG_BT_RFCOMM=y CONFIG_BT_RFCOMM_TTY=y # CONFIG_BT_HS is not set # CONFIG_BT_LE is not set CONFIG_XR_BT_LPM=y CONFIG_XR_BT_FDI=y CONFIG_BT_HCIUART=y CONFIG_BT_HCIUART_H4=y CONFIG_HFP_OVER_PCM=y CONFIG_CFG80211=y CONFIG_RFKILL=y CONFIG_RFKILL_GPIO=y CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_SUNXI_MBUS=y CONFIG_MTD=y CONFIG_MTD_BLOCK=y CONFIG_MTD_CFI=y CONFIG_MTD_CFI_INTELEXT=y CONFIG_MTD_CFI_AMDSTD=y CONFIG_MTD_COMPLEX_MAPPINGS=y CONFIG_MTD_PHYSMAP_OF=y CONFIG_MTD_NAND_IDS=y CONFIG_AW_MTD_SPINAND=y CONFIG_MTD_UBI_BLOCK=y CONFIG_SUNXI_RFKILL=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_NETDEVICES=y CONFIG_SUNXI_GMAC=y CONFIG_NET_VENDOR_AURORA=y # CONFIG_USB_NET_DRIVERS is not set # CONFIG_WLAN_VENDOR_ADMTEK is not set # CONFIG_WLAN_VENDOR_ATH is not set # CONFIG_WLAN_VENDOR_ATMEL is not set # CONFIG_WLAN_VENDOR_BROADCOM is not set # CONFIG_WLAN_VENDOR_CISCO is not set # CONFIG_WLAN_VENDOR_INTEL is not set # CONFIG_WLAN_VENDOR_INTERSIL is not set # CONFIG_WLAN_VENDOR_MARVELL is not set # CONFIG_WLAN_VENDOR_MEDIATEK is not set # CONFIG_WLAN_VENDOR_RALINK is not set # CONFIG_WLAN_VENDOR_REALTEK is not set # CONFIG_WLAN_VENDOR_RSI is not set # CONFIG_WLAN_VENDOR_ST is not set # CONFIG_WLAN_VENDOR_TI is not set # CONFIG_WLAN_VENDOR_ZYDAS is not set CONFIG_XR829_WLAN=m CONFIG_ISDN=y # CONFIG_INPUT_MOUSEDEV is not set CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_SENSORINIT is not set # CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_MOUSE is not set CONFIG_INPUT_TOUCHSCREEN=y # CONFIG_TOUCHSCREEN_PROPERTIES is not set CONFIG_TOUCHSCREEN_FT6236=y # CONFIG_TOUCHSCREEN_GT82X is not set # CONFIG_TOUCHSCREEN_IT7257_TS is not set # CONFIG_TOUCHSCREEN_GSLX680NEW is not set # CONFIG_TOUCHSCREEN_FT5X16_TS is not set # CONFIG_TOUCHSCREEN_GT9XX_TS is not set # CONFIG_TOUCHSCREEN_TLSC6X_TS is not set CONFIG_INPUT_MISC=y CONFIG_SUNXI_WIEGAND=y CONFIG_INPUT_SENSOR=y # CONFIG_SENSORS_BMA250 is not set # CONFIG_SENSORS_SC7A30 is not set # CONFIG_SENSORS_MMA7660 is not set # CONFIG_SENSORS_MIR3DA is not set # CONFIG_SENSORS_MXC622X is not set # CONFIG_SENSORS_MMA8452 is not set # CONFIG_SENSORS_MMA865X is not set # CONFIG_SENSORS_MC32X0 is not set CONFIG_SENSORS_GPADC=y CONFIG_KEY_GPIO=y # CONFIG_SENSORS_DA380 is not set # CONFIG_SERIO is not set # CONFIG_LEGACY_PTYS is not set # CONFIG_DEVMEM is not set # CONFIG_DEVKMEM is not set # CONFIG_HW_RANDOM is not set # CONFIG_SUNXI_SYS_INFO is not set CONFIG_SUNXI_G2D=y CONFIG_SUNXI_G2D_MIXER=y CONFIG_SUNXI_G2D_ROTATE=y CONFIG_SUNXI_NNA_VIP=y CONFIG_I2C=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_SUNXI=y CONFIG_SPI=y CONFIG_SPI_SUNXI=y CONFIG_GPIOLIB=y CONFIG_GPIO_SYSFS=y CONFIG_POWER_SUPPLY=y CONFIG_AXP2101_POWER=y CONFIG_THERMAL=y CONFIG_THERMAL_GOV_USER_SPACE=y CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y CONFIG_CPU_THERMAL=y CONFIG_THERMAL_EMULATION=y CONFIG_SUNXI_THERMAL_NG=y CONFIG_WATCHDOG=y CONFIG_SUNXI_WATCHDOG=y CONFIG_MFD_AXP2101_I2C=y CONFIG_MFD_SYSCON=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_VIRTUAL_CONSUMER=y CONFIG_REGULATOR_AXP2101=y CONFIG_MEDIA_SUPPORT=y CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_CONTROLLER=y CONFIG_VIDEO_V4L2_SUBDEV_API=y CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_VIDEO_SUNXI_VIN=m # CONFIG_CSI_CCI is not set CONFIG_VIN_IOMMU=y CONFIG_D3D=y CONFIG_D3D_COMPRESS_EN=y # CONFIG_WDR is not set CONFIG_SENSOR_GC2053_MIPI=m # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set CONFIG_FB=y CONFIG_DISP2_SUNXI=y CONFIG_SUNXI_DISP2_FB_HW_ROTATION_SUPPORT=y CONFIG_DISP2_SUNXI_DEBUG=y CONFIG_LCD_SUPPORT_D310T9362V1_MIPI=y # CONFIG_LCD_SUPPORT_HE0801A068 is not set # CONFIG_LCD_SUPPORT_WILLIAMLCD is not set # CONFIG_LCD_SUPPORT_LQ101R1SX03 is not set # CONFIG_LCD_SUPPORT_INET_DSI_PANEL is not set # CONFIG_LCD_SUPPORT_BP101WX1_206 is not set # CONFIG_LCD_SUPPORT_K101IM2QA04 is not set # CONFIG_LCD_SUPPORT_T050K589 is not set # CONFIG_LCD_SUPPORT_KD080D24 is not set CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_SOC=y CONFIG_SND_SOC_SUNXI_AAUDIO=y CONFIG_SND_SOC_SUNXI_DAUDIO=y CONFIG_SND_SOC_SUNXI_COMPONENTS=y CONFIG_SND_SOC_SUNXI_RXSYNC=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y CONFIG_USB_SUNXI_HCD=y CONFIG_USB_SUNXI_HCI=y CONFIG_USB_SUNXI_EHCI0=y CONFIG_USB_SUNXI_EHCI1=y CONFIG_USB_SUNXI_OHCI0=y CONFIG_USB_SUNXI_OHCI1=y CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_REALTEK=y CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_FREECOM=y CONFIG_USB_STORAGE_ISD200=y CONFIG_USB_STORAGE_USBAT=y CONFIG_USB_STORAGE_SDDR09=y CONFIG_USB_STORAGE_SDDR55=y CONFIG_USB_STORAGE_JUMPSHOT=y CONFIG_USB_STORAGE_ALAUDA=y CONFIG_USB_STORAGE_ONETOUCH=y CONFIG_USB_STORAGE_KARMA=y CONFIG_USB_STORAGE_CYPRESS_ATACB=y CONFIG_USB_STORAGE_ENE_UB6250=y CONFIG_USB_UAS=y CONFIG_USB_GADGET=y CONFIG_USB_SUNXI_UDC0=y CONFIG_USB_CONFIGFS=y CONFIG_USB_CONFIGFS_MASS_STORAGE=y CONFIG_USB_CONFIGFS_F_FS=y CONFIG_USB_CONFIGFS_UEVENT=y CONFIG_USB_CONFIGFS_F_HID=y CONFIG_USB_SUNXI_USB=y CONFIG_USB_SUNXI_USB_MANAGER=y CONFIG_USB_SUNXI_USB_DEBUG=y CONFIG_USB_SUNXI_USB_ADB=y CONFIG_MMC=y CONFIG_MMC_SUNXI=y CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_SUNXI=y CONFIG_SUNXI_BOOTUP_EXTEND=y CONFIG_SUNXI_RTC_BOOTCOUNT=y CONFIG_DMADEVICES=y CONFIG_DMA_SUNXI=y CONFIG_STAGING=y CONFIG_ION=y CONFIG_ION_SUNXI=y # CONFIG_COMMON_CLK_DEBUG is not set # CONFIG_ARM_ARCH_TIMER_EVTSTREAM is not set CONFIG_MAILBOX=y CONFIG_SUNXI_MBOX=y CONFIG_SUNXI_RV32_STANBY=y CONFIG_SUNXI_IOMMU=y CONFIG_SUNXI_RPROC=y CONFIG_SUNXI_MSGBOX=y CONFIG_SUNXI_RPMSG_E907=y CONFIG_SUNXI_RPMSG_SPEEDTEST=y CONFIG_SUNXI_RPMSG_HEARBEAT=y CONFIG_RPMSG_CTRL=y CONFIG_RPMSG_NOTIFY=y CONFIG_RPMSG_VIRTIO=y CONFIG_PWM=y CONFIG_PWM_SUNXI_GROUP=y CONFIG_ANDROID=y CONFIG_NVMEM=y CONFIG_NVMEM_SUN50I_SID=y CONFIG_SUNXI_MPP=y CONFIG_EXT4_FS=y # CONFIG_FILE_LOCKING is not set # CONFIG_DNOTIFY is not set # CONFIG_INOTIFY_USER is not set CONFIG_OVERLAY_FS=y CONFIG_MSDOS_FS=y CONFIG_VFAT_FS=y CONFIG_FAT_DEFAULT_UTF8=y CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_JFFS2_FS=y CONFIG_JFFS2_SUMMARY=y CONFIG_JFFS2_FS_XATTR=y # CONFIG_JFFS2_FS_POSIX_ACL is not set # CONFIG_JFFS2_FS_SECURITY is not set CONFIG_JFFS2_COMPRESSION_OPTIONS=y # CONFIG_JFFS2_ZLIB is not set CONFIG_UBIFS_FS=y CONFIG_SQUASHFS=y CONFIG_SQUASHFS_LZ4=y CONFIG_SQUASHFS_LZO=y CONFIG_SQUASHFS_XZ=y CONFIG_SQUASHFS_ZSTD=y # CONFIG_NETWORK_FILESYSTEMS is not set CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ISO8859_1=y CONFIG_PRINTK_TIME=y CONFIG_FRAME_WARN=2048 CONFIG_DEBUG_FS=y CONFIG_DEBUG_VM=y # CONFIG_SCHED_DEBUG is not set CONFIG_DEBUG_MUTEXES=y CONFIG_STACKTRACE=y # CONFIG_FTRACE is not set CONFIG_ATOMIC64_SELFTEST=y CONFIG_SUNXI_DUMP=y
-
回复: V851SE 修改为 spi nand flash 无法正常启动
[ 1.612222] sunxi-spinand-phy: ======================================== [ 1.619660] sunxi-spinand-phy: [ 1.623184] sunxi-spinand-phy: ========== physical info ========== [ 1.630134] sunxi-spinand-phy: TotalSize: 128 M [ 1.635522] sunxi-spinand-phy: SectorSize: 512 B [ 1.640901] sunxi-spinand-phy: PageSize: 2 K [ 1.646094] sunxi-spinand-phy: BlockSize: 128 K [ 1.651473] sunxi-spinand-phy: OOBSize: 64 B [ 1.656763] sunxi-spinand-phy: ======================================== [ 1.664192] sunxi-spinand-phy: [ 1.667725] sunxi-spinand-phy: ========== logical info ========== [ 1.674578] sunxi-spinand-phy: TotalSize: 128 M [ 1.679957] sunxi-spinand-phy: SectorSize: 512 B [ 1.685345] sunxi-spinand-phy: PageSize: 4 K [ 1.690529] sunxi-spinand-phy: BlockSize: 256 K [ 1.695916] sunxi-spinand-phy: OOBSize: 128 B [ 1.701294] sunxi-spinand-phy: ======================================== [ 1.708817] sunxi-spinand-phy: block lock register: 0x00 [ 1.714891] sunxi-spinand-phy: feature register: 0x11 [ 1.720568] sunxi-spinand-phy: sunxi physic nand init end [ 1.728866] sunxipart: failed to parse sunxi_gpt! [ 1.734176] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.740433] 0x000000000000-0x000000100000 : "boot0" [ 1.749413] 0x000000100000-0x000000400000 : "uboot" [ 1.757153] random: fast init done [ 1.765135] 0x000000400000-0x000000500000 : "secure_storage" [ 1.775318] 0x000000500000-0x000008000000 : "sys"
nand 识别到了,但是没有ubifs的配置层
[ 3.660272] List of all partitions: [ 3.664574] 1f00 1024 mtdblock0 (driver?) [ 3.670267] 1f01 3072 mtdblock1 (driver?) [ 3.676025] 1f02 1024 mtdblock2 (driver?) [ 3.681705] 1f03 125952 mtdblock3 (driver?) [ 3.687531] No filesystem could mount root, tried: ubifs
-
回复: ST7789 i80液晶显示屏, 8bit模式,有些显示屏用的是 d0-d7,有些显示屏用的是d8-d15,这个是怎么实现的呢?
IM1 IM2 可以配置模式,另外原厂会刷屏幕固件