Skip to content

Commit 3e35e49

Browse files
Da Xuedsx724
Da Xue
authored andcommitted
initial
0 parents  commit 3e35e49

File tree

12,683 files changed

+2832616
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,683 files changed

+2832616
-0
lines changed

bl2/bin/README

Whitespace-only changes.

bl2/bin/axg/bl2.bin

38 KB
Binary file not shown.

bl2/bin/g12a/bl2.bin

51.6 KB
Binary file not shown.

bl2/bin/g12b/bl2.bin

52 KB
Binary file not shown.

bl2/bin/gxb/bl2.bin

37.4 KB
Binary file not shown.

bl2/bin/gxl/bl2.bin

37.9 KB
Binary file not shown.

bl2/bin/gxl/bl2.v3.bin

38.8 KB
Binary file not shown.

bl2/bin/gxtvbb/bl2.bin

33.2 KB
Binary file not shown.

bl2/bin/tl1/bl2.bin

42.4 KB
Binary file not shown.

bl2/bin/txhd/bl2.bin

39.5 KB
Binary file not shown.

bl2/bin/txl/bl2.bin

39.1 KB
Binary file not shown.

bl2/bin/txlx/bl2.bin

38.6 KB
Binary file not shown.

bl30/bin/axg/bl30.bin

38.6 KB
Binary file not shown.

bl30/bin/g12a/bl30.bin

40 KB
Binary file not shown.

bl30/bin/g12b/bl30.bin

40 KB
Binary file not shown.

bl30/bin/gxb/bl30.bin

38.1 KB
Binary file not shown.

bl30/bin/gxl/bl30.bin

38.1 KB
Binary file not shown.

bl30/bin/gxtvbb/bl30.bin

37.7 KB
Binary file not shown.

bl30/bin/tl1/bl30.bin

37.9 KB
Binary file not shown.

bl30/bin/txhd/bl30.bin

38.6 KB
Binary file not shown.

bl30/bin/txl/bl30.bin

37.9 KB
Binary file not shown.

bl30/bin/txlx/bl30.bin

38.5 KB
Binary file not shown.

bl31/bin/gxb/bl31.bin

88.3 KB
Binary file not shown.

bl31/bin/gxb/bl31.img

88.8 KB
Binary file not shown.

bl31/bin/gxl/bl31.bin

172 KB
Binary file not shown.

bl31/bin/gxl/bl31.img

173 KB
Binary file not shown.

bl31/bin/gxtvbb/bl31.bin

88.3 KB
Binary file not shown.

bl31/bin/gxtvbb/bl31.img

88.8 KB
Binary file not shown.

bl31/bin/txl/bl31.bin

172 KB
Binary file not shown.

bl31/bin/txl/bl31.img

173 KB
Binary file not shown.

bl31_1.3/bin/axg/bl31.bin

180 KB
Binary file not shown.

bl31_1.3/bin/axg/bl31.img

181 KB
Binary file not shown.

bl31_1.3/bin/g12a/bl31.bin

172 KB
Binary file not shown.

bl31_1.3/bin/g12a/bl31.img

173 KB
Binary file not shown.

bl31_1.3/bin/g12b/bl31.bin

165 KB
Binary file not shown.

bl31_1.3/bin/g12b/bl31.img

165 KB
Binary file not shown.

bl31_1.3/bin/tl1/bl31.bin

161 KB
Binary file not shown.

bl31_1.3/bin/tl1/bl31.img

161 KB
Binary file not shown.

bl31_1.3/bin/txhd/bl31.bin

180 KB
Binary file not shown.

bl31_1.3/bin/txhd/bl31.img

181 KB
Binary file not shown.

bl31_1.3/bin/txlx/bl31.bin

172 KB
Binary file not shown.

bl31_1.3/bin/txlx/bl31.img

173 KB
Binary file not shown.

