Dbox2:CDK YADD Boot Procedure: Unterschied zwischen den Versionen

Aus TuxBoxWIKI
Zur Navigation springen Zur Suche springen
(Änderung 11717 von 124.128.61.251 (Diskussion) wurde rückgängig gemacht. SPAM)
(dtQVfcpVhCR)
Zeile 1: Zeile 1:
[[Category:Register]]
<a href="http://new-york-ghost-tours.rkpunycj.cc/">new ghost</a>
[[Category:CDK]]
http://italian-pistol-cap-and-ball.gpgzmgfs.cc/
[[Category:FAQ]]
<a href="http://celebration-health-medical-office-directory.bogffrodk.cc/">celebration directory</a>
[[Category:English]]
http://leapfrog-littletouch-leappad-system.jxkjjcvs.com/
[[Category:Development]]
<a href="http://help-me-choose-a-college.rkpunycj.cc/">help me</a>
[[Category:english]]
http://sod-grass-growth-brown-spots.ospbaej.cc/
{{Development_sidebar}}
<a href="http://barrel-roll-roller-coaster.jjderumcd.cc/">roller roll</a>
__TOC__
http://aquatic-ecosystem-health-management-citation.bogffrodk.cc/
{{Deutsch|CDK (YADD) Bootvorgang}}
<a href="http://milk-protein-allergy-emedicine.ospbaej.cc/">emedicine protein</a>
 
http://honda-dirt-bike-racing-champeinship.gpgzmgfs.cc/
 
<a href="http://land-title-searches-new-mexico.rkpunycj.cc/">land title</a>
=General=
http://st-elizabeth-hospital-belleville-il.gpgzmgfs.cc/
==Prerequisites==
<a href="http://renaissance-center-detroit-bars.gtnoxbkm.cc/">renaissance center</a>
There is a [[DHCP]]-, an [[NFS]]- and a [[TFTP]]-[[Server]] in the network, which of course have to be configured according to the tuxbox environment.  
http://larissa-aurora-personal-information.bdmqusml.com/
<a href="http://mitsubishi-convergence-tv-repair.sfmlqmgdf.cc/">tv repair</a>
[[DHCP]] is the successor to [[BootP|BOOTP]], the ISC dhcpd on [[Linux]] also knows the bootstrap-protocol ([[BootP|BOOTP]]).  
http://wood-carving-birds-supply.ibmnehkc.cc/
<a href="http://dairy-farm-nutrition-facts.pewesgih.cc/">facts farm</a>
 
