Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3--WRTNode C helloworld! #4

Open
cooljiansir opened this issue Nov 14, 2014 · 0 comments
Open

3--WRTNode C helloworld! #4

cooljiansir opened this issue Nov 14, 2014 · 0 comments

Comments

@cooljiansir
Copy link
Owner

WRTNode C helloworld!

Build the SDK

download http://pan.baidu.com/s/1pJ2XGa3 to /home/workplace

cd /home/workplace/
tar -xf dl_for_WRTnodeSDK140824.tar
tar -xf WRTnodeSDK140824.tar.bz2
mv dl WRTnodeSDK140824/
mv feeds.conf.default WRTnodeSDK140824/
cd WRTnodeSDK140824
make menuconfig
#select(y)          [*] Build the OpenWrt SDK  
make                 #wait about 1hour
cd bin/ramips/
cp OpenWrt-SDK-ramips-*.tar.bz2 /home/workplace/                  #It's the sdk!
cd /home/workplace
tar -xf OpenWrt-SDK-ramips-*.tar.bz2

compile our hello world .ipk

cd /home/workplace/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/
cd package

download http://pan.baidu.com/s/1o61DNBW here

tar -xf helloworld.tar.bz2
cd ../
make 
cd bin/ramips/packages/
ls                 #here is helloworld_1_ramips_24kec.ipk

install to WRTnode and run !

scp helloworld_1_ramips_24kec.ipk root@192.168.8.1:/usr/bin/
ssh root@192.168.8.1
root@OpenWrt:~# cd /usr/bin
root@OpenWrt:/usr/bin# ls
root@OpenWrt:/usr/bin#  opkg install helloworld_1_ramips_24kec.ipk 
root@OpenWrt:/usr/bin# helloworld
a hellowrold ipk for openwrt !!!
@cooljiansir cooljiansir changed the title WRTNode C helloworld! 3--WRTNode C helloworld! Nov 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant