[PATCH] board: sifive: unmatched: remove extra space in fdtfile value

2024-06-24 Thread Andreas Schwab
Fixes: 44a792c994 ("riscv: sifive: unmatched: migrate to text environment") Signed-off-by: Andreas Schwab --- board/sifive/unmatched/unmatched.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sifive/unmatched/unmatched.env b/board/sifive/unmatched/unm

Re: Does u-boot support USB CCID communication?

2024-05-08 Thread Andreas Buschka
Hi Sourabh, In U-Boot, the only methods of separating storage of secrets from general storage are (as far as I know): * TPM v1/v2 * OP-TEE in combination with an MMC supporting RPMB -- Kind regards Andreas Buschka

Re: [PATCH v5 10/11] ram: starfive: Read memory size information from EEPROM

2023-10-10 Thread Andreas Schwab
apacity size information is read from > EEPROM. Does that acutally work? I see that read_eeprom fails in SPL. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

[PATCH] net: ti: am65-cpsw-nuss: Use dedicated port mode control registers

2023-06-14 Thread Andreas Dannenberg
t eth switch subsystem driver") Signed-off-by: Andreas Dannenberg Reviewed-by: Siddharth Vadapalli --- Driver changes bench-tested on an SK-AM62 EVM by iterating through different variations of RGMII and RMII modes for CPSW ports 1 and 2 and checking operation as well as CTRL_ENET1_CTRL and CTRL_

Re: [EXTERNAL] Re: [PATCH] firmware: ti_sci: Add missing LF in error message

2023-05-10 Thread Andreas Dannenberg
On Wed, May 10, 2023 at 12:09:47PM -0400, Tom Rini wrote: > On Wed, May 10, 2023 at 08:46:37AM -0700, Andrew Davis wrote: > > On 5/9/23 4:38 PM, Andreas Dannenberg wrote: > > > The "Message not acknowledged" error message is missing a line feed, > > > leadi

[PATCH] firmware: ti_sci: Add missing LF in error message

2023-05-09 Thread Andreas Dannenberg
; Fix ths by adding the missing linefeed character. Signed-off-by: Andreas Dannenberg --- drivers/firmware/ti_sci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index bd7379ae55..72f572d824 100644 --- a/drivers/fir

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-05-02 Thread Andreas Schwab
he kernel is the authority in providing it. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH v5 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-05-02 Thread Andreas Schwab
ind any of them. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH v4 17/17] configs: starfive: add starfive_visionfive2_defconfig

2023-03-23 Thread Andreas Schwab
On Mär 22 2023, yanhong wang wrote: > On 2023/3/21 21:51, Andreas Schwab wrote: >> On Mär 21 2023, yanhong wang wrote: >> >>> Except for CONFIG_DEFAULT_DEVICE_TREE and CONFIG_DEFAULT_FDT_FILE, >>> 1.2a and 1.3b versions use the same config. >>> >>

Re: [PATCH v4 17/17] configs: starfive: add starfive_visionfive2_defconfig

2023-03-21 Thread Andreas Schwab
-starfive-visionfive-2-v1.2a.dtb" > > Is it necessary to separate the configs for 1.2a and 1.3b as separate > defconfig files? It makes a difference for when ethernet support is added. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [PATCH v4 17/17] configs: starfive: add starfive_visionfive2_defconfig

2023-03-20 Thread Andreas Schwab
On Mär 16 2023, Yanhong Wang wrote: > This is the initial basic config for StarFive VisionFive v2 board. It > includes consol, Norflash, sdio, ddr etc. Are you also planning to add a config for the 1.2a version? -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD

RE: EXTERNAL - [PATCH v1 2/2] colibri_imx6: add default config with watchdog enabled

2023-03-13 Thread Aegerter Andreas LCPF-CH
Francesco Dolcini wrote: > On Fri, Mar 10, 2023 at 02:43:33PM +0100, Andreas Aegerter wrote: > > This config is based on colibri_imx6_defconfig and enables > > additionally the watchdog. The intend of the new config is that > > distros can use this in the fut

[PATCH v1 2/2] colibri_imx6: add default config with watchdog enabled

2023-03-10 Thread Andreas Aegerter
in the existing colibri_imx6_defconfig. Any suggestions? Signed-off-by: Andreas Aegerter --- board/toradex/colibri_imx6/MAINTAINERS | 4 + configs/colibri_imx6_wdg_defconfig | 124 + 2 files changed, 128 insertions(+) create mode 100644 configs/colibri_imx6_wdg_defconfig diff

[PATCH v1 1/2] colibri_imx6: fix linker issue enabling watchdog

2023-03-10 Thread Andreas Aegerter
' Define reset_cpu() also outside of SPL. Signed-off-by: Andreas Aegerter --- board/toradex/colibri_imx6/colibri_imx6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index 65e0e9a156

[PATCH v1 0/2] colibri_imx6: fix linker issue when enabling watchdog

