sean-liang / phicomm-n1-openwrt-image-builder Goto Github PK
View Code? Open in Web Editor NEW斐讯N1盒子OpenWRT镜像自动构建脚本
License: Apache License 2.0
斐讯N1盒子OpenWRT镜像自动构建脚本
License: Apache License 2.0
编译好的固件有写入emmc的脚本吗
脚本最后一个 cleanup 有问题, 把生成的固件也删掉啦
xx@xx-virtual-machine:~/Desktop/PHICOMM-N1-OpenWRT-Image-Builder$ sudo ./build.sh
Enter OpenWRT image path: ./openwrt.img
Enter Armbian image path: ./armbian.img
OpenWRT Image: ./openwrt.img
Armbian Image: ./armbian.img
Cleanup.
Create work images.
Create work directories.
Copy files from OpenWRT image.
mount: /home/xx/Desktop/PHICOMM-N1-OpenWRT-Image-Builder/image: special device /dev/loop19p2 does not exist.
mv: cannot stat '/home/xx/Desktop/PHICOMM-N1-OpenWRT-Image-Builder/image/': No such file or directory
umount: /home/xx/Desktop/PHICOMM-N1-OpenWRT-Image-Builder/image: not mounted.
Copy files from Armbian image.
find: ‘/home/xx/Desktop/PHICOMM-N1-OpenWRT-Image-Builder/openwrt/lib/modules/’: No such file or directory
Modify boot script.
sed: can't read /home/xx/Desktop/PHICOMM-N1-OpenWRT-Image-Builder/openwrt/etc/init.d/boot: No such file or directory
Copy defaut configs.
Create firmware image.
Compress firmware image.
Cleanup.
All done. Firmware Image: n1-firmware.img.gz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.