Skip to content

hyphop/khadas-openwrt

Repository files navigation

khadas openwrt Build Status

openwrt for Khadas VIMs boards https://www.khadas.com/vim (Amlogic s905 s912 a311D s905d3 ) and Edge boards https://docs.khadas.com/edge/ (RockChip rk3399 )

khadas vims openwrt

Change logs

supported Boards

Build

git clone https://github.com/hyphop/khadas-openwrt.git
cd khadas-openwrt

# ./scripts/build_prepare      # if some tools missed
# ./build_prepare_from_sources # if some tools missed or wrong 

# build usage examples

## build openwrt for VIM1
./scripts/build -1  
## build openwrt for VIM2
./scripts/build -2  
## build openwrt for VIM3
./scripts/build -3  
## build openwrt for VIM3L
./scripts/build -3l 
## build openwrt for Edge
./scripts/build -e  
#
./scripts/build -emmc -3l # build openwrt for VIM3L emmc image
#
./scripts/build -2 +server # build openwrt server variant for VIM2
#
echo REL=18.06.4 > scripts/build.conf.user # build openwrt 18.06.4 series
./scripts/build -r -2
#
echo REL=19.07.3 > scripts/build.conf.user # build openwrt 19.07.0 series
./scripts/build -r -2
#

Images

Installation

just write iamge to SD card

cd /tmp
wget https://github.com/hyphop/khadas-openwrt/releases/download/0.1/VIM1.OPENWRT.sd.img.gz || \
wget https://dl.khadas.com/Firmware/VIM1/OpenWrt/VIM1.OPENWRT.sd.img.gz
gzip -dc VIM1.OPENWRT.sd.img.gz | sudo dd bs=1M of=/dev/SD_PATH
sync

install to emmc inside openwrt booted from sd

root@openwrt:/# mmc_install_from_sd

docs & how to

related projects

links