8devices已经为其mango开发板放出ipq60xx的openwrt

编译环境
Ubuntu18
sudo apt-get install git git-doc subversion build-essential flex wget gawk unzip man file python2.7 zlib1g-dev libssl-dev libncurses5-dev ocaml-nox

机场
export http_proxy=192.168.224.1:10809
export https_proxy=192.168.224.1:10809
export ftp_proxy=192.168.224.1:10809
git config --global http.proxy http://192.168.224.1:10809
git config --global https.proxy https://192.168.224.1:10809

下载源代码仓库
git clone --branch qsdk-11.3-ipq60xx-4.4 https://github.com/8devices/openwrt-8devices.git

编译
cd openwrt-8devices
./quick_start.sh 8dev_mango_open  -c

遇到问题
error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}'

下载如下补丁
https://github.com/openwrt/openwrt/commit/70b104f98c0657323b28fce140b73a94bf3eb756#diff-ad001f3a51a1d957d5013650f14df0cb
保存为
tools/mkimage/patches/210-openssl-1.1.x-compat.patch

重新make
 

dropbear 修改源代码,并更新压缩包
/home/meng/ipq/openwrt-8devices/dl/dropbear-2019.78.tar.bz2

重新编译dropbear
make package/network/services/dropbear/clean
make package/network/services/dropbear/compile

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