[U-Boot] Flat Image Tree and boot arguments
Simon Glass
sjg at chromium.org
Sat Nov 1 16:13:01 CET 2014
Hi,
(trying again)
On 29 October 2014 08:22, Weiß Christoph <Christoph.Weiss at ait.ac.at> wrote:
> Dear all,
>
> I am trying to get my own build of U-Boot to boot Linux on a Jetson TK1 board. As we are pushing for verified boot I am using the Flat Image Tree (unifying kernel image, device tree blob, ...) to describe my system. U-Boot can load the ITB file and tries to start the kernel but the system hangs after this message.
>
> I assume that this is because no boot arguments are passed to the kernel (the original startup adds loads of arguments) but I am a little dumbfounded on how to pass the arguments to the kernel. I tried setting the bootargs environment variable but this did not change the situation.
>
> How do I pass kernel arguments to the kernel when using an ITB file?
>
> Command line arguments (taken from the APPEND command of the examples extlinux.conf):
>
> console=ttyS0,115200n8 console=tty1 no_console_suspend=1
> lp0_vec=2064 at 0xf46ff000 video=tegrafb mem=1862M at 2048M memtype=255 ddr_die=2048M at 2048M
> section=256M pmuboard=0x0177:0x0000:0x02:0x43:0x00 vpr=151M at 3945M tsec=32M at 3913M
> otf_key=c75e5bb91eb3bd947560357b64422f85 usbcore.old_scheme_first=1 core_edp_mv=1150
> core_edp_ma=4000 tegraid=40.1.1.0.0 debug_uartport=lsport,3 power_supply=Adapter
> audio_codec=rt5640 modem_id=0 android.kerneltype=normal usb_port_owner_info=0
> fbcon=map:1 commchip_id=0 usb_port_owner_info=0 lane_owner_info=6 emc_max_dvfs=0
> touch_id=0 at 0 tegra_fbmem=32899072 at 0xad012000 board_info=0x0177:0x0000:0x02:0x43:0x00
> root=/dev/mmcblk0p1 rw rootwait tegraboot=sdmmc gpt
>
> Content of ITS file:
>
> /dts-v1/;
>
> / {
> description = "Simple image with single Linux kernel and FDT blob";
> #address-cells = <1>;
>
> images {
> kernel at 1 {
> description = "Vanilla Linux kernel";
> data = /incbin/("./zImage");
> type = "kernel";
Should this be kernel_noload?
Stephen is the expert...
> arch = "arm";
> os = "linux";
> compression = "none";
> load = <0x81008000>;
> entry = <0x81008000>;
> hash at 1 {
> algo = "crc32";
> };
> hash at 2 {
> algo = "sha1";
> };
> };
> fdt at 1 {
> description = "Flattened Device Tree blob";
> data = /incbin/("./tegra124-pm375.dtb");
> type = "flat_dt";
> arch = "arm";
> compression = "none";
> hash at 1 {
> algo = "crc32";
> };
> hash at 2 {
> algo = "sha1";
> };
> };
> };
>
> configurations {
> default = "conf at 1";
> conf at 1 {
> description = "Boot Linux kernel with FDT blob";
> kernel = "kernel at 1";
> fdt = "fdt at 1";
> };
> };
> };
>
[snip}
Regards,
Simon
More information about the U-Boot
mailing list