2023-03-10 Thread Andreas Aegerter
Building colibri_imx6 target with watchdog enabled fails. The first patch in this series fixes the problem, the second one adds a new defconfig with watchdog enabled. Best Regards, Andreas Aegerter (2): colibri_imx6: fix linker issue enabling watchdog colibri_imx6: add default config

Re: [PATCH] fs: btrfs: limit the mapped length to the original length

2023-02-13 Thread Andreas Schwab
} else { > *length = ce->size - offset; > } > + *length = min_t(u64, *length, orig_len); > > if (!multi_ret) > goto out; I can confirm that this fixes the issue. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578

Re: [PATCH] fs/btrfs: handle data extents, which crosss stripe boundaries, correctly

2023-02-13 Thread Andreas Schwab
On Feb 13 2023, Qu Wenruo wrote: > On 2023/2/13 00:20, Andreas Schwab wrote: >> When I print ce->size in __btrfs_map_block, it is almost always >> 1073741824, which looks bogus. >> > Can you provide the image of that filesystem? How do I do that? -- Andreas Schwab

Re: [PATCH] fs/btrfs: handle data extents, which crosss stripe boundaries, correctly

2023-02-12 Thread Andreas Schwab
When I print ce->size in __btrfs_map_block, it is almost always 1073741824, which looks bogus. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [PATCH] fs/btrfs: handle data extents, which crosss stripe boundaries, correctly

2023-02-12 Thread Andreas Schwab
: btrfs_map_block: cur_len=479928320; ret=0 -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [PATCH] fs/btrfs: handle data extents, which crosss stripe boundaries, correctly

