Linkit smart 7688 刷OpenWRT19固件
按照https://innomatic.home.blog/2019/02/27/install-openwrt-18-on-linkit-smart-7688/来操作。
Ubuntu系统版本是14.04.3
遇到的问题:
(1)在ubuntu14.04.3找不到python3-distutils安装包:
解决: sudo apt-get install python-distutils-extra
(参考https://stackoverflow.com/questions/3810521/how-to-install-python-distutils)
(2) 升级之后,读不到U盘或者SD卡。
解决:
首先安装kmod-和usb,sd卡(kmod-sdhci,kmod-sdhci-mt7620),相关的包,然后,按照下面的介绍配置下
https://openwrt.org/start?id=zh/docs/guide-user/storage/usb-drives
https://openwrt.org/start?id=zh/docs/guide-user/storage/filesystems-and-partitions
或者,你看看luci里的mount配置。。。
(3) SD卡插入后只只读模式。(提示Read-only file system
)
解决:还没解决
sudo mount -t ntfs-3g -o uid=$(id -u) /dev/sdb1 /mnt/(参考https://askubuntu.com/questions/47538/how-to-make-read-only-file-system-writable) 在编译固件时,需要加入 ntfs-3g 模块
把 SD 卡格式化成 ext4 格式 (https://blog.csdn.net/hzlarm/article/details/103264651)
(4)系统不停的突然重启:
解决:我之前看到一篇文章https://github.com/vernesong/OpenClash/issues/289 提到“编译openwrt时删除所有的target/linux/generic/pending-*/616-net_optimize_xfrm_calls.patch”,以及附带的bug report (https://bugs.openwrt.org/index.php?do=details&task_id=2943)。但是我尝试之后并不能解决这个问题。。。然后,我换了一根电源线,然后切断USB uart的3.3V,问题就解决啦。。
(5) 虚拟内存:https://www.guaosi.com/2019/02/21/linux-add-virtual-memory/
-------------------------------------------------------------------------
20200928更新,ubuntu用20.04.1也行。。。ubuntu旧版本很多问题,现在我换新版本了。。。
Comments
Post a Comment