http://jackie-on-that-seventies-show.sfmlqmgdf.cc/
=How it works=
<a href="http://personel-movers-lectra-car.rkpunycj.cc/">personel movers</a>
First the [[Bootloader#Bmon|Bmon]] is executed. It initializes the [[Hardware]] ([[CPU]], [[LCD]] etc.). After that, network communication follows.  
http://natural-history-museum-ireland.jjderumcd.cc/
 
<a href="http://hgc-weight-loss-clinic.ospbaej.cc/">clinic weight</a>
 
http://frankfurt-auto-show-mazda.rkpunycj.cc/
==Bmon==
<a href="http://se-b-help-psp-updates.morogad.cc/">updates psp</a>
===Bmon: whole network<-DBox2===
http://keith-callahan-memorial-service.bntvbocib.cc/
The [[Bootloader#Bmon|Bmon]] sends a [[BootP|BOOTP]] broadcast request.
<a href="http://motor-bike-stunt-man.gpgzmgfs.cc/">motor bike</a>
http://alder-guitar-body-material.gtnoxbkm.cc/
 
<a href="http://nevada-health-insurance-quotes.ibmuevpv.cc/">insurance health</a>
===Bmon: DHCP->DBox2===
http://rca-guide-plus-remote.bntvbocib.cc/
The [[DHCP]]-[[Server]] answers and tells the [[DBox2]] its [[IP-Address]], the  the name of a bootfile ("dbox2/tftpboot/u-boot" e.g.) and the [[IP-Address]] of the [[TFTP]]-[[Server]] containing the bootfile. This bootfile is the second stage bootloader (Bmon is the first, read the details [[Bootloader#Bmon|here]]). This way the [[Bootloader#Bmon|Bmon]] receives all neccessary data.  
<a href="http://world-music-supply-co.ibmnehkc.cc/">music world</a>
http://old-metal-shoe-repair.pcdelzpx.cc/
 
<a href="http://raj-harvard-medical-school.gtnoxbkm.cc/">raj medical</a>
===Bmon: TFTP<-DBox2===
http://buy-organic-natural-growth-hormone.ibmnehkc.cc/
The [[Bootloader#Bmon|Bmon]] requests the [[MAC]] that the [[TFTP]]-Server's IP address refers to via [[ARP]] (Standard behaviour; Ethernet packets are sent from and to [[MAC]]-Adresses, not [[IP-Addresses]]). Afterwards the [[Bootloader#Bmon|Bmon]] requests the bootfile via a [[TFTP]] read-request.  
<a href="http://political-system-in-uk.jxkjjcvs.com/">political in</a>
http://lake-reir-record-perch.ibmnehkc.cc/
 
<a href="http://criminal-law-the-information.morogad.cc/">information law</a>
===Bmon: TFTP->DBox2===
http://basic-health-nof-wa.jzcqlgoi.cc/
The bootfile is now being sent to the [[DBox2]]. The [[Bootloader#Bmon|Bmon]] stores it in memory. When the transfer is done, it computes the signature. If the [[Bootloader#Bmon|Bmon]] is not in [[Debug-Mode]] now, it denies execution of the boot file if the signature is invalid and reboots.  
<a href="http://huffman-studios-pet-loss.pewesgih.cc/">huffman studios</a>
With activated [[Debug-Mode]] it prints an error message, but executes the bootfile nevertheless, in our application the bootfile is [[U-boot#U-Boot.2FPPCBoot|u-boot]].  
http://moving-and-handling-for-carers.bdmqusml.com/
<a href="http://surplus-supply-lincoln-nebrasca.ibmnehkc.cc/">supply lincoln</a>
 
http://macdonald-grilled-snack-wrap.ruptrfka.cc/
[[U-boot#U-Boot.2FPPCBoot|U-boot]] is much more sophisticated than the [[Bootloader#Bmon|Bmon]], but it knows nothing about what happened until now. It has no knowledge of IP addresses, so the [[DBox2]] does not have one anymore.  
<a href="http://ink-supply-hp-printer.ibmnehkc.cc/">printer ink</a>
http://financial-aid-summer-2006.ruptrfka.cc/
 
<a href="http://bible-verses-help-spiritual-warfare.pcdelzpx.cc/">bible warfare</a>
One thing is important to note: [[U-boot#U-Boot.2FPPCBoot|U-boot]] executes the commands that were built into it when compiling. So The following is only valid for the [[CDK]] configuration.  
http://big-rock-new-brighton-pennsylvania.pcdelzpx.cc/
<a href="http://robert-service-senior-public-school.bntvbocib.cc/">service school</a>
 
http://medical-abbreviations-most-used.gtnoxbkm.cc/
Theoretically, you might as well interrupt the autostart of [[U-boot#U-Boot.2FPPCBoot|U-boot]] and enter commands manually. Those who like to have it individual should look at the directory u-boot-config in the [[CDK]]. Different configurations are kept there. Which one of these configurations is used when compiling is determined by the symlink u-boot.config, which resides in this directory and defaults to the [[CDK]]-Config if it is missing.
<a href="http://new-york-beach-9-apartments.sfmlqmgdf.cc/">york beach</a>
http://build-your-own-suzuki-bike.cfinsumf.cc/
 
<a href="http://soldiers-talk-with-santa.bntvbocib.cc/">talk soldiers</a>
==U-Boot==
http://sacramento-native-america-health-clinic.ibmuevpv.cc/
===U-boot: DHCP<-DBox2:===
<a href="http://service-advisor-portland-oregon.jjderumcd.cc/">service portland</a>
So [[U-boot#U-Boot.2FPPCBoot|U-boot]] knows the [[BootP|BOOTP]] protocol, but the [[DHCP]] protocol has more features and thus is being preferred. [[U-boot#U-Boot.2FPPCBoot|U-boot]] starts by asking for its [[IP-Address]] via a  [[DHCP]] discover.  
http://level-50-halo-2-icon.ruptrfka.cc/
<a href="http://golden-guide-sea-shore.bntvbocib.cc/">sea shore</a>
 
http://booth-assessment-center-hints.ibmuevpv.cc/
===U-boot: DHCP->DBox2:===
<a href="http://hearing-aid-widex-cost.pewesgih.cc/">cost aid</a>
The [[DHCPD]] offers [[U-boot#U-Boot.2FPPCBoot|U-boot]] an [[IP-Address]], and because  [[U-boot#U-Boot.2FPPCBoot|U-boot]] is not bitchy, it accepts that.
http://forever-black-body-moldings.bogffrodk.cc/
 
<a href="http://drug-treatment-programs-cincinnati-ohio.axctsfftx.cc/">cincinnati ohio</a>
http://treatment-for-severe-sunburn.gpgzmgfs.cc/
As we are booting something, the [[DHCPD]] also tells [[U-boot#U-Boot.2FPPCBoot|U-boot]] about a bootfile, just like it did when it answered the request of the [[Bootloader#Bmon|Bmon]]. The problem is, we don't want the [[DHCPD]] to assign our [[U-boot#U-Boot.2FPPCBoot|U-boot]] again. This would create an infinite loop. So, to tell the [[DHCP]]-[[Server]] to act differently, [[U-boot#U-Boot.2FPPCBoot|U-boot]] includes an optional value in its [[DHCP]] request, the value "Vendor Class Identifier".  
<a href="http://free-rapid-weight-loss-tips.pewesgih.cc/">tips free</a>
http://signing-up-the-act-test.axctsfftx.cc/
 
This identifier is used in the [[DHCPD]] configuration for specification of  different bootfiles.  
 
The Windows-[[Bootmanager]] does not recognize this option, so it will always serve the [[U-boot#U-Boot.2FPPCBoot|U-boot]] as bootfile. That is why you need a special [[U-boot#U-Boot.2FPPCBoot|U-boot]] for use with the [[Bootmanager]].  
 
Next, [[U-boot#U-Boot.2FPPCBoot|U-boot]] tries to load the files "logo-lcd" and "logo-fb" via the [[TFTP]] protocol. This is used for displaying a boot logo and is not critical for booting.  
 
===U-boot: TFTP<-DBox2:===
The second-but-last step if the request of the newly assigned bootfile, the  [[Linux-Kernel]].  
 
===U-boot: TFTP->DBox2:===
The [[Linux-Kernel]] is being loaded to the main memory of the [[DBox2]]. As the [[Kernel]] is an executable file, it may be passed some arguments. These are being kept hardcoded in the [[U-boot#U-Boot.2FPPCBoot|U-boot]], as laid out by the [[U-boot#U-Boot.2FPPCBoot|U-boot]] configuration, in the environment variable "bootargs".
 
The [[CDK]]-boot arguments are as follows:  
root=/dev/nfs rw
nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off
console=$(console);
 
 
These parameters tell the [[Kernel]] everything it has got to know for booting.  
 
The variables serverip,rootpath,ipaddr,gatewayip,netmask and hostname are being requested via [[DHCP]].  
 
Ultimately, the [[U-boot#U-Boot.2FPPCBoot|U-boot]] executes the command "bootm", which then starts the [[Linux-Kernel]] and passes its parameters in the environment variable "bootargs".  
 
The [[Linux-Kernel]] knows by the parameter "root=/dev/nfs" that it should boot via [[NFS]]. The complete path is read from the parameter "nfsroot". This path is being mounted as root directory ("/"). Afterwards the program "init" is executed by the kernel, ending the kernel boot procedure. What follows is the usual initialization of system and applications.  
 
Booting from [[Flash]] is quite similar, but the root path is not an [[NFS]] share, but an [[MTD]] device.
 
 
 
{{body}}

Version vom 17. September 2009, 02:31 Uhr

<a href="http://new-york-ghost-tours.rkpunycj.cc/">new ghost</a> http://italian-pistol-cap-and-ball.gpgzmgfs.cc/ <a href="http://celebration-health-medical-office-directory.bogffrodk.cc/">celebration directory</a> http://leapfrog-littletouch-leappad-system.jxkjjcvs.com/ <a href="http://help-me-choose-a-college.rkpunycj.cc/">help me</a> http://sod-grass-growth-brown-spots.ospbaej.cc/ <a href="http://barrel-roll-roller-coaster.jjderumcd.cc/">roller roll</a> http://aquatic-ecosystem-health-management-citation.bogffrodk.cc/ <a href="http://milk-protein-allergy-emedicine.ospbaej.cc/">emedicine protein</a> http://honda-dirt-bike-racing-champeinship.gpgzmgfs.cc/ <a href="http://land-title-searches-new-mexico.rkpunycj.cc/">land title</a> http://st-elizabeth-hospital-belleville-il.gpgzmgfs.cc/ <a href="http://renaissance-center-detroit-bars.gtnoxbkm.cc/">renaissance center</a> http://larissa-aurora-personal-information.bdmqusml.com/ <a href="http://mitsubishi-convergence-tv-repair.sfmlqmgdf.cc/">tv repair</a> http://wood-carving-birds-supply.ibmnehkc.cc/ <a href="http://dairy-farm-nutrition-facts.pewesgih.cc/">facts farm</a> http://jackie-on-that-seventies-show.sfmlqmgdf.cc/ <a href="http://personel-movers-lectra-car.rkpunycj.cc/">personel movers</a> http://natural-history-museum-ireland.jjderumcd.cc/ <a href="http://hgc-weight-loss-clinic.ospbaej.cc/">clinic weight</a> http://frankfurt-auto-show-mazda.rkpunycj.cc/ <a href="http://se-b-help-psp-updates.morogad.cc/">updates psp</a> http://keith-callahan-memorial-service.bntvbocib.cc/ <a href="http://motor-bike-stunt-man.gpgzmgfs.cc/">motor bike</a> http://alder-guitar-body-material.gtnoxbkm.cc/ <a href="http://nevada-health-insurance-quotes.ibmuevpv.cc/">insurance health</a> http://rca-guide-plus-remote.bntvbocib.cc/ <a href="http://world-music-supply-co.ibmnehkc.cc/">music world</a> http://old-metal-shoe-repair.pcdelzpx.cc/ <a href="http://raj-harvard-medical-school.gtnoxbkm.cc/">raj medical</a> http://buy-organic-natural-growth-hormone.ibmnehkc.cc/ <a href="http://political-system-in-uk.jxkjjcvs.com/">political in</a> http://lake-reir-record-perch.ibmnehkc.cc/ <a href="http://criminal-law-the-information.morogad.cc/">information law</a> http://basic-health-nof-wa.jzcqlgoi.cc/ <a href="http://huffman-studios-pet-loss.pewesgih.cc/">huffman studios</a> http://moving-and-handling-for-carers.bdmqusml.com/ <a href="http://surplus-supply-lincoln-nebrasca.ibmnehkc.cc/">supply lincoln</a> http://macdonald-grilled-snack-wrap.ruptrfka.cc/ <a href="http://ink-supply-hp-printer.ibmnehkc.cc/">printer ink</a> http://financial-aid-summer-2006.ruptrfka.cc/ <a href="http://bible-verses-help-spiritual-warfare.pcdelzpx.cc/">bible warfare</a> http://big-rock-new-brighton-pennsylvania.pcdelzpx.cc/ <a href="http://robert-service-senior-public-school.bntvbocib.cc/">service school</a> http://medical-abbreviations-most-used.gtnoxbkm.cc/ <a href="http://new-york-beach-9-apartments.sfmlqmgdf.cc/">york beach</a> http://build-your-own-suzuki-bike.cfinsumf.cc/ <a href="http://soldiers-talk-with-santa.bntvbocib.cc/">talk soldiers</a> http://sacramento-native-america-health-clinic.ibmuevpv.cc/ <a href="http://service-advisor-portland-oregon.jjderumcd.cc/">service portland</a> http://level-50-halo-2-icon.ruptrfka.cc/ <a href="http://golden-guide-sea-shore.bntvbocib.cc/">sea shore</a> http://booth-assessment-center-hints.ibmuevpv.cc/ <a href="http://hearing-aid-widex-cost.pewesgih.cc/">cost aid</a> http://forever-black-body-moldings.bogffrodk.cc/ <a href="http://drug-treatment-programs-cincinnati-ohio.axctsfftx.cc/">cincinnati ohio</a> http://treatment-for-severe-sunburn.gpgzmgfs.cc/ <a href="http://free-rapid-weight-loss-tips.pewesgih.cc/">tips free</a> http://signing-up-the-act-test.axctsfftx.cc/