The third part is setting the kernel commandline and actually executing the loaded code. U-Boot passes the content of the <quote>bootargs</quote> environment variable as commandline to the kernel, so any parameters for the kernel and the installer - such as the console device (see <xref linkend="boot-console"/>) or preseeding options (see <xref linkend="installer-args"/> and <xref linkend="appendix-preseed"/>) - can be set with a command like <informalexample><screen> setenv bootargs console=ttyS0,115200 rootwait panic=10 </screen></informalexample> The exact command to execute the previously loaded code depends on the image format used. With uImage/uInitrd, the command is <informalexample><screen> bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} </screen></informalexample> and with native Linux images it is
A treia parte este definirea liniei de comandă a nucleului și executarea efectivă a codului încărcat. U-Boot transmite conținutul variabilei de mediu <quote>bootargs</quote> ca linie de comandă către nucleu, astfel încât orice parametri pentru nucleu și pentru programul de instalare - cum ar fi dispozitivul de consolă (consultați <xref linkend="boot-console"/>) sau opțiunile de preconfigurare (a se vedea <xref linkend="installer-args"/> și <xref linkend="appendix-preseed"/>) - pot fi stabilite cu o comandă ca <informalexample><screen> setenv bootargs console=ttyS0,115200 rootwait panic=10 </screen></informalexample> Comanda exactă pentru a executa codul încărcat anterior depinde de formatul de imagine utilizat. Cu uImage/uInitrd, comanda este: <informalexample><screen> bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r} </screen></informalexample> iar cu imaginile native Linux este:
setenv bootargs console=ttyS0,115200 rootwait panic=10
</screen></informalexample> The exact command to execute the previously loaded code depends on the image format used. With uImage/uInitrd, the command is <informalexample><screen>
bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
</screen></informalexample> and with native Linux images it is
setenv bootargs console=ttyS0,115200 rootwait panic=10
</screen></informalexample> Comanda exactă pentru a executa codul încărcat anterior depinde de formatul de imagine utilizat. Cu uImage/uInitrd, comanda este: <informalexample><screen>
bootm ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
</screen></informalexample> iar cu imaginile native Linux este: