03 Aug, 2018
1 commit
-
[ Upstream commit ece97f3a5fb50cf5f98886fbc63c9665f2bb199d ]
simpleImage generation was broken for some time. This patch is fixing
steps how simpleImage.*.ub file is generated. Steps are objdump of
vmlinux and create .ub.
Also make sure that there is striped elf version with .strip suffix.Signed-off-by: Michal Simek
Signed-off-by: Sasha Levin
Signed-off-by: Greg Kroah-Hartman
13 Feb, 2018
1 commit
-
commit 10b62a2f785ab55857380f0c63d9fa468fd8c676 upstream.
Most of DT files are compiled under arch/*/boot/dts/, but we have some
other directories, like drivers/of/unittest-data/. We often miss to
add gitignore patterns per directory. Since there are no source files
that end with .dtb or .dtb.S, we can ignore the patterns globally.Signed-off-by: Masahiro Yamada
Signed-off-by: Rob Herring
Signed-off-by: Greg Kroah-Hartman
02 Nov, 2017
1 commit
-
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.By default all files without license information are under the default
license of the kernel, which is GPL version 2.Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if
Reviewed-by: Philippe Ombredanne
Reviewed-by: Thomas Gleixner
Signed-off-by: Greg Kroah-Hartman
10 Feb, 2015
1 commit
-
dts/Makefile is called only for simpleImage target
which is causing that *.dtb are not removed.
This patch fix it.Signed-off-by: Michal Simek
07 Apr, 2014
1 commit
-
Preparation step for arch/microblaze/platform/ cleanup.
Signed-off-by: Michal Simek
08 Nov, 2013
1 commit
-
Trivial.
Signed-off-by: Michal Simek
03 Sep, 2013
1 commit
-
Currently the linux.bin target creates both linux.bin and linux.bin.ub.
Add linux.bin.ub as separate target to generate linux.bin.ub.Signed-off-by: Jason Wu
Signed-off-by: Michal Simek
12 Feb, 2013
1 commit
-
Add .gitignore entries for files which are generated during the build process.
Signed-off-by: Lars-Peter Clausen
04 Dec, 2012
1 commit
-
The current rules have the .dtb files build in a different directory
from the .dts files. This patch changes microblaze to use the generic dtb
rule which builds .dtb files in the same directory as the source .dts.This requires moving parts of arch/microblaze/boot/Makefile into newly
created arch/microblaze/boot/dts/Makefile, and updating
arch/microblaze/Makefile to call the new Makefile. linked_dtb.S is also
moved into boot/dts/ since it's used by rules that were moved.Cc: Michal Simek
Cc: microblaze-uclinux@itee.uq.edu.au
Signed-off-by: Stephen Warren
Signed-off-by: Rob Herring
31 Mar, 2012
1 commit
-
Pull kbuild changes from Michal Marek:
- Unification of cmd_uimage among archs that use it
- make headers_check tries harder before reporting a missing
include
- kbuild portability fix for shells that do not support echo -e
- make clean descends into samples/
- setlocalversion grep fix
- modpost typo fix
- dtc warnings fix* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
setlocalversion: Use "grep -q" instead of piping output to "read dummy"
modpost: fix ALL_INIT_DATA_SECTIONS
Kbuild: centralize MKIMAGE and cmd_uimage definitions
headers_check: recursively search for linux/types.h inclusion
scripts/Kbuild.include: Fix portability problem of "echo -e"
scripts: dtc: fix compile warnings
kbuild: clean up samples directory
kbuild: disable -Wmissing-field-initializers for W=1
26 Mar, 2012
1 commit
-
All ARCHs have the same definition of MKIMAGE. Move it to Makefile.lib
to avoid duplication.All ARCHs have similar definitions of cmd_uimage. Place a sufficiently
parameterized version in Makefile.lib to avoid duplication.Signed-off-by: Stephen Warren
Acked-by: Nicolas Pitre
Tested-by: Mike Frysinger [Blackfin]
Tested-by: Michal Simek [Microblaze]
Tested-by: Guan Xuetao [unicore32]
Signed-off-by: Michal Marek
19 Mar, 2012
1 commit
-
When building with latest binutils, vmlinux includes
some sections which need to be stripped out when building
the binary image.Signed-off-by: Michal Simek
15 Jan, 2012
1 commit
-
This hooks dtc into Kbuild's dependency system.
Thus, for example, "make dtbs" will rebuild tegra-harmony.dtb if only
tegra20.dtsi has changed yet tegra-harmony.dts has not. The previous
lack of this feature recently caused me to have very confusing "git
bisect" results.For ARM, it's obvious what to add to $(targets). I'm not familiar enough
with other architectures to know what to add there. Powerpc appears to
already add various .dtb files into $(targets), but the other archs may
need something added to $(targets) to work.Signed-off-by: Stephen Warren
Acked-by: Shawn Guo
[mmarek: Dropped arch/c6x part to avoid merging commits from the middle
of the merge window]
Signed-off-by: Michal Marek
24 Dec, 2010
1 commit
-
Modify arch/powerpc/boot/Makefile to use dtc command in
scripts/Makefile.libSigned-off-by: Dirk Brandewie
Signed-off-by: Grant Likely
04 Aug, 2010
2 commits
-
_start symbol stores physical address where kernel is.
Gdb uses this symbol for their purpose that's why
we have to rename it.Signed-off-by: Michal Simek
-
Remove spaces and use tabs instead.
Signed-off-by: Michal Simek
01 Apr, 2010
2 commits
-
If CONFIG_INITRAMFS_SOURCE is set, "scripts/gen_initramfs_list.sh"
checks if the cpio image exists. Remove the duplicate check from the
Makefile.Remove the "clean-kernel" variable which is unused in the Makefile and
is not used by the Kbuild.Signed-off-by: Arun Bhanu
Signed-off-by: Michal Simek -
'make clean' does not to delete the following build generated file:
arch/microblaze/boot/linux.bin.ub'make mrproper' does not to delete the following build generated files:
arch/microblaze/boot/simpleImage.*Fix the Makefile to delete these build generated files.
See [1] for a discussion on why simpleImage.* files are deleted with 'make
mrproper' and not with 'make clean'.
[1] http://lkml.org/lkml/2010/3/12/96Signed-off-by: Arun Bhanu
Signed-off-by: Michal Simek
14 Dec, 2009
1 commit
-
Two version are generated.
linux.bin.ub which is created from linux.bin file
and
simpleImage..ub which is created from stripped simpleImage. fileLoad address and entry point is for microblaze first instruction
which is CONFIG_KERNEL_BASE_ADDR variable.There is possible for simpleImage format parse _start symbol too.
simpleImage. is still stripped elf file
I cleared simpleImage..unstrip file because there are so big.
Signed-off-by: Michal Simek
24 Sep, 2009
1 commit
-
Instead of remembering to specify DTB= on the make commandline, this commit
allows the much friendlier make simpleImage.
where .dts is expected to be found in arch/microblaze/boot/dts/
The resulting vmlinux, with the compiled DTS linked in, will be copied to
boot/simpleImage.This mirrors the same functionality as on PowerPC,
albeit achieving it in a slightly different way.+ strip simpleImage file
The size of output file is very similar to linux.bin.vmlinux - full elf without fdt blob
simpleImage..unstrip - full elf with fdt blob
simpleImage. - stripped elf with fdt blobAdd symlink to generic system.dts in platform folder
Signed-off-by: John Williams
Signed-off-by: Michal Simek
26 May, 2009
1 commit
-
Signed-off-by: Michal Simek
27 Mar, 2009
1 commit
-
Reviewed-by: Ingo Molnar
Acked-by: Randy Dunlap
Acked-by: John Linn
Acked-by: Stephen Neuendorffer
Acked-by: John Williams
Signed-off-by: Michal Simek