| #
c48a3a80 |
| 28-May-2020 |
Joseph Chen <chenjh@rock-chips.com> |
dts: Kconfig: introduce U-Boot list of device tree properties to drop
Since kernel dtb feature is enabled, U-Boot prop use the same device tree as SPL. At sometimes there is different require for li
dts: Kconfig: introduce U-Boot list of device tree properties to drop
Since kernel dtb feature is enabled, U-Boot prop use the same device tree as SPL. At sometimes there is different require for list of device tree properties to drop for U-Boot prop, so providing this configure which has higher priority, that if it is defined empty string, fallback to use OF_SPL_REMOVE_PROPS.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I83b97226c01c320d3a51a6cb0b181016dc5c0067
show more ...
|
| #
4a2b8db4 |
| 19-May-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: add usbplug support
- disable some message - add "usbplug.bin" generation - add minimum usbplug dtb support - add individual board_init_r() init sequence.
Signed-off-by: Joseph Chen <chenjh
common: add usbplug support
- disable some message - add "usbplug.bin" generation - add minimum usbplug dtb support - add individual board_init_r() init sequence.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If48ee49247fca6108db3a1fbab3b403241b3a8eb
show more ...
|
| #
1a4f6af8 |
| 02-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Merge branch 'next-dev' into thunder-boot
|
| #
4447bf16 |
| 17-Feb-2020 |
Joseph Chen <chenjh@rock-chips.com> |
dts: Makefile: support provide a minimum SPL DTB
Some boards need a SPL DTB as smaller as possible to save dm scan time and space. It provides a SPL DTB only include the node with property "u-boot,d
dts: Makefile: support provide a minimum SPL DTB
Some boards need a SPL DTB as smaller as possible to save dm scan time and space. It provides a SPL DTB only include the node with property "u-boot,dm-spl". The property "u-boot,pre-reloc" doesn't work any more.
This feature is disabled by default to compatible current boards, only the board really cares about boot time needs it.
Fix "/chosen" is deleted for TPL DTB.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I743d7b734daff6e0508e01f534078663d809952f
show more ...
|
| #
fcdd83d4 |
| 17-Feb-2020 |
Joseph Chen <chenjh@rock-chips.com> |
dts: Makefile: simplify the logic of kernel dtb feature
Our purpose is replacing the u-boot.dtb with u-boot-spl.dtb when kernel dtb feature is enabled. The current logic is too complicated and not e
dts: Makefile: simplify the logic of kernel dtb feature
Our purpose is replacing the u-boot.dtb with u-boot-spl.dtb when kernel dtb feature is enabled. The current logic is too complicated and not easy to extend new features.
The best way is to generate but not replace a u-boot.dtb the same as u-boot-spl.dtb during DTB compile process.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I678ec7c60c91ecc6f6f0a935e50a691c52c94162
show more ...
|
| #
8dd9db5d |
| 19-Jun-2019 |
Joseph Chen <chenjh@rock-chips.com> |
Makefile: tpl: u-boot-tpl.dtb support include node with prop "u-boot,dm-tpl"
Without this patch, u-boot-tpl.dtb is always copy from u-boot-spl.dtb which doesn't apply fdtgrep with "-b u-boot,dm-tpl"
Makefile: tpl: u-boot-tpl.dtb support include node with prop "u-boot,dm-tpl"
Without this patch, u-boot-tpl.dtb is always copy from u-boot-spl.dtb which doesn't apply fdtgrep with "-b u-boot,dm-tpl".
Sometimes, the platform with critical sram size requires u-boot-tpl.dtb as smaller as possible, so we use "u-boot,dm-tpl" prop to idendify what the tpl really needs.
Rules: "u-boot,dm-tpl": include node with prop for u-boot-tpl.dtb; "u-boot,dm-spl": include node with prop for u-boot-spl.dtb; "u-boot,pre-reloc": include node with prop for u-boot-tpl.dtb and u-boot-spl.dtb;
Change-Id: I29c2464d285174f4d0a4a1f8b91a84238ed82384 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
6222c401 |
| 21-Nov-2017 |
Goldschmidt Simon <sgoldschmidt@de.pepperl-fuchs.com> |
spl: make CONFIG_OF_EMBED pass dts through fdtgrep
Building spl with CONFIG_OF_EMBED enabled results in an error message on my board: "SPL image too big". This is because the fdtgrep build step is o
spl: make CONFIG_OF_EMBED pass dts through fdtgrep
Building spl with CONFIG_OF_EMBED enabled results in an error message on my board: "SPL image too big". This is because the fdtgrep build step is only executed for CONFIG_OF_SEPARATE.
Fix this by moving the fdtgrep build step ('cmd_fdtgreo') from scripts/Makefile.spl to dts/Makefile so that the reduced dtb is available for all kinds of spl builds.
The resulting variable name for the embedded device tree blob changes, too, which is why common.h and fdtdec.c have tiny changes.
Change-Id: I2bf2d9780a544ac602752527d17f14aa6b12c5a2 Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| #
7d67bb1d |
| 04-Apr-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
27cb7300 |
| 16-Mar-2017 |
James Balean <james@balean.com.au> |
Ensure device tree DTS is compiled
Enables custom DTS files, or those not associated with a specific target, to be compiled into a boot image.
Signed-off-by: James Balean <james@balean.com.au> Cc:
Ensure device tree DTS is compiled
Enables custom DTS files, or those not associated with a specific target, to be compiled into a boot image.
Signed-off-by: James Balean <james@balean.com.au> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Simon Glass <sjg@chromium.org>
show more ...
|
| #
be6b2b31 |
| 23-Jan-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
Revert "devicetree: use wildcard to clean arch subdir"
This reverts commit 67871a595873930a0a536b1685e5caac53766701.
Since that commit, out-of-tree cleaning emits lots of warnings.
$ make O=foo cl
Revert "devicetree: use wildcard to clean arch subdir"
This reverts commit 67871a595873930a0a536b1685e5caac53766701.
Since that commit, out-of-tree cleaning emits lots of warnings.
$ make O=foo clean make[1]: Entering directory `/home/masahiro/workspace/u-boot/foo' ../dts/../arch/arm/dts/Makefile:209: warning: overriding commands for target `dtbs' ../dts/../arch/arc/dts/Makefile:15: warning: ignoring old commands for target `dtbs' ../dts/../arch/microblaze/dts/Makefile:13: warning: overriding commands for target `dtbs' ../dts/../arch/arm/dts/Makefile:209: warning: ignoring old commands for target `dtbs' ../dts/../arch/mips/dts/Makefile:14: warning: overriding commands for target `dtbs' ../dts/../arch/microblaze/dts/Makefile:13: warning: ignoring old commands for target `dtbs' ../dts/../arch/nios2/dts/Makefile:13: warning: overriding commands for target `dtbs' ../dts/../arch/mips/dts/Makefile:14: warning: ignoring old commands for target `dtbs' ../dts/../arch/powerpc/dts/Makefile:13: warning: overriding commands for target `dtbs' ../dts/../arch/nios2/dts/Makefile:13: warning: ignoring old commands for target `dtbs' ../dts/../arch/sandbox/dts/Makefile:14: warning: overriding commands for target `dtbs' ../dts/../arch/powerpc/dts/Makefile:13: warning: ignoring old commands for target `dtbs' ../dts/../arch/x86/dts/Makefile:22: warning: overriding commands for target `dtbs' ../dts/../arch/sandbox/dts/Makefile:14: warning: ignoring old commands for target `dtbs' make[1]: Leaving directory `/home/masahiro/workspace/u-boot/foo'
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
show more ...
|
| #
12f229ea |
| 22-Jan-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-fdt
|
| #
67871a59 |
| 06-Jan-2016 |
Thomas Chou <thomas@wytron.com.tw> |
devicetree: use wildcard to clean arch subdir
Use wildcard to clean arch subdirectories, as it is cleaner than listing all the arch which builds dtb.
Signed-off-by: Thomas Chou <thomas@wytron.com.t
devicetree: use wildcard to clean arch subdir
Use wildcard to clean arch subdirectories, as it is cleaner than listing all the arch which builds dtb.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| #
b57843e6 |
| 17-Jan-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mips
|
| #
0fc13a90 |
| 19-Dec-2015 |
Daniel Schwierzeck <daniel.schwierzeck@gmail.com> |
MIPS: add initial infrastructure for device-tree files
Prepare sub-folder for device-tree files. Make support for device-tree on MIPS available in Kbuild/Kconfig.
Signed-off-by: Daniel Schwierzeck
MIPS: add initial infrastructure for device-tree files
Prepare sub-folder for device-tree files. Make support for device-tree on MIPS available in Kbuild/Kconfig.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
show more ...
|
| #
dab5e346 |
| 16-Jul-2014 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
Conflicts: boards.cfg
|
| #
ed1d98d8 |
| 25-Jun-2014 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
d18926af |
| 12-Jun-2014 |
Simon Glass <sjg@chromium.org> |
fdt: Rename the DEV_TREE_BIN Makefile flag to to EXT_DTB
This seems like a better name. This is a patch-up to the earlier commit 63b4b5b, and also removes a redundant Makefile change.
Signed-off-by
fdt: Rename the DEV_TREE_BIN Makefile flag to to EXT_DTB
This seems like a better name. This is a patch-up to the earlier commit 63b4b5b, and also removes a redundant Makefile change.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
63b4b5ba |
| 03-Jun-2014 |
Simon Glass <sjg@chromium.org> |
fdt: Add DEV_TREE_BIN option to specify a device tree binary file
In some cases, an externally-built device tree binary is required to be attached to U-Boot. An example is when using image signing,
fdt: Add DEV_TREE_BIN option to specify a device tree binary file
In some cases, an externally-built device tree binary is required to be attached to U-Boot. An example is when using image signing, since in that case the .dtb file must include the public keys.
Add a DEV_TREE_BIN option to the Makefile, and update the documentation.
Usage is something like:
make DEV_TREE_BIN=boot/am335x-boneblack-pubkey.dtb
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
b9d1dbd4 |
| 04-Jun-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kbuild: use cmd_shipped instead of cmd_copy
We already have cmd_shipped in scripts/Makefile.lib. Use it rather than defining a new command cmd_copy.
Signed-off-by: Masahiro Yamada <yamada.m@jp.pana
kbuild: use cmd_shipped instead of cmd_copy
We already have cmd_shipped in scripts/Makefile.lib. Use it rather than defining a new command cmd_copy.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| #
519fdde9 |
| 08-Apr-2014 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts: arch/arm/cpu/arm926ejs/mxs/Makefile include/configs/trats.h include/configs/trats2.h include/mmc.h
|
| #
6bd04bb4 |
| 28-Mar-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kbuild: fix bugs in cleaning targets
"make clean", "make clobber", "make mrproper" and "make distclean" missed to clean-up some files when they were run with O=<some_dir> option.
Signed-off-by: Mas
kbuild: fix bugs in cleaning targets
"make clean", "make clobber", "make mrproper" and "make distclean" missed to clean-up some files when they were run with O=<some_dir> option.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reported-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| #
1ad6364e |
| 05-Mar-2014 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
|
| #
3e113502 |
| 20-Feb-2014 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts: Makefile drivers/net/npe/Makefile
These two conflicts arise from commit 0b2d3f20 ("ARM: NET: Remove the IXP NPE ethernet driver")
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts: Makefile drivers/net/npe/Makefile
These two conflicts arise from commit 0b2d3f20 ("ARM: NET: Remove the IXP NPE ethernet driver") and are resolved by deleting the drivers/net/npe/Makefile file and removing the CONFIG_IXP4XX_NPE line from Makefile.
show more ...
|
| #
3284c8b8 |
| 05-Feb-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
dts: generate multiple device tree blobs
It is convenient to have all device trees on the same SoC compiled. It allows for later easy repackaging without the need to re-run the make file.
- Build
dts: generate multiple device tree blobs
It is convenient to have all device trees on the same SoC compiled. It allows for later easy repackaging without the need to re-run the make file.
- Build device trees with the same SoC under arch/$(ARCH)/dts
- Copy the one specified by CONFIG_DEFAULT_DEVICE_TREE or DEVICE_TREE=... to dts/dt.dtb
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| #
5ab502cb |
| 05-Feb-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
dts: move device tree sources to arch/$(ARCH)/dts/
Unlike Linux Kernel, U-Boot historically had *.dts files under board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/.
I think arch/$(ARCH)
dts: move device tree sources to arch/$(ARCH)/dts/
Unlike Linux Kernel, U-Boot historically had *.dts files under board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/.
I think arch/$(ARCH)/dts dicretory is a better location to store both *.dts and *.dtsi files.
For example, before this commit, board/xilinx/dts directory had both Microblaze dts (microblaze-generic.dts) and ARM dts (zynq-*.dts), which are totally unrelated.
This commit moves *.dts to arch/$(ARCH)/dts/ directories, allowing us to describe nicely mutiple DTBs generation in the next commit.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|