Skip to content

Commit 994e41f

Browse files
committed
firmware/coreboot: Subtree merged nvidia-cbootimage
2 parents 6d6d5fe + 3b3c3cc commit 994e41f

54 files changed

Lines changed: 23424 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
;;; This file is used by Emacs to configure it's code editing modes to correctly
2+
;;; indent cbootimage style source code.
3+
4+
((nil . ((indent-tabs-mode . t)
5+
(tab-width . 8)
6+
(fill-column . 80)))
7+
8+
(c-mode . ((c-basic-offset . 8)))
9+
10+
(c++-mode . ((c-basic-offset . 8))))
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
bct_dump
2+
cbootimage
3+
.*.swp
4+
*.o
5+
*~
6+
7+
.deps
8+
.dirstamp
9+
Makefile
10+
Makefile.in
11+
/aclocal.m4
12+
/autom4te.cache/
13+
/compile
14+
/config.h
15+
/config.h.in
16+
/config.log
17+
/config.status
18+
/configure
19+
/depcomp
20+
/install-sh
21+
/missing
22+
/stamp-h1
23+
24+
src/bct_dump.1
25+
src/bct_dump.man
26+
src/cbootimage.1
27+
src/cbootimage.man

firmware/coreboot/util/nvidia/cbootimage/COPYING

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Names should be added to this file like so:
2+
# Name or Organization <email address>
3+
4+
Google Inc. <opensource@google.com>
5+
NVIDIA CORPORATION <oss-requests@nvidia.com>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
AUTOMAKE_OPTIONS = foreign
2+
SUBDIRS = src
3+
4+
distclean-local:
5+
rm -rf autom4te.cache
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Introduction
2+
============
3+
4+
This project provides a tool which compiles BCT (Boot Configuration Table)
5+
images to place into the boot flash of a Tegra-based device.
6+
7+
The tool will either:
8+
9+
a) Compile a textual representation of a BCT into a binary image.
10+
11+
b) Generate an entire boot image from a previously compiled BCT and a
12+
bootloader binary.
13+
14+
Submitting Changes
15+
==================
16+
17+
To submit patches to this project, please use the following commands:
18+
19+
* git format-patch --subject-prefix="cbootimage PATCH"
20+
21+
Creates a patch file from your git commit.
22+
23+
* git send-email --to linux-tegra@vger.kernel.org *.patch
24+
25+
Sends the patch by email to the Tegra mailing list.
26+
27+
Even though the primary upstream repository for this project is hosted on
28+
github, contributions aren't accepted via github pull requests. Github pull
29+
requests would bypass public code review on the project mailing list.
30+
31+
Patches should be signed off (include a signed-off-by line) to indicate your
32+
acceptance of the code's license (see COPYING and the license header in each
33+
file). See http://developercertificate.org/ for details of what signed-off-by
34+
implies.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh -e
2+
3+
autoreconf --install --symlink
4+
./configure "$@"
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# -*- Autoconf -*-
2+
# Process this file with autoconf to produce a configure script.
3+
4+
AC_PREREQ([2.67])
5+
AC_INIT([cbootimage], [1.7], [jimmzhang@nvidia.com])
6+
AM_INIT_AUTOMAKE
7+
AC_CONFIG_SRCDIR([src/cbootimage.c])
8+
AC_CONFIG_HEADERS([config.h])
9+
10+
# Checks for programs.
11+
AC_PROG_CC
12+
AM_PROG_CC_C_O
13+
PKG_PROG_PKG_CONFIG
14+
15+
# Checks for libraries.
16+
AC_CHECK_LIB(m, log2)
17+
18+
# Checks for header files.
19+
AC_CHECK_HEADERS([stdio.h string.h ctype.h sys/stat.h getopt.h stdlib.h assert.h errno.h sys/types.h math.h])
20+
21+
# Checks for typedefs, structures, and compiler characteristics.
22+
AC_TYPE_SSIZE_T
23+
AC_HEADER_STDBOOL
24+
AC_TYPE_UINT16_T
25+
AC_TYPE_UINT32_T
26+
AC_TYPE_UINT64_T
27+
AC_TYPE_UINT8_T
28+
29+
# Checks for library functions.
30+
AC_FUNC_ERROR_AT_LINE
31+
AC_FUNC_MALLOC
32+
AC_CHECK_FUNCS([memset])
33+
34+
AC_CONFIG_FILES([
35+
Makefile
36+
src/Makefile
37+
])
38+
AC_OUTPUT
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
-----BEGIN RSA PRIVATE KEY-----
2+
MIIEpQIBAAKCAQEA2L0jolLgp2pKAzn/JeZuxgGPY1Yz4ZNkttzvBlVhozEynj2x
3+
Lttz1gZ6fYUb/ObM8v2PoeOlrwkGoWMscuMS4MnLG2NcJlWmlsLTyfw3EwxblM3D
4+
DniscakhMexNK3J7uxmmRkQTfldec4JHjsAN6d9cZQ0POdsA7j5lKNG0KgCohKk6
5+
p+lMYXFqgxx3IQWcynhuKVtVFm/UJJBC+a4ibbXcpnio96ySVrPO/ZpEOhEpPTWX
6+
VLeiqBB3dsu//9X0vDfShyBlctaonx2Z7xWQWotubze0iIvyU6U+T69aDOXfHQfu
7+
kNMX3Dj4VCndW/FUrrg5k/y9dMA1We3Ng1A0NQIDAQABAoIBABcWRqZy15VdwBaJ
8+
5gDeg+w5nFGDjDE6Jx9Hd3qgO69LfU3X2njYTYV92SxnsmyFFU3I7rTa7/ouJvOo
9+
AcMXJxqkxCrdsaIvu3gRtsesQx2XUmYOaPmwpwXQc0XDGxFGt6FdgRW5CK6LlfcN
10+
6JtvH8xKy6fD9Vw/VOEL6nCnrd5PU3UNU/Ng7h/SZ+5NEALJE7+gaMvmK9o9lX3a
11+
/tze6bwKKF+a2luTs2aVGxjUYBud6YOE2KPG7zltuHUHUeEgJ/X/sgWYiHsqpK3l
12+
rIrjCVIQnrRCCtCHg5BbqtwStl5Gz+Y431DXU9Sv6fVqIFgveweePhhDux/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