2023-02-12 Thread Andreas Schwab
n 0 ms > => md5sum 0 0x2 > md5 for ... 0001 ==> d48858312a922db7eb86377f638dbc9f > ^^^ Above md5sum also matches. > > Reported-by: Sam Winchenbach > Signed-off-by: Qu Wenruo This breaks btrfs on the HiFive Unmatched. => pci enum PCIE-0: Link up (Gen

Re: [PATCH v2 00/17] Basic StarFive JH7110 RISC-V SoC support

2023-01-24 Thread Andreas Schwab
us fails to load U-Boot proper. U-Boot SPL 2023.01-00735-gc8fc99adce (Jan 24 2023 - 15:11:27 +0100) DDR version: dc2e84f0. Trying to boot from MMC2 spl: partition error SPL: failed to boot from all boot devices -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1

Re: [PATCH v2 17/17] configs: starfive: add starfive_visionfive2_defconfig

2023-01-23 Thread Andreas Schwab
the name the kernel is using. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

[PATCH v2 2/2] musb-new: omap2430: fix compiling in DM_USB_GADGET config

2023-01-08 Thread Andreas Kemnade
Add the separate IRQ handling function and change the registration. Signed-off-by: Andreas Kemnade --- drivers/usb/musb-new/omap2430.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/usb/musb-new/omap2430.c b/drivers/usb/musb-new/omap2430.c index 0d1fb03727

[PATCH v2 1/2] musb-new: omap2430: no host data access in gadget mode

2023-01-08 Thread Andreas Kemnade
Avoid accessing structures (usb_bus_priv) only present when musb is in host mode. Signed-off-by: Andreas Kemnade --- drivers/usb/musb-new/omap2430.c | 34 - 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/drivers/usb/musb-new/omap2430.c b/drivers

[PATCH v2 0/2] musb-new: fix omap peripheral support

2023-01-08 Thread Andreas Kemnade
DM_GADGET did not compile at all, probe was not called in non-gadget mode. Tested on an omap4 board with ums and fastboot command. Changes in V2: - split up former 2/2 patch into two. - do not break non-DM_USB_GADGET compile further Andreas Kemnade (2): musb-new: omap2430: no host data access

Re: [PATCH 2/2] musb-new: omap2430: fix musb probing in gadget mode

2022-12-13 Thread Andreas Kemnade
Hi, just noticed I am doing two things in one patch. better do it with just some patches On Mon, 12 Dec 2022 14:00:57 -0500 Tom Rini wrote: > On Sat, Nov 26, 2022 at 11:30:10PM +0100, Andreas Kemnade wrote: > > > Host mode structures were accessed but not initialized

Re: [PATCH 2/2] musb-new: omap2430: fix musb probing in gadget mode

2022-12-13 Thread Andreas Kemnade
Hi, On Mon, 12 Dec 2022 14:00:57 -0500 Tom Rini wrote: > On Sat, Nov 26, 2022 at 11:30:10PM +0100, Andreas Kemnade wrote: > > > Host mode structures were accessed but not initialized > > and gadget dm did not compile at all. > > > > Signed-off-by: Andreas Kem

[PATCH 2/2] musb-new: omap2430: fix musb probing in gadget mode

2022-11-27 Thread Andreas Kemnade
Host mode structures were accessed but not initialized and gadget dm did not compile at all. Signed-off-by: Andreas Kemnade --- drivers/usb/musb-new/omap2430.c | 42 - 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/drivers/usb/musb-new/omap2430.c

[PATCH 1/2] omap4: make musb probeable by simple bus

2022-11-27 Thread Andreas Kemnade
Like other peripherals important for booting, do not rely on ti-sysc compatibility alone Signed-off-by: Andreas Kemnade --- arch/arm/dts/omap4-u-boot.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/omap4-u-boot.dtsi b/arch/arm/dts/omap4-u-boot.dtsi index e33b3722e1

[PATCH 0/2] musb-new: fix omap peripheral support

2022-11-27 Thread Andreas Kemnade
DM_GADGET did not compile at all, probe was not called in non-gadget mode. Tested on an omap4 board with ums and fastboot command Andreas Kemnade (2): omap4: make musb probeable by simple bus musb-new: omap2430: fix musb probing in gadget mode arch/arm/dts/omap4-u-boot.dtsi | 8

Re: [PATCH v2 1/3] riscv: implement __ashldi3, __lshrdi3

2022-10-04 Thread Andreas Schwab
On Okt 01 2022, Heinrich Schuchardt wrote: > On 32bit RISC-V calls to __ashrdi3 and __lshrdi3 are generated. > These functions are normally provided by glibc but U-Boot is freestanding They are defined by libgcc, not glibc. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key finge

License: embed u-boot binary in FPGA bitstream

2021-10-14 Thread Andreas Oetken
-volatile memory. Thank you, Best Regards, Andreas

Re: [PATCH v2 2/6] lib: Drop SHA512_ALGO in lieu of SHA512

2021-09-09 Thread Andreas Schwab
/lib/efi_loader/Kconfig > @@ -323,7 +323,7 @@ config EFI_TCG2_PROTOCOL > depends on TPM_V2 > select SHA1 > select SHA256 > - select SHA512_ALGO > + select SHA512 > select SHA384 > select SHA512 > select HASH Likewise. Andreas. -- Andreas S

U-boot patches

2021-09-08 Thread Sjöberg Andreas
only reset upon receiveing an oack. This patch increments the value of next_ack when receiving a data packet instead of an oack and also ensures that sending a new read request or write request resets the counter to 0, indicating that the next packet should be an oack. /Andreas Sjöberg

[PATCH] lib: add crc16.o if CONFIG_MMC_SPI_CRC_ON for SPL build

2021-08-17 Thread Andreas Schwab
ifdef CONFIG_SPL_BUILD obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o obj-$(CONFIG_$(SPL_TPL_)HASH_SUPPORT) += crc16.o +obj-$(CONFIG_MMC_SPI_CRC_ON) += crc16.o obj-y += net_utils.o endif obj-$(CONFIG_ADDR_MAP) += addr_map.o -- 2.33.0 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key

[PATCH] lib: add crc16.o if CONFIG_MMC_SPI_CRC_ON for SPL build

2021-08-09 Thread Andreas Schwab
side effect of adding crc16.o. Signed-off-by: Andreas Schwab --- configs/sifive_unleashed_defconfig | 1 - configs/sifive_unmatched_defconfig | 1 - lib/Makefile | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/sifive_unleashed_defconfig b/configs

Re: [PATCH v12 2/8] drivers: clk: add fu740 support

2021-06-15 Thread Andreas Schwab
k", > + .parent_name = "corepll", > + .ops = _fu740_prci_tlclksel_clk_ops, > + }, > + [PRCI_CLK_PCLK] = { > + .name = "pclk", > + .parent_name = "hfpclkpll", > + .ops = _fu740_prci_hfpclkplldiv_clk_ops, > + }, > + [PRCI_CLK_PCIEAUX] { > + .name = "pciaux", Shouldn't that be called "pcieaux"? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

Re: [BUG] network is broken on Orange Pi PC

2021-06-03 Thread Andreas Rehn
e other software/OS) should not matter. > > > > > > Cheers, > > > Andre > > > > > >> > > >> Best regards > > >> > > >> Heinrich > > >> > > >>> > > >>>> Can't we let t

Re: [PATCH 6/6] net: sun8i-emac: v3s: fix soft reset timeout

2021-06-03 Thread Andreas Rehn
Am Do., 3. Juni 2021 um 16:43 Uhr schrieb Heinrich Schuchardt < xypron.g...@gmx.de>: > On 6/3/21 3:56 PM, Andre Przywara wrote: > > On Fri, 21 May 2021 22:14:00 +0200 > > Andreas Rehn wrote: > > > > Hi, > > > >> sorry for the late response

[PATCH v2 6/6] net: sun8i-emac: v3s: fix soft reset timeout

2021-05-22 Thread Andreas Rehn
kernel driver dwmac-sun8i work very nice and don't provide a soft reset. Skip soft reset on u-boot for V3s provide the expected behavior on all connection permutations. If cable is not plugged in, the timeout comes form the phy driver itself. Signed-off-by: Andreas Rehn --- Changes in v2

