On Fri, Apr 22, 2022 at 12:11 AM Andrew Scull wrote:
>
> Evolve dm_pci_map_bar() to include an offset and length parameter. These
> allow a portion of the memory to be mapped and range checks to be
> applied.
>
> Passing both the offset and length as zero results in the previous
> behaviour and th
On Fri, Apr 22, 2022 at 12:11 AM Andrew Scull wrote:
>
> Add tests for the functions dm_pci_bus_to_phys() and
> dm_pci_phys_to_bus() which convert between PCI bus addresses and
> physical addresses based on the ranges declared for the PCI controller.
>
> The ranges of bus#1 are used for the tests,
On Thu, Apr 21, 2022 at 08:09:59PM -0400, Sean Anderson wrote:
> On 4/21/22 2:48 AM, Tommaso Merciai wrote:
> > Hi,
> > I'm working on drivers/clk/imx/clk-imx8mm.c to port and bring up eLCDIF
> > clocks. After port all necessary clocks needed by eLCDIF I found that
> > IMX8MM_VIDEO_PLL1 clock is no
On Fri, Apr 22, 2022 at 12:11 AM Andrew Scull wrote:
>
> The flags parameter of dm_pci_map_bar() is used for PCI region flags
> rather than memory mapping flags. Fix the type to match that of the
> region flags and stop using the regions flags as memory mapping flags.
>
> Signed-off-by: Andrew Scu
Hi Tony,
On 4/21/22 23:21, Tony Dinh wrote:
What really puzzles me is, why the page address is set to a non-zero
value at all at this early boot stage? Could you perhaps add some
debugging code, to check, if and where the page address gets set?
I find it hard to belief, that this starts with
Enable ADC in board config file
Signed-off-by: Vyacheslav Bocharov
---
configs/jethub_j100_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/jethub_j100_defconfig b/configs/jethub_j100_defconfig
index 1c6db9f6a0..a30940bf1c 100644
--- a/configs/jethub_j100_defconfig
+++
Prepare to use ADC channel 1 to check the hardware revision of the board.
Signed-off-by: Vyacheslav Bocharov
---
arch/arm/dts/meson-axg-jethome-jethub-j100.dts | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/meson-axg-jethome-jethub-j100.dts
b/arch/arm/dts/meson-axg-jethom
Add support for the SARADC variant found on the AXG SoCs family.
Signed-off-by: Vyacheslav Bocharov
---
drivers/adc/meson-saradc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c
index 1a45a3a265..37023512f0 100644
--- a/drivers/adc/m
Update the clk-g12a-ao driver from "axg" to "g12a"
Signed-off-by: Vyacheslav Bocharov
---
drivers/clk/meson/g12a-ao.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/meson/g12a-ao.c b/drivers/clk/meson/g12a-ao.c
index 0148529e04..17b11eb52a 100644
--- a/drivers/cl
Move clk->id check to .request function
Signed-off-by: Vyacheslav Bocharov
---
drivers/clk/meson/g12a-ao.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/meson/g12a-ao.c b/drivers/clk/meson/g12a-ao.c
index 17b11eb52a..22c85cff1d 100644
--- a/drivers/
Add minimal driver AO clocks on meson AXG family. Only ADC related clocks
are supported.
Signed-off-by: Vyacheslav Bocharov
---
drivers/clk/meson/Makefile | 1 +
drivers/clk/meson/axg-ao.c | 89 ++
2 files changed, 90 insertions(+)
create mode 100644 drivers
Prepare to use ADC channel 1 in JetHub D1 (j100) to check the hardware
revision of the board.
- add support for AXG in saradc driver
- add simple clk-ao driver for AXG (base is taken from g12a)
- enable saradc in dts and board config file
- fix typo in the g12a-clk-ao driver name
- move clk->id c
Hello Pali,
On 21.04.22 11:40, Pali Rohár wrote:
> On Thursday 21 April 2022 06:11:11 Heiko Schocher wrote:
>> Hello Pali,
>>
>> On 05.04.22 16:10, Pali Rohár wrote:
>>> On Tuesday 05 April 2022 15:52:17 Stefan Roese wrote:
On 4/5/22 15:28, Pali Rohár wrote:
> On Tuesday 05 April 2022 15:
On 2022/4/20 20:54, Johan Jonker wrote:
The configs ROCKCHIP_CHIP_TAG and ROCKCHIP_MAX_INIT_SIZE were
originally added with rksd.c, rkspi.c and rkcommon.c in mind,
but are no longer in use and replaced by struct spl_info,
so remove unused configs for tag and size.
Signed-off-by: Johan Jonker
This is a follow-up patch for my "disk: don't compile in partition
support for spl/tpl if not really necessary".
"part" command is useful only if, at least, one of partition table types
is selected. So it should have a dependency on PARTITIONS which is now
automatically selected if one of partitio
On 4/19/22 1:32 AM, Jim Liu wrote:
Add clock controller driver for NPCM750
Signed-off-by: Jim Liu
Signed-off-by: Stanley Chu
---
Changes for v3:
- no changes since v2
Changes for v2:
- combine NPCM750 and NPCM845 clk driver.
---
drivers/clk/Makefile | 1 +
On 4/18/22 4:45 PM, Du Huanpeng wrote:
Loongson 1C is a cost-effective SOC chip for industrial control and
the Internet of Things. The Loongson 1C includes a floating-point
processing unit, supports multiple types of memory, and supports
high-capacity MLC NAND Flash. Loongson 1C provides develope
On 4/21/22 1:57 AM, Vyacheslav wrote:
20.04.2022 23:12, Sean Anderson пишет:
On 4/20/22 1:54 PM, Vyacheslav Bocharov wrote:
Add minimal driver AO clocks on meson AXG family. Only ADC related clocks
are supported.
Signed-off-by: Vyacheslav Bocharov
---
drivers/clk/meson/Makefile | 1 +
dri
On 4/21/22 2:48 AM, Tommaso Merciai wrote:
Hi,
I'm working on drivers/clk/imx/clk-imx8mm.c to port and bring up eLCDIF
clocks. After port all necessary clocks needed by eLCDIF I found that
IMX8MM_VIDEO_PLL1 clock is not enabled and need the following code to enable
it at the end of the clk-imx8mm
On 4/21/22 11:26 AM, Patrice CHOTARD wrote:
On 4/21/22 17:18, Marek Vasut wrote:
On 4/21/22 17:09, Patrice CHOTARD wrote:
Hi Marek
Hi,
I tested the current U-Boot master branch
(22bfaa1f673ab5442dfb9778eea4c9a18dee42d0)
This patch is breaking the boot sequence on stm32mp157c-dk2.
Break
On Wed, Apr 13, 2022 at 05:47:21PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan
>
> Since we have CONFIG_COUNTER_FREQUENCY enabled, no need COUNTER_FREQUENCY
>
> Signed-off-by: Peng Fan
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Wed, Apr 13, 2022 at 05:47:20PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan
>
> Set CONFIG_COUNTER_FREQUENCY according to COUNTER_FREQUENCY in
> config header file.
>
> Signed-off-by: Peng Fan
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Wed, Apr 13, 2022 at 05:47:22PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan
>
> Since COUNTER_FREQUENCY is obselete, so set cntfrq_el0 if
> CONFIG_COUNTER_FREQUENCY is valid
>
> Signed-off-by: Peng Fan
> Reviewed-by: Philipp Tomsich
Applied to u-boot/master, thanks!
--
Tom
signature
On Wed, Apr 13, 2022 at 05:47:19PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan
>
> Set default COUNTER_FREQUENCY according to config header file
> under include/configs/
> i.MX6UL/ULL/7D/8QM/8QXP all has system counter frequency run at 8MHz,
> so set default value for them.
> SUNXI/EXYNOS/ROCK
On Wed, Apr 13, 2022 at 05:47:18PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan
>
> Make COUNTER_FREQUENCY usable to armv8 and armv7-a, not limited to
> versal. And update help message.
>
> Signed-off-by: Peng Fan
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP si
On Wed, Apr 13, 2022 at 05:47:17PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan
>
> Since versal has CONFIG_COUNTER_FREQUENCY, so use it. And
> COUNTER_FREQUENCY will be dropped.
>
> Signed-off-by: Peng Fan
> Reviewed-by: Michal Simek
Applied to u-boot/master, thanks!
--
Tom
signature.a
On Tue, Apr 12, 2022 at 11:20:44AM +0200, Pali Rohár wrote:
> ATSHA204A uses bit-reversed checksum of standard CRC-16 with polynomial
> x^16 + x^15 + x^2 + 1.
>
> This ATSHA204A specific checksum can be calculated just by using common
> U-Boot functions bitrev16() and crc16().
>
> So replace cus
On Tue, Apr 12, 2022 at 11:20:43AM +0200, Pali Rohár wrote:
> Implementation in linux/crc16.h provides standard CRC-16 algorithm with
> polynomial x^16 + x^15 + x^2 + 1. Use it and remove duplicate ext4 CRC-16
> specific code.
>
> Signed-off-by: Pali Rohár
> Reviewed-by: Stefan Roese
Applied t
On Tue, Apr 12, 2022 at 11:20:42AM +0200, Pali Rohár wrote:
> This implementation provides standard CRC-16 algorithm with polynomial
> x^16 + x^15 + x^2 + 1.
>
> Signed-off-by: Pali Rohár
> Reviewed-by: Stefan Roese
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP si
On Tue, Apr 12, 2022 at 11:20:41AM +0200, Pali Rohár wrote:
> File fs/ubifs/crc16.h is standard linux's crc16.h include file. So move it
> from fs/ubifs to include/linux where are also other linux include files.
>
> Signed-off-by: Pali Rohár
> Reviewed-by: Stefan Roese
Applied to u-boot/master
On Tue, Apr 12, 2022 at 11:20:40AM +0200, Pali Rohár wrote:
> U-Boot CRC-16 implementation uses polynomial x^16 + x^12 + x^5 + 1 which is
> not standard CRC-16 algorithm, but it is known as CRC-16-CCITT. Rename file
> crc16.c to crc16-ccitt.c to reduce confusion.
>
> Signed-off-by: Pali Rohár
>
On Fri, Apr 08, 2022 at 10:28:05AM +0200, Pali Rohár wrote:
> On P2020 board is SPL malloc simple always failing with error and loops:
>
> SD boot...
> alloc space exhausted
> Bad trap at PC: f8f8b5f0, SR: 21200, vector=d00
> NIP: XER: LR: REGS: f8f8b5f0 TRAP: 2
On Wed, Apr 20, 2022 at 2:26 PM wrote:
>
> From: Oleksii Titov
>
> Signed-off-by: Oleksii Titov
> ---
>
> drivers/usb/eth/r8152.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/usb/eth/r8152.c b/drivers/usb/eth/r8152.c
> index d21fc682b0..1aaa5a79b3 100644
> --- a/drivers/us
Hi Stefan,
On Thu, Apr 21, 2022 at 7:26 AM Stefan Roese wrote:
>
> Hi Tony,
>
> On 4/21/22 03:45, Tony Dinh wrote:
> > Hi Stefan,
> >
> > On Tue, Apr 19, 2022 at 1:47 PM Tony Dinh wrote:
> >>
> >> Hi Stefan,
> >>
> >> On Tue, Apr 19, 2022 at 3:29 AM Stefan Roese wrote:
> >>>
> >>> Hi Tony,
> >>
Hi Gaurav,
Il 19.04.22 16:04, Gaurav Jain ha scritto:
rng driver enabled to read random number using caam.
Signed-off-by: Gaurav Jain
---
drivers/crypto/fsl/jr.c | 8 +++-
drivers/crypto/fsl/rng.c | 8 +++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/cr
Hello everyone, recently I'm trying to port U-Boot 2022.01 to my ipq4019
development board, but I can't get the SPI flash working, when I send the
command sf probe, it returns this:
drivers/core/uclass.c:325-uclass_find_device_by_seq() 0
drivers/core/uclass.c:333-uclass_find_device_by_seq()- 0
On Thu, Apr 21, 2022 at 04:18:55PM +0200, Stefan Roese wrote:
> Hi Tom,
>
> please pull the first batch of Marvell related patches:
>
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Thu, Apr 21, 2022 at 02:23:04PM -0400, Ralph Siemsen wrote:
> On Thu, Apr 21, 2022 at 2:01 PM Tom Rini wrote:
>
> > OK, but this doesn't do anything. Where are you select'ing the new
> > symbol from?
>
> It is in code for a new platform which I am going to slowly beat into
> shape and try t
On Thu, Apr 21, 2022 at 2:01 PM Tom Rini wrote:
> OK, but this doesn't do anything. Where are you select'ing the new
> symbol from?
It is in code for a new platform which I am going to slowly beat into
shape and try to get upstreamed.
If you prefer to see everything at once, I can do that, but
From: Fabio Estevam
When trying to boot via USB on i.MX8MN it is necessary to specify
the U-Boot environment location, otherwise the boot process simply
hangs.
Specify the environment location when booting from USB.
Tested on a imx8mn-evk.
Suggested-by: Michael Nazzareno Trimarchi
Signed-off-
From: Fabio Estevam
Add USB Mass Storage support, which is a convenient way to flash
the eMMC card, for example.
Signed-off-by: Fabio Estevam
---
Changes since v2:
- None
configs/imx8mn_ddr4_evk_defconfig | 12
1 file changed, 12 insertions(+)
diff --git a/configs/imx8mn_ddr4_ev
On Thu, Apr 21, 2022 at 01:52:02PM -0400, Ralph Siemsen wrote:
> Commit 2564fce7eea3 ("sunxi: move Cortex SMPEN setting into start.S")
> added SPL_ARMV7_SET_CORTEX_SMPEN to enable setting SMP bit. For
> platforms not using SPL boot, add the corresponding non-SPL config,
> so that CONFIG_IS_ENABLED
Commit 2564fce7eea3 ("sunxi: move Cortex SMPEN setting into start.S")
added SPL_ARMV7_SET_CORTEX_SMPEN to enable setting SMP bit. For
platforms not using SPL boot, add the corresponding non-SPL config,
so that CONFIG_IS_ENABLED(ARMV7_SET_CORTEX_SMPEN) works as expected.
Signed-off-by: Ralph Siemse
The name of a node should be somewhat generic, reflecting the function
of the device and not its precise programming model.
- oscillator
- syscon
- clock-controller
- reset-controller
- serial
- gpio
- ethernet
- usb-phy
- usb
[1] devicetree-specification-v0.3.pdf
https://github.com/devicetre
On 4/21/22 19:24, Fabio Estevam wrote:
From: Fabio Estevam
When trying to boot via USB on i.MX8MN it is necessary to specify
the U-Boot environment location, otherwise the boot process simply
hangs.
Specify the environment location when booting from USB.
Tested on a imx8mn-evk.
Suggested-by:
From: Fabio Estevam
When trying to boot via USB on i.MX8MN it is necessary to specify
the U-Boot environment location, otherwise the boot process simply
hangs.
Specify the environment location when booting from USB.
Tested on a imx8mn-evk.
Suggested-by: Michael Nazzareno Trimarchi
Signed-off-
From: Fabio Estevam
Add USB Mass Storage support, which is a convenient way to flash
the eMMC card, for example.
Signed-off-by: Fabio Estevam
---
Changes since v1:
- None
configs/imx8mn_ddr4_evk_defconfig | 12
1 file changed, 12 insertions(+)
diff --git a/configs/imx8mn_ddr4_ev
On 21/04/2022 14:10, Michael Nazzareno Trimarchi wrote:
The uboot has no problem, the problem is that the function is wrong ;).
When you boot from USB you should inform where to pick the environment.
You can force ENV_EVERYWHERE for those architectures, you can decide
to change the switch as I s
Hi
On Thu, Apr 21, 2022 at 7:03 PM Fabio Estevam wrote:
>
> On 21/04/2022 14:01, Michael Nazzareno Trimarchi wrote:
>
> > I have seen those patches already but the cost of a function pointer
> > and a call is more readable. If they get applied, I will be fine with
> > them ;)
>
> They are already
On 21/04/2022 14:01, Michael Nazzareno Trimarchi wrote:
I have seen those patches already but the cost of a function pointer
and a call is more readable. If they get applied, I will be fine with
them ;)
They are already in master.
How do we proceed to fix the U-Boot load via USB?
Hi
On Thu, Apr 21, 2022 at 6:51 PM Adam Ford wrote:
>
> On Thu, Apr 21, 2022 at 11:47 AM Fabio Estevam wrote:
> >
> > Hi Michael,
> >
> > On 21/04/2022 13:34, Michael Nazzareno Trimarchi wrote:
> >
> > > That function should drop. There is not other architecture that does
> > > it. What about:
>
Hi Ying,
You woke up an old can, Can you elaborate on the changes you did to
the original patchset ?
I'm reviewing this instead of Joe, so I want to get some context.
I would appreciate it if you could separate the SACK support to a
separate patch, preferably option based.
The TCP stack is compli
From: "Ying-Chun Liu (PaulLiu)"
This commit adds a simple wget command that can download files
from http server.
Signed-off-by: Duncan Hare
Signed-off-by: Ying-Chun Liu (PaulLiu)
Cc: Christian Gmeiner
Cc: Joe Hershberger
Cc: Ramon Fried
---
v13: Fix some issues which is reviewed by Christia
From: "Ying-Chun Liu (PaulLiu)"
Currently file transfers are done using tftp or NFS both
over udp. This requires a request to be sent from client
(u-boot) to the boot server.
The current standard is TCP with selective acknowledgment.
Signed-off-by: Duncan Hare
Signed-off-by: Duncan Hare
Signe
From: "Ying-Chun Liu (PaulLiu)"
This patch is a refresh from previous patches made by
Duncan Hare . I've contacted him and
continue to work on this patch.
This patch introduce a TCP stack with SACK. And a simple wget command
to download images from http server.
v13: Fix some issues which is rev
On Thu, Apr 21, 2022 at 11:47 AM Fabio Estevam wrote:
>
> Hi Michael,
>
> On 21/04/2022 13:34, Michael Nazzareno Trimarchi wrote:
>
> > That function should drop. There is not other architecture that does
> > it. What about:
>
> I implemented your suggestion like this:
>
> --- a/arch/arm/mach-imx/
The Bosch ACC (Air Center Control) Board is based on the i.MX6D.
Signed-off-by: Philip Oberfichtner
---
Changes in v4:
- Remove obsolete CONFIG_FEC #defines
- Sync device tree with Linux
Changes in v3:
- Rename acc to bosch-acc
- Sync device tree with Linux
Changes in v2:
- Adapt defconfig an
Hi Stefano,
On 2022-04-21 16:53, Stefano Babic wrote:
Hi Philip,
Ci is still broken:
On 19.04.22 16:44, Philip Oberfichtner wrote:
The Bosch ACC (Air Center Control) Board is based on the i.MX6D.
[...]
+/* Ethernet */
+#ifdef CONFIG_FEC_MXC
+#define CONFIG_FEC_MXC_PHYADDR 0
+#define CONF
Hi Michael,
On 21/04/2022 13:34, Michael Nazzareno Trimarchi wrote:
That function should drop. There is not other architecture that does
it. What about:
I implemented your suggestion like this:
--- a/arch/arm/mach-imx/imx8m/soc.c
+++ b/arch/arm/mach-imx/imx8m/soc.c
@@ -1536,6 +1536,14 @@ enu
Hi Fabio
On Thu, Apr 21, 2022 at 6:19 PM Fabio Estevam wrote:
>
> Hi Michael,
>
> On 21/04/2022 11:34, Michael Nazzareno Trimarchi wrote:
>
> > You need only add USB_ case in MMC and NAND
> > #ifdef CONFIG_ENV_IS_IN_NAND
> > /* add */
> > case USB_BOOT:
> > case NAND_BOOT:
Hi Michael,
On 21/04/2022 11:34, Michael Nazzareno Trimarchi wrote:
You need only add USB_ case in MMC and NAND
#ifdef CONFIG_ENV_IS_IN_NAND
/* add */
case USB_BOOT:
case NAND_BOOT:
env_loc = ENVL_NAND;
break;
#endif
#ifdef CONFIG_ENV_IS_I
The virtio PCI drivers forgo a number of consistency checks,
particularly around pointer validation and bounds checking. This series
focuses on the modern driver to add those checks.
The start of the series adds and fixes some basic bounds checks. Later
patches ensure PCI addresses fall within the
On Tue, Apr 12, 2022 at 10:59:04AM -0400, Sean Anderson wrote:
> If .bss does not immediately follow the end of the image, then
> CONFIG_SPL_SEPARATE_BSS must be selected. Typically, the location of bss
> is specified by using CONFIG_SPL_BSS_START_ADDR in a linker script. On
> these arches, CONFIG
On Mon, Apr 11, 2022 at 03:42:01PM +, Paul Barker wrote:
> The Sancloud BeagleBone Enhanced Extended WiFi (BBE Extended WiFi) has
> its own devicetree file and the board can be identified by the 2nd
> letter of the config string within the common EEPROM.
>
> Signed-off-by: Paul Barker
Appli
On Mon, Apr 11, 2022 at 03:42:00PM +, Paul Barker wrote:
> The Sancloud BeagleBone Enhanced Lite (BBE Lite) has its own devicetree
> file and the board can be identified by the 2nd letter of the config
> string within the common EEPROM.
>
> Signed-off-by: Paul Barker
Applied to u-boot/maste
On Mon, Apr 11, 2022 at 03:41:59PM +, Paul Barker wrote:
> Sync BeagleBone dts files & TPS dtsi files with Linux v5.17 and include
> the SanCloud BBE Extended WiFi dts added in v5.18-rc1. Also pull in
> changes to am33xx-l4.dtsi needed to support the BeagleBone Blue.
>
> The change to use the
On Wed, Apr 06, 2022 at 11:34:00PM +0200, Pali Rohár wrote:
> CONFIG_SPL_FS_SQUASHFS cannot be disabled when CONFIG_FS_SQUASHFS is
> enabled. Fix it.
>
> Signed-off-by: Pali Rohár
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Wed, Apr 06, 2022 at 02:21:34AM +0200, Marek Vasut wrote:
> Implement arch_env_get_location() instead of env_get_location(), so that
> the env_get_location() can be implemented on board level and override the
> arch_env_get_location() architecture defaults.
>
> Signed-off-by: Marek Vasut
> Cc
On Wed, Apr 06, 2022 at 02:21:33AM +0200, Marek Vasut wrote:
> Implement arch_env_get_location() instead of env_get_location(), so that
> the env_get_location() can be implemented on board level and override the
> arch_env_get_location() architecture defaults.
>
> Signed-off-by: Marek Vasut
> Cc
On Wed, Apr 06, 2022 at 02:21:32AM +0200, Marek Vasut wrote:
> Currently there is only one way to override desired environment location,
> by implementing env_get_location(). This is increasingly being conflated
> both on board level and architecture level, which leads to a problem on
> boards whe
On 4/21/22 17:18, Marek Vasut wrote:
> On 4/21/22 17:09, Patrice CHOTARD wrote:
>> Hi Marek
>
> Hi,
>
>> I tested the current U-Boot master branch
>> (22bfaa1f673ab5442dfb9778eea4c9a18dee42d0)
>> This patch is breaking the boot sequence on stm32mp157c-dk2.
>
> Breaking it ... how ? What happ
On 4/21/22 17:09, Patrice CHOTARD wrote:
Hi Marek
Hi,
I tested the current U-Boot master branch
(22bfaa1f673ab5442dfb9778eea4c9a18dee42d0)
This patch is breaking the boot sequence on stm32mp157c-dk2.
Breaking it ... how ? What happens, hang ?
Hi Marek
I tested the current U-Boot master branch
(22bfaa1f673ab5442dfb9778eea4c9a18dee42d0)
This patch is breaking the boot sequence on stm32mp157c-dk2.
Thanks
Patrice
On 4/4/22 01:23, Marek Vasut wrote:
> In case the DT LED subnode contains "default-state" property set to
> either "on" or "
Hi Philip,
Ci is still broken:
On 19.04.22 16:44, Philip Oberfichtner wrote:
The Bosch ACC (Air Center Control) Board is based on the i.MX6D.
Signed-off-by: Philip Oberfichtner
---
Changes in v3:
- Rename acc to bosch-acc
- Sync device tree with Linux
Changes in v2:
- Adapt defconfig and d
Hi Michael,
On 4/20/22 4:06 AM, Michael Walle wrote:
> Am 2022-04-20 01:51, schrieb Sean Anderson:
>>> Could you submit a patch there to add your new compatibles?
>>
>> Sure. I didn't know there was an upstream binding, but I'll try and
>> add these properties.
>
> If you'll submit the patch(es)
On 4/21/22 16:17, Fabio Estevam wrote:
Hi Marek,
On Wed, Apr 20, 2022 at 7:15 PM Marek Vasut wrote:
Did you actually hit the USB_BOOT case or did you fall into the default:
case ?
It does hit the USB_BOOT case.
I also tested forcing to return ENVL_UNKNOWN:
Hum, sigh.
Can you check where
On 4/12/22 11:20, Pali Rohár wrote:
ATSHA204A uses bit-reversed checksum of standard CRC-16 with polynomial
x^16 + x^15 + x^2 + 1.
This ATSHA204A specific checksum can be calculated just by using common
U-Boot functions bitrev16() and crc16().
So replace custom driver CRC-16 implementation by c
On 4/12/22 11:20, Pali Rohár wrote:
Implementation in linux/crc16.h provides standard CRC-16 algorithm with
polynomial x^16 + x^15 + x^2 + 1. Use it and remove duplicate ext4 CRC-16
specific code.
Signed-off-by: Pali Rohár
Reviewed-by: Stefan Roese
Thanks,
Stefan
---
fs/ext4/Makefile
On 4/12/22 11:20, Pali Rohár wrote:
This implementation provides standard CRC-16 algorithm with polynomial
x^16 + x^15 + x^2 + 1.
Signed-off-by: Pali Rohár
Reviewed-by: Stefan Roese
Thanks,
Stefan
---
fs/ubifs/Makefile | 2 +-
include/u-boot/crc.h | 3 +++
lib/Makefile
On 4/12/22 11:20, Pali Rohár wrote:
File fs/ubifs/crc16.h is standard linux's crc16.h include file. So move it
from fs/ubifs to include/linux where are also other linux include files.
Signed-off-by: Pali Rohár
Reviewed-by: Stefan Roese
Thanks,
Stefan
---
fs/ubifs/crc16.c
On 4/12/22 11:20, Pali Rohár wrote:
U-Boot CRC-16 implementation uses polynomial x^16 + x^12 + x^5 + 1 which is
not standard CRC-16 algorithm, but it is known as CRC-16-CCITT. Rename file
crc16.c to crc16-ccitt.c to reduce confusion.
Signed-off-by: Pali Rohár
Reviewed-by: Stefan Roese
Thank
Hi Fabio
On Thu, Apr 21, 2022 at 4:17 PM Fabio Estevam wrote:
>
> Hi Marek,
>
> On Wed, Apr 20, 2022 at 7:15 PM Marek Vasut wrote:
>
> > Did you actually hit the USB_BOOT case or did you fall into the default:
> > case ?
>
> It does hit the USB_BOOT case.
>
> I also tested forcing to return ENVL
Hi Tony,
On 4/21/22 03:45, Tony Dinh wrote:
Hi Stefan,
On Tue, Apr 19, 2022 at 1:47 PM Tony Dinh wrote:
Hi Stefan,
On Tue, Apr 19, 2022 at 3:29 AM Stefan Roese wrote:
Hi Tony,
On 4/12/22 22:18, Tony Dinh wrote:
For most Kirkwood boards, the PHY page is already set to page 0
(in registe
Hi Tom,
please pull the first batch of Marvell related patches:
- mrvl_uart.sh: Remove script (Pali)
- Fix Espressobin build for configs where ENV is not in SPI (Rogier)
- mvebu: a37xx: Add support for reading OTP (Pali)
- mvebu: u
On 4/18/22 01:42, Tony Dinh wrote:
The Globalscale Technologies Sheevaplug board has the network chip
Marvell 88E1116R. Use uclass mvgbe and the compatible driver M88E1310
driver to bring up Ethernet.
- Remove CONFIG_RESET_PHY_R symbol from all board files
- Use uclass mvgbe to bring up the netw
Hi Marek,
On Wed, Apr 20, 2022 at 7:15 PM Marek Vasut wrote:
> Did you actually hit the USB_BOOT case or did you fall into the default:
> case ?
It does hit the USB_BOOT case.
I also tested forcing to return ENVL_UNKNOWN:
--- a/arch/arm/mach-imx/imx8m/soc.c
+++ b/arch/arm/mach-imx/imx8m/soc.c
On 4/8/22 16:30, Pali Rohár wrote:
DT node name should be generic, therefore rename atsha204a@64 to crypto@64.
Signed-off-by: Pali Rohár
Applied to u-boot-marvell/master
Thanks,
Stefan
---
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi | 2 +-
board/CZ.NIC/turris_atsha_otp.c
On 4/8/22 16:30, Pali Rohár wrote:
Turris Omnia uses first MAC address from OTP for second ethernet interface.
Second MAC address for third interface and third MAC address for first
interface.
Other Turris routers do not have this rotate by one mapping. So add
function parameter for specifying i
On 4/8/22 16:30, Pali Rohár wrote:
Atsha device is used prior relocation and at this early stage BSS does not
have to be ready yet. So do not cache Atsha device in BSS.
Fixes support for other Turris routers.
Signed-off-by: Pali Rohár
Applied to u-boot-marvell/master
Thanks,
Stefan
---
On 4/8/22 16:30, Pali Rohár wrote:
OTP code is not Atsha generic but also it is not Omnia specific. It is
common for all Turris routers which use Atsha cryptochip for storing OTP.
So move this common Turris specific Atsha OTP code from Turris Omnia into
separate file. It will be used also by othe
On 4/7/22 11:32, Pali Rohár wrote:
Implement write support for Security OTP values via mailbox API commands
MBOX_CMD_OTP_WRITE_32B and MBOX_CMD_OTP_WRITE.
Write support for North and South Bridge OTPs are not implemented as these
OTPs are already burned in factory with some data.
Signed-off-by:
On 4/21/22 16:01, Fabio Estevam wrote:
From: Fabio Estevam
Currently the following output is shown:
...
Trying to boot from BOOTROM
Find img info 0x&48020a00, size 872
...
Remove the extraneous "&" character, so that the correct output
can be seen.
Signed-off-by: Fabio Estevam
Acked-by: Ma
On 4/6/22 16:20, Pali Rohár wrote:
U-Boot SPL is on 32-bit mvebu executed by the BootROM. And BootROM expects
that U-Boot SPL returns execution back to the BootROM. Vectors during
execution of U-Boot SPL should not be changed as BootROM does not expect it
and uses its own vectors. So do not overw
On 4/6/22 16:20, Pali Rohár wrote:
Vector table is not used when SYS_NO_VECTOR_TABLE is enabled.
So do not compile it and reduce image size.
Signed-off-by: Pali Rohár
Applied to u-boot-marvell/master
Thanks,
Stefan
---
arch/arm/lib/vectors.S | 6 ++
1 file changed, 6 insertions(+)
On 4/6/22 16:20, Pali Rohár wrote:
Move OMAP4 specific option for disabling overwriting vector table into
config option CONFIG_SPL_SYS_NO_VECTOR_TABLE.
Signed-off-by: Pali Rohár
Applied to u-boot-marvell/master
Thanks,
Stefan
---
arch/arm/Kconfig| 4
arch/arm/cpu/armv7/
On 4/6/22 15:26, Pali Rohár wrote:
This allows to read eFuse on Turris Omnia.
Signed-off-by: Pali Rohár
Applied to u-boot-marvell/master
Thanks,
Stefan
---
configs/turris_omnia_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/turris_omnia_defconfig b/configs/turri
On 4/6/22 15:18, Pali Rohár wrote:
fstat()'s st_size works only for regular files. lseek() with SEEK_END works
also for block or MTD devices. This replacement allows kwboot to load
kwbimage from /dev/mtd0 for booting another device over /dev/ttyS0.
Signed-off-by: Pali Rohár
Applied to u-boot-
On 4/6/22 14:18, Pali Rohár wrote:
Armada 385 contains 64 lines of HD eFuse and 2 lines of LD eFuse. HD eFuse
is used for secure boot and each line is 64 bits long + 1 lock bit. LD
eFuse lines are 256 bits long + 1 lock bit. LD 0 line is reserved for
Marvell Internal Use and LD 1 line is for Gene
On 3/24/22 10:57, Robert Marko wrote:
Update the current uDPU defconfig with following changes:
* Disable CONFIG_SPI_BOOT, its not needed for booting and the device boots
from eMMC anyway.
* Disable CONFIG_SYS_CONSOLE_INFO_QUIET, there is no need to diverge from
other boards by not priting the co
On 3/24/22 10:57, Robert Marko wrote:
Update the uDPU DTS to the version that is pending upstream [1][2].
[1]
https://patchwork.kernel.org/project/linux-arm-kernel/patch/20220322105857.1107016-1-robert.ma...@sartura.hr/
[2]
https://patchwork.kernel.org/project/linux-arm-kernel/patch/2022032210
1 - 100 of 168 matches
Mail list logo