2020年3月24日 星期二

Raspberry PI + OpenWRT

好久沒有編openwrt, 都快忘了流程

稍微記錄一下: (以下在PI3 ModelB v1.2 測試過可以用)
https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
https://oldwiki.archive.openwrt.org/doc/howto/installopenwrt


git clone git://github.com/openwrt/openwrt.git
sudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext libssl-dev unzip

cd openwrt/

./scripts/feeds update -a

make menuconfig

make

cd bin/targets/bcm27xx/bcm2709/


(記得先解壓縮.gz)
sudo dd if=openwrt-bcm27xx-bcm2709-rpi-2-ext4-factory.img of=/dev/sdg bs=2M conv=fsync

沒有留言: