看看WiFi模块的原理图,和dts的rfkill wlan配置?
zoipuus 发布的帖子
-
回复: 求助! t113i tina 编译, 驱动选择为[M], 生成的镜像没有/lib/modules/ 目录
还需要在openWRT配置config(在SDK目录执行make menuconfig),选中对应的驱动,生成的镜像才会包含驱动文件
-
回复: T113-s3更换debug口后shell不运行[T113_QA0001]
@tivon 会不会是uart0(PE2 PE3)管脚有冲突?我之前也试过uboot阶段有log输出,kernel起来后输出一段log后就没东西了
-
回复: tina linux怎么设置开机自启动
@zifeiyu @admin5 Tina OpenWRT系统的rc.final已经屏蔽了/etc/init.d/S*服务自启动方式,新创建的自启动服务(S90auto)可以添加到/etc/init.d/load_script.conf
--- a/t113s2-evb1/busybox-init-base-files/etc/init.d/rc.final +++ b/t113s2-evb1/busybox-init-base-files/etc/init.d/rc.final #for i in /etc/init.d/S??* ;do # Ignore dangling symlinks (if any). # [ ! -f "$i" ] && continue # case "$i" in # *.sh) # Source shell script for speed. # ( # trap - INT QUIT TSTP # set start # . $i # ) # ;; # *) # No sh extension, so fork subprocess. # $i start # ;; # esac #done
-
回复: T113-Tina5.0在设备树设置usb0为设备模式无效
我之前关闭TYPE-C后也遇到过,你看一下openwrt/target/t113s2仓库rc.final文件是不是有cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host,我修改了这部分代码
--- a/t113s2-evb1/busybox-init-base-files/etc/init.d/rc.final +++ b/t113s2-evb1/busybox-init-base-files/etc/init.d/rc.final @@ -79,10 +79,10 @@ fi #umount /tmp if [ x${boot_partition} == xboot ];then amixer cset name="Headphone Switch" 1 - cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host + cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_device nice -n -20 /usr/bin/story_bin & else - cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_host + cat /sys/devices/platform/soc@3000000/soc@3000000:usbc0@0/usb_device export swu_software=$(fw_printenv -n swu_software 2>/dev/null) export swu_mode=$(fw_printenv -n swu_mode 2>/dev/null) nice -n -20 /usr/bin/story_ota_bin & -- 2.7.4
-
回复: V3s两个串口同时打开报错
@kunyi 在 v3s两个串口同时打开报错 中说:
@b18770205274
不是喔
你的語法是 send_fd > 0 就會執行 printf("open error\n"); exit(EXIT_FAILURE);要 if ((send_fd < 0) || (receive_fd < 0))這樣才是你說的意思
@B18770205274 就像Kunyi说的,if (send_fd || receive_fd < 0)相当于send_fd > 0或者receive_fd < 0就会执行里面的代码块,所以if (send_fd < 0 || receive_fd < 0)才是任意一个打开失败就执行里面的代码块
-
回复: Tian的t113使用UDISK作为overlay,但是每次跟新镜像的时候有一些数据还是上次更新前的。
@ysc3650145 PhoenixSuit_V2.0.1.zip ,我的主板是用SPINAND的,烧录SD卡要用PhoenixCard,你试试格式化SD卡后再烧录?
-
回复: Tian的t113使用UDISK作为overlay,但是每次跟新镜像的时候有一些数据还是上次更新前的。
@ysc3650145 OTA升级不会更新overlay里面的内容,如果使用PhoenixSuti工具烧录img,可以选择分区擦除升级或全盘擦除升级
-
回复: Tina Linux 存储介质切换:eMMC,SPI NAND,SPI NOR,SD Card,SD NAND
@nathanliu spi配置没问题,查一下brandy/brandy-2.0/u-boot-2018/drivers/mtd/awnand/spinand/physic/id.c的struct aw_spinand_phy_info gigadevice[],应该没有你现在用的SPI NAND
后续还要检查kernel/linux-5.4/drivers/mtd/awnand/spinand/physic/id.c,两个路径需要同时添加 -
回复: T113S3使用spinand启动进不了kernel问题
看一下openWRT配置,在根目录执行make menuconfig,搜索redund看看
Symbol: SUNXI_MAKE_REDUNDANT_ENV [=y] │ │ Type : bool │ │ Defined at target/linux/generic/image/Config.in:223 │ │ Prompt: sunxi make redundant env data │ │ Location: │ │ (1) -> Target Images │ │ │ │ │ │ Symbol: SUNXI_REDUNDANT_ENV_SIZE [=0x20000] │ │ Type : string │ │ Defined at target/linux/generic/image/Config.in:229 │ │ Prompt: redundant env data size │ │ Depends on: SUNXI_MAKE_REDUNDANT_ENV [=y] │ │ Location: │ │ -> Target Images │ │ (2) -> sunxi make redundant env data (SUNXI_MAKE_REDUNDANT_ENV [=y])