Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.
/ tegra-uboot-scripts Public archive

Generate boot.scr for U-Boot on Tegra

Notifications You must be signed in to change notification settings

NVIDIA/tegra-uboot-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Usage
=====

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

Some simple invocations are:

    ./gen-uboot-script.py

        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.

    ./gen-uboot-script.py --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:

    ./gen-uboot-script.py --help

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

    ./part-uuid.py /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 gen-uboot-script.py'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 linux-tegra@vger.kernel.org *.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
http://developercertificate.org/ for details of what signed-off-by implies.

About

Generate boot.scr for U-Boot on Tegra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages