最近手上拿到一塊香蕉派的R2,這塊板子能夠用做路由器,因此決定在板子上面跑一下Openwrt。linux
R2的外觀長這個樣子,看起來仍是比較酷的;git
連接:http://wiki.banana-pi.org/Banana_Pi_BPI-R2#Introductiongithub
論壇連接:http://forum.banana-pi.org/shell
簡單介紹完後,接下來我下載openwrt的repo(代碼庫),來感覺一下R2運行openwrt的性能;api
1 jack@jack: git clone https://github.com/garywangcn/bpi-r2_lede.git 2 jack@jack: cd bpi-r2_lede 3 jack@jack: cat README
1 jack@jack: ./scripts/feeds update -a 2 jack@jack: ./scripts/feeds install -a
有了鏡像文件後,接下來咱們來燒錄鏡像;多線程
1 jack@jack: fdisk -l 2 ************************************************************ 3 Disk /dev/sdf: 29.7 GiB, 31914983424 bytes, 62333952 sectors 4 Units: sectors of 1 * 512 = 512 bytes 5 Sector size (logical/physical): 512 bytes / 512 bytes 6 I/O size (minimum/optimal): 512 bytes / 512 bytes 7 Disklabel type: dos 8 Disk identifier: 0x4d1bc8d1 9 10 Device Boot Start End Sectors Size Id Type 11 /dev/sdf1 8192 62332199 62324008 29.7G c W95 FAT32 (LBA)
1 jack@jack: dd if=mtk-bpi-r2-SD.img of=/dev/sdf 2 200192+1 records in 3 200192+1 records out 4 102498308 bytes (102 MB, 98 MiB) copied, 10.0212 s, 10.2 MB/s
1 jack@jack: dd if=/dev/sda of=/dev/null bs=1M count=1024 2 jack@jack: dd if=/dev/zero of=/dev/sda bs=1M count=1024
1 BusyBox v1.26.2 () built-in shell (ash) 2 3 _________ 4 / /\ _ ___ ___ ___ 5 / LE / \ | | | __| \| __| 6 / DE / \ | |__| _|| |) | _| 7 /________/ LE \ |____|___|___/|___| lede-project.org 8 \ \ DE / 9 \ LE \ / ----------------------------------------------------------- 10 \ DE \ / Reboot (SNAPSHOT, r4774-8cb7cc2) 11 \________\/ ----------------------------------------------------------- 12 13 === WARNING! ===================================== 14 There is no root password defined on this device! 15 Use the "passwd" command to set up a new password 16 in order to prevent unauthorized SSH logins. 17 -------------------------------------------------- 18 root@LEDE:/# uname -a 19 Linux LEDE 4.9.44 #0 SMP PREEMPT Tue Jun 26 11:00:25 2018 armv7l GNU/Linux 20 root@LEDE:/#
歡迎你們批評指正,轉載請註明出處,多謝。ide