[PATCH v2 4/6] net: sun8i-emac: add v3s variant

2021-05-22 Thread Andreas Rehn
Add variant V3S_EMAC. Handle pinmux compile time error by skipping goio setup, because V3s uses internal phy and don't expose pins. Signed-off-by: Andreas Rehn --- Changes in v2: - skip pinmux and add proper description - Add V3S variant add it to compatible list - Skip

[PATCH v2 3/6] clk: sunxi: v3s: fix tabs / spaces

2021-05-22 Thread Andreas Rehn
align CLK_USB_PHY0 with tabs Signed-off-by: Andreas Rehn --- Changes in v2: - revert CLK_SPI0 extra tab drivers/clk/sunxi/clk_v3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk_v3s.c b/drivers/clk/sunxi/clk_v3s.c index 55fc597043..bc6b7b4870

Re: [PATCH 6/6] net: sun8i-emac: v3s: fix soft reset timeout

2021-05-21 Thread Andreas Rehn
ieb Andre Przywara < andre.przyw...@arm.com>: > On Thu, 20 May 2021 00:10:47 +0200 > Andreas Rehn wrote: > > > hey, > > > > sure. I give it a try tomorrow. > > with 250 ms, for example, I ran into timeouts after the first tftp > download. > > after

[PATCH v2 5/6] dts: sunxi: v3s: enable emac

2021-05-21 Thread Andreas Rehn
Enable emac for licheepi-zero-dock as it provides a ethernet port Signed-off-by: Andreas Rehn --- arch/arm/dts/sun8i-v3s-licheepi-zero-dock.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/sun8i-v3s-licheepi-zero-dock.dts b/arch/arm/dts/sun8i-v3s-licheepi-zero

[PATCH v2 4/6] net: sun8i-emac: add v3s variant

2021-05-21 Thread Andreas Rehn
Add variant V3S_EMAC. Skip GPIO setup for V3s because it uses internal phy and don't expose pins. Signed-off-by: Andreas Rehn --- drivers/net/sun8i_emac.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c

[PATCH v2 3/6] clk: sunxi: v3s: fix tabs / spaces

2021-05-21 Thread Andreas Rehn
align CLK_USB_PHY0 with tabs Signed-off-by: Andreas Rehn --- drivers/clk/sunxi/clk_v3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi/clk_v3s.c b/drivers/clk/sunxi/clk_v3s.c index 55fc597043..bc6b7b4870 100644 --- a/drivers/clk/sunxi/clk_v3s.c +++ b

Re: [PATCH 6/6] net: sun8i-emac: v3s: fix soft reset timeout

2021-05-19 Thread Andreas Rehn
hey, sure. I give it a try tomorrow. with 250 ms, for example, I ran into timeouts after the first tftp download. after a manual retry, it works fine but retry is not a valid production behavior. greetings Andreas Am Mi., 19. Mai 2021 um 23:45 Uhr schrieb Andre Przywara < andre.przyw...@arm.

Re: [PATCH 3/6] clk: sunxi: v3s: fix tabs / spaces

2021-05-19 Thread Andreas Rehn
Both didn't align with the rest of the list on my side. this patch is not important for the functionality so we can drop this if this only apppears on my machine. greetings Andreas Am Mi., 19. Mai 2021 um 23:43 Uhr schrieb Andre Przywara < andre.przyw...@arm.com>: > On Wed, 19 May 2

Re: [PATCH 1/6] dts: sunxi: add licheepi-zero-dock

2021-05-19 Thread Andreas Rehn
hey andre, thx for the fast response! I thought this would be the right choice since she did the initial work a long time ago. also, she maintains the lichee-zero (without dock) already. sorry, this is my first patchset to u-boot and I'm not aware of the process. greetings Andreas Am Mi., 19

[PATCH 6/6] net: sun8i-emac: v3s: fix soft reset timeout

2021-05-19 Thread Andreas Rehn
(e.g. timeouts on tftp download). Signed-off-by: Andreas Rehn --- drivers/net/sun8i_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index 0e7ad3b0d4..23fd35f9e1 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net

[PATCH 5/6] dts: sunxi: v3s: enable emac support

2021-05-19 Thread Andreas Rehn
h3 and v3s have internal phys and can share the same driver. Furthermore sun8i-v3s-emac is not available, use sun8i-h3-emac instead - add emac pins - enable emac for licheepi-zero-dock as it provides a ethernet port Signed-off-by: Andreas Rehn --- arch/arm/dts/sun8i-v3s-licheepi-zero-dock.dts

[PATCH 4/6] net: sun8i-emac: add v3s pinmux setting

2021-05-19 Thread Andreas Rehn
Driver uses pinmux instead of emac type. Add v3s pinmux to support SoC. Signed-off-by: Andreas Rehn --- drivers/net/sun8i_emac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index 5a1b38bf80..0e7ad3b0d4 100644 --- a/drivers/net

