Hi,
> -Original Message-
> From: Lim, Jit Loon
> Sent: Wednesday, 31 August, 2022 2:46 PM
> To: u-boot@lists.denx.de
> Cc: Jagan Teki ; Vignesh R
> ; Vasut, Marek ; Simon
> ; Chee, Tien Fong
> ; Hea, Kok Kiang ;
> Lim, Elly Siew Chin ; Kho, Sin Hui
> ; Lokanathan, Raaj ;
> Maniyam,
Hi Derek,
On 12/7/22 21:56, Derek LaHousse wrote:
Default env variables on Espressobin boards are broken since
commit c4df0f6f315c ("arm: mvebu: Espressobin: Set default value for
$fdtfile env variable") as well as the 'env default -a' command.
The algorithm to find free space in the
Hi,
A Gentle reminder for this series.
On 25/11/22 11:29, Dhruva Gole wrote:
Intent of these patches is to fix register reads in STIG mode and also
use STIG mode while reading flash registers.
Currently if you try to read a register while in STIG mode there is no
support for ADDR and thus
On 12/7/22 16:11, Etienne Carriere wrote:
Measures the DTB passed to the EFI application upon new boolean config
switch CONFIG_EFI_TCG2_PROTOCOL_MEASURE_DTB. For platforms where the
content of the DTB passed to the OS can change across reboots, there is
not point measuring it hence the config
On 12/7/22 12:25, Vyacheslav Mitrofanov V wrote:
On Tue, 2022-12-06 at 13:22 +0100, Daniel Schwierzeck wrote:
«Внимание! Данное письмо от внешнего адресата!»
On 12/6/22 08:08, Viacheslav Mitrofanov wrote:
MAC address of a link-partner is not saved for future use because
of
bad condition of
Default env variables on Espressobin boards are broken since
commit c4df0f6f315c ("arm: mvebu: Espressobin: Set default value for
$fdtfile env variable") as well as the 'env default -a' command.
The algorithm to find free space in the default_environment[] array
returns after the first env
Hi Quentin,
On Wed, 7 Dec 2022 at 23:19, Quentin Schulz
wrote:
>
> Hi Simon,
>
> On 12/7/22 02:08, Simon Glass wrote:
> > Hi Kevar,
> >
> > On Mon, 7 Nov 2022 at 11:40, Simon Glass wrote:
> >>
> >> At present rockchip 64-bit boards make use of a FIT-generator script
> >> written in Python. The
Hi Simon,
On 12/7/22 02:08, Simon Glass wrote:
Hi Kevar,
On Mon, 7 Nov 2022 at 11:40, Simon Glass wrote:
At present rockchip 64-bit boards make use of a FIT-generator script
written in Python. The script supports splitting an ELF file into several
'loadable' nodes in the FIT. Binman does
So far, standard boot does not replicate all the of the functionality
of the distro_bootcmd scripts. In particular it lacks some bootdevs and
some of the bootmeths are incomplete.
Also there is currently no internal mechanism to enumerate buses in order
to discover bootdevs, e.g. with USB.
This
Add initial version of device tree for Meta Greatlakes BMC which is
equipped with Aspeed AST2600 BMC SoC.
Signed-off-by: Delphine CC Chiu
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/ast2600-greatlakes.dts | 191 ++
On Sun, Nov 27, 2022 at 10:24:56AM -0500, Tom Rini wrote:
> This platform had largely disabled networking support before. More
> completely disable it by turning off CONFIG_NET.
>
> Cc: Anastasiia Lukianenko
> Cc: Oleksandr Andrushchenko
> Signed-off-by: Tom Rini
Except for patch 6, for the
Hi Sergei,
On Thu, 8 Dec 2022 at 06:09, Sergei Antonov wrote:
>
> On Wed, 7 Dec 2022 at 04:08, Simon Glass wrote:
> >
> > Hi Sergei,
> >
> > On Tue, 6 Dec 2022 at 23:07, Sergei Antonov wrote:
> > >
> > > Support Holtek HT1380/HT1381 Serial Timekeeper Chip. It provides seconds
> > > , minutes,
We borrow from the Linux Kernel 0d362be5b142 ("Makefile: link with -z
noexecstack --no-warn-rwx-segments") here to disable the RWX segment
linking warnings. We do not also bring in -z noexecstack as that
requires auditing and using ".note.GNU-stack" on assembly functions
which do need this
Convert the board from legacy serial code to DM SERIAL.
Signed-off-by: Marek Vasut
---
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/m53menlo_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/m53menlo_defconfig b/configs/m53menlo_defconfig
index b4ada56a36b..024a35e265f
On Wed, Dec 07, 2022 at 03:08:46PM -0500, Detlev Casanova wrote:
> On Wednesday, December 7, 2022 3:03:56 P.M. EST Tom Rini wrote:
> > On Mon, Dec 05, 2022 at 02:33:48PM -0300, Fabio Estevam wrote:
> > > On Mon, Dec 5, 2022 at 12:37 PM Tom Rini wrote:
> > > > I'm not really happy with this
On Wednesday, December 7, 2022 3:03:56 P.M. EST Tom Rini wrote:
> On Mon, Dec 05, 2022 at 02:33:48PM -0300, Fabio Estevam wrote:
> > On Mon, Dec 5, 2022 at 12:37 PM Tom Rini wrote:
> > > I'm not really happy with this approach. It's not that upstream doesn't
> > > have aliases now, it's that it
On Mon, Dec 05, 2022 at 02:33:48PM -0300, Fabio Estevam wrote:
> On Mon, Dec 5, 2022 at 12:37 PM Tom Rini wrote:
>
> > I'm not really happy with this approach. It's not that upstream doesn't
> > have aliases now, it's that it has different aliases, right? That's why
> > they won't accept these?
On Wed, Dec 07, 2022 at 02:53:10PM -0500, Detlev Casanova wrote:
> On Monday, December 5, 2022 12:33:48 P.M. EST Fabio Estevam wrote:
> > On Mon, Dec 5, 2022 at 12:37 PM Tom Rini wrote:
> > > I'm not really happy with this approach. It's not that upstream doesn't
> > > have aliases now, it's
This option is deprecated and only used by two boards. Enable it for just
those two boards, so others don't accidentally enable it.
Signed-off-by: Simon Glass
---
Changes in v5:
- Add new patch to disable USE_SPL_FIT_GENERATOR by default
Changes in v3:
- Add support for writing sections in
This is not used anymore. Drop it.
Signed-off-by: Simon Glass
---
(no changes since v1)
Makefile | 3 -
arch/arm/mach-rockchip/make_fit_atf.py | 267 -
boot/Kconfig | 1 -
3 files changed, 271 deletions(-)
Add the required binman images to replace the Makefile rules which are
currently used. This includes subsuming:
- tpl/u-boot-tpl-rockchip.bin if TPL is enabled
- idbloader.img if either or both of SPL and TPL are enabled
- u-boot.itb if SPL_FIT is enabled
- u-boot-rockchip.bin if SPL
Instead of the bash script, use binman to generate the FIT for arm64.
For 32-bit boards, use binman for all images, dropping the intermediate
files.
With this change, only Zynq is now using SPL_FIT_GENERATOR so update the
Kconfig rule accordingly.
Clean up the Makefile to the extent possible.
Enable multiple-images so we can generate more than one image. Also
add a comment for the end of the #if block.
Signed-off-by: Simon Glass
---
Changes in v5:
- Rename from 'Include binman script in 64-bit boards'
- Drop duplicate #include in rk3368-u-boot.dtsi
- Keep the name as fit for puma
-
This boards uses SPL_FIT so does not need to support loading a raw image.
Drop it to avoid binman trying to insert a symbol which has no value.
Signed-off-by: Simon Glass
---
(no changes since v1)
configs/evb-rk3288_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git
At present rockchip 64-bit boards make use of a FIT-generator script
written in Python. The script supports splitting an ELF file into several
'loadable' nodes in the FIT. Binman does not current support this feature.
This series adds binman support for ELF splitting. This works by adding a
new
At present only the image (which is a section) has a filename. Move this
implementation to the entry_Section class so that any section can have a
filename. With this, the section data is written to a file.
This allows parts of an image to be written, along with the entire image.
Make a note that
On Monday, December 5, 2022 12:33:48 P.M. EST Fabio Estevam wrote:
> On Mon, Dec 5, 2022 at 12:37 PM Tom Rini wrote:
> > I'm not really happy with this approach. It's not that upstream doesn't
> > have aliases now, it's that it has different aliases, right? That's why
> > they won't accept
On 12/7/22 11:08, Patrick DELAUNAY wrote:
Hi Marek,
Hello Patrick,
Sorry for the delay.
No worries.
I cross-check with ROM code team to understood this API limitation.
Thank you!
On 12/6/22 23:49, Marek Vasut wrote:
In case Dcache is enabled while the ECDSA authentication function
With U-Boot having access to ROM API call table, it is possible to use
the ROM API call it authenticate e.g. signed kernel fitImages using the
BootROM ECDSA support. Make this available by pulling the ECDSA BootROM
call support from SPL-only guard.
Reviewed-by: Patrice Chotard
Reviewed-by:
The ROM API table pointer is no longer accessible from U-Boot, fix
this by passing the ROM API pointer through. This makes it possible
for U-Boot to call ROM API functions to authenticate payload like
signed fitImages.
Signed-off-by: Marek Vasut
---
Cc: Alexandru Gagniuc
Cc: Patrice Chotard
The STM32MP15xx platform currently comes with two incompatible
implementations of save_boot_params() weak function override.
Factor the save_boot_params() implementation into common cpu.c
code and provide accessors to read out both ROM API table address
and DT address from any place in the code
In case Dcache is enabled while the ECDSA authentication function is
called via BootROM ROM API, the MMU tables are set up and the BootROM
region is not marked as executable, so an attempt to run code from it
results in a hang. Mark the BootROM region as executable as suggested
by Patrick to
On Wed, 7 Dec 2022 at 04:08, Simon Glass wrote:
>
> Hi Sergei,
>
> On Tue, 6 Dec 2022 at 23:07, Sergei Antonov wrote:
> >
> > Support Holtek HT1380/HT1381 Serial Timekeeper Chip. It provides seconds
> > , minutes, hours, day of the week, date, month and year information.
> >
> > Datasheet:
> >
> On Wed, Dec 07, 2022 at 02:27:37PM +, Holger Brunck wrote:
> > > > - migrate all boards to environment.txt files
> > > > - migrate PPC boards to DM_I2C
> > > > - some cleanup
> > > >
> > > > Holger Brunck (7):
> > > > board/km: move ls102xa boards to environment text files
> > > >
On 12/6/22 08:38, Patrice CHOTARD wrote:
> Hi Marek
>
> On 12/6/22 03:35, Marek Vasut wrote:
>> Enable watchdog timer on the DHSOM by default, both in U-Boot proper and
>> in SPL. This can be used in combination with boot counter by either SPL
>> or U-Boot proper to boot either copy of system
On 12/6/22 08:39, Patrice CHOTARD wrote:
> Hi
>
> On 12/6/22 03:35, Marek Vasut wrote:
>> Increment the boot counter already in U-Boot SPL instead of incrementing
>> it only later in U-Boot proper. This can be used by SPL to boot either of
>> two U-Boot copies and improve redundancy of
On 12/6/22 08:39, Patrice CHOTARD wrote:
> Hi
>
> On 12/6/22 03:35, Marek Vasut wrote:
>> Enable the stm32prog, stm32key, stboard commands on DHSOM.
>> Those can be used e.g. to implement verified boot.
>>
>> Signed-off-by: Marek Vasut
>> ---
>> Cc: Patrice Chotard
>> Cc: Patrick Delaunay
On 11/2/22 09:26, Patrice CHOTARD wrote:
>
>
> On 11/1/22 23:35, Marek Vasut wrote:
>> Enable insertion of version variable into U-Boot environment on DHSOM,
>> to make it possible to check U-Boot version e.g. in U-Boot scripts.
>>
>> Signed-off-by: Marek Vasut
>> ---
>> Cc: Patrice Chotard
On 10/28/22 09:05, Patrice CHOTARD wrote:
>
> On 10/27/22 23:17, Marek Vasut wrote:
>> Add boot counter to STM32MP15xx DHSOM. This aligns the software with
>> other upstream DHSOM products which already do enable boot counter.
>>
>> The boot counter on STM32MP15xx is placed in the TAMP block
On 11/3/22 08:46, Patrice CHOTARD wrote:
>
>
> On 11/2/22 14:53, Yann Gautier wrote:
>> From: Marek Vasut
>>
>> The pl18x MMCI driver does not use the interrupt-names property,
>> the binding document has been updated to recommend this property
>> be unused, remove it.
>> Backport of Marek's
On 11/3/22 08:45, Patrice CHOTARD wrote:
>
>
> On 11/2/22 14:53, Yann Gautier wrote:
>> On STM32MP135F-DK, the SD card detect GPIO is GPIOH4.
>> Backport of the Linux patch:
>> https://lore.kernel.org/linux-arm-kernel/20220921160334.3227138-1-yann.gaut...@foss.st.com/
>>
>> Signed-off-by:
On Wed, Dec 07, 2022 at 02:27:37PM +, Holger Brunck wrote:
> > > - migrate all boards to environment.txt files
> > > - migrate PPC boards to DM_I2C
> > > - some cleanup
> > >
> > > Holger Brunck (7):
> > > board/km: move ls102xa boards to environment text files
> > > km/powerpc: migrate to
On 12/7/22 16:57, Patrice CHOTARD wrote:
>
>
> On 11/23/22 16:20, Olivier Moysan wrote:
>> Add support of generic IIO channels binding:
>> ./devicetree/bindings/iio/adc/adc.yaml
>> Keep support of st,adc-channels for backward compatibility.
>>
>> Signed-off-by: Olivier Moysan
>> ---
>>
>>
On 12/7/22 16:54, Patrice CHOTARD wrote:
>
>
> On 11/23/22 16:20, Olivier Moysan wrote:
>> Split stm32_adc_chan_of_init channel initialization function into
>> several routines to increase readability and prepare channel
>> generic binding handling.
>>
>> Signed-off-by: Olivier Moysan
>> ---
On 11/23/22 16:20, Olivier Moysan wrote:
> Add support of generic IIO channels binding:
> ./devicetree/bindings/iio/adc/adc.yaml
> Keep support of st,adc-channels for backward compatibility.
>
> Signed-off-by: Olivier Moysan
> ---
>
> drivers/adc/stm32-adc.c | 51
On 11/23/22 16:20, Olivier Moysan wrote:
> Split stm32_adc_chan_of_init channel initialization function into
> several routines to increase readability and prepare channel
> generic binding handling.
>
> Signed-off-by: Olivier Moysan
> ---
>
> drivers/adc/stm32-adc.c | 44
On 12/7/22 16:47, Patrice CHOTARD wrote:
>
>
> On 11/24/22 11:36, Gabriel Fernandez wrote:
>> Adds support of Clock and Reset drivers for STM32MP13 platform.
>>
>> Signed-off-by: Gabriel Fernandez
>> Reviewed-by: Patrick Delaunay
>>
>> ---
>>
>> (no changes since v2)
>>
>> Changes in v2:
>>
On 12/7/22 16:46, Patrice CHOTARD wrote:
>
>
> On 11/24/22 11:36, Gabriel Fernandez wrote:
>> STM32MP13 RCC driver uses Common Clock Framework and also a
>> 'clk-stm32-core' API. Then STM32MPx RCC driver will contain only data
>> configuration (gates, mux, dividers and the way to check
On 12/7/22 16:42, Patrice CHOTARD wrote:
>
>
> On 11/24/22 11:36, Gabriel Fernandez wrote:
>> Add support of stm32mp13 DT bindings of clock and reset.
>>
>> Signed-off-by: Gabriel Fernandez
>> Reviewed-by: Patrick Delaunay
>>
>> ---
>>
>> Changes in v4:
>> - update MAINTAINERS files
>>
>>
On 11/24/22 11:36, Gabriel Fernandez wrote:
> Adds support of Clock and Reset drivers for STM32MP13 platform.
>
> Signed-off-by: Gabriel Fernandez
> Reviewed-by: Patrick Delaunay
>
> ---
>
> (no changes since v2)
>
> Changes in v2:
> - missing support of CRYP1 clock
>
>
On 11/24/22 11:36, Gabriel Fernandez wrote:
> STM32MP13 RCC driver uses Common Clock Framework and also a
> 'clk-stm32-core' API. Then STM32MPx RCC driver will contain only data
> configuration (gates, mux, dividers and the way to check security)
> or some specific clocks.
> This API will be
On 11/24/22 11:36, Gabriel Fernandez wrote:
> Add support of stm32mp13 DT bindings of clock and reset.
>
> Signed-off-by: Gabriel Fernandez
> Reviewed-by: Patrick Delaunay
>
> ---
>
> Changes in v4:
> - update MAINTAINERS files
>
> MAINTAINERS | 5 +-
>
Makes OP-TEE to enumerate also services depending on tee-supplicant
support in U-Boot. This change allows OP-TEE services like fTPM TA
to be discovered and get a TPM device registered in U-Boot.
Signed-off-by: Etienne Carriere
---
drivers/tee/optee/core.c | 32 +++-
Fixes optee-rng driver bind sequence in optee driver to print a warning
message but not report an error status when a optee-rng service driver
fails to be bound as the optee driver itself is still fully functional.
Signed-off-by: Etienne Carriere
---
drivers/tee/optee/core.c | 2 +-
1 file
Opens the fTPM session with TEE_LOGIN_REE_KERNEL as fTPM may restrict
access to that login when Linux based OS is running as applications are
expected to got through the Linux TPMv2 driver.
Signed-off-by: Etienne Carriere
---
drivers/tpm/tpm2_ftpm_tee.c | 1 +
1 file changed, 1 insertion(+)
Measures the DTB passed to the EFI application upon new boolean config
switch CONFIG_EFI_TCG2_PROTOCOL_MEASURE_DTB. For platforms where the
content of the DTB passed to the OS can change across reboots, there is
not point measuring it hence the config switch to allow platform to not
embed this
On 12/7/22 15:14, Sergiu Moga wrote:
> This series of patches is meant to add support for USB Mass Storage
> on SAM9X60, SAMA7G5 and SAMA5D2 boards and register ohci-at91 driver into
> Driver Model. In order for this to be achieved, the respective
> DT nodes have been added, the USB clock has been
On Wed, 2022-12-07 at 09:42 -0500, Tom Rini wrote:
> On Wed, Dec 07, 2022 at 03:29:37PM +0100, Heinrich Schuchardt wrote:
>
> > Don't fall through to handling an IPv6 header as IPv4.
> >
> > Fixes: ffdbf3bad5f3 ("net: ipv6: Incorporate IPv6 support into u-
> > boot net subsystem")
> >
On Wed, Dec 07, 2022 at 03:41:18PM +0100, Patrice CHOTARD wrote:
> Hi All
>
> Just to notice that 3 times in a raw, "build all 32bit ARM platforms" can't
> be completed due to 1 hour timeout,
> we got the following execution status :
>
> ERROR: Job failed: execution took longer than 1h0m0s
On Wed, Dec 07, 2022 at 03:29:37PM +0100, Heinrich Schuchardt wrote:
> Don't fall through to handling an IPv6 header as IPv4.
>
> Fixes: ffdbf3bad5f3 ("net: ipv6: Incorporate IPv6 support into u-boot net
> subsystem")
> Addresses-Coverity-ID: 430975 ("Missing break in switch")
> Signed-off-by:
Hi All
Just to notice that 3 times in a raw, "build all 32bit ARM platforms" can't be
completed due to 1 hour timeout,
we got the following execution status :
ERROR: Job failed: execution took longer than 1h0m0s seconds
see :
https://source.denx.de/u-boot/custodians/u-boot-stm/-/jobs/539133
On Wed, Dec 07, 2022 at 09:26:39AM +0100, Patrick Delaunay wrote:
> Addition for previous commit a331017c237c ("Complete migration of
> MTDPARTS_DEFAULT / MTDIDS_DEFAULT, include in environment")
>
> Remove the remaining defines MTDPARTS_DEFAULT and MTDIDS_DEFAULT
> in the configuration files
On Tue, Dec 06, 2022 at 01:06:59PM +0300, Sergei Antonov wrote:
> Support Holtek HT1380/HT1381 Serial Timekeeper Chip. It provides seconds
> , minutes, hours, day of the week, date, month and year information.
>
> Datasheet:
> https://www.holtek.com.tw/documents/10179/11842/ht1380_1v130.pdf
>
Don't fall through to handling an IPv6 header as IPv4.
Fixes: ffdbf3bad5f3 ("net: ipv6: Incorporate IPv6 support into u-boot net
subsystem")
Addresses-Coverity-ID: 430975 ("Missing break in switch")
Signed-off-by: Heinrich Schuchardt
---
Do we have a unit trest of IPv6?
I guess we should at
> > - migrate all boards to environment.txt files
> > - migrate PPC boards to DM_I2C
> > - some cleanup
> >
> > Holger Brunck (7):
> > board/km: move ls102xa boards to environment text files
> > km/powerpc: migrate to env.txt file
> > board/km/cent2: migrate to environment text file
> >
The aarch64 catch-all job is getting close to the hard time limit in
Azure for the free tier. Move i.MX9 boards to the i.MX8 job and move
amlogic entirely to its own job. This brings us down from 85 boards to
51 boards and so should be safe for a while.
Signed-off-by: Tom Rini
---
On Wed, 12 Oct 2022 19:13:11 +0200, Heinrich Schuchardt wrote:
> Builiding with GCC 12.2 fails:
>
> arch/powerpc/cpu/mpc85xx/liodn.c: In function 'fdt_fixup_liodn_tbl_fman':
> arch/powerpc/cpu/mpc85xx/liodn.c:340:35: error: the comparison will
> always evaluate as 'false' for the
On Tue, 22 Nov 2022 12:31:53 -0500, Tom Rini wrote:
> Update the toolchain list to be first 12.2.0 and second 11.1.0 and
> that's it.
>
>
Applied to u-boot/next, thanks!
--
Tom
Enable the OHCI and EHCI related configs required in order to be
able to use the USB command properly.
Signed-off-by: Sergiu Moga
---
configs/sama5d27_som1_ek_mmc1_defconfig| 5 +
configs/sama5d27_som1_ek_mmc_defconfig | 5 +
configs/sama5d27_som1_ek_qspiflash_defconfig
From: Cristian Birsan
The `ohci_register` function expects that the OHCI driver's
priv is a struct whose first field is of type `ohci_t`.
The original conversion to DM did not have it and this
inconsistency revealed itself whenever U-Boot required
multiple memory allocations resulting in a
Add the pinctrl nodes required by the USB related DT nodes.
Signed-off-by: Sergiu Moga
---
arch/arm/dts/at91-sama5d27_wlsom1_ek.dts | 25
1 file changed, 25 insertions(+)
diff --git a/arch/arm/dts/at91-sama5d27_wlsom1_ek.dts
b/arch/arm/dts/at91-sama5d27_wlsom1_ek.dts
Add the pinctrl subnodes required by the USB related DT nodes.
Signed-off-by: Sergiu Moga
---
arch/arm/dts/at91-sama5d2_icp.dts | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/dts/at91-sama5d2_icp.dts
b/arch/arm/dts/at91-sama5d2_icp.dts
index
Add the ability to enable/disable whatever USB PHY's are
passed to the AT91 OHCI driver through DT.
Signed-off-by: Sergiu Moga
Tested-by: Mihai Sain
---
drivers/usb/host/ohci-at91.c | 31 +++
1 file changed, 31 insertions(+)
diff --git
Enable USB and RESET functionality. In order for USB to
work properly on SAMA7, the driver needs to be able
to have access to PHY's, which, in turn, need to have
access to the RSTC driver's assert/deassert functionalities.
Signed-off-by: Sergiu Moga
Tested-by: Mihai Sain
---
In order to have USB functionality, drivers for SAMA7's
USB 2.0 PHY's have been added. There is one driver
for UTMI clock's SFR and RESET required functionalities and
one for its three possible subclocks of the phy's themselves.
In order for this layout to properly work in conjunction with
CCF and
Add support for at91 reset controller's basic assert/deassert
operations. Since this driver conflicts with the
SYSRESET driver because they both bind to the same RSTC node,
implement a custom bind hook that would manually bind the
sysreset driver, if enabled, to the same RSTC DT node.
Furthermore,
From: Cristian Birsan
Special Function Registers(SFR) definitions for SAMA7 product family.
Signed-off-by: Cristian Birsan
Signed-off-by: Sergiu Moga
---
arch/arm/mach-at91/include/mach/sama7-sfr.h | 59 +
1 file changed, 59 insertions(+)
create mode 100644
Add the USB related DT nodes for the sama7g5ek board.
Signed-off-by: Sergiu Moga
---
arch/arm/dts/at91-sama7g5ek.dts | 34 +++
arch/arm/dts/sama7g5.dtsi | 73 +
2 files changed, 107 insertions(+)
diff --git a/arch/arm/dts/at91-sama7g5ek.dts
Add definitions for an additional main UTMI clock as well as its
respective subclocks.
Signed-off-by: Sergiu Moga
---
include/dt-bindings/clk/at91.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/dt-bindings/clk/at91.h b/include/dt-bindings/clk/at91.h
index
Upstream linux commit 5994f58977e0.
Add reset bindings for SAMA7G5. At the moment only USB PHYs are
included.
Signed-off-by: Sergiu Moga
---
include/dt-bindings/reset/sama7g5-reset.h | 10 ++
1 file changed, 10 insertions(+)
create mode 100644 include/dt-bindings/reset/sama7g5-reset.h
Add the configs required to use the USB-related functionalities within
the bootloader.
Signed-off-by: Sergiu Moga
---
configs/sam9x60ek_mmc_defconfig | 10 ++
configs/sam9x60ek_nandflash_defconfig | 10 ++
configs/sam9x60ek_qspiflash_defconfig | 10 ++
3 files
Register the OHCI driver into DM by properly initializing the required
clocks and pins required by the DT node of OHCI. In order for the VBUS
to stay enabled, a `child_pre_probe` method has been added to overcome
the DM core disabling it in `usb_scan_device`: when the generic
`device_probe` method
In order for some of the functionalities, such as the USB clocks,
to work properly we need some clocks to be properly initialised
at the very beginning of booting.
Signed-off-by: Sergiu Moga
---
drivers/clk/at91/sam9x60.c | 62 +-
1 file changed, 61
Register into DM the clocks required to properly enable USB functionality
within the bootloader.
Signed-off-by: Sergiu Moga
---
drivers/clk/at91/sam9x60.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/drivers/clk/at91/sam9x60.c
Add the OHCI and EHCI DT nodes for the sam9x60 board.
Signed-off-by: Sergiu Moga
---
arch/arm/dts/sam9x60.dtsi | 18 ++
arch/arm/dts/sam9x60ek.dts | 21 +
2 files changed, 39 insertions(+)
diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
Implement sam9x60 USB clock driver. This clock has
three parents: PLLA, UPLL and MAINXTAL. The driver is
aware of the three possible parents with the help of the
two mux tables provied to the driver during the registration
of the clock.
Signed-off-by: Sergiu Moga
---
drivers/clk/at91/Kconfig
This series of patches is meant to add support for USB Mass Storage
on SAM9X60, SAMA7G5 and SAMA5D2 boards and register ohci-at91 driver into
Driver Model. In order for this to be achieved, the respective
DT nodes have been added, the USB clock has been registered into CCF
and the required
Hi Rob, Ilias,
On Wed, 7 Dec 2022 at 15:58, Ilias Apalodimas
wrote:
>
> Hi Rob
>
> On Tue, 6 Dec 2022 at 18:16, Rob Herring wrote:
> >
> > This is a series of DT fixes for the Synquacer. These issues were found
> > running the dtschema tools.
> >
> > I don't have a board, but Ilias has tested
Hi Leo,
Thanks! I have sent a v6 of this patchset wherein I have rebased the
patchset on the
latest master. I have removed the last patch with default config
options for qemu-riscv64
targets and have replaced it with a patch with Sean's suggestion for
adding to the
dependencies.
Thanks again.
When we enable CONFIG_SPL and CONFIG_SPL_SEMIHOSTING then the code
in common/spl/spl_semihosting.c tries to use the
CONFIG_SPL_FS_LOAD_PAYLOAD_NAME string which remains undeclared
unless SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS are configured.
Add a dependency of SPL_SEMIHOSTING in the
We add RISC-V semihosting based serial console for JTAG based early
debugging.
The RISC-V semihosting specification is available at:
https://github.com/riscv/riscv-semihosting-spec/blob/main/riscv-semihosting-spec.adoc
Signed-off-by: Anup Patel
Signed-off-by: Kautuk Consul
---
We factor out the arch-independent parts of the ARM semihosting
implementation as a common library so that it can be shared
with RISC-V.
Signed-off-by: Kautuk Consul
---
arch/arm/Kconfig | 46 -
arch/arm/lib/semihosting.c | 181 +---
Semihosting is a mechanism that enables code running on
a target to communicate and use the Input/Output
facilities on a host computer that is running a debugger.
This patchset adds support for semihosting in u-boot
for RISCV64 targets.
CHANGES since v5:
- Removed patch 3/3: default
On Tue, 2022-12-06 at 13:22 +0100, Daniel Schwierzeck wrote:
> «Внимание! Данное письмо от внешнего адресата!»
>
> On 12/6/22 08:08, Viacheslav Mitrofanov wrote:
> > MAC address of a link-partner is not saved for future use because
> > of
> > bad condition of if statement. Moreover it can
On Wed, 2022-12-07 at 11:53 +0100, Heinrich Schuchardt wrote:
> «Внимание! Данное письмо от внешнего адресата!»
>
> In ndisc_receive() 7 bytes are copied from a buffer of size 6 to
> NULL.
>
> net_nd_packet_mac is a pointer. If it is NULL, we should set it to
> the
> address of the buffer with
On Wed, Dec 7, 2022 at 6:53 PM Heinrich Schuchardt
wrote:
>
> In ndisc_receive() 7 bytes are copied from a buffer of size 6 to NULL.
>
> net_nd_packet_mac is a pointer. If it is NULL, we should set it to the
> address of the buffer with the MAC address.
>
> Addresses-Coverity-ID: 430974
In ndisc_receive() 7 bytes are copied from a buffer of size 6 to NULL.
net_nd_packet_mac is a pointer. If it is NULL, we should set it to the
address of the buffer with the MAC address.
Addresses-Coverity-ID: 430974 ("Out-of-bounds access")
Fixes: c6610e1d90ea ("net: ipv6: Add Neighbor Discovery
Hi Marek,
Sorry for the delay.
I cross-check with ROM code team to understood this API limitation.
On 12/6/22 23:49, Marek Vasut wrote:
In case Dcache is enabled while the ECDSA authentication function is
called via BootROM ROM API, the CRYP DMA might pick stale version of
data from DRAM.
We want to support scanning a single label, like 'mmc' or 'usb0'. Add
this feature by plumbing the label through to the iterator, setting a
flag to indicate that only siblings of the initial device should be used.
This means that scanning a bootdev by its name is not supported anymore.
That
At present this test sets up a partition table on mmc1. But this is used
by the bootstd tests, so it is not possible to run those after this test
has run, without restarting the Python test harness.
This is inconvenient when running tests repeatedly with 'ut dm'. Move the
test to use mmc2, which
1 - 100 of 175 matches
Mail list logo