Skip to content
Generate boot.scr for U-Boot on Tegra
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



This project provides a script which generates a U-Boot boot script for
Tegra devices running upstream U-Boot.

Some simple invocations are:


        Generates a boot.scr that may be placed in /boot on a disk.
        This assumes that the U-Boot variable "rootpart" specifies the
        partition number of the root file-system, and that /boot is simply
        a sub-directory of the root file-system.

    ./ --type net --partuuid XXX

        Generates a boot.scr that may be placed into /var/lib/tftpboot on a
        TFTP server, for use with the U-Boot comamnd "run bootcmd_dhcp". This
        script loads the kernel, DTB, and optional initrd over TFTP, then
        boots Linux using the specified root filesystem.

Numerous options are available; run the following to get help:

    ./ --help

Also included is, which determines the partition UUID of a disk
partition. This may be used to provide the parameter to's
--partuuid option. A simple invocation is:

    ./ /dev/sdc 1

        Prints the partition UUID of partition 1 on /dev/sdc.

The standard blkid command may be used to determine a partition's filesystem
UUID, for use with's --fsuuid option.

Submitting Changes

To submit patches to this project, please use the following commands:

* git format-patch --subject-prefix="uboot scripts PATCH"

  Creates a patch file from your git commit.

* git send-email --to *.patch

  Sends the patch by email to the Tegra mailing list.

Even though the primary upstream repository for this project is hosted on
github, contributions aren't accepted via github pull requests. Github pull
requests would bypass public code review on the project mailing list.

Patches should be signed off (include a signed-off-by line) to indicate your
acceptance of the code's license (see the license header in each file). See for details of what signed-off-by implies.
You can’t perform that action at this time.