[PATCH 2/6] clk: sunxi: v3s: Implement EMAC clocks/resets

2021-05-19 Thread Andreas Rehn
Add emac clock and reset register/bits. Signed-off-by: Andreas Rehn --- drivers/clk/sunxi/clk_v3s.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/sunxi/clk_v3s.c b/drivers/clk/sunxi/clk_v3s.c index 29622199fd..55fc597043 100644 --- a/drivers/clk/sunxi/clk_v3s.c +++ b

[PATCH 3/6] clk: sunxi: v3s: fix tabs / spaces

2021-05-19 Thread Andreas Rehn
align CLK_SPI0 and CLK_USB_PHY0 with tabs Signed-off-by: Andreas Rehn --- drivers/clk/sunxi/clk_v3s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sunxi/clk_v3s.c b/drivers/clk/sunxi/clk_v3s.c index 55fc597043..9c2717bfab 100644 --- a/drivers/clk/sunxi

[PATCH 1/6] dts: sunxi: add licheepi-zero-dock

2021-05-19 Thread Andreas Rehn
MAINTAINER item and provide a defconfig. Signed-off-by: Andreas Rehn --- arch/arm/dts/Makefile| 3 ++- board/sunxi/MAINTAINERS | 5 + configs/LicheePi_Zero_dock_defconfig | 7 +++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 configs

[PATCH 0/6] arm: sunxi: v3s: add ethernet support

2021-05-19 Thread Andreas Rehn
wasn't able to get a stable connection on 100 Mb full duplex switches with autonegation enabled. Maybe the internal phy has a different behavior on softreset then others which results in a delayed established link. Andreas Rehn (6): dts: sunxi: add licheepi-zero-dock clk: sunxi: v3s: Implement EMAC

Re: [PATCH v2 2/2] test: unit test for longjmp

2021-03-24 Thread Andreas Schwab
; So I guess we have to declare env as volatile in setjmp() in this > version of the patch because it is changed between the setjmp and > longjmp invocations? Yes, I think so, or make it static. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 25

Re: [PATCH v2 2/2] test: unit test for longjmp

2021-03-24 Thread Andreas Schwab
not arrive here */ > return foo; This is undefined. When modifying a non-volatile auto variable between setjmp and longjmp, there is no requirement that the value is preserved. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF7

Re: [PATCH] efi_loader: Enable run-time variable support for tee based variables

2021-01-15 Thread Andreas Schwab
On Jan 15 2021, Ilias Apalodimas wrote: > Anyway removing -fpic should work as well, but I'd rather do this [1], > instead of relying on linker flags. It's not the linker that breaks this, but the compiler, by forcing GOT addressing. And it can easily break again any time. A

Re: [PATCH] efi_loader: Enable run-time variable support for tee based variables

2021-01-15 Thread Andreas Schwab
oblem really is that RISC-V use -fpic for compiling. If I change that to -fpie, there is no longer a GOT reference. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."

Re: [RESEND PATCH v5 1/6] riscv: Add boot hartid to Device tree

2020-04-20 Thread Andreas Schwab
On Apr 17 2020, Atish Patra wrote: > Linux booting protocol mandates that register "a0" contains the hartid. > However, U-boot can not pass the hartid via a0 during via standard UEFI s/during via/during/ Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint

Re: [PATCH v2 00/12] TI: AM654/J721e: Add support to boot from OSPI

2020-02-04 Thread Andreas Dannenberg
nfigs to fix build issues thanks for the README updates! I re-looked through all the patches once more, hence for the entire series: Reviewed-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc > > Lokesh Vutla (1): > ARM: mach-k3: sysfw-loader: Use SPI memmap

Re: [PATCH 0/9] TI: AM654/J721e: Add support to boot from OSPI

2020-01-29 Thread Andreas Dannenberg
board-specific readme files such as how to program the OSPI with the different U-Boot artifacts, etc which is super helpful for a user. Would you mind including this info into this series for both AM654x and J721E? Thanks, Andreas -- Andreas Dannenberg Texas Instruments Inc > > Lok

Re: [PATCH 0/7] J721e: Add support for DFU boot mode

2020-01-27 Thread Andreas Dannenberg
e_evm_r5/a72_defconfig: Enable DFU related configs For all patches in the series: Reviewed-by: Andreas Dannenberg -- Andreas Dannenberg Texas Instruments Inc > > .../arm/dts/k3-j721e-r5-common-proc-board.dts | 18 +++ > arch/arm/mach-k3/include/mach/j721e_spl.h |

Re: [U-Boot-Board-Maintainers] Raspberry pi 4 - u-boot - genet / scb

2019-12-07 Thread Andreas Färber
!! Please take this discussion to the u-boot mailing list (Reply-to set). Regards, Andreas > Am Fr., 22. Nov. 2019 um 00:27 Uhr schrieb André Przywara > mailto:andre.przyw...@arm.com>>: > > On 21/11/2019 21:46, Sascha Dewald wrote: > > Hi, > > > could

