| #
39d40ad5 |
| 27-Mar-2025 |
Joseph Chen <chenjh@rock-chips.com> |
lib: fdt: Introduce CONFIG_OF_ADDR_SIZE_AUTO_NOPARENT
In case of 64-bit U-Boot use 32-bit platform dtb.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If3cbde606f3315849be2f366fab052
lib: fdt: Introduce CONFIG_OF_ADDR_SIZE_AUTO_NOPARENT
In case of 64-bit U-Boot use 32-bit platform dtb.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If3cbde606f3315849be2f366fab0521f7b9af39a
show more ...
|
| #
f36ea2f6 |
| 08-Jun-2018 |
Thomas Fitzsimmons <fitzsim@fitzsim.org> |
UPSTREAM: board: arm: Add support for Broadcom BCM7445
Add support for loading U-Boot on the Broadcom 7445 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader
UPSTREAM: board: arm: Add support for Broadcom BCM7445
Add support for loading U-Boot on the Broadcom 7445 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT.
Change-Id: I79d19ced6ed7c76a862b94162a92ceaddf09b062 Signed-off-by: Thomas Fitzsimmons <fitzsim@fitzsim.org> Cc: Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 894c3ad27fa940beb7fdc07d01dcfe81c03d0481)
show more ...
|
| #
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 ...
|
| #
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 ...
|
| #
5c47e3d4 |
| 08-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
dts: Kconfig: always enable OF_SPL_REMOVE_PROPS macros
We need this even if there is no SPL.
Change-Id: Ib61f6fd08204dd68730a2d006cef75bcae07084b Signed-off-by: Kever Yang <kever.yang@rock-chips.co
dts: Kconfig: always enable OF_SPL_REMOVE_PROPS macros
We need this even if there is no SPL.
Change-Id: Ib61f6fd08204dd68730a2d006cef75bcae07084b Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
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 ...
|
| #
476f6045 |
| 15-Sep-2017 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
UPSTREAM: spl: dm: Make it possible for the SPL to pick its own DTB from a FIT
u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for
UPSTREAM: spl: dm: Make it possible for the SPL to pick its own DTB from a FIT
u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the DTBs in a FIT image, compress it (LZO, GZIP, or no compression) and append it at the end of the SPL.
Change-Id: Ifebdd14bdf1abc923d228f9f3947e719c8645356 Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> [trini: Move default y of SPL_MULTI_DTB_FIT_DYN_ALLOC to it being the default choice if SYS_MALLOC_F, drop spl.h include from lib/fdtdec.c it's unused.] Signed-off-by Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 2f57c95100f231de0f4e0301237cbe477e09084b)
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 ...
|
| #
f8470aee |
| 24-Sep-2017 |
Tom Rini <trini@konsulko.com> |
UPSTREAM: tools/mkimage: Make the path to the dtc binary that mkimage calls configurable
In some cases, such as FreeBSD, the path to an alternative dtc needs to be used. Rather than override the on
UPSTREAM: tools/mkimage: Make the path to the dtc binary that mkimage calls configurable
In some cases, such as FreeBSD, the path to an alternative dtc needs to be used. Rather than override the one given in the Makefile on the command line, make this part of the build configuration.
Change-Id: Ib4e2b2603f22098edb11bf3f03be32a86b2d2f1a Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 1f6049e2501b5c35c61435dbc05ba96743202674)
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 ...
|
| #
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 ...
|
| #
d9797409 |
| 16-Jun-2017 |
Cooper Jr., Franklin <fcooper@ti.com> |
dts: Allow OF_LIST to depend on FIT_EMBED
OF_LIST will be useable by SPL and U-boot. Therefore, update its dependency to allow it to be enable by either SPL or U-boot specific config option.
Signed
dts: Allow OF_LIST to depend on FIT_EMBED
OF_LIST will be useable by SPL and U-boot. Therefore, update its dependency to allow it to be enable by either SPL or U-boot specific config option.
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> Acked-by: Andrew F. Davis <afd@ti.com>
show more ...
|
| #
5e060d8b |
| 19-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: core: Add livetree definitions
Add a Kconfig option to enable a live device tree, built at run time from the flat tree. Also add structure definitions and a root node.
Signed-off-by: Simon Glas
dm: core: Add livetree definitions
Add a Kconfig option to enable a live device tree, built at run time from the flat tree. Also add structure definitions and a root node.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
82f766d1 |
| 02-Apr-2017 |
Alex Deymo <deymo@google.com> |
Allow boards to initialize the DT at runtime.
In some boards like the Raspberry Pi the initial bootloader will pass a DT to the kernel. When using U-Boot as such kernel, the board code in U-Boot sho
Allow boards to initialize the DT at runtime.
In some boards like the Raspberry Pi the initial bootloader will pass a DT to the kernel. When using U-Boot as such kernel, the board code in U-Boot should be able to provide U-Boot with this, already assembled device tree blob.
This patch introduces a new config option CONFIG_OF_BOARD to use instead of CONFIG_OF_EMBED or CONFIG_OF_SEPARATE which will initialize the DT from a board-specific funtion instead of bundling one with U-Boot or as a separated file. This allows boards like the Raspberry Pi to reuse the device tree passed from the bootcode.bin and start.elf firmware files, including the run-time selected device tree overlays.
Signed-off-by: Alex Deymo <deymo@google.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
433647a7 |
| 05-Apr-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
239ae4a9 |
| 24-Mar-2017 |
Vikas Manocha <vikas.manocha@st.com> |
dm: avoid dropping pin control DT properties in case of SPL_PINCTRL
This patch replaces SPL_PINCTRL_FULL with SPL_PINCNTRL. It is to avoid removal of pin control properties in case of SPL_PINCTRL. N
dm: avoid dropping pin control DT properties in case of SPL_PINCTRL
This patch replaces SPL_PINCTRL_FULL with SPL_PINCNTRL. It is to avoid removal of pin control properties in case of SPL_PINCTRL. No impact in case of SPL_PINCTRL_FULL as it depends on SPL_PINCTRL.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
0db4cd25 |
| 22-Feb-2017 |
mario.six@gdsys.cc <mario.six@gdsys.cc> |
dm: Add callback to modify the device tree
Certain boards come in different variations by way of utilizing daughter boards, for example. These boards might contain additional chips, which are added
dm: Add callback to modify the device tree
Certain boards come in different variations by way of utilizing daughter boards, for example. These boards might contain additional chips, which are added to the main board's busses, e.g. I2C.
The device tree support for such boards would either, quite naturally, employ the overlay mechanism to add such chips to the tree, or would use one large default device tree, and delete the devices that are actually not present.
Regardless of approach, even on the U-Boot level, a modification of the device tree is a prerequisite to have such modular families of boards supported properly.
Therefore, we add an option to make the U-Boot device tree (the actual copy later used by the driver model) writeable, and add a callback method that allows boards to modify the device tree at an early stage, at which, hopefully, also the application of device tree overlays will be possible.
Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Stefan Roese <sr@denx.de>
show more ...
|
| #
c1daa407 |
| 24-Mar-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://www.denx.de/git/u-boot-marvell
This mainly adds support for some new boards, like the ARMv8 community boards MACCHIATOBin and ESPRESSBin
|
| #
2a792753 |
| 22-Feb-2017 |
mario.six@gdsys.cc <mario.six@gdsys.cc> |
dm: Add callback to modify the device tree
Certain boards come in different variations by way of utilizing daughter boards, for example. These boards might contain additional chips, which are added
dm: Add callback to modify the device tree
Certain boards come in different variations by way of utilizing daughter boards, for example. These boards might contain additional chips, which are added to the main board's busses, e.g. I2C.
The device tree support for such boards would either, quite naturally, employ the overlay mechanism to add such chips to the tree, or would use one large default device tree, and delete the devices that are actually not present.
Regardless of approach, even on the U-Boot level, a modification of the device tree is a prerequisite to have such modular families of boards supported properly.
Therefore, we add an option to make the U-Boot device tree (the actual copy later used by the driver model) writeable, and add a callback method that allows boards to modify the device tree at an early stage, at which, hopefully, also the application of device tree overlays will be possible.
Signed-off-by: Mario Six <mario.six@gdsys.cc> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Stefan Roese <sr@denx.de>
show more ...
|
| #
ebe621d5 |
| 15-Jul-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
2789ddb9 |
| 04-Jul-2016 |
Simon Glass <sjg@chromium.org> |
dm: Add an option to enable the of-platdata feature
Add a Kconfig option to enable this feature.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
08ca213a |
| 24-May-2016 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
c409bd01 |
| 04-May-2016 |
Michal Simek <michal.simek@xilinx.com> |
spl: Setup default value for OF_LIST
OF_LIST can't remain empty that's why setup it up to default DTB.
If it is empty u-boot.img is created without FDT partition: For example: ./tools/mkimage -f
spl: Setup default value for OF_LIST
OF_LIST can't remain empty that's why setup it up to default DTB.
If it is empty u-boot.img is created without FDT partition: For example: ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a 0x8000000 -e 0 -n "U-Boot 2016.05-rc3 ..." -E -b -d u-boot-nodtb.bin u-boot.img Can't set 'timestamp' property for '' node (FDT_ERR_NOSPACE) FIT description: Firmware image with one or more FDT blobs Created: Wed May 4 15:02:52 2016 Image 0 (firmware@1) Description: U-Boot 2016.05-rc3-00080-gff2e12ae22a8-dirty for zynqmp board Created: Wed May 4 15:02:52 2016 Type: Firmware Compression: uncompressed Data Size: unavailable Architecture: ARM Load Address: 0x08000000 Default Configuration: 'conf@1' Configuration 0 (conf@1) Description: unavailable Kernel: unavailable
And then image like this doesn't contain description and link to FDT and can't boot.
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|