刷机相关
先切换到nand开机下恢复原厂固件
echo 0 > /sys/block/mmcblk0boot0/force_ro
dd if=bl2_emmc-r3mini.img of=/dev/mmcblk0boot0
dd if=mtk-bpi-r3mini-EMMC-20230719.img of=/dev/mmcblk0
成功后刷入im固件
dd if=gpt.bin of=/dev/mmcblk0 bs=512 seek=0 count=34 conv=fsync
echo 0 > /sys/block/mmcblk0boot0/force_ro
dd if=/dev/zero of=/dev/mmcblk0boot0 bs=512 count=8192 conv=fsync
dd if=preloader.bin of=/dev/mmcblk0boot0 bs=512 conv=fsync
dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=13312 count=8192 conv=fsync
dd if=bl31-uboot.fip of=/dev/mmcblk0 bs=512 seek=13312 conv=fsync
dd if=recovery.itb of=/dev/mmcblk0p4 bs=512 conv=fsync
dd if=sysupgrade.itb of=/dev/mmcblk0p5 bs=512 conv=fsync
在im固件下刷入nand固件
Boot from EMMC, and get into the uboot command shell.
usb start
ls usb 0:1 – Your File (Image.bin) should show up
fatload usb 0:1 $loadaddr nand-factory.bin
nand erase 0x0 0x8000000
nand write $loadaddr 0 0x8000000
Boot to Nand now working.
风扇:
echo 30 > /sys/class/hwmon/hwmon1/pwm1
5g 模组相关
opkg update
opkg install kmod-usb-serial kmod-usb-serial-option kmod-usb-serial-qualcomm picocom kmod-usb-net-rndis usb-modeswitch
工具包相关
opkg install sing-box htop iperf3
标签:mini,usb,conv,r3,nand,dev,笔记,bs,512 From: https://www.cnblogs.com/qoogeek/p/18192343