Re: [U-Boot] Sense of soc bus? (was: [PATCH] base: soc: Export soc_device_to_device() helper)

2019-11-15 Thread Andreas Färber
Am 14.11.19 um 23:09 schrieb Rob Herring: > On Tue, Nov 12, 2019 at 4:47 AM Andreas Färber wrote: >> On the other hand, one might argue that such information should just be >> parsed by EBBR-conformant bootloaders and be passed to the kernel via >> standard UEFI interfaces an

Re: [U-Boot] [PATCH v3 2/2] sifive: fu540: Enable OF_SEPARATE

2019-11-11 Thread Andreas Schwab
fine but it does not have ethernet DT node) Are these notes now obsolete? Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." __

Re: [U-Boot] [PATCH 3/3] ubi: Add "skipcheck" command to set/clear this bit in the UBI volume hdr

2019-09-13 Thread Andreas Dannenberg
updating the copy of the help text and the example so the new flag is shown, and giving a quick summary of what this option does). -- Andreas Dannenberg Texas Instruments Inc > > Signed-off-by: Stefan Roese > Cc: Quentin Schulz > Cc: Boris Brezillon > Cc: Heiko Schocher &

Re: [U-Boot] [PATCH 1/2] arm: dts: Import and update DT for Khadas VIM3

2019-09-02 Thread Andreas Färber
Hi Neil, Am 02.09.19 um 14:10 schrieb Neil Armstrong: > On 02/09/2019 14:03, Andreas Färber wrote: >> Am 02.09.19 um 12:03 schrieb Neil Armstrong: >>> On 02/09/2019 04:28, Andreas Färber wrote: >>>> In Linux meson-g12-common.dtsi was introduced as well as n

[U-Boot] [PATCH v2 4/4] arm: meson: Recognize A311D SoC

2019-09-02 Thread Andreas Färber
Values imported from Linux driver, but in correct numeric order. Khadas VIM3 prints: Amlogic Meson G12B (A311D) Revision 29:b (10:2) Cc: Christian Hewitt Signed-off-by: Andreas Färber --- v2: New arch/arm/mach-meson/board-info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm

[U-Boot] [PATCH v2 2/4] configs: Add Khadas VIM3 defconfig

2019-09-02 Thread Andreas Färber
Derived from odroid-n2_defconfig and README.odroid-n2. Reviewed-by: Neil Armstrong Signed-off-by: Andreas Färber --- v1 -> v2: * Fixed branch name in README board/amlogic/w400/MAINTAINERS| 1 + board/amlogic/w400/README.khadas-vim3 |

[U-Boot] [PATCH v2 3/4] arm: meson: Tidy SoC information output

2019-09-02 Thread Andreas Färber
Write SoC instead of Soc. The Linux driver is not affected. Fixes: f41d723b9f ("ARM: meson: display Amlogic SoC Information") Signed-off-by: Julien Masson Signed-off-by: Andreas Färber --- v2: New arch/arm/mach-meson/board-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[U-Boot] [PATCH v2 1/4] arm: dts: Import and update DT for Khadas VIM3

2019-09-02 Thread Andreas Färber
In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts. Copied from next-20190830. Signed-off-by: Andreas Färber --- v1 -> v2: * Mention linux-next tag for DT/header import (Neil) arch/arm/dts/Makef

[U-Boot] [PATCH v2 0/4] amlogic: Add Khadas VIM3 support

2019-09-02 Thread Andreas Färber
Hi Neil, This mini-series adds initial support for Amlogic A311D based Khadas VIM3. v2 fixes an oversight and adds some cleanups. Regards, Andreas v1 -> v2: * Fixed branch name in README * Mention linux-next tag for DT/header import (Neil) * Avoid "Unknown" SoC output for A311D,

Re: [U-Boot] [PATCH 1/2] arm: dts: Import and update DT for Khadas VIM3

2019-09-02 Thread Andreas Färber
Hi Neil, Am 02.09.19 um 12:03 schrieb Neil Armstrong: > On 02/09/2019 04:28, Andreas Färber wrote: >> In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes >> and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts. > > Can you precise th

Re: [U-Boot] [PATCH 2/2] configs: Add Khadas VIM3 defconfig

2019-09-01 Thread Andreas Färber
Am 02.09.19 um 04:28 schrieb Andreas Färber: > diff --git a/board/amlogic/w400/README.khadas-vim3 > b/board/amlogic/w400/README.khadas-vim3 > new file mode 100644 > index 00..39b2b06000 > --- /dev/null > +++ b/board/amlogic/w400/README.khadas-vim3 [...] > + > D

[U-Boot] [PATCH 2/2] configs: Add Khadas VIM3 defconfig

2019-09-01 Thread Andreas Färber
Derived from odroid-n2_defconfig and README.odroid-n2. Signed-off-by: Andreas Färber --- board/amlogic/w400/MAINTAINERS| 1 + board/amlogic/w400/README.khadas-vim3 | 132 ++ configs/khadas-vim3_defconfig | 54 ++ 3 files changed