bl33/.gitignore

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
#
2+
# NOTE! Don't add files that are generated in specific
3+
# subdirectories here. Add them in the ".gitignore" file
4+
# in that subdirectory instead.
5+
#
6+
# Normal rules
7+
#
8+
.*
9+
*.o
10+
*.o.*
11+
*.a
12+
*.s
13+
*.su
14+
*.mod.c
15+
*.i
16+
*.lst
17+
*.order
18+
*.elf
19+
*.swp
20+
*.bin
21+
*.patch
22+
*.cfgtmp
23+
*.diff
24+
*.bl2
25+
*.tpl
26+
*.efuse
27+
*.encrypt
28+
29+
# folder
30+
customer/
31+
32+
# host programs on Cygwin
33+
*.exe
34+
35+
# Build tree
36+
/build-*
37+
38+
#
39+
# Top-level generic files
40+
#
41+
/MLO*
42+
/SPL
43+
/System.map
44+
/u-boot*
45+
/boards.cfg
46+
47+
#
48+
# git files that we don't want to ignore even it they are dot-files
49+
#
50+
!.gitignore
51+
!.mailmap
52+
53+
#
54+
# Generated files
55+
#
56+
/LOG
57+
/spl/
58+
/tpl/
59+
/build/
60+
61+
#
62+
# Generated include files
63+
#
64+
/include/config/
65+
/include/generated/
66+
67+
# stgit generated dirs
68+
patches-*
69+
.stgit-edit.txt
70+
71+
# quilt's files
72+
patches
73+
series
74+
75+
# gdb files
76+
.gdb_history
77+
78+
# cscope files
79+
cscope.*
80+
81+
# tags files
82+
/tags
83+
/ctags
84+
/etags
85+
86+
# gnu global files
87+
GPATH
88+
GRTAGS
89+
GSYMS
90+
GTAGS
91+
92+
*.orig
93+
*~
94+
\#*#

bl33/.mailmap

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# This list is used by git-shortlog to fix a few botched name translations
3+
# in the git archive, either because the author's full name was messed up
4+
# and/or not always written the same way, making contributions from the
5+
# same person appearing not to be so or badly displayed.
6+
#
7+
# This file can be modified by hand or updated by the following command:
8+
# scripts/mailmapper > tmp; mv tmp .mailmap
9+
#
10+
11+
Allen Martin <[email protected]>
12+
Andreas Bießmann <[email protected]>
13+
14+
Dirk Behme <[email protected]>
15+
Fabio Estevam <[email protected]>
16+
Jagannadha Sutradharudu Teki <[email protected]>
17+
Markus Klotzbuecher <[email protected]>
18+
Prabhakar Kushwaha <[email protected]>
19+
Rajeshwari Shinde <[email protected]>
20+
Sandeep Paulraj <[email protected]>
21+
Shaohui Xie <[email protected]>
22+
Stefan Roese <stroese>
23+
Stefano Babic <[email protected]>
24+
TsiChung Liew <[email protected]>
25+
Wolfgang Denk <wdenk>
26+
27+
Łukasz Majewski <[email protected]>

bl33/Kbuild

