| #
ab70714e |
| 31-Oct-2018 |
Kever Yang <kever.yang@rock-chips.com> |
Makefile: clean img file
Some img file is generate by local script, like uboot.img, trust,img, remove them in clean command.
Change-Id: Ie724772dc10652c96b12cc2312ccbfce4231a9bb Signed-off-by: Keve
Makefile: clean img file
Some img file is generate by local script, like uboot.img, trust,img, remove them in clean command.
Change-Id: Ie724772dc10652c96b12cc2312ccbfce4231a9bb Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
328b7e77 |
| 10-May-2018 |
Andy Yan <andy.yan@rock-chips.com> |
Makefile: clean generated bin file when run make clean
We may generate loader bin file like rkxxx_loader_xxx.bin by make.sh. It's better to clean it when run make clean command.
Change-Id: Ic5347f1
Makefile: clean generated bin file when run make clean
We may generate loader bin file like rkxxx_loader_xxx.bin by make.sh. It's better to clean it when run make clean command.
Change-Id: Ic5347f1fac74c2d38c2922c7e704d892da0dce1f Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
show more ...
|
| #
76ba1d8a |
| 11-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
Makefile: enable -Werror option
Enable warning treat as error cflags to avoid further compile warning.
Change-Id: Ibfd959b4afa4724c4d6920985f21e55b959a0ed0 Signed-off-by: Kever Yang <kever.yang@roc
Makefile: enable -Werror option
Enable warning treat as error cflags to avoid further compile warning.
Change-Id: Ibfd959b4afa4724c4d6920985f21e55b959a0ed0 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
87ea017b |
| 25-Jan-2018 |
Kever Yang <kever.yang@rock-chips.com> |
Makefile: use dt-spl.dtb when using kernel dtb
We only need a simple dtb for pre-relocate and then we convert to use kernel dtb.
Change-Id: I06c2b5303a89cf229da44f3edce4f698299aeef8 Signed-off-by:
Makefile: use dt-spl.dtb when using kernel dtb
We only need a simple dtb for pre-relocate and then we convert to use kernel dtb.
Change-Id: I06c2b5303a89cf229da44f3edce4f698299aeef8 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
47963740 |
| 12-Nov-2017 |
M. Vefa Bicakci <m.v.b@runbox.com> |
UPSTREAM: Makefile: Correct SPL/TPL/DTB build race condition
When building on a multi-core machine for an SPL-enabled board that also uses CONFIG_OF_EMBED, the following error can be encountered due
UPSTREAM: Makefile: Correct SPL/TPL/DTB build race condition
When building on a multi-core machine for an SPL-enabled board that also uses CONFIG_OF_EMBED, the following error can be encountered due to a race condition:
make[3]: *** No rule to make target 'spl/dts/dt.dtb.o', needed by 'spl/dts/built-in.o'. Stop. ../scripts/Makefile.spl:364: recipe for target 'spl/dts' failed make[2]: *** [spl/dts] Error 2 make[2]: *** Waiting for unfinished jobs....
A reliable way to trigger this race condition is to add "sleep 60" to the end of the "arch-dtbs" rule's recipe in "dts/Makefile" and to build U-Boot against a board which uses the CONFIG_OF_EMBED and CONFIG_SPL options using "make -j8" or a similar command.
This commit corrects this race condition via the use of CONFIG_OF_EMBED in the same way that commit 3c00a2c8b5e2 ("Makefile: Correct dependency race condition with TPL") and commit 054b3a1e80fc ("dm: Makefile: Build of-platdata before SPL") use CONFIG_OF_SEPARATE.
Change-Id: I7177cf1b16cbdc1e071f93956e45472188dc2390 Signed-off-by: M. Vefa Bicakci <m.v.b@runbox.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit dd2081a8e46877df5166fcd5af7f26c74a799317)
show more ...
|
| #
ec821af4 |
| 17-Oct-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: pylibfdt: compile pylibfdt only when dtoc/binman is necessary
Currently, pylibfdt is always compiled if swig is installed on your machine. It is really annoying because most of targets (e
UPSTREAM: pylibfdt: compile pylibfdt only when dtoc/binman is necessary
Currently, pylibfdt is always compiled if swig is installed on your machine. It is really annoying because most of targets (excepts x86, sunxi, rockchip) do not use dtoc or binman.
"checkbinman" and "checkdtoc" are wrong. It is odd that the final build stage checks if we have built necessary tools. If your platform depends on dtoc/binman, you must be able to build pylibfdt. If swig is not installed, it should fail immediately.
I added PYLIBFDT, DTOC, BINMAN entries to Kconfig. They should be property select:ed by platforms that need them. Kbuild will descend into scripts/dtc/pylibfdt/ only when CONFIG_PYLIBFDT is enabled.
Change-Id: I56c5daf252e28d23fcaea0bc2d327a34de60cdcf Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit d6a0c78a4efb1353f4ec6f6c59c0771298510f58)
show more ...
|
| #
81536652 |
| 17-Oct-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
UPSTREAM: pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile
The pylibfdt is used by dtoc (and, indirectly by binman), but there is no reason why it must be generated in the tools
UPSTREAM: pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile
The pylibfdt is used by dtoc (and, indirectly by binman), but there is no reason why it must be generated in the tools/ directory.
Recently, U-Boot switched over to the bundled DTC, and the directory structure under scripts/dtc/ now mirrors the upstream DTC project. So, scripts/dtc/pylibfdt is the best location.
I also rewrote the Makefile in a cleaner Kbuild style.
The scripts from the upstream have been moved as follows:
lib/libfdt/pylibfdt/setup.py -> scripts/dtc/pylibfdt/setup.py lib/libfdt/pylibfdt/libfdt.i -> scripts/dtc/pylibfdt/libfdt.i_shipped
The .i_shipped is coped to .i during building because the .i must be located in the objtree when we build it out of tree.
Change-Id: I48233cbae93794809397b7160234469f66fa11dc Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 15b97f5c5e6d88e0560c6928f3acd01c999a494d)
show more ...
|
| #
2bbcffb1 |
| 15-Sep-2017 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
UPSTREAM: dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig
CONFIG_FIT_EMBED might be confused with CONFIG_OF_EMBED, rename it MULTI_DTB_FIT as it is able to get a DTB from a F
UPSTREAM: dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig
CONFIG_FIT_EMBED might be confused with CONFIG_OF_EMBED, rename it MULTI_DTB_FIT as it is able to get a DTB from a FIT image containing multiple DTBs. Also move the option to the Kconfig dedicated to the DTS options and create a README for this feature.
Change-Id: Ide55c474339db3ccd5e20499c54c8bb41fe3a2c9 Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 11955590a284ecb75892aad5f1174ca1b94a709b)
show more ...
|
| #
5821df21 |
| 23-Sep-2017 |
Tom Rini <trini@konsulko.com> |
UPSTREAM: dtc: Switch to building and using our own dtc unless provided
This makes us act like the Linux Kernel does and allow for dtc to be provided externally but otherwise we use the version of d
UPSTREAM: dtc: Switch to building and using our own dtc unless provided
This makes us act like the Linux Kernel does and allow for dtc to be provided externally but otherwise we use the version of dtc that is included in the sources. This in turn means that we can drop the checkdtc logic. We select DTC in the cases where we will need the dtc tool provided.
Change-Id: I2b396c725c0a89a81f0cf8397367a7d41b70b641 Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 36dd5f1b8abcd0aa5f8490b3ef1e4e7ecce2eb8c)
show more ...
|
| #
bb890a57 |
| 09-Sep-2017 |
Rob Clark <robdclark@gmail.com> |
UPSTREAM: kbuild: Enable -fshort-wchar
EFI_LOADER really wants UTF-16 strings (ie. %ls and L"string" are 16bit chars instead of 32bit chars). But rather than enabling -fshort-wchar conditionally if
UPSTREAM: kbuild: Enable -fshort-wchar
EFI_LOADER really wants UTF-16 strings (ie. %ls and L"string" are 16bit chars instead of 32bit chars). But rather than enabling -fshort-wchar conditionally if EFI_LOADER is enabled, it was deemed preferrable to globally switch.
Change-Id: I6cf927d1bce3a9120cd93ee72a9a578b87d8cfe0 Signed-off-by: Rob Clark <robdclark@gmail.com> Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 4a85663ec7eddd955d22f1b0f34a9708eac82314)
show more ...
|
| #
c98ac348 |
| 11-Sep-2017 |
Tom Rini <trini@konsulko.com> |
Prepare v2017.09
Signed-off-by: Tom Rini <trini@konsulko.com>
|
| #
84a42069 |
| 05-Sep-2017 |
Simon Glass <sjg@chromium.org> |
env: Add 'envtools' target to 'make help'
The target is not currently mentioned anywhere. Add it to the help so people can find it.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
57332957 |
| 05-Sep-2017 |
Simon Glass <sjg@chromium.org> |
env: Fix operation of 'make environ'
This was broken by the recent environment refactoring. Specifically:
$ make environ scripts/Makefile.build:59: tools/environ/Makefile: No such file or director
env: Fix operation of 'make environ'
This was broken by the recent environment refactoring. Specifically:
$ make environ scripts/Makefile.build:59: tools/environ/Makefile: No such file or directory make[1]: *** No rule to make target 'tools/environ/Makefile'. Stop. make: *** [Makefile:1469: environ] Error 2
Fix this by updating the Makefile and adjusting the #include filesnames in two C files.
Fixes: ec74f5f (Makefile: Rename 'env' target to 'environ') Reported-by: Måns Rullgård <mans@mansr.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
2d3229be |
| 05-Sep-2017 |
Tom Rini <trini@konsulko.com> |
env: Fix out of tree building of tools-all
With the move of environment code from common/ to env/ a number of changes needed to be made to various make targets. We missed updating some of the files
env: Fix out of tree building of tools-all
With the move of environment code from common/ to env/ a number of changes needed to be made to various make targets. We missed updating some of the files required for out of tree builds of the tools. Correct the 'environ' target to know that we need to work under tools/env/ still (not tools/environ/) and then update the wrappers in env_attr.c and env_flags.c to point to the new correct file.
Reported-by: Peter Robinson <pbrobinson@gmail.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
0e88cdd1 |
| 04-Sep-2017 |
Tom Rini <trini@konsulko.com> |
Prepare v2017.09-rc4
Signed-off-by: Tom Rini <trini@konsulko.com>
|
| #
c92ccdd4 |
| 29-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Prepare v2017.09-rc3
Signed-off-by: Tom Rini <trini@konsulko.com>
|
| #
3809e302 |
| 14-Aug-2017 |
Clément Bœsch <u@pkh.me> |
Makefile: honor PYTHON configuration properly
On some systems `python` is `python3` (for instance, Archlinux). The `PYTHON` variable can be used to point to `python2` to have a successful build.
Th
Makefile: honor PYTHON configuration properly
On some systems `python` is `python3` (for instance, Archlinux). The `PYTHON` variable can be used to point to `python2` to have a successful build.
The use of `PYTHON` is currently limited in the Makefile and needs to be extended in other places:
First, pylibfdt is required to be a Python 2 binding (binman imports pylibfdt and is only compatible Python 2), so its setup.py needs to be called accordingly. An alternative would be to change the libfdt setup.py shebang to python2, but the binding is actually portable. Also, it would break on system where there is no such thing as `python2`.
Secondly, the libfdt import checks need to be done against Python 2 as well since the Python 2 compiled modules (in this case _libdft.so) can not be imported from Python 3.
Note on the libfdt imports: "@if ! PYTHONPATH=tools $(PYTHON) -c 'import libfdt'; then..." is probably simpler than the currently sub-optimal pipe. Reviewed-by: Jonathan Gray <jsg@jsg.id.au>
show more ...
|
| #
0649cd0d |
| 03-Aug-2017 |
Simon Glass <sjg@chromium.org> |
Move environment files from common/ to env/
About a quarter of the files in common/ relate to the environment. It seems better to put these into their own subdirectory and remove the prefix.
Signed
Move environment files from common/ to env/
About a quarter of the files in common/ relate to the environment. It seems better to put these into their own subdirectory and remove the prefix.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
ec74f5f9 |
| 03-Aug-2017 |
Simon Glass <sjg@chromium.org> |
Makefile: Rename 'env' target to 'environ'
This target stops us using 'env' as a subdirectory. It is not mentioned in the help so seems to be an internal target. Rename it.
Signed-off-by: Simon Gla
Makefile: Rename 'env' target to 'environ'
This target stops us using 'env' as a subdirectory. It is not mentioned in the help so seems to be an internal target. Rename it.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
2d3c4ae3 |
| 15-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Prepare v2017.09-rc2
Signed-off-by: Tom Rini <trini@konsulko.com>
|
| #
c1b62ba9 |
| 14-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-rockchip
|
| #
f291ce12 |
| 29-Jun-2017 |
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
spl: dm: Kconfig: split OF_CONTROL and OF_PLATDATA between SPL and TPL
For the RK3368, we want to use OF_PLATDATA in TPL, but full OF_CONTROL in SPL: this requires the introduction of a new family o
spl: dm: Kconfig: split OF_CONTROL and OF_PLATDATA between SPL and TPL
For the RK3368, we want to use OF_PLATDATA in TPL, but full OF_CONTROL in SPL: this requires the introduction of a new family of configuration options to decouple SPL_OF_CONTROL and SPL_OF_PLATDATA from TPL.
Consequently, Makefile.spl needs to be adjusted to test for these configuration items through the $(SPL_TPL_) macro instead of hard-coding the SPL variant.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
6364a5d4 |
| 01-Aug-2017 |
Tom Rini <trini@konsulko.com> |
Prepare v2017.09-rc1
Signed-off-by: Tom Rini <trini@konsulko.com>
|
| #
e7aa9c29 |
| 21-Jul-2017 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
Makefile: Export build date as integer
In some cases we would need build date as integer value. Export U_BOOT_BUILD_DATE as %Y%m%d integer value.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@l
Makefile: Export build date as integer
In some cases we would need build date as integer value. Export U_BOOT_BUILD_DATE as %Y%m%d integer value.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| #
0ddc9c17 |
| 26-Jul-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-mips
|