[U-Boot] [PATCH 1/2] arm: dts: Import and update DT for Khadas VIM3

2019-09-01 Thread Andreas Färber
In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts. Signed-off-by: Andreas Färber --- arch/arm/dts/Makefile |3 +- arch/arm/dts/meson-g12-common.dtsi | 2435

[U-Boot] [PATCH 0/2] amlogic: Add Khadas VIM3 support

2019-09-01 Thread Andreas Färber
Hi, This mini-series adds initial support for Amlogic A311D based Khadas VIM3. Regards, Andreas Cc: Neil Armstrong Andreas Färber (2): arm: dts: Import and update DT for Khadas VIM3 configs: Add Khadas VIM3 defconfig arch/arm/dts/Makefile |3 +- arch/arm

Re: [U-Boot] [PATCH v2 2/3] spl: mmc: Add option to set eMMC HW boot partition

2019-08-19 Thread Andreas Dannenberg
om other memory (like SPI-NOR). > > Signed-off-by: Mans Rullgard > [lukma: Edit the commit message] > Signed-off-by: Lukasz Majewski Acked-by: Andreas Dannenberg Regards, Andreas > --- > > Changes in v2: None > > common/spl/Kconfig | 6 ++ > common/

Re: [U-Boot] [PATCH 2/3] configs: Rename environment variable fit_loadaddr to addr_fit

2019-08-16 Thread Andreas Dannenberg
config: ti: *") to help make things clearer when browsing the commit log, 2) A cover letter would be good to more organically entertain general discussions around the approach. For the series... Acked-by: Andreas Dannenberg > > Signed-off-by: Andrew F. Davis > --- > incl

[U-Boot] [PATCH 3/7] arm: K3: common: Allow for early console functionality

2019-08-15 Thread Andreas Dannenberg
this early console functionality will allow for an alternate serial port to be used to support things like UART-based boot and early diagnostic messages until the main console is ready to get activated. Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k3/Kconfig | 21 + arch

[U-Boot] [PATCH 0/7] Implement UART-based boot of TI K3 AM65x SoCs

2019-08-15 Thread Andreas Dannenberg
vided in the updates to the board-specific README. [1] https://patchwork.ozlabs.org/patch/1142068/ Andreas Dannenberg (7): spl: ymodem: Fix FIT loading termination handling spl: ymodem: Make SPL Y-Modem loader framework accessible arm: K3: common: Allow for early console functionality arm: K3:

[U-Boot] [PATCH 1/7] spl: ymodem: Fix FIT loading termination handling

2019-08-15 Thread Andreas Dannenberg
the number of bytes to be read ('size') as expected by the callers of ymodem_read_fit(). Fixes: fa715193c083 ("spl: Add an option to load a FIT containing U-Boot from UART") Signed-off-by: Andreas Dannenberg --- common/spl/spl_ymodem.c | 5 +++-- 1 file changed, 3 insertions(+), 2

[U-Boot] [PATCH 4/7] arm: K3: sysfw-loader: Allow loading SYSFW via Y-Modem

2019-08-15 Thread Andreas Dannenberg
an alternate full console before the main console is activated. Such an alternate console is typically setup in a way that the associated UART can be fully initialized prior to SYSFW services being available. Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k3/sysfw-loader.c | 21

[U-Boot] [PATCH 5/7] armv7R: dts: k3: am654: Add MCU_UART0 related definitions

2019-08-15 Thread Andreas Dannenberg
Although we currently use the MAIN_UART0 for R5 SPL console output there are cases where we require access to the MCU_UART0 as well for example in case of UART-based Y-Modem boot. To support these scenarios add related DTS definitions to be able to use that UART early on. Signed-off-by: Andreas

[U-Boot] [PATCH 7/7] board: ti: am65x: Add UART boot procedure in README

2019-08-15 Thread Andreas Dannenberg
am65x ROM support booting over UART. And U-Boot built for am65x EVM supports UART boot as well. Add the UART boot procedure into the README also providing a corresponding example command sequence for execution on a host PC. Signed-off-by: Andreas Dannenberg --- board/ti/am65x/README | 32

[U-Boot] [PATCH 6/7] configs: am65x_evm_r5: Activate early console functionality

2019-08-15 Thread Andreas Dannenberg
Activate early console functionality on AM654x devices to allow for an alternate serial port to be used to support UART-based boot. This is so that System Firmware (SYSFW) can get loaded over the serial port prior to the main console being brought up and made available. Signed-off-by: Andreas

[U-Boot] [PATCH 2/7] spl: ymodem: Make SPL Y-Modem loader framework accessible