+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
#
2+
# Kbuild for top-level directory of U-Boot
3+
# This file takes care of the following:
4+
# 1) Generate generic-asm-offsets.h
5+
# 2) Generate asm-offsets.h
6+
7+
#####
8+
# 1) Generate generic-asm-offsets.h
9+
10+
generic-offsets-file := include/generated/generic-asm-offsets.h
11+
12+
always := $(generic-offsets-file)
13+
targets := $(generic-offsets-file) lib/asm-offsets.s
14+
15+
quiet_cmd_generic-offsets = GEN $@
16+
define cmd_generic-offsets
17+
(set -e; \
18+
echo "#ifndef __GENERIC_ASM_OFFSETS_H__"; \
19+
echo "#define __GENERIC_ASM_OFFSETS_H__"; \
20+
echo "/*"; \
21+
echo " * DO NOT MODIFY."; \
22+
echo " *"; \
23+
echo " * This file was generated by Kbuild"; \
24+
echo " *"; \
25+
echo " */"; \
26+
echo ""; \
27+
sed -ne $(sed-y) $<; \
28+
echo ""; \
29+
echo "#endif" ) > $@
30+
endef
31+
32+
# We use internal kbuild rules to avoid the "is up to date" message from make
33+
lib/asm-offsets.s: lib/asm-offsets.c FORCE
34+
$(Q)mkdir -p $(dir $@)
35+
$(call if_changed_dep,cc_s_c)
36+
37+
$(obj)/$(generic-offsets-file): lib/asm-offsets.s Kbuild
38+
$(Q)mkdir -p $(dir $@)
39+
$(call cmd,generic-offsets)
40+
41+
#####
42+
# 2) Generate asm-offsets.h
43+
#
44+
45+
ifneq ($(wildcard $(srctree)/arch/$(ARCH)/lib/asm-offsets.c),)
46+
offsets-file := include/generated/asm-offsets.h
47+
endif
48+
49+
always += $(offsets-file)
50+
targets += $(offsets-file)
51+
targets += arch/$(ARCH)/lib/asm-offsets.s
52+
53+
54+
# Default sed regexp - multiline due to syntax constraints
55+
define sed-y
56+
"s:[[:space:]]*\.ascii[[:space:]]*\"\(.*\)\":\1:; \
57+
/^->/{s:->#\(.*\):/* \1 */:; \
58+
s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \
59+
s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \
60+
s:->::; p;}"
61+
endef
62+
63+
CFLAGS_asm-offsets.o := -DDO_DEPS_ONLY
64+
65+
quiet_cmd_offsets = GEN $@
66+
define cmd_offsets
67+
(set -e; \
68+
echo "#ifndef __ASM_OFFSETS_H__"; \
69+
echo "#define __ASM_OFFSETS_H__"; \
70+
echo "/*"; \
71+
echo " * DO NOT MODIFY."; \
72+
echo " *"; \
73+
echo " * This file was generated by Kbuild"; \
74+
echo " *"; \
75+
echo " */"; \
76+
echo ""; \
77+
sed -ne $(sed-y) $<; \
78+
echo ""; \
79+
echo "#endif" ) > $@
80+
endef
81+
82+
# We use internal kbuild rules to avoid the "is up to date" message from make
83+
arch/$(ARCH)/lib/asm-offsets.s: arch/$(ARCH)/lib/asm-offsets.c FORCE
84+
$(Q)mkdir -p $(dir $@)
85+
$(call if_changed_dep,cc_s_c)
86+
87+
$(obj)/$(offsets-file): arch/$(ARCH)/lib/asm-offsets.s Kbuild
88+
$(call cmd,offsets)

bl33/Kconfig

