From: Thierry Reding
Tegra186 build are currently dealt with in very special ways, which is
because Tegra186 is fundamentally different in many respects. It is no
longer necessary to do many of the low-level programming because early
boot firmware will already have taken care of it
From: Thierry Reding
This is easier to deal with and works just as well for this simple
function.
Signed-off-by: Thierry Reding
---
arch/arm/mach-tegra/Makefile | 2 +-
arch/arm/mach-tegra/cboot.c| 12
arch/arm/mach-tegra/cboot_ll.S | 20
3 files
From: Thierry Reding
This function will attempt to look up an ethernet address in the DTB
that was passed in from cboot. It does so by first trying to locate the
primary ethernet device for the board (identified by the "ethernet"
alias) and if found, reads the "local-mac-addres
From: Thierry Reding
In order for the device to use the proper MAC address, which can have
been configured in the environment prior to the device being registered,
ensure that the MAC address is written after the device has been probed.
For devices that are registered before the network stack is
From: Thierry Reding
Implement this callback that allows the MAC address to be set for the
Ethernet card. This is necessary in order for the device to be able to
receive packets for the MAC address that U-Boot advertises.
Signed-off-by: Thierry Reding
---
drivers/net/rtl8169.c | 18
From: Thierry Reding
This version of the RTL-8168 is present on some development boards and
is compatible with this driver. Add support for identifying this version
of the chip so that U-Boot won't complain about it being unknown.
Signed-off-by: Thierry Reding
---
drivers/net/rtl8169.
From: Thierry Reding
In order to support chainloading of U-Boot by an earlier bootloader,
make sure the binary is position independent, so that the earlier boot-
loader can relocate it if necessary.
Signed-off-by: Thierry Reding
---
configs/p2371-2180_defconfig | 1 +
1 file changed, 1
From: Thierry Reding
These macros are useful for converting the endianness of variables of
type fdt_addr_t and fdt_size_t.
Signed-off-by: Thierry Reding
---
include/fdtdec.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/fdtdec.h b/include/fdtdec.h
index b7e35cd87c55
From: Thierry Reding
This function can be used to add subnodes in the /reserved-memory node.
Signed-off-by: Thierry Reding
---
include/fdtdec.h | 17 +
lib/fdtdec.c | 158 +++
2 files changed, 175 insertions(+)
diff --git a/include
From: Thierry Reding
This function allows looking up the highest phandle value stored in a
device tree, which is useful to determine the next best phandle value
for new nodes.
Signed-off-by: Thierry Reding
---
include/fdtdec.h | 12
lib/fdtdec.c | 28
From: Thierry Reding
If early firmware initialized the display hardware and the display
controllers are scanning out a framebuffer (e.g. a splash screen), make
sure to pass information about the memory location of that framebuffer
to the kernel before booting to avoid the kernel from using that
From: Thierry Reding
This function can be used to set a phandle for a given node.
Signed-off-by: Thierry Reding
---
include/fdtdec.h | 11 +++
lib/fdtdec.c | 16
2 files changed, 27 insertions(+)
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 5eb3c0c237a9
From: Thierry Reding
The fdtdec_get_carveout() and fdtdec_set_carveout() function can be used
to read a carveout from a given node or add a carveout to a given node
using the standard device tree bindings (involving reserved-memory nodes
and the memory-region property).
Signed-off-by: Thierry
On Sun, Mar 10, 2019 at 03:51:31PM -0600, Simon Glass wrote:
> Hi Thierry,
>
> On Fri, 8 Mar 2019 at 13:11, Thierry Reding wrote:
> >
> > From: Thierry Reding
> >
> > This function allows looking up the highest phandle value stored in a
> > device tree
On Sun, Mar 10, 2019 at 03:51:40PM -0600, Simon Glass wrote:
> Hi Thierry,
>
> On Fri, 8 Mar 2019 at 13:11, Thierry Reding wrote:
> >
> > From: Thierry Reding
> >
> > This function can be used to set a phandle for a given node.
> >
> > Signed
On Sun, Mar 10, 2019 at 03:51:42PM -0600, Simon Glass wrote:
> On Fri, 8 Mar 2019 at 13:11, Thierry Reding wrote:
> >
> > From: Thierry Reding
> >
> > This function can be used to add subnodes in the /reserved-memory node.
> >
> > Signed-off-by: Thierr
From: Thierry Reding
When phys_addr_t printf specifier support was first introduced in commit
1eebd14b7902 ("vsprintf: Add modifier for phys_addr_t"), it was enabled
only if CONFIG_CMD_NET was selected. Since physical addresses are not
unique to networking support it doesn'
From: Thierry Reding
If 64-bit physical addresses support is enabled, make sure the sandox
defines the correct types for phys_addr_t and phys_size_t.
Signed-off-by: Thierry Reding
---
arch/sandbox/include/asm/types.h | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff
From: Thierry Reding
Use the %pap printf specifier to print physical addresses. The physical
address is passed by reference and hence avoids the need to play tricks
with the preprocessor to use the correct specifier.
Signed-off-by: Thierry Reding
---
arch/sandbox/lib/pci_io.c | 2 +-
1 file
From: Thierry Reding
These macros are useful for converting the endianness of variables of
type fdt_addr_t and fdt_size_t.
Reviewed-by: Simon Glass
Signed-off-by: Thierry Reding
---
Changes in v2:
- add Reviewed-by from Simon
include/fdtdec.h | 4
1 file changed, 4 insertions(+)
diff
From: Thierry Reding
These helpers can be used to unpack variables of type fdt_addr_t and
fdt_size_t into a pair of 32-bit variables. This is useful in cases
where such variables need to be written to properties (such as "reg")
of a device tree node where they need to be split
From: Thierry Reding
This function generates a new, unused phandle by looking up the highest
phandle value stored in a device tree and adding one.
Signed-off-by: Thierry Reding
---
Changes in v2:
- rename to fdtdec_generate_phandle()
include/fdtdec.h | 12
lib/fdtdec.c | 28
From: Thierry Reding
This function can be used to set a phandle for a given node.
Signed-off-by: Thierry Reding
---
Changes in v2:
- don't emit deprecated linux,phandle property
include/fdtdec.h | 11 +++
lib/fdtdec.c | 7 +++
2 files changed, 18 insertions(+)
diff --
From: Thierry Reding
This function can be used to add subnodes in the /reserved-memory node.
Reviewed-by: Simon Glass
Signed-off-by: Thierry Reding
---
Changes in v2:
- split fdt_{addr,size}_unpack() helpers into separate patch
- use name@x,y notation only if the upper cell is > 0
- use de
From: Thierry Reding
Runtime tests are provided as a test_fdtdec command implementation. Add
a Kconfig symbol that allows this command to be built so that the tests
can be used.
Signed-off-by: Thierry Reding
---
Changes in v2:
- new patch
lib/Kconfig | 4
1 file changed, 4 insertions
From: Thierry Reding
Hide the declaration of the "fd" variable When not building a DEBUG
configuration, to avoid the variable being unused.
Signed-off-by: Thierry Reding
---
Changes in v2:
- new patch
lib/fdtdec_test.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/fdtde
From: Thierry Reding
Enable fdtdec tests on sandbox configurations so that they can be run to
validate the fdtdec implementation.
Signed-off-by: Thierry Reding
---
Changes in v2:
- new patch
configs/sandbox64_defconfig | 1 +
configs/sandbox_defconfig | 1 +
2 files changed, 2 insertions
From: Thierry Reding
The fdtdec_get_carveout() and fdtdec_set_carveout() function can be used
to read a carveout from a given node or add a carveout to a given node
using the standard device tree bindings (involving reserved-memory nodes
and the memory-region property).
Reviewed-by: Simon Glass
From: Thierry Reding
Implement carveout tests for 32-bit and 64-bit builds.
Signed-off-by: Thierry Reding
---
Changes in v2:
- new patch
lib/fdtdec_test.c | 152 ++
1 file changed, 152 insertions(+)
diff --git a/lib/fdtdec_test.c b/lib
From: Thierry Reding
This eliminates the need for intermediate helper functions and allow the
macros to return a value so that it can be used subsequently.
Signed-off-by: Thierry Reding
---
Changes in v2:
- new patch
lib/fdtdec_test.c | 64 ---
1
From: Thierry Reding
This version of the RTL-8168 chip can be found on some add-in cards sold
by CSL-Computer GmbH & Co. KG. The chip isn't special in any way, but it
needs to have the ChipCmd register programmed after the DMA descriptors
have been set up, so make sure that happens by
On Tue, Jan 24, 2023 at 08:57:48AM +0200, Svyatoslav Ryhel wrote:
> - ARM: tegra: remap clock_osc_freq for all Tegra family
> Enum clock_osc_freq was designed to use only with T20.
> This patch remaps it to use additional frequencies, added in
> T30+ SoC while maintaining backwards compatibility wi
On Wed, Jan 25, 2023 at 05:41:08PM +0100, Thierry Reding wrote:
> On Tue, Jan 24, 2023 at 08:57:48AM +0200, Svyatoslav Ryhel wrote:
> > - ARM: tegra: remap clock_osc_freq for all Tegra family
> > Enum clock_osc_freq was designed to use only with T20.
> > This patch remaps
On Thu, Jan 26, 2023 at 11:34:59AM +0100, Thierry Reding wrote:
> On Wed, Jan 25, 2023 at 05:41:08PM +0100, Thierry Reding wrote:
> > On Tue, Jan 24, 2023 at 08:57:48AM +0200, Svyatoslav Ryhel wrote:
> > > - ARM: tegra: remap clock_osc_freq for all Tegra family
> > &
On Thu, Jan 26, 2023 at 07:08:54PM +0200, Svyatoslav Ryhel wrote:
> чт, 26 січ. 2023 р. о 12:35 Thierry Reding пише:
> >
> > On Wed, Jan 25, 2023 at 05:41:08PM +0100, Thierry Reding wrote:
> > > On Tue, Jan 24, 2023 at 08:57:48AM +0200, Svyatoslav Ryhel wrote:
>
On Thu, Jan 26, 2023 at 07:12:34PM +0200, Svyatoslav Ryhel wrote:
> I may implement changes of Thierry Reding in a proper form as a
> separate patch or include in existing (depends on his choice).
I think it's ultimately better if this is properly integrated into the
series because
On Fri, Jan 27, 2023 at 09:13:09AM +0200, Svyatoslav Ryhel wrote:
> - ARM: tegra: remap clock_osc_freq for all Tegra family
> Enum clock_osc_freq was designed to use only with T20.
> This patch remaps it to use additional frequencies, added in
> T30+ SoC while maintaining backwards compatibility wi
From: Thierry Reding
This command is useful to power off the system from within U-Boot.
Signed-off-by: Thierry Reding
---
configs/p2371-2180_defconfig | 1 +
configs/p3450-_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/p2371-2180_defconfig b/configs/p2371
From: Thierry Reding
This command is useful to power off the system from within U-Boot.
Signed-off-by: Thierry Reding
---
configs/p2771--000_defconfig | 1 +
configs/p2771--500_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/p2771--000_defconfig b/configs
On Fri, Jan 27, 2023 at 10:27:57PM +0200, Svyatoslav R. wrote:
> On 1/27/23 19:15, Thierry Reding wrote:
> > On Fri, Jan 27, 2023 at 09:13:09AM +0200, Svyatoslav Ryhel wrote:
> > > - ARM: tegra: remap clock_osc_freq for all Tegra family
> > > Enum clock_osc_freq was de
From: Thierry Reding
Hi,
The first handful of patches are preparatory work to make the fdtdec
carveout helpers a bit more flexible and clean them up a little bit
while the final 4 patches make use of the improved helpers to copy
the EMC frequency tables that can be passed to U-Boot from earlier
From: Thierry Reding
In order make it possible to use fdtdec_get_carveout() in loops, return
FDT_ERR_NOTFOUND when the passed-in index exceeds the number of phandles
present in the given property.
Signed-off-by: Thierry Reding
---
lib/fdtdec.c | 2 +-
1 file changed, 1 insertion(+), 1
From: Thierry Reding
When retrieving a given carveout for a device, allow callers to query
the name. This helps differentiating between carveouts when there are
more than one.
This is also useful when copying carveouts to help assign a meaningful
name that cannot always be guessed.
Signed-off
From: Thierry Reding
The fdtdec_set_carveout() function's parameters are inconsistent with
the parameters passed to fdtdec_add_reserved_memory(). Fix up the order
to make it more consistent.
Signed-off-by: Thierry Reding
---
board/nvidia/p2371-2180/p2371-2180.c | 4 ++--
board/nvidia/
From: Thierry Reding
Reserved memory nodes can have a compatible string list to identify the
type of reserved memory that they represent. Support specifying an
optional compatible string list when creating these nodes.
Signed-off-by: Thierry Reding
---
arch/arm/cpu/armv8/fsl-layerscape/soc.c
From: Thierry Reding
The EMC frequency tables are created from a training sequence performed
during early boot and passed in via a reserved memory region by nvtboot.
Copy this table to the kernel DTB so that the kernel can use it to scale
the EMC frequency at runtime.
Note that early
From: Thierry Reding
If multiple entries are present in the memory-region property, this new
memory-region-names property can be used to specify names for each of
them so that they can be more easily distinguished.
Signed-off-by: Thierry Reding
---
arch/arm/mach-tegra/dt-setup.c | 31
From: Thierry Reding
Support multiple reserved memory regions per device to support platforms
that use both a framebuffer and color conversion lookup table for early
boot display splash.
While at it, also pass along the name, compatible strings and flags of
the carveouts.
Signed-off-by
From: Thierry Reding
Reserved memory nodes can have additional flags. Support reading and
writing these flags to ensure that reserved memory nodes can be properly
parsed and emitted.
This converts support for the existing "no-map" flag to avoid extending
the argumen
From: Thierry Reding
Rather than duplicate the Ethernet MAC address and carveout updating
code for each board, move it to a common location and make it more
reusable.
Signed-off-by: Thierry Reding
---
arch/arm/include/asm/arch-tegra/board.h | 10 ++
arch/arm/mach-tegra/dt-setup.c
On Fri, Jun 23, 2023 at 08:55:56AM +0300, Svyatoslav Ryhel wrote:
> This is a small tool for calculation of SoC UID based on the same
> Linux function. It can be further used for generation of device
> unique data like mac address or exposing it as serial number.
It's a very bad idea to use the So
On Fri, Jun 23, 2023 at 08:55:57AM +0300, Svyatoslav Ryhel wrote:
[...]
> diff --git a/board/asus/transformer-t30/pinmux-config-transformer.h
> b/board/asus/transformer-t30/pinmux-config-transformer.h
> new file mode 100644
> index 00..96ff45d375
> --- /dev/null
> +++ b/board/asus/transfor
On Fri, Jun 23, 2023 at 02:51:54PM +0300, Svyatoslav Ryhel wrote:
>
>
> 23 червня 2023 р. 14:32:30 GMT+03:00, Thierry Reding
> написав(-ла):
> >On Fri, Jun 23, 2023 at 08:55:57AM +0300, Svyatoslav Ryhel wrote:
> >[...]
> >> diff --git a/board/asus/transforme
On Fri, Jun 23, 2023 at 02:46:54PM +0300, Svyatoslav Ryhel wrote:
>
>
> 23 червня 2023 р. 14:24:37 GMT+03:00, Thierry Reding
> написав(-ла):
> >On Fri, Jun 23, 2023 at 08:55:56AM +0300, Svyatoslav Ryhel wrote:
> >> This is a small tool for calculation of SoC UID b
On Fri, Jun 23, 2023 at 05:19:09PM +0300, Svyatoslav Ryhel wrote:
>
>
> 23 червня 2023 р. 17:11:35 GMT+03:00, Thierry Reding
> написав(-ла):
> >On Fri, Jun 23, 2023 at 02:51:54PM +0300, Svyatoslav Ryhel wrote:
> >>
> >>
> >> 23 червня 2023 р. 14:3
701 - 755 of 755 matches
Mail list logo