View
225
Download
0
Category
Preview:
Citation preview
8/9/2019 project report final.pdf
1/36
A Mini Project Report on
Porting OpenWrt On D-Link DWL-2100AP
SUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE
AWARD OF THE DEGREE OF
BACHELOR OF TECHNOLOGY
IN
ELECTRONIC AND CO!!"NICATION ENGINEERING
BY
E.SHIVANI (10011P0407) K.HARITHA (10011P0410)A.PRAMOD KUMAR (10011P0401) G.TEJA (10011P0408)
Under Esteemed Supervision of:PROFESSOR DR. L. PRATAP REDDY
DEPART!ENT OF ELECTRONIC AND CO!!"NICATION
ENGINEERING
#AWAHARLAL NEHR" TECHNOLOGICAL "NI$ERITY
COLLEGE OF ENGINEERING
HYDERABADDe%e&'er 201(
8/9/2019 project report final.pdf
2/36
#AWAHARLAL NEHR" TECHNOLOGICAL "NI$ERITY
COLLEGE OF ENGINEERING
DEPART!ENT OF ELECTRONIC AND CO!!"NICATION
ENGINEERING
CERTIFICATE
Th! ! "# $%&"' "h" "h% P*%$" R%+#&" %,""-% )Porting OpenWrt On D-Link DWL-2100AP) /%, !/2""% / E.Sh3, A.P&2# K2& K.H&"h G.T%*, +&"- '-'--2%," '#& "h% 5& #' "h% D%&%% #' B*%+e,or o Te%+no,og. ,E,e%troni%/ *n Co&&ni%*tion Engineering " #**+*r,*, Ne+r Te%+no,ogi%*,"ni3er/it. &, "h% $%2$ %& 60101.
Th% &%!-"! %2/#% , "h! +*%$" &%+#&" h3% ,#" /%%, !/2""% "# , #"h%&
U,3%&!" #& ,!"""% '#& "h% 5& #' , D%&%% #& D+-#2.
Dr4 D4 RINI$AA RAOP'%!!#& 9 HOD
D%+&"2%," #' E:E
JNTUH :#--%% #' E,,%%&,
H%&/0008
8/9/2019 project report final.pdf
3/36
#AWAHARLAL NEHR" TECHNOLOGICAL "NI$ERITY
COLLEGE OF ENGINEERING
DEPART!ENT OF ELECTRONIC AND CO!!"NICATION
ENGINEERING
CERTIFICATE
Th! ! "# $%&"' "h" "h% P*%$" R%+#&" %,""-% )Porting OpenWrt On D-Link DWL-2100AP) /%, !/2""% / E.Sh3, A.P&2# K2& K.H&"h G.T%*, +&"- '-'--2%," '#& "h% 5& #' "h% D%&%% #' B*%+e,or o Te%+no,og. ,E,e%troni%/ *n Co&&ni%*tion Engineering " #**+*r,*, Ne+r Te%+no,ogi%*,"ni3er/it. &, "h% $%2$ %& 60101.
Th% &%!-"! %2/#% , "h! +*%$" &%+#&" h3% ,#" /%%, !/2""% "# , #"h%&
U,3%&!" #& ,!"""% '#& "h% 5& #' , D%&%% #& D+-#2.
Dr4 L4PRATAP REDDYR9D D&%$"#& P'%!!#&
D%+&"2%," #' E:E
JNTUH :#--%% #' E,,%%&,
H%&/0008
8/9/2019 project report final.pdf
4/36
8/9/2019 project report final.pdf
5/36
AC9NOWLEDGE!ENT
I !,$%&%- %@+&%!! 2 %%+ !%,!% #' &""% "# 2 +*%$" % Dr4 L4 PRATAP REDDY P'%!!#& E:E D%+&"2%," JNTU :#--%% #' E,,%%&,H%&/ '#& h! ,3-/-% h%-+ %''$%," ,$% , %,$#&%2%," "# 2%"hh#" "h! +*%$".
I 2 "h,>'- "# Dr4D4$INAY BAB" P&,$+- JNTU :#--%% O'E,,%%&, '#& h! 2+-$" 2#&- !++#&" &, "h! +*%$" 5#&>.
I ">% "h! #++#&"," "# !+%$-- "h,> Dr4D4RINI$AA RAO P'%!!#& 9
H% #' E:E D%+".'#& h! "2%- 3$% , ,$% 5h-% +&!, "h! +*%$" !5%-- ! "hh#" "h% B.T%$h $#&!%.
I -!# #5% %%+ &%!+%$" #' &""% "# 2 +&%,"! , '&%,! '#& "h%&$h%%&'- %,$#&%2%," , 3-/-% !%!"#,! 5"h#" 5h#2 "h! 5#&> $#- ,#"h3% /%%, $#2+-%"% , "h% !"+-"% "2%.
I 5#- ->% "# &"$-"% 2 h%&"'%-" &""% "# "h% "h#&"%! #' JNTU '#&"h%& h%-+ "hh#" 2 +*%$" 5#&>. A '%5 -,%! #' $>,#5-%%2%," # ,#" '--
%@+&%!! 2 &""% , ++&%$"#, '#& "h#!% 5h# % , !++#&"% 2%"hh "h! &%+#&". L!" /" ,#" , "h% -%!" I $>,#5-%% "h% h%-+ &%$%3% '2, *#&,-! , 5%/!"%!.
F,-- I "h,> #,% , -- 5h# h%-+% 2% &%$"- #& ,&%$"- &h" "hh2 +*%$" 5#&>.
R%&!
E.SHIVANI(10011P0407) A.PRAMOD KUMAR(10011P0401) K.HARITHA(10011P0410)
G.TEJA(10011P0408)
8/9/2019 project report final.pdf
6/36
ABTRACT
O+%,;&" ! '-- '%"&% %@"%,!/-% RTOS(R%- T2% O+%&", S!"%2)'#& %2/%% !!"%2!. I" ! , %!- 2#'/-% OS '#& "h% "%& 5"h '-- 5&"/-%'-% !!"%2 5"h +$>% 2,%2%," --#5, '#& $!"#2/-% OS '#& "h% "%&&"h%& "h, !,-% !""$ '&25&%. :!"#2"#, '#& , ++-$"#, " -#5 $#!"! +#!!/-% !,$% O+%,;&" '&%%! "h% !%& ' 3%,#& +-$% &%!"&$"#,! #,++-$"#, !%-%$"#, , $#,'&"#,. O+%,;&"! #+%, &$h"%$"&% --#5! +$>%",!+%$"#, ,"&!#, %"%$"#, , 3&#! #"h%& '%"&%! "h" ,#&2-- &%?&%
!%3%&- "h#!, #--&! 5#&"h #' h&5&% "# # %''%$"3%-. M#&% "h, 6000!#'"5&% +$>%! &% 3-/-% , "h% #''$- &%+#!"#& "h% ,2/%& #' +$>%!
+% "h% #++#&"," "# %!- +#&" +$>%! , $&%"% #& #5, '&25&%.
Th% !% #' O+%,;&" +%! '-- '-%% /!" "%& " hh%&$!"#2/-% &"% , -#5%& $#!" 2>, " , %- $h#$% '#& %3%-#+%&! ,"%&%!"%, %3%-#+2%," #, %2/%% !!"%2.
B !2+-% h&5&% "#,! , '%5 !#'"5&% $h,%! "h% DL,> D;L6100AP $, /% +"% 5"h "h% O+%,;&" '&25&% "# '&%% " ' &%!"&$"#,! ,2>% "h% "%& !%'- '#& %2/%% !!"%2!.
I, "h! +*%$" , ""%2+" ! 2% "# +#&" O+%,;&" "# DL,> D;L 6100AP"%&.
8/9/2019 project report final.pdf
7/36
8/9/2019 project report final.pdf
8/36
4.6 B##"-#%& R%+-$%2%,"
4.C I,!"-- R%/##"JTAG 2%"h#
5 Con%,/ion
; Reeren%e/
8/9/2019 project report final.pdf
9/36
LIT OF FIG"RE
FIG"RE NO FIG"RE NA!E PAGE
1.1D-,> D;L6100AP
1.6 R#"%& :#,,%$"#,!
6.1 I,"%&,- h&5&% #' DL,> D;L6100AP(A4)
6.6 I,"%&,- h&5&% #' DL,> D;L6100AP(A1A6AC)
6.C S%&- $#,!#-%
6.4 S%&- +#&"
6. J" $/-%
6. J" $#,,%$"#,!
C.1 D-,> ,%"5#&> $#,'&"#,
C.6 D-,> S%"+
8/9/2019 project report final.pdf
10/36
14 INTROD"CTION
141 Intro%tion to D-Link DWL-2100AP
14141 Brie &&*r.
D-,> D;L6100AP ! 5&%-%!! $$%!! +#,". I" +%! + "# ''"%%, "2%!"h% 2@22 5&%-%!! !,- &"% #' +&%3#! 5&%-%!! %3$%! (+ "# 108M/+! ,S+%& G 2#%) .Th! #,% $, 5#&> '!"%& , 2#&% %''$%,"- ,$&%!,
+$"3". ;"h "h% D;L6100AP /,5"h,"%,!3% ++-$"#,! ->% &+h$!#& 2-"2% 5-- /%,%'" !,'$,"- /%$!% -&% '-%! &% /-% "# 2#3% $!!"h% ,%"5#&> ?$>-.
Th% D;L6100AP ! $+/-% #' #+%&", , #,% #' ''%&%," 2#%! "# 2%%""h% 5&%-%!! ,%"5#&>, ,%%!. Th! $, #+%&"% ! , $$%!! +#," $$%!! +#,""#2-"+#," /&, 2#% 5"h AP ',$"#, $$%!! +#,""#2-"+#," /&,2#% 5"h#" AP ',$"#, &%+%"%& #& 5&%-%!! $-%," 2#%.
Th% D;L6100AP ! , %- !#-"#, '#& ?$>- $&%", , %@"%,, ;&%-%!! L#$- A&% N%"5#&> (;LAN) , #''$%! #& #"h%& 5#&>+-$%! "&% !h#5!
Figure1.1 D-link DWL-1!!AP
8/9/2019 project report final.pdf
11/36
, !+%$- %3%,"!. Thh "h! " ! +#!!/-% "# !%, , &%$%3% -&% +$>%"! #'" !2-",%#!-.
A ;&%-%!! L#$- A&% N%"5#&> (;LAN) ! $#2+"%& ,%"5#&> "h" "&,!2"!
, &%$%3%! " 5"h &# !,-! ,!"% #' 5&%!. ;LAN! &% !% ,$&%!,- , /#"h h#2% , #''$% %,3,2%,"! , +/-$ &%! !$h ! &+#&"! $#''%% !h#+!, ,3%&!"%!. I,,#3"3% 5! "# "-% ;LAN "%$h,#-# &% h%-+, +%#+-% "#5#&> , $#22,$"% 2#&% %''$%,"-. I,$&%!% 2#/-" , "h% /!%,$% #'$/-, , #"h%& '@% ,'&!"&$"&% h3% +%, "# /% /%,%'$- '#& 2, !%&!.
14142 Roter Conne%tion/
I, "h% /#3% '&%
• P#5%& S#- &%%, -h" ,$"%! $#,,%$"#,.
•LAN B-,>, &%%, -h" ,$"%! $"3" #, "h% E"h%&,%" P#&" !#- &%%,-h" ,$"%! $#,,%$"#,.
• ;LAN B-,>, &%%, -h" ,$"%! 5&%-%!! $"3" !#- &%%, -h",$"%! $#,,%$"#,.
I' -- "h% C-h"! &% /-,>, "h%, " ,$"%! "h" "h% %3$% ! /&$>%.
1414( Fe*tre/
•
D''%&%," O+%&"#, 2#%! &% A$$%!! P#," AP"#2-"+#," /&% 5"hAP ',$"#, AP"#M-"+#," B&, 5"h#" AP ',$"#, R%+%"%& #&;&%-%!! :-%,".
Figure1. R"u#er $"nne%#i"n&
8/9/2019 project report final.pdf
12/36
• :#2+"/-% 5"h "h% 806.11/ !",& "# +% 5&%-%!! " &"% #' + "#11M/+! "h" 2%,! #,% $, 2&"% !!"%2 "# "h% 806.11 !",& #, #, !$h%-% 5"h#" !$&'$, $#,,%$"3".
• F!"%& 5&%-%!! ,%"5#&>, 5"h "h% 806.11 !",& "# +% 5&%-%!!SNMP '#& M,%2%," Th% D;L6100AP ! ,#" *!" '!" /" " -!# !++#&"!SNMP 3.C '#& /%""%& ,%"5#&> 2,%2%,". S+%&#& 5&%-%!! AP 2,%&!#'"5&% ! /,-% 5"h "h% D;L6100AP '#& ,%"5#&> $#,'&"#, ,'&25&% +&%.
• U"-%! OFDM "%$h,#-# (O&"h##,- F&%?%,$ D3!#, M-"+-%@,).
OFDM 5#&>! / !+-"", "h% &# !,- ,"# 2-"+-% !2--%& !/!,-!"h" &% "h%, "&,!2""% !2-",%#!- " ''%&%," '&%?%,$%! "# "h% &%$%3%&.
OFDM &%$%! "h% 2#," #' $!!"-> (,"%&'%&%,$%) , !,- "&,!2!!#,!.Th% DL,> D;L6100AP 5-- "#2"$-- !%,!% "h% /%!" +#!!/-%$#,,%$"#, !+%% "# %,!&% "h% &%"%!" !+%% , &,% +#!!/-%.
• O+%&"%! , "h% 6.4GH '&%?%,$ &,%.
• ;%//!% ,"%&'$% '#& 2,, , $#,'&, " &"% #' + "# 4M/+!(108M/+! , S+%& G 2#%).
• B%""%& !%$&" 5"h ;PA. Th% D;L6100AP $, !%$&%- $#,,%$" "# 5&%-%!!$-%,"! #, "h% ,%"5#&> !, ;PA (;F P"%$"% A$$%!!) +, 2$h
hh%& -%3%- #' !%$&" '#& #& " , $#22,$"#,! "h, h! +&%3#!- /%%, 3-/-%. AES ! -!# !++#&"% / "h% D;L6100AP "# 2@2% "h%,%"5#&> !%$&" 5"h " %,$&+"#,.
142 Intro%tion to OpenWrt
O+%,;&" ! , #+%&", !!"%2 /!% #, "h% L,@ >%&,%- , +&2&- !%#, %2/%% %3$%! "# "% ,%"5#&> "&''$. O+%,;&" ! "h! %!$&/% ! L,@!"&/"#, '#& %2/%% %3$%!. U,->% 2, #"h%& !"&/"#,! '#& "h%!% "%&!O+%,;&" ! /-" ' "h% , + "# /% '--'%"&% %!- 2#'/-% #+%&",!!"%2 '#& "h% "%&. I, +&$"$% "h! 2%,! "h" #,% $, h3% -- "h% '%"&%! ,%%%.
I,!"% #' "&, "# $&%"% !,-% !""$ '&25&% O+%,;&" +%! '--5&"/-% '-% !!"%2 5"h +$>% 2,%2%,". Th! '&%%! # ' "h% ++-$"#,!%-%$"#, , $#,'&"#, +% / "h% 3%,#& , --#5! # "# $!"#2% "h%%3$% "hh "h% !% #' +$>%! "# !" , ++-$"#,. F#& %3%-#+%& O+%,;&" !
"h% '&2%5#&> "# /- , ++-$"#, 5"h#" h3, "# /- $#2+-%"% '&25&%, " '#& !%&! "h! 2%,! "h% /-" '#& '-- $!"#2"#,.
http://en.wikipedia.org/wiki/Operating_systemhttp://en.wikipedia.org/wiki/Linux_kernelhttp://en.wikipedia.org/wiki/Embedded_systemhttp://en.wikipedia.org/wiki/Linux_kernelhttp://en.wikipedia.org/wiki/Embedded_systemhttp://en.wikipedia.org/wiki/Operating_system
8/9/2019 project report final.pdf
13/36
14241 Fe*tre/
• F&%% , #+%,!#&$% Th% +*%$" ! %,"&%- '&%% , #+%,!#&$% -$%,!%,%& "h% GPL. Th% +*%$" ! ,"%, "# -5! /% h#!"% " , %!- $$%!!/-%!"% 5"h '-- !#&$% $#% &%- 3-/-% , %! "# /-.
• E! , '&%% $$%!! Th% +*%$" 5-- -5! /% #+%, "# ,%5 $#,"&/"#&! ,h3% -#5 /&&%& '#& +&"$+"#,. A,#,% !h-- /% /-% "# $#,"&/"%. Th%$&&%," %3%-#+%&! $"3%- &," 5&"% $$%!! "# ,#,% ,"%&%!"% , h3,".
• :#22," &3%,.
O+%,;&" h! -#, /%%, %!"/-!h% ! "h% /%!" '&25&% !#-"#, , "! $-!!. I"'& %@$%%! #"h%& %2/%% !#-"#,! , +%&'#&2,$% !"/-" %@"%,!/-"/!",%!! , %!,. O+%, &$h"%$"&% %,/-%! #,% "# !% !""%'- +$>%",!+%$"#, ,"&!#, %"%$"#, , , ,2/%& #' #"h%& "h,! "h" ,#&2-- &%?&%!%3%&- "h#!, #--&! 5#&"h #' h&5&% "# # %''%$"3%-.
A" "h% 2#2%," "h%&% &% 2#&% "h, 6000 !#'"5&% +$>%! , "h% #''$-&%+#!"#& , 2, 2#&% +% / "h% $#22,". Th% ,2/%& #' +$>%! !%3%,$% #' "h% %''%$"3%,%!! #' "h% O+%,;&" /- !!"%2 5h$h +%! "h%#++#&"," "# %!- +#&" +$>%! , $&%"% #& #5, '&25&%.
14242 A3*nt*ge/7i /pporte '. t+e roter +*r*re8<
O+%,;&" %,/-% !#+h!"$"% '%"&%! #, 3%& -#5$#!" "%&. Th! h!-2#!" %3%& '%"&% #,% $#- !> '#& #& 5-- %3%& ,%% '%"&%! #'"%, #,- '#, #,%,"%&+&!% "%&! ->% :!$# , M$T%> /" 5"h GUI. O+%,;&" ! &/- "h%
/%!" #+%&", !!"%2 '#& SOHO(S2-- O''$%H#2% O''$%).
• U!% -- "h% h&5&%! $+/-"%! F-- $#,"- #' #& "%& h&5&% ,#" *!" 5h" "h% 2,'$"&%& --#5!.
• :&%"% 2-"+-% 5&%-%!! ,%"5#&>! 2-"+-% SSID!. F#& %@2+-% :&%"% %!" $$%!! ;LAN.
• :&%"% 2-"+-% +h!$- ,%"5#&>! !, VLAN "%$h,?%! O,% $, $&%"% !%+&"% ,%"5#&> '#& ,%h/#& >! $#2+"%&! #& "h#!% 2% $#,!#-%! "h",%% "h" ,%% -- +#&"! '#&5&% , *!" $,,#" "&!".
• U!% !",& IP "/-%! '#& '&%5-- , +$>%" !h+, , +#-$, "%$h,?%!.
• I,!"-- "#,- !#'"5&% #, "h% //, "%& "# 2>% " 5%/ !%&3%& /""#&&%," $-%," #& # !"&%2%& '#& %@2+-% #& -- #' "h" , 2#&%.
• B%$!% " ! #+%, !#&$% " ! +//- 2#&% !%$&% , /%""%& , &%!+%$" "##,%! +&3$ "h, "h% !"#$> '&25&% ' "h% '$"#&.
8/9/2019 project report final.pdf
14/36
14( O'=e%ti3e *n !et+oo,og.
Th% 2, #/*%$"3% ! "# ,%&!", "h% +$%!! ,3#-3% , $h,, "h%'&25&% #' "%& / ,%&!",, "h% h&5&% , !#'"5&% '%"&%! #' "h%"%& , "# ++- "h% >,#5-%% "# $h,% "h% %'-" '&25&% #' "h% DL,>D;L6100 AP "# O+%,;&".
Th% 2%"h##-# ,3#-3%! !", "h% h&5&% , !#'"5&% '%"&%! #' "h%DL,> "%& ! 5%-- ! "h% '%"&%! #' O+%,;&" , "h% !" #' "h% +#&", +$%!!.Th%, +&%+&"#, '#& /##", ! #,% / $#,'&, "h% ,%"5#&> !%"", + TFTP!%&3%& , 2>, "h% ,%$%!!& h&5&% $#,,%$"#,! '#& $"- +#&", #'O+%,;&". Th% %'-" '&25&% ! "h%, &%+-$% / O+%,;&" / $h,, "h% %'-"
/##" -#%& "# /##" -#%& $#2+"/-% 5"h O+%,;&" %. R%B##" , "h%, 2+,"h% O+%,;&" 2% $#2+"/-% 5"h "h% :PU , '-!h $h+ #' "h% "%&. F,-- !" #' , %&&! , &%!#,! '#& "h% %&&! , #,% '#& ++%& %/,.
14: Org*ni>*tion o t+e C+*pter/
:h+"%& 1 3%! /&%' ,"$"#, "# DL,> D;L6100AP , "! '%"&%!, "#, "# /&%' ,"$"#, "# O+%,;&" , "! '%"&%!. I" hh-h"! "h%3,"% #' +#&", O+%,;&" ,"# DL,> , -! "h% '#,"#, '#& '#--#5,
$h+"%&! / !22&, "h% 2%"h##-# ,3#-3% , +#&", O+%,;&".:h+"%& 6 3%! "h% %!$&+"#, #' ,"%&,- h&5&% #' DL,> '#$!, #, "h%
$#2+#,%,"! "h" +- 3"- -% , %"%&2,, "h% +#&", +$%!! , %!$&/%!h#5 "# 2>% ,%$%!!& h&5&% $#,,%$"#,! '#& +#&",. Th% ,%&!",,%3%-#+% , "h! $h+"%& -! "h% '#,"#, '#& ,%&!",, "h% #3%&-- +#&",
+$%!! , ! !%'- , ,-!! #' &%!-"! , %/,.
:h+"%& C !$!!%! "h% ,%$%!!& !#'"5&% $#,'&"#,! ,3#-3% +&#& "# /##",. I" #"-,%! "h% +$%!! '#& ,%"5#&> $#,'&"#, , TFTP !%&3%&$#,'&"#,.
:h+"%& 4 %!$&/%! "h% $"- +#&",. +$%!!. F&!" " ,"$%! "h% !#'"5&%&%?&% &, +#&", , "h%, %!$&/%! "h% +#&", +$%!! ' ,"%&&+", "h%
/##" +$%!! , #&%& "# $h,% "h% /##" -#%& "# +#&", "h% O+%,;&" '&25&% 3"5# 2%"h#! !%&- $#,!#-% 2%"h# , JTAG 2%"h#.
:h+"%& 3%! "h% &%!-"! '#& %$h +#&", 2%"h# , !" #' "h%$h--%,%! '$%. I" ,-!! "h% &%!-"! , !%!"! !%!"#,! '#& '"&%2+%2%,"!.
8/9/2019 project report final.pdf
15/36
24 HARDWARE ET"P FOR PORTING
241 Re?ire H*r*re Co&ponent/
P&#& "# !#'"5&% $#,'&"#, , "h% +#&", +$%!! ,%$%!!& h&5&%
h3% "# /% !%" +. P#&", O+%,;&" #, DL,> D;L6100AP &%?&%! "h% '#--#5, /!$ h&5&% $#2+#,%,"!
• A DL,> D;L6100AP "%&
• A L,@ !!"%2
• A USB $/-% "# $#,,%$" !%&- $#,!#-% "# !!"%2.
• A !%&- $#,!#-% "h" $"! ! ,"%&'$% /%"5%%, "%&! !%&- +#&" , P:.
• P#5%& !#&$% '#& "%& (R#"%& 2!" /% +#5%&% &, +#&",)
• A, E"h%&,%" $/-% $#,,%$", "h% "%&! E"h%&,%" +#&" "# "h% $#2+"%&! +#&".
242 Intern*, +*r*re o D-,ink DWL-2100AP
D-,> D;L6100 AP h! ''%&%," 3%&!#,! .O+%,;&" !++#&"! '%53%&!#,!.Th% 3%&!#,! #' D-,> "h" &% !++#&"% / O+%,;&" &% A6ACA4A.
Figure.1 In#ern'l ('r)*'re "+ DWL-1!!AP,A
8/9/2019 project report final.pdf
16/36
T*',e 241 Inor&*tion o D-,ink DWL-2100AP
A&$h"%$"&% MIPS 4K$
V%,#& DL,> B##"-#%& V@;#&>!
;&%-%!! S!"%2#,$h+ A"h%! AR6C1CA
:PU S+%% 180640MH
F-!h :h+ S+,!#, S6AL0C6D0TF104 (A4)
F-!h S% 4MB
RAM 1M/
;&%-%!! A"h%! AR6116A
E"h%&,%" I:IP101A (A6ACA4A)
USB N#
S%&- Y%! 008N1
JTAG Y%!
24241 Intern*, H*r*re e/%ription
Intern*, Co&ponent/<
..1.1 S/e0-On-$(i
A"h%! $h+ AR6C1CA ! !% , "h% D-,> D;L6100AP. A"h%! AR6C1CA
Figure. In#ern'l H'r)*'re "+ DWL-1!!AP,A12A2A3
8/9/2019 project report final.pdf
17/36
! 2,'$"&% / A"h%! '#& !% , !,-%/, , -/, 108M/! "%&!, AP!. Th% AR6C1C /%-#,! "# AR00C , AR004 %,%&"#, (S+%&AG"%$h,#-#).
S+%& G ! A"h%! ++&%"& '&2%/&!", $#2+&%!!#, , $h,,%- /#,, "%$h,#-# "# 2+% IEEE 806.11 (;F) 5&%-%!! LAN +%&'#&2,$%.Thh /#,, "5# 4M/"! 806.11 $h,,%-! !,-, &"% #' 108M/"! !$h%3%. ;h%, "h! "%$h,#-# 5! +"% "# A"h%! 806.11 $h+ !%"! " 5!$--% S+%& AG.
..1. H'r)*'re 4er&i"n A4
..1.3 Fl'&(-$(i S+,!#, S6AL0C6D0TF104
F-!h 2%2#& &%'%&! "# %-%$",$ ,#,3#-"-% 2%2 "h" ! %!-
+&22% , %&!%. I" ! /!% #, "h% EEPROM "%$h,#-#. Th% S6AL0C6D ! C62%/" C.0 3#-"#,- '-!h 2%2#& %3$%. Th% %3$% ! %!,% "# /%
+&22% ,!!"%2 5"h "h% !",& C.0 3#-" V:: !++- , $, -!# /% +&22% , !",& EPROM +&22%&!.
Th% %3$% ! 3-/-% 5"h $$%!! "2%! ! '!" ! 70 ,!. Th% %3$%! &%#''%&% , 40+, TSOP 48+, TSOP , 48/-- FBGA +$>%!. S",& $#,"-
+,! $h+ %,/-% (:E) 5&"% %,/-% (;E) , #"+" %,/-% (OE)$#,"-,#&2- &% , 5&"% #+%&"#,! , 3# /! $#,"%,"#, !!%!.
Th% %3$% &%?&%! #,- !,-% C.0 3#-" +#5%& !++- '#& /#"h &% , 5&"%',$"#,!. I,"%&,-- %,%&"% , &%-"% 3#-"%! &% +% '#& "h% +&2, %&!% #+%&"#,!.
..1. B""#l"')er5 V@;#&>!
24242 eri*, %on/o,e
S%&- +#&" ! !%&- $#22,$"#, +h!$- ,"%&'$% 5h%&% " "&,!'%&
">%! +-$% " 1 /" " "2%. I" ! !-- !% "# !%% /##"+$%!! , ,"%&$" 5"h "h%
/##" -#%&. Th! ! +#!!/-% #,- / #+%,, "h% $!% , ""$h, TTL -,%
$#,3%&"%& $/-%. Th% !%&- $#22,$"#, !,-! #, "h% 6100AP &% TTL
$#2+"/-% &,, ' 0 "# V. Th%!% 2!" ,#" /% $#,,%$"% &%$"- "# RS6C6
$/-% 5h$h #+%&"%! " 2$h /%& 3#-"% &,% (16 "# 16V). A, +++&"%
-%3%- $#+-%& 2!" /% /-" '#& "h! +&+#!%. Th%&% &% 2, !$h $&$"! #, "h% ,%"
, "h% !2+-%!" #,%! 2h" !% $#22#, MA6C6 $h+.N%"5#&> %?+2%," !$h
! "%&! , !5"$h #'"%, !% !%&- $#,!#-% '#& $#,'&"#,. S%&- +#&"! &% !"--
!% , "h%!% &%! ! "h% &% !2+-% $h%+ , "h%& $#,!#-% ',$"#,! &% hh-
!",&% , 5%!+&%. A !%&- +#&" &%?&%! -""-% !#'"5&% !++#&" ' "h%
h#!" !!"%2.
8/9/2019 project report final.pdf
18/36
M#!" "%&! $#2% 5"h , UART ,"%&"% ,"# "h% !!"%2#,$h+ , "!
+,! &% "% #, "h% P&,"% :&$" B#&(P:B) "# --#5 %/, '&25&%
&%+-$%2%," #& !%&- %3$% $#,,%$"#, (->% 2#%2!). F,, , UART #, "%&
! '&- %! !,$% " #,- ,%%! C !,-! (5"h#" 2#%2 !,--,) "# 5#&> GND
T , R (#'"%, $$#2+,% / V::).
T# ', #" "h% !%&- $#,!#-% +,! #, "h% P:B 5% 5-- /% -##>, '#& +#+-"% #& ,+#+-"% 4+, h%%& 5h$h $, /% '& ' "h% S#: (!,-! &%&%-"3%- !-#5) , !-- 5"h "&$>! #, "h% "#+ #& /#""#2 -%& #' "h% P:B ,$#,,%$"% "# "h% T , R. I, #&%& "# ,"%&$" 5"h #& %3$% #3%& "! !%&- +#&"5% ,%% 2,22 #' "h&%% 5&%! $#,,%$"% , (GND) "&,!2" (T) ,
&%$%3% (R). I" ! +#!!/-% "# %" !%'- ,'#&2"#, /#" 5h" ! h++%,, 5"h#,- GND , R /" , #&%& "# '@ +/-%2 5% !-- -!# ,%% T. O&$#2+"%& T !h#- /% $#,,%$"% "# "h% %3$% R , #& $#2+"%&! R !h#-
Figure.3 Seri'l $"n&"le
Figure. Seri'l 'n) 6TAG P"r#&
8/9/2019 project report final.pdf
19/36
/% $#,,%$"% "# "h% %3$% T. Th% $#2+"%&! GND !h#- $#,,%$" "h% %3$%!GND. Th" 5 5h" 5% ! 5-- %" h%& / "h% %3$% , 5h" "h% %3$% !!5-- %" h%& / #& $#2+"%&. Th! ! #'"%, $--% ,--2#%2 $#,'&"#,.
;% -!# ,%% "%&2,- %2-"#, +&2 #, #& $#2+"%& !$h ! 2,$#2h+%&"%&2,- %"$. Th% "%&2,- %2-"#, +&2 ,%%! "# /% $#,'&% "# /%$#2+"/-% 5"h #& %3$% , +&"$-& 5"h &%& "# / &"% , '-#5 $#,"-. I' 5% &% !, #,- "h&%% 5&%! (GND T , R) "h%, h&5&% '-#5 $#,"- !h#-
/% "&,% #'' 5% &%," !, "h% +,! (RTS , :TS) ,%$%!!& '#& " "# 5#&>.R&%- "h% / &"% "h" "h% %3$% %@+%$"! 2h" /% ''%&%," , "h%
/##"-#%& , "h% &,,, '&25&% ' !# #-- ,%% "# 2#' "h% / &"%!%"",! , #& "%&2,- %2-"#& '"%& "h% '&25&% /##"! +.I' 5% %" !#2%"h,->% "h! &, "h% /##"$$-% (#"+" ! &/-%)S# , $#,"&!" "# "h% JTAGPORT "h%S%&- P#&" ,%%! !#2% !#'"5&% &,,, #, "h% :PU !# 5% $, !% ". I' "h%
/##"-#%& ! 2% #& #%!," #''%& !$h '%"&% "h% +#&" ! !%-%!!.M#!" %3$%! !++#&"% / O+%,;&" ,$-% !%&- +#&". Th%!% !%&- +#&"!
"+$-- +% $#,!#-% "# "h% /##"-#%& , 5h%, "h% '&25&% h! /##"% $#,!#-% "# "h% &,,, !!"%2. T+$-- $#,!#-% "# "h% /##"-#%& 5-- --#5 ! "#$#,'&% ,%"5#&> '%"$h , '-!h ,%5 '&25&% 5h$h $, /% -'%!3%& 5h%,"h% '&25&% ! />%,. A $#,!#-% "# "h% &,,, !!"%2 5-- -%" ! $#&&%$" 2!$#,'&% ,%"5#&>.
I, "%& S%&- $#,!#-% +%! , ,"%&'$% '#& ,"%&&+", "h% /##" +$%!!
, "h% "%& 5h-% /##" +$%!! ! , +&%!!. I" &%+&%!%,"! h&5&% ,"%&'$% /%"5%%, "%& #,/#& !%&- +#&" , P:. I" ! !-- !% "# !%% /##" +$%!! ,,"%&$" /##" -#%&. Th! ! +#!!/-% #,- ' #+%,, "h% $!% , ""$h, TTL -,%$#,3%&"%& $/-%. Th%, 5% $, !"#+ "h% /##" +$%!! / +&%!!, ES: #, /##"+ ,"-5% %" /##" ++" , $h,% "h% /##"-#%& %,3,2%," !%"",!.
2424( #TAG
JTAG (*#," "%!" $"#, +) 5! #&,-- >,#5, '#& "%!", +&,"% $&$"
/#&!. Th! 5! -"%& !",&% ! IEEE 114.1 S",& T%!" A$$%!! P#&". T#JTAG ! $#22#,- >,#5, '#& JTAG D%/ P#&" , 2, %2/%% !!"%2!.
JTAG ! $#22,$"#,%/ ,"%&'$% "# $$%!! '-!h $h+! &%$"- %3%,
5h%, "h% OS ! $#&&+"% #& ,#" ,!"--%. I' "h% %3$% ! /&$>% / '-!h, " 5"h
,$#&&%$" '&25&% ,"%&&+", "h% '-!h, +$%!! %"$. 5% $, !% JTAG "# /&,
"h% %3$% /$> "# -'%. ;% $, -!# !% JTAG "# 2>% /$>+! #' #& %@!", '-!h
$#,"%,". Th! ! 3%& !%'- '#& +#&",.
Th%&% ! -5! JTAG "#2"% (JTAG -#$) ,"%&"% ,"# #& SO: #&
:PU , !-- "h! ! $#,,%$"% "# JTAG h%%& #, "h% P:B. ;% $, "%!" ,
+&2 "h% I: / !!, JTAG $#22,! "# " "hh "h% JTAG.T# # "h" 5%
8/9/2019 project report final.pdf
20/36
8/9/2019 project report final.pdf
21/36
Ienti.ing #TAG %onne%tor He*er/
Th%&% &% "5# 2*#& JTAG h%%& &&,%2%,"! !% , SOHO "%&! /!%#, MIPS :PU!. O,% !%! 16 +,! , "h% #"h%& !%! 14 +,!.
14 Pin Header
Th! h%%& ! '-- MIPS EJTAG 6. $#2+"/-% , %!$&/% , "h% EJTAG6. !",&. F#, , E2@ "%&! (, #"h%& /&,! "h" &% E2@ $-#,%!) "h%14+, h%%& h! "h% '#--#5, &&,%2%," #' JTAG !,-! , +,!
,TRST 1 2 GND
TDI ( : GND
TDO 5 ; GND
TMS @ 6 GND
T:K 10 GND
,SRST 11 12 ,
, 1( 1: V$$
Figure.9 6TAG $"nne%#i"n&
8/9/2019 project report final.pdf
22/36
A /''%&% $/-% !$h ! "h% ;-%& &%?&%! , %@"%&,- V$$ 3#-"% !++-. Th% 14
+, h%%& $#,3%,%,"- !++-%! "h! 3#-"% #, +, 14. Th% "+$- ,/''%&% $/-%h#5%3%& #%! ,#" &%?&% , %@"%&,- 3#-"% , #&%& "# ',$"#,. F#&2-- "h% +,14 ! $--% VREF , !% "# ,$"% JTAG !,- -%3%-! V C.CV #& 6.V. O,"h% 2#!" %3$%! "h! +, ! "% "# "h% %3$%! V$$ , 2 /% !% "# +#5%& /''%& I: $h+ (, "# %,%&"% , +++&"% -%3%-! ! &%!-") .
R%/##" -#%& ! ,!"--% !, JTAG 2%"h#. Th% !'%!" 5 "# $h,% "h% /##" -#%& ! / !, /#"h *" , !%&- ,"%&'$%. I' !#2%"h, %"! />% 5%$, &%,!"-- "h% #&,- '&25&%.
8/9/2019 project report final.pdf
23/36
(4 OFTWARE ET"P FOR PORTING
I, D-,> D;L6100AP ,#&%& "# +#&" O+%,;&" "h%&% &% $%&", !!%! "h"
&% "# /% $#,!%&%.A! , "h% +&%3#! $h+"%& 5% h3% !%%, "h% h&5&% !%"+ '#& +#&",, "h! -%" ! !%% 3&#! !#'"5&%! "h" &% "# /% ,!"--% /%'#&% +#&",
,#&%& "# ,"%&&+" "h% /##"-#%&.
(41 ./te& Re?ire&ent/ *n Netork Conigr*tion
• F#& +#&", O+%,;&" #, "# D-,> D;L6100 AP 5% ,%% !!"%2 5"h;,#5! #& L,@ O+%&", S!"%2.
• I" !h#- h3% $$%!! "# "h% ,"%&,%".
;&% N%"5#&> :#,'&"#,
• O, "h% "#+ &h" h, $#&,%& #' "h% 2#,"#& $-$> #, "h% 5&%-%!! $#, ,!%-%$" %" $#,,%$"#,!.
• I, "h% ,%"5#&> $#,,%$"#,! -# /#@ $-$> #, 5&% $#,,%$"#,!.
Figure3.1 D-link Ne#*"rk $"n+igur'#i"n
8/9/2019 project report final.pdf
24/36
• I' 5&% $#,,%$"#, ! 3-/-% $-$> #, " , +&%!! %" %-!% ,%5
$#,,%$"#,.• I, E", ;&% :#,,%$"#, -# /#@ # "# IP34 !%$"#, , $h##!% 2%"h#
! 2,-.
• :h,% "h% IP &%!! "# , &%!! , "h% 3$," #' "h% "%&! %'-"&%!! #' 16.18.0.0
• :h,% ,%" 2!> "# 6.6.0.0 , >%%+ G"%5 ! 0.0.0.0
(42 Boot,o*er
Th% %'-" /##"-#%& +&%!%," , "h% D-,> D;L6100 AP ! V@5#&>!.B",#&%& "# $h,% "h% %@!", '&25&% #' "h% "%& 5% ,%% "# ,!"-- ,%5
/##"-#%& "##.S# h%&% '#& +#&", O+%,;&" 5% &% -#, R%/##" #, D-,>D;L6100AP.
(4241 Re'ootR%B##" (R% H" E2/%% D%/ , B##"!"&+) ! , #+%, !#&$%
++-$"#, %2+-#, %:#! &%-"2% #+%&", !!"%2 !% "# +% /##"!"&+
Figure3. D-Link Se#u
8/9/2019 project report final.pdf
25/36
'&25&% '#& %2/%% !!"%2! "hh H&5&% A/!"&$"#, L%&. I" --#5! "h%#5,-# , %@%$"#, #' %2/%% ++-$"#,! ,$-, %2/%% L,@ ,%:#! ++-$"#,! 3 !%&- #& E"h%&,%". P!#, #' , ,"%&$"3% $#22, -,%
,"%&'$% --#5! 2,%2%," #' F-!h 2%! 2% #5,-# , R%B##"$#,'&"#, %"$. V !%&- #& %"h%&,%".B##" !$&+" $, /% !"#&% , F-!h --#5, '#& -#, #' 2%! ' F-!h
h& !> #& TFTP !%&3%& .%"$. T##-! '#& %/ !++#&" '-!h , ,%"5#&> /##", &% +% 5"h R%B##".
eCO
%:OS (%2/%% $#,'&/-% #+%&", !!"%2) ! &%-"2% '&%% , #+%,!#&$% #+%&", !!"%2 '#& %2/%% !!"%2! , ++-$"#,! "h" ,%% #,- #,%
+$%!! 5"h 2-"+-% "h&%!. I" ! +&2&- %!,% '#& +&%$!% ++-$"#,&%?&%2%,"! #' &,"2% +%&'#&2,$% , h&5&% ,%%!. ;h-% 2+-%2%,""#, !, :: " ! $#2+"/-% 5"h POSI , ITRON "hh $#2+"/-" -%&! ,API!.
(4242 ReBoot C*p*'i,itie/
• B##" !$&+", !++#&"
• S2+-% $#22, -,% ,"%&'$% '#& R%B##" $#,'&"#, , 2,%2%,"3 !%&- ("%&2,-) #& E"h%&,%" ("%-,%")
• I,"%&"% GDB !"/! '#& $#,,%$"#, "# h#!"/!% %/%& 3 !%&- #&%"h%&,%" (E"h%&,%" $#,,%$"3" -2"% "# -#$- ,%"5#&> #,-)
• U!%&! $#,"- $#,'&"#, #' ""&/"%!
• A+"% "# "&%" %,3,2%," , $, /% %@"%,!/-%
• N%"5#&> /##"!"&+ !++#&" ,$-% !%"+ , #5,-# 3 BOOTP DH:P, TFTP
(424( Ne%e//it. o ReBoot In/t*,,*tion
D-,> D;L6100AP $#2%! ,!"--% 5"h V@;#&>! B##"-#%&. A /##"-#%&!#'"5&% "h" ,"-%! -#5 -%3%- h&5&% ! ,%$%!!& "# /##" "h% '#&%2%,"#,%"%&. B" V@;#&>! #%! ,#" !++#&" O+%,;&" , R%B##" #%! h%,$% V@;#&>!h! "# /% &%+-$% / R%B##". N#&2-- "h% /##"-#%& ! $#,!%&% +&" #' "h%'&25&% /" O+%,;&" #%! ,#" $#2% 5"h /##" -#%& h%,$% $#2+"/-% /##"-#%& > R%B##" ,!"--"#, ! ,%$%!!&. R%B##" $, /% ,!"--% 3 !%&-$#,!#-%.
8/9/2019 project report final.pdf
26/36
(4( Tri3i*, Fi,e Tr*n/er Proto%o, (TFTP)
TFTP ! '-% "&,!'%& +"#$#-. I" ! %,%&-- !% '#& "#2"% "&,!'%& #'$#,'&"#, #& /##" '-%! /%"5%%, 2$h,%! , -#$- %,3,2%,". :#2+&% "#FTP TFTP ! %@"&%2%- -2"% +, ,# "h%,"$"#, , ! &&%- !%,"%&$"3%- / !%&. TFTP ! %!,% "# /% !2-- , %! "# 2+-%2%," ,"h%&%'#&% " -$>! 2#!" #' "h% '%"&%! #' &%-& FTP. TFTP #,- &%! , 5&"%!'-%! (#& 2-) '"# &%2#"% !%&3%&. I" $,,#" -!" &%$"#&%! , $&&%,"- h! ,#
+!#,! '#& !%& "h%,"$"#,.
D% "# "! !2+-% %!, TFTP $#- /% 2+-%2%,"% !, 3%& !2--
2#," #' 2%2#&. TFTP !%&3%& ! %@"%,!3%- !% "# !++#&" &%2#"% /##", #'!>-%!! %3$%!. Th% !%&3%& ! ,#&2-- !"&"% / ,%" /" $, -!# &, !",-#,%.I" ! "h%&%'#&% !%'- '#& /##", $#2+"%&! !$h ! "%&! 5h$h 2 ,#" h3% ," !"#&% %3$%!. I" ! , %-%2%," #' "h% P&%/##" E@%$"#, E,3,2%," (PE),%"5#&> /##" +"#$#- 5h%&% " ! 2+-%2%,"% , "h% '&25&% ROMNVRAM "h%h#!"! ,%"5#&> $&.
D% "# "h% -$> #' !%$&" " ! ,%! "# !% " #3%& "h% I,"%&,%". Th!
TFTP ! %,%&-- #,- !% #, +&3"% -#$- ,%"5#&>!.Pro%ere to In/t*,, *n Rn * TFTP /er3er<
1. I,!"-- '#--#5, +$>%!.
!# +"%" ,!"-- @,%" "'"+ "'"+
6. :&%"% %"$@,%"."'"+ , +" "h! %,"&
!%&3$% "'"+
+"#$#- +
+#&"
!#$>%"Q"+% &2
5" %!
!%& ,#/#
!%&3%& !&!/,,."'"+
!%&3%&Q&! "'"+/##"
!/-% ,#
8/9/2019 project report final.pdf
27/36
C. :&%"% '#-%& "'"+/##" "h! !h#- 2"$h 5h"%3%& # 3% , !%&3%&Q&!.2#!"- " 5-- /% "'"+/##"
!# 2>& "'"+/##"
!# $h2# R 777 "'"+/##"
!# $h#5, R ,#/# "'"+/##"
4. R%!"&" "h% @,%" !%&3$%.
!# %"$,".@,%" &%!"&"
N#5 #& "'"+ !%&3%& ! + , &,,,.
T%!", #& "'"+ !%&3%&
1. :&%"% '-% ,2% "%!" 5"h !#2% $#,"%," , "'"+/##" +"h #' "h% "'"+ !%&3%&O/", "h% IP &%!! #' "h% "'"+ !%&3%& !, '$#,' $#22,
6. N#5 , !#2% #"h%& !!"%2 '#--#5 "h% '#--#5, !"%+!.
"'"+ 16.18.1.6
"'"+ %" "%!"
!%," 1 /"%! , 0.0 !%$#,!
"'"+ ?"
$" "%!"
8/9/2019 project report final.pdf
28/36
:4 PORTING
Booting Pro%e//<
In/t*,,ing
Th% D;L6100AP! '&25&% ! V@;#&>! &"#! 5"h "! #5, /##" -#%&.F$"#& /##"-#%& $, -# 3 TFTP , %@%$"% MIPS %-' %@%$"/-%. MIPS %-'%@%$"/-% $, /% O+%,;&" &2!> #& 2#'% /##"-#%&.
(MIPS M$+$%!!#& 5"h#" I,"%&-#$>% P+%-,% S"%! ! &%$% ,!"&$"#,!%" $#2+"%& ,!"&$"#, !%" &$h"%$"&%.%-' %@%$"/-% , -,>/-% '#&2" ! $#22#, !",& '-% '#&2" '#& %@%$"/-%!#/*%$" $#% !h&% -/&&%! , $#&% 2+!)
Th%&% &% ''%&%," 2%"h#! / 5h$h O+%,;&" $, /% +#&"% #, "# D-,>D;L6100AP. Th% &%
:41 R*&i/k Netork Boot
T%!", #' O+%,;&" $, /% #,% 5"h#" 2>, , $h,%! "# '-!h. Th!
5 #,% $, !'%- +- 5"h O+%,;&" , +&%!%&3% "h% #&,- '&25&% , '-!h. I' /$>+ ! #,% '#& !%"",! , $#,'&% O+%,;&" #,% $, %!- &%!"#&% "h%!3% /$>+ 5h%, ,%%%.
• A "'"+ !%&3%& 5"h O+%,;&""h%!32-,@.%-' /##" 2% , "! #" '#-%& !&%?&%.
• :#,,%$" "h% D-,> D;L6100AP "# "h% $#2+"%& !, !%&- $#,!#-%.
• S5"$h #, "h% +#5%& !++- "# D-,> D;L6100AP.
• ;" '#& "h% /##" +$%!! "# !"&" , +&%!! ES: "# ,"%&&+" "h% /##"-#%&,"- /##" ++" ! #/",%.
• E,"%& "h% $#22, %(10)h#+%,5&""h%!32-,@.%-' h16.18.1.6%16.18.1.600@''''''00 '0@80
5h%&%
• h ! "h% h#!",2% #' "h% $#2+"%& &,,, "'"+ (,#" ,%%% "# /% $#&&%$")• h !%"! "h% h#!" $#2+"%& IP &%!!• % !%"! "h% ,%"5#&> &%!! , 2!> #' "h% +
• ' !%"! "h% '-! "# "'"+ /##" , &,
O&,- !%"",! 5% %" !, $#22, + "# +&," !%"",!
8/9/2019 project report final.pdf
29/36
&C1@ &%3 0@000080 '&25&% !"&"+...
SDRAM TEST...PASSED
;APG06A B##" P$%&% V1.0 S"&" ..B##".B16..
"h%! AR001AP %'-" 3%&!#, C.0.0.4CA
1B##" W
W +&," "h! -!" X /##" (-# , #) + +&," /##" +&2%"%&! $ $h,% /##" +&2%"%&! % +&," '"- %@$%+"#, 3 +&," 3%&!#, B $h,% /#& " S !h#5 /#& " , ,%"' +&," ,%"5#&> ,"%&'$% %3$% &%!! %3(0+$,2)h#!"'-% h % / !& +5+!!5 '
","&%",2% !!$&+" ##"h%& /##" %3$% "''!&3%&%2#3/-% '-% ,2% "''!03@;#&>!B##" '-!0@06 -# -#$- !!"%2 !2/#-!0@04 #," "#/##"
0@08 ?$> "#/##" (,# $#,"#5,)0@60 !/-% -#, !%$&"0@40 !% /##"+ "# %" /##" +&2%"%&!0@80 !% "'"+ "# %" /##" 2%0@100 !% +@ &+
3-/-% /##" %3$%!E,h,$% N%"5#&> D%3$%! %1 "''!B##" +
/##" %3$% "''!," ,2/%& 0
8/9/2019 project report final.pdf
30/36
+$%!!#& ,2/%& 0'-% ,2% '-APIMG1,%" #, %"h%&,%" (%) 16.18.1.600@''''''00
'-! (') 0@0#"h%& (#) %
:h,% !%"",! (!% $#22, $ "# $h,% !%"",!)
B##" +
/##" %3$% %," ,2/%& 1
+$%!!#& ,2/%& 0h#!" ,2% h'-% ,2% #+%,5&""h%!32-,@.%-' ,%" #, %"h%&,%" (%) 16.18.1.600@''''''00h#!" ,%" (h) 16.18.1.64'-! (') 0@80#"h%& (#) %
8/9/2019 project report final.pdf
31/36
8/9/2019 project report final.pdf
32/36
:42 Boot,o*er rep,*%e&ent<
B &%+-$, "h% !"#$> -#%& 5"h 2#'% R%/##" 5% $, ,!"-- O+%,;&" +%&2,%,"-. R%+-$, "h% -#%& ! "&$> /%$!% #,% ,%% "# %" 3%&!#, "-#&%'#& "h% %3$%.
In/t*,, ReBoot /ing /eri*, %on/o,e<
Th! ! %@+%&2%,"- 5 "# '-!h !, #,- !%&- ,"%&'$%. RAM 3%&!#, #' $!"#2 /- R%B##" -#%& ! ,%%% ' 5h$h #,% $, /&, "h% +%&2,%,"ROM 3%&!#,.A TFTP !%&3%& 5"h /#"h &%/##".2 (RAM 3%&!#,) , &%/##"./, (ROM 3%&!#,)! ,%%% '#& "h% '-!h $h+ , "! #" '#-%&. 14P- "h% AP , +&%!! ES: ,"- " ! ++"% "# /##" , "%&2,- 5,#5.6.S%, + , 5&"% -- -,%! ' "%&2,- #"+" ("# &%!"#&% ' ,%%%) "h%, 5"h $$h,% !%"",!
/##" %3$% %1," ,2/%& 0
+$%!!#& ,2/%& 0'-% ,2% &%/##".2,%" #, %"h%&,%" (%) 16.18.1.60''''''00 "h! ! AP IP &%!!h#!" ,%" (h) 16.18.1.64 "h! ! "'"+ !%&3%& IP &%!!"%5 ,%" () '-! (') 0@80#"h%& (#) %
• R%/##" AP &%/##" RAM 3%&!#, h3% "# -#
• I,!"-- &%/##" ,"# ROM 5"h ,%@" $#22,!
'! ," ' -# & / FREEMEMLO &%/##"./, h 16.18.1.64 2 "'"+'! $&%"% R%B##"&%!%"
• A'"%& AP &%/##" &%/##" ROM 3%&!#, h3% "# -# , 5% &% &% "# ,!"--O+%,;RT.
:4( In/t*,, ReBoot - #TAG &et+o<
Th% !'%!" 5 "# $h,% "h% /##" -#%& ! / !, /#"h *" , !%&-,"%&'$%. I' !#2%"h, %"! />% #,% $, &%,!"-- "h% #&,- '&25&%.
8/9/2019 project report final.pdf
33/36
:#,,%$" JTAG $/-% , &, &*". A" ++" 5&"% *".
*" $/-% ;IGGLER PPDEV %3+&+#&"0 "h! ! '#& -,@
*" $/-% ;IGGLER +&--%- 0@C78 "h! ! '#& ;,#5! 5#&- *" %"%$" *" ,$-% "h%!&6C16&6C16 *" +#>% 0@8400000 0@000%C$%1 *" %"%$"'-!h 0@1'$00000 *" '-!h2%2 0@1'$00000 +"h "# '-%&%/##"(-2)./,
In/t*,, OpenWrt<D;L6100AP ! !++#&"% ' B$>'&% 10.0C.1&$1 #,
A &%/##" -#%& ! &%?&% '#& "h% '-!h $h+ ,!"--% , TFTP !%&3%& 5"h#+%,5&""h%!32-,@.-2 (>%&,%-) , #+%,5&""h%!#".!?!h'! (#" '-%!!"%2) , "! #" '#-%&.
N%@" !"%+ ! !%" -#%& %,3,2%," +
'$#,' /##"Q!$&+" "&%
'$#,' /##"Q!$&+"Q"2%#" 6'$#,'R, !$&+" " /##" "&%
8/9/2019 project report final.pdf
34/36
B##" !$&+"..E,"%& !$&+" "%&2,"% 5"h %2+" -,%
'! -# - -,@ #B##" !$&+" "2%#" (10002! &%!#-"#,) 6U!% BOOTP '#& ,%"5#&> $#,'&"#, '-!%G"%5 IP &%!! 16.18.1.64L#$- IP &%!! 16.18.1.1L#$- IP &%!! 2!> 6.6.6.0D%'-" !%&3%& IP &%!! 16.18.1.64
:#,!#-% / &"% 00DNS !%&3%& IP &%!! 16.18.1.64GDB $#,,%$"#, +#&" 000F#&$% $#,!#-% '#& !+%$- %/ 2%!!%! '-!%
N%"5#&> %/ " /##" "2% '-!%U+"% R%B##" ,#,3#-"-% $#,'&"#, $#,",% (,)W &%!%"
A'"%& AP &%/##" , 5% &% &% '#& O+%,;&" ,!"--. I, "h! %@2+-% AP !X16.18.1.1 9 "'"+ !%&3%& ! X16.18.1.64
'! ," ' -# & / 0@80041000 #+%,5&""h%!32-,@.-2'! $&%"% & 0@80041000 -,@-# & / 0@80041000 #+%,5&""h%!#".!?!h'!'! $&%"% & 0@80041000 % 0@0 #"'!&%!%"
Re%o3er. Bo*r Conig<
:#,,%$" JTAG $/-% &, &*"
*" $/-% ;IGGLER PPDEV %3+&+#&"0 *" %"%$" *" ,$-% "h%!&6C16&6C16 *" +#>% 0@8400000 0@000%C$%1 *" %"%$"'-!h 0@1FFF0000 *" '-!h2%2 0@1FFF0000 +"h "# '-%%%+Q5-6100h54QCFFF0000
CFFF0800./,
8/9/2019 project report final.pdf
35/36
54CONCL"ION
O'/er3*tion/<
• O+%,;&" ! &%" 5 "# %@"%, "h% !/-" #' "%& , "# 2+% "h%$#2+", +#5%& #' "h% ,%"5#&>.
• I,!"--"#, , $#,'&"#, ! !2+-% , %! , " !++#&"! 2, +$>%! "# 2+% "%&! %''%$"3%,%!!.
• I" #%! ,#" !++#&" -- "h% %3$%! , -!# ,!"--"#, ! %3$% !+%$'$.S+%$'$ +$%&% ! "# /% $&&% #" '#& %3$% S#: , "! '-!h $h+.
• Th#h D-,> 5- 6100+ 5"h "h%! S#: !++#&"! O+%,;&" "! '-!h $h+
S+,!#, S6-0C6D0TF104 #%! ,#" !++#&" "h! '&25&%.
Li&it*tion/<
• O+%,;&" ! ,#" ,"%,% "# /% &%2% !"&/"#, # $, &%$"- -#
#,"# , %2/%% %3$%. I,!"% "h% '&2%5#&> --#5! #,% "# $&%"% '&25&% "-#&% "# "h%& #5, +&"$-& ,%%!.
• A-"h#h "h%&% &% !%3%&- UI +*%$"! 3-/-% "# $#3%& $#22#, !% $!%!O+%,;&" ! ,#" %, !%& '&25&%. M#&% 3,$% "!>! &%?&% $#22, -,%#+%&"#,! , /!$ >,#5-%% /#" #+%&", -,@/!% !!"%2.
8/9/2019 project report final.pdf
36/36
;4REFERENCE
• h""+!#+%,5&".#&
•
h""+5>.#+%,5&".#&#$h#5"#%,%&$.'-!h,• h""+5>.#+%,5&".#&"#h-,>5-6100+
• h""+555.-,>.$#22%B!,%!!QP$"!D;LD;L606100APM,-5-6100+Q2,-QENQUSA.+'
• h""+#5,-#!.#+%,5&".#&!,+!h#"!"&,>"h%!
• h""+%,.5>+%.#&5>O+%,;&"
• h""+&$.-$#'"$#+%,5&"&$"$XXX
https://openwrt.org/http://wiki.openwrt.org/doc/howto/generic.flashinghttp://wiki.openwrt.org/toh/d-link/dwl-2100aphttp://www.dlink.com/-/media/Business_Products/DWL/DWL%202100AP/Manual/dwl2100ap_manual_EN_USA.pdfhttp://www.dlink.com/-/media/Business_Products/DWL/DWL%202100AP/Manual/dwl2100ap_manual_EN_USA.pdfhttp://downloads.openwrt.org/snapshots/trunk/atheros/http://en.wikipedia.org/wiki/OpenWrthttp://irc.lc/oftc/openwrt/irctc@@@https://openwrt.org/http://wiki.openwrt.org/doc/howto/generic.flashinghttp://wiki.openwrt.org/toh/d-link/dwl-2100aphttp://www.dlink.com/-/media/Business_Products/DWL/DWL%202100AP/Manual/dwl2100ap_manual_EN_USA.pdfhttp://www.dlink.com/-/media/Business_Products/DWL/DWL%202100AP/Manual/dwl2100ap_manual_EN_USA.pdfhttp://downloads.openwrt.org/snapshots/trunk/atheros/http://en.wikipedia.org/wiki/OpenWrthttp://irc.lc/oftc/openwrt/irctc@@@Recommended