+160
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
#
2+
# For a description of the syntax of this configuration file,
3+
# see Documentation/kbuild/kconfig-language.txt.
4+
#
5+
mainmenu "U-Boot $UBOOTVERSION Configuration"
6+
7+
config UBOOTVERSION
8+
string
9+
option env="UBOOTVERSION"
10+
11+
config KCONFIG_OBJDIR
12+
string
13+
option env="KCONFIG_OBJDIR"
14+
15+
menu "General setup"
16+
17+
config LOCALVERSION
18+
string "Local version - append to U-Boot release"
19+
depends on !SPL_BUILD
20+
help
21+
Append an extra string to the end of your U-Boot version.
22+
This will show up on your boot log, for example.
23+
The string you set here will be appended after the contents of
24+
any files with a filename matching localversion* in your
25+
object and source tree, in that order. Your total string can
26+
be a maximum of 64 characters.
27+
28+
config LOCALVERSION_AUTO
29+
bool "Automatically append version information to the version string"
30+
depends on !SPL_BUILD
31+
default y
32+
help
33+
This will try to automatically determine if the current tree is a
34+
release tree by looking for git tags that belong to the current
35+
top of tree revision.
36+
37+
A string of the format -gxxxxxxxx will be added to the localversion
38+
if a git-based tree is found. The string generated by this will be
39+
appended after any matching localversion* files, and after the value
40+
set in CONFIG_LOCALVERSION.
41+
42+
(The actual string used here is the first eight characters produced
43+
by running the command:
44+
45+
$ git rev-parse --verify HEAD
46+
47+
which is done within the script "scripts/setlocalversion".)
48+
49+
config CC_OPTIMIZE_FOR_SIZE
50+
bool "Optimize for size"
51+
depends on !SPL_BUILD
52+
default y
53+
help
54+
Enabling this option will pass "-Os" instead of "-O2" to gcc
55+
resulting in a smaller U-Boot image.
56+
57+
This option is enabled by default for U-Boot.
58+
59+
menuconfig EXPERT
60+
bool "Configure standard U-Boot features (expert users)"
61+
help
62+
This option allows certain base U-Boot options and settings
63+
to be disabled or tweaked. This is for specialized
64+
environments which can tolerate a "non-standard" U-Boot.
65+
Only use this if you really know what you are doing.
66+
67+
endmenu # General setup
68+
69+
menu "Boot images"
70+
71+
config SPL_BUILD
72+
bool
73+
depends on $KCONFIG_OBJDIR="spl" || $KCONFIG_OBJDIR="tpl"
74+
default y
75+
76+
config TPL_BUILD
77+
bool
78+
depends on $KCONFIG_OBJDIR="tpl"
79+
default y
80+
81+
config SUPPORT_SPL
82+
bool
83+
84+
config SUPPORT_TPL
85+
bool
86+
87+
config SPL
88+
bool
89+
depends on SUPPORT_SPL
90+
prompt "Enable SPL" if !SPL_BUILD
91+
default y if SPL_BUILD
92+
help
93+
If you want to build SPL as well as the normal image, say Y.
94+
95+
config TPL
96+
bool
97+
depends on SPL && SUPPORT_TPL
98+
prompt "Enable TPL" if !SPL_BUILD
99+
default y if TPL_BUILD
100+
default n
101+
help
102+
If you want to build TPL as well as the normal image and SPL, say Y.
103+
104+
config FIT
105+
bool "Support Flattened Image Tree"
106+
depends on !SPL_BUILD
107+
help
108+
This option allows to boot the new uImage structrure,
109+
Flattened Image Tree. FIT is formally a FDT, which can include
110+
images of various types (kernel, FDT blob, ramdisk, etc.)
111+
in a single blob. To boot this new uImage structure,
112+
pass the the address of the blob to the "bootm" command.
113+
114+
config FIT_VERBOSE
115+
bool "Display verbose messages on FIT boot"
116+
depends on FIT
117+
118+
config FIT_SIGNATURE
119+
bool "Enabel signature verification of FIT uImages"
120+
depends on FIT
121+
help
122+
This option enables signature verification of FIT uImages,
123+
using a hash signed and verified using RSA.
124+
See doc/uImage.FIT/signature.txt for more details.
125+
126+
config SYS_EXTRA_OPTIONS
127+
string "Extra Options (DEPRECATED)"
128+
depends on !SPL_BUILD
129+
help
130+
The old configuration infrastructure (= mkconfig + boards.cfg)
131+
provided the extra options field. If you have something like
132+
"HAS_BAR,BAZ=64", the optional options
133+
#define CONFIG_HAS
134+
#define CONFIG_BAZ 64
135+
will be defined in include/config.h.
136+
This option was prepared for the smooth migration from the old
137+
configuration to Kconfig. Since this option will be removed sometime,
138+
new boards should not use this option.
139+
140+
config SYS_TEXT_BASE
141+
depends on SPARC
142+
hex "Text Base"
143+
help
144+
TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
145+
146+
endmenu # Boot images
147+
148+
source "arch/Kconfig"
149+
150+
source "common/Kconfig"
151+
152+
source "dts/Kconfig"
153+
154+
source "net/Kconfig"
155+
156+
source "drivers/Kconfig"
157+
158+
source "fs/Kconfig"
159+
160+
source "lib/Kconfig"

bl33/Licenses/Exceptions

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
GPL License Exception:
3+
4+
Even though U-Boot in general is covered by the GPL-2.0/GPL-2.0+,
5+
this does *not* cover the so-called "standalone" applications that
6+
use U-Boot services by means of the jump table provided by U-Boot
7+
exactly for this purpose - this is merely considered normal use of
8+
U-Boot, and does *not* fall under the heading of "derived work".
9+
10+
The header files "include/image.h" and "arch/*/include/asm/u-boot.h"
11+
define interfaces to U-Boot. Including these (unmodified) header
12+
files in another file is considered normal use of U-Boot, and does
13+
*not* fall under the heading of "derived work".
14+
-- Wolfgang Denk
15+

0 commit comments

Comments
 (0)