2019-08-15 Thread Andreas Dannenberg
Expose SPL's Y-Modem core loader function via the common SPL header file so it can be re-used for purposes other than loading U-Boot itself. Signed-off-by: Andreas Dannenberg --- common/spl/spl_ymodem.c | 4 ++-- include/spl.h | 3 +++ 2 files changed, 5 insertions(+), 2 deletions

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-13 Thread Andreas Dannenberg
Hi Simon, On Tue, Aug 13, 2019 at 10:38:22PM +0200, Simon Goldschmidt wrote: > Am 07.08.2019 um 23:23 schrieb Andreas Dannenberg: > > Hi Simon, > > thanks for your patience waiting for a response. Please see comments > > inlined... > > > > On Thu, Jul 25

Re: [U-Boot] [PATCH PATCH v4 01/15] spl: fit: don't load the firmware twice

2019-08-13 Thread Andreas Dannenberg
big problem but has an impact on the > boot time. > Fixing it by not loading a loadable image if it is also the firmware image. > > Signed-off-by: Jean-Jacques Hiblot > --- Tested-by: Andreas Dannenberg I was working on getting UART boot to work on TI's AM654x devices and just ran in

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-08 Thread Andreas Dannenberg
Hi Simon, On Thu, Aug 08, 2019 at 09:01:03PM +0200, Simon Goldschmidt wrote: > Am 08.08.2019 um 20:29 schrieb Andreas Dannenberg: > > Ok back to my specific scenario, hopefully I'm adding at least some new > > aspects now rather than repeating what was discussed alrea

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-08 Thread Andreas Dannenberg
Simon, On Thu, Aug 08, 2019 at 09:29:03AM +0200, Simon Goldschmidt wrote: > Hi Andreas, > > On Wed, Aug 7, 2019 at 11:24 PM Andreas Dannenberg wrote: > > > > Hi Simon, > > thanks for your patience waiting for a response. Please see comments > > inlined... >

[U-Boot] [PATCH] README: Clarify use of BSS during SPL board_init_f()

2019-08-08 Thread Andreas Dannenberg
ange. Note that as highlighted with the changes the use of the associated CONFIG option is generally not recommended. Signed-off-by: Andreas Dannenberg --- Simon, as per separate discussion thread here is a proposal for an update to the README. I tried to limit the changes to the what I thought wa

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-08-07 Thread Andreas Dannenberg
ini wrote: > > >>> On Fri, Jul 19, 2019 at 07:29:37AM +0200, Simon Goldschmidt wrote: > > >>>> On Fri, Jul 19, 2019 at 2:29 AM Tom Rini wrote: > > >>>>> > > >>>>> On Tue, Jun 04, 2019 at 05:55:48PM -0500, Andre

Re: [U-Boot] [PATCH 06/14] net: ti: icssg-prueth: Add ICSSG ethernet driver

2019-08-06 Thread Andreas Dannenberg
0, FT1_DA1); > + regmap_write(miig_rt, offset, 0); > + > + /* FT1[0] mask FE-FF-FF-FF-FF-FF */ > + offset = FT1_N_REG(slice, 0, FT1_DA0_MASK); > + regmap_write(miig_rt, offset, 0); > + offset = FT1_N_REG(slice, 0, FT1_DA1_MASK); > + regmap_write(mii

Re: [U-Boot] [PATCH 12/14] arm64: dts: ti: am654-base-board: add ICSSG2 Ethernet support

2019-08-06 Thread Andreas Dannenberg
s2_emac1: ethernet-mii1 { > + phy-handle = <_eth1_phy>; > + phy-mode = "rgmii-id"; > + syscon-rgmii-delay = <_conf 0x4124>; > + local-mac-address = [00 00 00 00 00 00]; > + }; &

Re: [U-Boot] [PATCH 04/14] soc: ti: pruss: add a misc driver for PRUSS in TI SoCs

2019-08-06 Thread Andreas Dannenberg
PRUSS_IEPCLK_IEP_OCP_CLK_EN); > + if (ret) > + return ret; > + > + dev_dbg(dev, "pruss successfully probed %s\n", dev->name); > + > + return 0; > +} > + > +static const struct udevice_id pruss_ids[] = { > + { .compatible

Re: [U-Boot] [PATCH 08/14] arm: dts: k3-am65-main: Add msmc_ram node

2019-08-06 Thread Andreas Dannenberg
<0x00 0x4510 0x00 0x4510 0x00 0x00c24000>, ><0x00 0x4600 0x00 0x4600 0x00 0x0020>, > - <0x00 0x4700 0x00 0x4700 0x00 0x00068400>; > + <0x00 0x4700 0x00 0x4700 0x00 0x00068400>

Re: [U-Boot] [PATCH 03/14] misc: uclass: Introduce misc_init_by_ofnode

2019-08-06 Thread Andreas Dannenberg
*dev, int msgid, void > *tx_msg, int tx_size, > */ > int misc_set_enabled(struct udevice *dev, bool val); > > +/** > + * misc_init_by_ofnode() - Probe a misc device by using ofnode. > + * @node: ofnode of the misc device. > + * > + * A misc device is probed using o

  1   2   3   4   5   6   7   8   9   10   >