Home
Login
Register
Search
Home
Step by Step Instruction to Run Apps on FlexRoad HW.en
Step by Step Instruction to Run Apps on FlexRoad HW.en
May 30, 2018 | Author: Radu Uglea | Category:
Classes Of Computers
,
Linux Distribution
,
System Software
,
Software Engineering
,
Software Development
DOWNLOAD
Share
Report this link
Comments
Description
Componentality Oy Ratakatu 47, 53100 Lappeenranta, Finland Tel.: +35 04! 5!!"01! #mail: $ale$%&omponentality.&om 'e(: )ttp:**+++.&omponentality.&om Step By Step Guide for Starting "Hello, World!" on OpenWRT Installation. ,ll a&tion$ o- t)i$ $tep $)ould (e per-ormed (y a non.root u$er. /ire&torie$ +it) $pa&e$ in t)eir -ull pat) are not allo+ed. 1. 0n$tall 123 (y runnin4 t)e -ollo+in4 &ommand$ in t)e terminal. Re$pond po$iti5ely +)en a$ked to &on-irm. sudo apt-get update sudo apt-get install subversion build-essential ". Create open+rt -older in t)e )ome -older. mkdir ~/openwrt 3. Open it cd ~/openwrt 4. /o+nload Open'RT ,ttitude ,d6u$tment, (y runnin4 t)e -ollo+in4 &ommand: svn co svn://svn.openwrt.org/openwrt/branches/attitude_adjustment 5. Open attitude_adjustment -older cd attitude_adjustment !. /o+nload and in$tall all a5aila(le -eed$ ./scripts/feeds update -a ./scripts/feeds install –a 7. O(tain a li$t o- mi$$in4 pa&ka4e$ -or $u&&e$$-ul (uild, u$in4 t)e -ollo+in4 &ommand: make menuconfig 0- t)e in$tallation o- Open'RT i$ not inter-ered +it) anyt)in4, a$ e5iden&ed (y t)e a($en&e o- error$, pro&eed to $tep . Ot)er+i$e you +ill (e noti-ied o- t)e mi$$in4 pa&ka4e$ in t)e -ollo+in4 +ay: Build dependenc : !lease install ncurses. "#issing libncurses.so or ncurses.h$ 7nder 7(untu 1".10 operatin4 $y$tem (uild re8uired t)e -ollo+in4 pa&ka4e$: n&ur$e$, 9li(, :37 a+k, and 4it. Command$ t)at in$tall t)e mi$$in4 pa&ka4e$: sudo apt-get install libncurses%-dev sudo apt-get install &lib'g-dev mi$$in4 pa&ka4e$ di--er$ -rom t)e a(o5e li$t. . T)e -ir$t -ile +ill &ontain t)e $our&e &ode on C and t)e $e&ond one F (uild rule$.&omponentality.c touch #akefile ) file name with a capital letter Eot) -ile$ &ontain: hello. II. ne=t to attitude_adjustment -older./ mkdir hello cd hello .t)e mi$$in4 &omponent o(tained t)rou4) make menu&on-i4 in (ra&ket$. touch hello.R7===*.or4*do&*)o+to*(uildroot.ll $ee a &on-i4uration menu >a 4rey +indo+ on a (lue (a&k4roundA . 0n attitude_adjustment -older $tart t)e (uild. 53100 Lappeenranta.t)ero$ .open+rt. Finland Tel.a$ked to &on-irm in$tallation. printf"(-ello. ')en all ne&e$$ary &omponent$ are in$talled you.3/ -la$) >mo$tly CikrotikA • Tar4et pro-ile .: +35 04! 5!!"01! #mail: $ale$%&omponentality.kno+n prere8ui$ite$ and t)eir &orre$pondin4 pa&ka4e$@A.&om sudo apt-get install gawk sudo apt-get install git-core /urin4 in$tallation you. T)e $ettin4$ $)ould (e t)e -ollo+in4: • Tar4et $y$tem . 0n &a$e o. . <ou mi4)t al$o -ind )elp-ul t)e ta(le o. it i$ /home/user/openwrt/hello ".Componentality Oy Ratakatu 47.h+ void main"$ .! )our$.c )include *stdio.u$er.$ pa$$+ord and a4ree i.ttentionD Euild take$ ". 0t)e li$t o. 1a5e $ettin4$ and e=it 10.. Create a -older -or $our&e &ode$.RB=== • 1u(tar4et .t)e mo$t -re8uent i$$ue$ t)at i$ a5aila(le at t)e -ollo+in4 addre$$: )ttp:**+iki.$ a re$ult you $)ould 4et a )ello -older in t)e open+rt -older. Create t+o -ile$ )ello. Lo&ate it in t)e Open'RT root cd . u$in4 make &ommand .e=i4en&e >?Ta(le o. Package assembly 1.&om 'e(: )ttp:**+++. you &an u$e t)e -ollo+in4 &ommand -or -indin4 t)e ne&e$$ary pa&ka4e apt-cache search (( enter t)e name o. /e5i&e$ +it) 3.& and Cake-ile in t)i$ -older.ll )a5e to enter root.t)ero$ 'iFi >at)5kA B. 1ele&t t)e &olumn +it) your operatin4 $y$tem and t)e line +it) t)e mi$$in4 pa&ka4e and -ind +)at you need to in$tall at t)e &ro$$in4. /orld01n($2 3 .an aut)or. ' Fcp EG #akefile ./E"C7D$-A.&om 'e(: )ttp:**+++.tar. Finland Tel.tar.' tar -c& -f EF . 3. Create a make -ile in it -or Open'RT touch makefile 5.9<49$ !I=_4@5D:9:?hello.g&: B. 53100 Lappeenranta.mk .g&: C7D?E"subst .:?file:///home/user/openwrt/hello/ include E"7J:.c all: hello hello.t)e &urrent ma&)ine.: +35 04! 5!!"01! #mail: $ale$%&omponentality.mk !I=_J<#9:?hello !I=_K9D47@J:?A !I=_D9.g& . . &reate a )ello -older in ~/openwrt/attitude_adjustment/feeds/packages/utils -older cd . 'orldD@ in t)e &on$ole indi&ate$ t)at t)i$ $tep +a$ per-ormed $u&&e$$-ully./hello T)e -ir$t one +ill &olle&t./E"C7D$-A.& &ontain$ a &ode o..tar. &reate$ tar.tar.c override :6.$imple 4reetin4 to a &on$ole.g& B.tar.g& !I=_4@5D:9_5D. T)e $e&ond one +ill laun&) t)e e=e&uti5e -ile &ompiled -or t)e plat-orm o.C_C7D:?E"!I=_J<#9$-E"!I=_K9D47@J$./E"C7D$-A.&omponentality.5C9_C7D$/package.49 ar&)i5e +it) a $our&e &ode and a make -ile in it. Re&ord t)e -ollo+in4 data in it include E"H@!C7D$/rules. ?Iello..9<49:?' !I=_B57. a$ +ell a$ a -older +it) $imilar &ontent. T)en.Componentality Oy Ratakatu 47.ttentionD Geepin4 ta($ i$ a mu$tD <ou &an 5eri-y t)e a&&ura&y (y runnin4 t)e -ollo+in4 &ommand$ >in H*open+rt*)elloA make all .c Fmkdir -p . and Cake-ile &ompile$ t)e &ode. (uildin4 on t)e plat-orm.E"!I=_D9.EF$ B. &ompile and &reate an ar&)i5e +it) a -older.&om #akefile ./ cd attitude_adjustment/feeds/packages/utils/ mkdir hello and open it cd hello/ 4.' 0n t)i$ &a$e.45667894: . )ello.g&.tar.<=4 >? -/all -@A -g hello:hello. Moving and installation &on-i4urin4 run t)e -ollo+in4 &ommand$ -rom . Compilation 1._C7D$ E"'$/bin/ E"7J4H<. 53100 Lappeenranta.*$&ript$*-eed$ update . Finland Tel.... IV. Nre$$ #=it t+o time$ to e=it and $a5e 5. Open &on-i4uration menu on&e a4ain make menu&on-i4 3..C_C7D$ hello endef define !ackage/hello/install E"7J4H<.$u&&e$$-ul &ompilation. Find our pa&ka4e 7tilite$ .. a ready )elloJ0. III.ipk e=e&uti5e -ile +ill appear in H*open+rt*attitudeJad6u$tment*(in*ar71==*pa&ka4e$ -or $tartin4 on Fle=Road.C_C7D$/hello E"'$/bin/hello endef E"eval E"call Build!ackage. .&om 'e(: )ttp:**+++._B7J$ E"!I=_B57.-ter proper make -ile$ H*open+rt*attitudeJad6u$tment -older: .&omponentality.ttentionD Cake $ure to &)an4e u$er name in !I=_4@5D:9_5D.K )ello . Run t)e -ollo+in4 &ommand make pa&ka4e*)ello*&ompile 0n &a$e o.1Jar71==.i .*$&ript$*-eed$ in$tall )ello ".&om define !ackage/hello 49:H7@J:?utils :<H9=@DL:?5tilities H7H.9:?-/ endef define !ackage/hello/description -ello /orld endef define !ackage/hello/Build/:ompile E"#<I9$ -: E"!I=_B57.Componentality Oy Ratakatu 47.: +35 04! 5!!"01! #mail: $ale$%&omponentality.hello$$ .nd put LCM pa&ka4e parameter to it 4.. 1Jar71==.&om 'e(: )ttp:**+++.&omponentality.ipk &ommand. . Finland Tel. <ou &an &)e&k it$ operation (y enterin4 t)e pa&ka4e name a$ a &ommand in t)e &on$ole hello ?Iello. Co5e )elloJ0.1Jar71==.Componentality Oy Ratakatu 47. .all operation$. ". 'orldD@ in t)e &on$ole indi&ate$ $u&&e$$-ul &ompletion o.ipk to t)e root -older o. 3.ipk pa&ka4e to Fle=Road and in$tall it.: +35 04! 5!!"01! #mail: $ale$%&omponentality.&om 1. 0n$tall t)e pa&ka4e u$in4 opkg install /root/hello_A-'_arM'NN.t)e de5i&e u$in4 1CN utility. 53100 Lappeenranta.$ an option you &an &opy )elloJ0.
Report "Step by Step Instruction to Run Apps on FlexRoad HW.en"
×
Please fill this form, we will try to respond as soon as possible.
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Copyright © 2024 DOKUMEN.SITE Inc.