14 Jan, 2015
2 commits
-
We are removing bunch of non-generic boards these days.
Updating doc/README.scrapyard is a really tedious task, but it can
be automated. I hope this tool will make our life easier.Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass -
The CONFIG_UART0_PORT_F option has been supported since
http://git.denx.de/?p=u-boot.git;a=commit;h=ff2b47f6a9cc1025This option is primarily useful only for low level u-boot debugging
on tablets, where normal UART0 is difficult to access and requires
device disassembly and/or soldering.This patch now allows it to be selected from menuconfig. A dependency on
SPL_FEL is added because u-boot does not support booting from NAND yet
and also booting from SD card is impossible when a MicroSD breakout board
is plugged into the SD slot.Additionally a compilation problem is fixed:
common/spl/built-in.o: In function `spl_mmc_load_image':
/tmp/u-boot-sunxi/common/spl/spl_mmc.c:94: undefined reference to `mmc_initialize'
/tmp/u-boot-sunxi/common/spl/spl_mmc.c:96: undefined reference to `find_mmc_device'
/tmp/u-boot-sunxi/common/spl/spl_mmc.c:104: undefined reference to `mmc_init'
scripts/Makefile.spl:206: recipe for target 'spl/u-boot-spl' failedSigned-off-by: Siarhei Siamashka
Acked-by: Hans de Goede
Signed-off-by: Hans de Goede
09 Jan, 2015
1 commit
-
Commit 73c25753 fixed the common issue that binutil packages (tool/organization
that packaged or built the bin-utils) are included in brackets and this may
falsely be recognized as a version. However, some tools do not provide a
'package' and previously we add the 'Gnu assembler..' to the version.Strip out the '(package version text)' and then look for a ##.## string.
Signed-off-by: Bill Pringlemeir
Tested-by: Masahiro Yamada
Tested-by: Hans de Goede
30 Dec, 2014
1 commit
-
The current binutils-version.sh expects the version string at the end
of the first line. It turned out to not work with Linaro toolchain:
It has "Linaro 2014.09" at the back.To fix this issue, let's parse the word right after the close
parenthesis.Signed-off-by: Masahiro Yamada
Reported-by: York Sun
Acked-by: Dirk Behme
08 Dec, 2014
3 commits
-
Warning:
In file included from scripts/kconfig/zconf.tab.c:2537:0:
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jump->offset = strlen(r->s);Simplifies the test logic because (head && local) means (jump != 0)
and makes GCC happy when checking if the jump pointer was initialized.Signed-off-by: Peter Kümmel
Signed-off-by: Michal Marek
[ imported from Linux Kernel, commit 2d5603060967 ]
Signed-off-by: Masahiro Yamada -
Introduce a Makefile under arch/$ARCH/ and include it in the
top Makefile (similar to Linux kernel). This allows further
refactoringi like moving architecture-specific code out of global
makefiles, deprecating config variables (CPU, CPUDIR, SOC) or
deprecating arch/$ARCH/config.mk.In contrary to Linux kernel, U-Boot defines the ARCH variable by
Kconfig, thus the arch Makefile can only included conditionally
after the top config.mk.Signed-off-by: Daniel Schwierzeck
Acked-by: Masahiro Yamada -
get_maintainer.pl always fails with following message:
./scripts/get_maintainer.pl: The current directory does not appear to be a linux kernel source tree.This was caused by commit:
commit 548b310c68ac99a0330d8b56c797c09ff0742d1e
Author: Masahiro Yamada
Date: Thu Oct 30 15:50:15 2014 +0900Remove the CREDITS file
This file is not maintained these days.
We use MAINTAINERS for the maintainership of the supported boards.
For dead boards, we have some clues in doc/README.scrapyard and
also imperishable history in git-log.Remove CREDITS from source tree detection to fix this.
Signed-off-by: Daniel Schwierzeck
Acked-by: Simon Glass
25 Nov, 2014
2 commits
-
Device trees must be aligned to a 4-byte boundary. This was dropped in the
Kbuild conversion. Bring it back, and use 16-byte alignment for good
measure.Signed-off-by: Simon Glass
-
Conflicts:
drivers/serial/serial-uclass.cSigned-off-by: Tom Rini
23 Nov, 2014
2 commits
-
SPL should not reference CONFIG_CMD_NAND to decide whether or not
it should build drivers/mtd/nand. CONFIG_CMD_NAND should be only
used to select the NAND utility command on the command parser.Signed-off-by: Masahiro Yamada
-
Some CPUs of some architectures have SOC directories.
At present, the build system directly descends into SOC directories
from the top Makefile, but it should generally descend into each
directory from its parent directory.Signed-off-by: Masahiro Yamada
21 Nov, 2014
1 commit
-
When enabled, set up driver model for SPL. This allows SPL to use the same
drivers as the main U-Boot.Signed-off-by: Simon Glass
Acked-by: Tom Rini
17 Nov, 2014
1 commit
-
generate the boot.bin file for all atmel SoC (arm920, arm926, armv7)
Signed-off-by: Heiko Schocher
Reviewed-by: Andreas Bießmann
Reviewed-by: Masahiro Yamada
[fix subject]
Signed-off-by: Andreas Bießmann
13 Nov, 2014
1 commit
-
The Makefiles call the respective interpreter explicitly, but this makes
it easier to use the scripts manually.(This commit follows commit 06ed5c2bfaca of Linux Kernel)
Signed-off-by: Michal Marek
Signed-off-by: Masahiro Yamada
08 Nov, 2014
5 commits
-
This commit imports some updates in misc scripts from Linux 3.18-rc1.
[1] commit cbb4d3e6510b99522719c5ef0 by Horia Geanta
scripts/kernel-doc: handle object-like macros[2] commit 164f0d2efaaef83 by Michal Marek
kbuild: Fix handling of backslashes in *.cmd files[3] commit 270a00963cd367214e by Randy Dunlap
scripts/kernel-doc: recognize __meminit[4] commit a4954fd7724c0f55361eb5 by Masahiro Yamada
kbuild: remove obj-n and lib-n handling[5] commit 5b2389b45d1a9c12b9f by Masahiro Yamada
kbuild: simplify build, clean, modbuiltin shorthandsSigned-off-by: Horia Geanta
Signed-off-by: Michal Marek
Signed-off-by: Randy Dunlap
Signed-off-by: Masahiro Yamada -
This commit imports Kconfig updates from Linux 3.18-rc1.
'kvmconfig' and 'tinyconfig' help message have been commented out
since they are unavailable at least now; in the future perhaps
we can implement 'tinyconfig' to disable most of CONFIG_CMD_* to
create a very small U-Boot image.[1] commit 3aaefce10351 by Josh Triplett
x86, platform, kconfig: move kvmconfig functionality to a helper[2] commit 0da1d4a0b951 by Josh Triplett
x86: Add "make tinyconfig" to configure the tiniest possible kernel[3] commit c40724d3f381 by Brian Norris
kconfig: lxdialog: fix spelling[4] commit 7285996aa000 by Brian Norris
kconfig: nconfig: fix multi-byte UTF handlingSigned-off-by: Josh Triplett
Signed-off-by: Brian Norris
Signed-off-by: Masahiro Yamada -
Since Linux 3.15, relative path feature and related fixes,
cleanups have been merged to the top Makefile.The relative path feature looks stable enough, so let's import it
to U-Boot along with various cleanups.Commits imported from Linux (some need adjustment) are:
[1] commit 7e1c04779efd by Michal Marek
kbuild: Use relative path for $(objtree)[2] commit 890676c65d69 by Michal Marek
kbuild: Use relative path when building in the source tree[3] commit 9da0763bdd82 by Michal Marek
kbuild: Use relative path when building in a subdir of the source tree[4] commit c2e28dc975ea by Michal Marek
kbuild: Print the name of the build directory[5] commit 066b7ed95580 by Michal Marek
kbuild: Do not print the build directory with make -s[6] commit 3f1d9a6cec01 by Michal Marek
kbuild: make -s should be used with kernelrelease/kernelversion/image_name[7] commit 7ff525712acf by Masahiro Yamada
kbuild: fake the "Entering directory ..." message more simply[8] commit 745a254322c8 by Masahiro Yamada
kbuild: use $(Q) for sub-make target[9] commit aa55c8e2f7a3 by Masahiro Yamada
kbuild: handle C=... and M=... after entering into build directory[10] commit ab7474ea5361 by Borislav Petkov
Kbuild: Ignore GREP_OPTIONS env variableTo use relative path feature, tools/Makefile and scripts/Makefile.autoconf
must be tweaked.Signed-off-by: Michal Marek
Signed-off-by: Borislav Petkov
Signed-off-by: Masahiro Yamada -
Since Linux 3.18-rc1, Kbuild is able to handle multi-objs
dependency correctly, which also allows us futher cleanups
of some makefiles.This commit imports those commits:
[1] commit c8589d1e9e01 by Masahiro Yamada
kbuild: handle multi-objs dependency appropriately[2] commit 97e3226e6e98 by Masahiro Yamada
kbuild: handle the dependency of multi-objs hostprogs appropriately[3] commit 022af62d0190 by Masahiro Yamada
kbuild: refactor script/kconfig/Makefile[4] commit 221ecca6cafe by Masahiro Yamada
kbuild: remove redundant clean-files from scripts/kconfig/MakefileSigned-off-by: Masahiro Yamada
-
This commit imports updates of scripts/Makefile.host
from Linux 3.18-rc1.Imported commits are:
[1] commit d8d9efe22709 by Masahiro Yamada
kbuild: fix a typo in scripts/Makefile.host[2] commit edb950c17de0 by Masahiro Yamada
kbuild: fix a bug of C++ host program handling[3] commit 62e2210798ed by Masahiro Yamada
kbuild: drop shared library support from Makefile.host[4] commit 663935593915 by Masahiro Yamada
kbuild: clean up scripts/Makefile.host[5] commit 1791ff7179f6 by Masahiro Yamada
kbuild: clean-up and bug fix of scripts/Makefile.hostSigned-off-by: Masahiro Yamada
05 Nov, 2014
2 commits
-
$ make BOARD_felconfig
is more convenient than
$ make BOARD_defconfig
$ echo CONFIG_SPL_FEL=y >> .config
$ echo CONFIG_SPL_FEL=y >> spl/.configSigned-off-by: Ian Campbell
Reviewed-by: Hans de Goede
Signed-off-by: Hans de Goede -
These lines originate in Linux; it looks like Linux folks chose to
hide bunch of warnings reported by clang rather than fixing C code.In U-boot, warnings are being fixed thanks to Jeroen's great efforts.
Let's stop suppressing clang warnings.Signed-off-by: Masahiro Yamada
Cc: Jeroen Hofstee
28 Oct, 2014
1 commit
-
Signed-off-by: Robert P. J. Day
24 Oct, 2014
2 commits
-
When spl/.config is updated by "make spl/menuconfig" or friends,
spl/include/config/auto.conf, spl/include/generated/autoconf.h
and some other files must be updated by "make silentoldconfig".There is no hook for SPL in the top Makefile, so this commit
touches .config when spl/.config is updated to invoke silentoldconfig.
Likewise for TPL.Signed-off-by: Masahiro Yamada
-
cmd_u-boot-spl includes $(PLATFORM_LIBS) which changes
when CONFIG_USE_PRIVATE_GCC is updated. The u-boot-spl image
should be re-linked if any prerequisite is newer than it
or the command line has changed.
$(call, if_changed,...) should be used instead of $(call cmd,...).Signed-off-by: Masahiro Yamada
10 Oct, 2014
3 commits
-
Fix the spelling of "configs".
Signed-off-by: York Sun
CC: Masahiro Yamada
Acked-by: Masahiro Yamada -
A SPL/TPL enabled target would was not recognized as
such by BSD sed, since it relies on a GNU extension.
Instead of or-ing just spell out both matches.Cc: Masahiro Yamada
Signed-off-by: Jeroen Hofstee
Acked-by: Masahiro Yamada -
In some cases, the last lines of SPL or TPL are not output to a file.
The entries remaining in the "unmatched" variable must be flushed.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
25 Sep, 2014
2 commits
-
Pick the following commit from Linux kernel:
commit 66cb4ee0e52ca721f609fd5eec16187189ae5fda
Author: Joe Perches
Date: Wed Sep 10 09:40:47 2014 +1000checkpatch: remove unnecessary + after {8,8}
There's a useless "+" use that needs to be removed as perl 5.20 emits a
"Useless use of greediness modifier '+'" message each time it's hit.Signed-off-by: Marek Vasut
Cc: Tom Rini -
Now config_cmd_defaults.h is empty so it can be deleted safely.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
17 Sep, 2014
6 commits
-
For the SPL configuration, "make /" is used.
Here,
is either "spl" or "tpl"
is one of "config", "menuconfig", "xconfig", etc.This commit adds two checks:
[1] If is given an unsupported subimage, the configuration
should error out like this:$ make qpl/menuconfig
***
*** "make qpl/menuconfig" is not supported.
***[2] Make sure that "CONFIG_SPL" is enabled in the ".config" before
running "make spl/menuconfig. Otherwise, the SPL image
is not built at all. Having "spl/.config" makes no sense.
In such a case, the configuration should exit with a message:$ make spl/menuconfig
***
*** Create ".config" with "CONFIG_SPL" enabled
*** before "make spl/menuconfig".
***Signed-off-by: Masahiro Yamada
Suggested-by: Simon Glass -
This commit is a backport from Linux Kernel,
commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e,
written by me.Signed-off-by: Masahiro Yamada
-
When a non-existing defconfig is specified,
display an easy-to-understand message
(fake the error message on Linux Kernel):$ make foo_defconfig
***
*** Can't find default configuration "confis/foo_defconfig"!
***Signed-off-by: Masahiro Yamada
Acked-by: Stephen Warren -
Since 3ff291f371fa9858426774f3732924bacb61ed1c
(kconfig: convert Kconfig helper script into a shell script),
"make savedefconfig" of TPL boards has not been working.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass -
Commit 3ff291f371fa9858426774f3732924bacb61ed1c
(kconfig: convert Kconfig helper script into a shell script)
introduced another regression.Shell usually handles whitespaces as separators,
so "make saveconfig" outputs# CONFIG_FOO is not set
into:
#
CONFIG_FOO
is
not
setWhitespaces should not be treated as separators here.
Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass -
Commit 3ff291f371fa9858426774f3732924bacb61ed1c
(kconfig: convert Kconfig helper script into a shell script)
introduced a minor regression.make alldefconfig; make savedefconfig
should create an empty 'defconfig'.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
09 Sep, 2014
1 commit
-
By default clang will echo a warning if a warning option is
unknown. Turning warnings into errors when polling for options
also catches such cases and prevents passing arguments to the
compiler which cause warnings.cc: Masahiro Yamada
cc: Tom Rini
Signed-off-by: Jeroen Hofstee
29 Aug, 2014
2 commits
-
Commit 3ff291f371fa9858426774f3732924bacb61ed1c
(kconfig: convert Kconfig helper script into a shell script)
restored "_config" target for backward compatibility.
It should be documented.Signed-off-by: Masahiro Yamada
Reviewed-by: Stephen Warren -
Now we have CONFIG_LOCALVERSION and CONFIG_LOCALVERSION_AUTO
in Kconfig so we can use scripts/setlocalversion without
any adjustment. Copy it from Linux 3.16 as is.Signed-off-by: Masahiro Yamada
22 Aug, 2014
2 commits
-
Commit 51148790 added scripts/multiconfig.py written in Python 2
to adjust Kconfig for U-Boot.It has been hard for Python 3 users because Python 2 and Python 3
are not compatible with each other.We are not happy about adding a new host tool dependency
(in this case, Python version dependency) for the core build process.
After some discussion, we decided to use only basic tools.The script may get a bit more unreadable by shell scripting,
but we believe it is worthwhile.In addition, this commit revives "_config" target that is
equivalent to "_defconfig" for backwards compatibility.
It is annoying to adjust various projects which use U-Boot.Signed-off-by: Masahiro Yamada
Suggested-by: Igor Grinberg
Tested-by: Igor Grinberg
Acked-by: Simon Glass
Cc: Tom Rini
Cc: Jeroen Hofstee
Cc: Stephen Warren -
Signed-off-by: Masahiro Yamada