[U-Boot] [RFC] NFS issue when loading two files

2012-12-05 Thread Matthias Brugger
, which would be the best solution for this problem? Best regards, Matthias Brugger [1] the process looks like: mount read file unmount (timed out) #1 unmount (timed out) #2 unmount get response of #1 mount get response of #2 error! ___ U-Boot mailing list

Re: [U-Boot] [RFC] NFS issue when loading two files

2012-12-06 Thread Matthias Brugger
Hello Wolfgang, hello all, sorry for re-sending, but the list didn't accept an attachment. On 12/05/2012 11:20 PM, Wolfgang Denk wrote: Dear Matthias Brugger, In message 50bf9cc3.9020...@gmail.com you wrote: I run into an NFS issue when trying to load two files from nfs for booting (uImage

[U-Boot] [PATCH] net: nfs: Fixing error when mounting with time outs

2012-12-06 Thread Matthias Brugger
timed out previously. Apart if we receive responses from the server with an old RPC ID (smaller then in the u-boot state machine) we don't interpret that as an error but just drop the message and wait for the response corresponding to the last message sent. Signed-off-by: Matthias Brugger matthias

[U-Boot] NFS time out problem

2012-12-11 Thread Matthias Brugger
After reading through the RFC [1] I realized that we have to increment the rpc_id when we resend a message. This patch therefor doesn't change the rpc_id behaviour, but adds a dynamic increment of the time to wait before time out. Apart we just drop messages which are replies to timed out

[U-Boot] [PATCH] net: nfs: add dynamic wait period

2012-12-11 Thread Matthias Brugger
messages. Second, when a time out occurs we double the time to wait, so that we do not stress the server resending the last message. Signed-off-by: Matthias Brugger matthias@gmail.com --- net/nfs.c | 73 +++-- 1 file changed, 52 insertions

Re: [U-Boot] [PATCH] net: nfs: add dynamic wait period

2013-01-26 Thread Matthias Brugger
2012/12/11 Matthias Brugger matthias@gmail.com: This patch tackles the time out problem which leads to break the boot process, when loading file over nfs. The patch does two things. First of all, we just ignore messages that arrive with a rpc_id smaller then the client id. We just

Re: [U-Boot] [PATCH 04/20] arm: dts: MediaTek: add MT7629 reference board support

2018-10-02 Thread Matthias Brugger
I'm very happy to see Mediatek working on mainline u-boot support! On 02/10/2018 08:13, Ryder Lee wrote: > This patch adds mt7629.dtsi and reference board support. I think reference board support is already added in 2/20. AFAICS you just device tree and the includes it needs. > > Signed-off-by:

Re: [U-Boot] [PATCH 03/20] arm: MediaTek: add basic support for MT7623 boards

2018-10-02 Thread Matthias Brugger
mt7623_rfb On 02/10/2018 08:13, Ryder Lee wrote: > From: Weijie Gao > > This adds a general board file based on MT7623 SoCs from MediaTek. > > As this u-boot is loaded by preloader, there is no low level > initializtion codes. > > Signed-off-by: Weijie Gao > --- >

Re: [U-Boot] [PATCH 13/20] pinctrl: MediaTek: add pinctrl driver for MT7623 SoC

2018-10-02 Thread Matthias Brugger
On 02/10/2018 08:13, Ryder Lee wrote: > Add support for pinctrl on MT7629 SoC which has 279 pins. And the most of > the codes in this patch are used to describe the details of each pin. > > Signed-off-by: Ryder Lee > --- > drivers/pinctrl/mediatek/Kconfig |4 + >

Re: [U-Boot] [PATCH 00/20] Add support for MediaTek SoCs - MT7623n / MT7629

2018-10-02 Thread Matthias Brugger
dd an entry for MediaTek > > Weijie Gao (3): > arm: MediaTek: add basic support for MT7623 boards > configs: MediaTek: add MT7623 Bananapi R2 board support > mmc: mtk-sd: add SD/MMC host controller driver for MT7623 SoC > I tried the series on my bananapi-r2 and I was able to boot into the kernel: Tested-by: Matthias Brugger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 05/20] arm: dts: MediaTek: add MT7623 Bananapi R2 board support

2018-10-02 Thread Matthias Brugger
On 02/10/2018 08:13, Ryder Lee wrote: > This patch adds support for MT7623 development board - Bananapi R2 from > BIPAI KEJI. Detailed hardware information for BPI-R2 which could be > found on http://wiki.banana-pi.org/Banana_Pi_BPI-R2. > > Signed-off-by: Ryder Lee > --- >

Re: [U-Boot] [PATCH 10/20] timer: MediaTek: add timer driver for MediaTek SoCs

2018-10-02 Thread Matthias Brugger
On 02/10/2018 08:13, Ryder Lee wrote: > This patch adds clock source/event for the timer found on the Mediatek SoCs. > > Signed-off-by: Ryder Lee > --- > drivers/timer/Kconfig | 7 > drivers/timer/Makefile| 1 + > drivers/timer/mtk_timer.c | 85 >

Re: [U-Boot] [PATCH 02/20] arm: MediaTek: add basic support for MT7629 boards

2018-10-02 Thread Matthias Brugger
On 02/10/2018 08:13, Ryder Lee wrote: > This adds a general board file based on MT7629 SoCs from MediaTek. > > Apart from the generic parts (cpu) we add some low level init codes and > initialize the early clocks. > > Signed-off-by: Ryder Lee > Signed-off-by: Weijie Gao > --- >

Re: [U-Boot] board/raspberrypi/rpi/MAINTAINERS

2019-03-28 Thread Matthias Brugger
Hi Heinrich, On 28/03/2019 11:52, Heinrich Schuchardt wrote: > Hello Matthias, > > in board/raspberrypi/rpi/MAINTAINERS there is still Alex's old email > address. Are you also picking up maintainership for those files? > Yes I can do that. Shall I send a patch? Regards, Matthias > Guillaume

Re: [U-Boot] [PATCH] efi_loader: Fix serial console size detection

2019-02-27 Thread Matthias Brugger
On 26/02/2019 17:58, Heinrich Schuchardt wrote: > On 2/26/19 12:46 PM, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> Function term_read_reply tries to read from the serial console until >> the end_char was read. This can hang forever if we are, for

Re: [U-Boot] [PATCH] armv8: Disable exception vectors in SPL by default

2019-02-20 Thread Matthias Brugger
t_vbar, regname, reg > msr \regname, \reg > .endm > - adr x0, vectors > + adr x0, _start If there is any reason you want to set vbar_elX to _start instead the exception entry point, then please explain this in the commit message :)

Re: [U-Boot] [PATCH v2] cmd: clk: Handle ENODEV from clk_get_rate

2019-02-22 Thread Matthias Brugger
mmit you fix with that, as printing -ENODEV as clock frequency is a bug: Fixes: ff8eee0330 ("cmd: clk: Add trivial implementation of clock dump for DM") Other then that: Reviewed-by: Matthias Brugger > Signed-off-by: Ismael Luceno > --- > > CC: Matthias Brugger > > Notes: > Cha

Re: [U-Boot] [PATCH v2] armv8: Disable exception vectors in SPL by default

2019-02-20 Thread Matthias Brugger
ndling > in SPL always by default. > > So fix the bug to make the config option effective, but disable exception > handling in SPL by default. This gets us to the same functionality as before > by default, but with much less code included in the binary. > > Signed-off-by: Ale

Re: [U-Boot] RPi Compute Module DTB naming scheme

2019-03-14 Thread Matthias Brugger
On 13/03/2019 22:14, Stefan Wahren wrote: > Hi, > > recently i stumbled upon this issue [1] in Arch Linux. The obvious issue is > the difference of the DTB naming between U-Boot und Linux. > > From my point of view is that the Compute Module is only a SoM and not > runnable standalone. So

Re: [U-Boot] rpi: bcm2835_sdhost: occasional errors while writing

2019-03-18 Thread Matthias Brugger
On 05/03/2019 13:36, Zubair Lutfullah Kakakhel wrote: > On Mon, Feb 25, 2019 at 10:43 AM Zubair Lutfullah Kakakhel > wrote: >> >> Hi, >> >> I've encountered occasional glitches while writing to the sd card >> via u-boot(2018.07) on a Pi 3 B+. The goal is to write the bootcount >> in the boot

[U-Boot] Pull request: BCM ARM changes

2019-02-15 Thread Matthias Brugger
The following changes since commit 97276a91db8e98f081a40ddf9dc8f81d4032a756: Prepare v2019.04-rc1 (2019-02-07 21:32:19 -0500) are available in the Git repository at: https://github.com/mbgg/u-boot.git tags/2019.01-next for you to fetch changes up to

Re: [U-Boot] pull request: raspberry pi updates

2019-06-25 Thread Matthias Brugger
h Schuchardt wrote: >>>>> On 6/12/19 9:56 PM, Tom Rini wrote: >>>>>> On Wed, Jun 12, 2019 at 03:48:06PM +0100, Peter Robinson wrote: >>>>>>> Hi Matthias, >>>>>>> >>>>>>> Have these been out on the l

[U-Boot] pull request: raspberry pi updates

2019-06-12 Thread Matthias Brugger
Hi Tom, Please have a look on the following patches. Regards, Matthias --- The following changes since commit fc6c0e29a28f6b71dfb728b7f78e9e770f2cd218: Prepare v2019.07-rc4 (2019-06-10 21:27:46 -0400) are available in the Git repository at: https://github.com/mbgg/u-boot.git

Re: [U-Boot] [PATCH v2 0/2] Fix compilation error if CONFIG_USB is disabled

2019-05-09 Thread Matthias Brugger
Hi Ajay, On 09/05/2019 13:26, Ajay Kaher wrote: > > > On 25/04/19, 7:07 PM, "Tom Rini" wrote: > >> On Thu, Apr 25, 2019 at 01:13:24PM +, Ajay Kaher wrote: >> > >> > Tom, [PATCH v2 1/2] reviewed by 'Matthias Brugger'. >>

Re: [U-Boot] [PATCH 4/4] lib: uuid: Improve randomness of uuid values on RANDOM_UUID=y

2019-05-16 Thread Matthias Brugger
On 30/04/2019 21:07, Heinrich Schuchardt wrote: > On 4/30/19 4:53 AM, Eugeniu Rosca wrote: >> The random uuid values (enabled via CONFIG_RANDOM_UUID=y) on our >> platform are always the same. Below is consistent on each cold boot: >> >>   => ### interrupt autoboot >>   => env default -a; gpt

Re: [U-Boot] Raspberry Pi's MAC address locked to the first device the SD card boots on

2019-05-16 Thread Matthias Brugger
On 03/05/2019 01:07, Timothy Froehlich wrote: > We've had a problem the past few days that we've traced back to U-Boot. > We're generating images using Yocto with Mender's update routine. The issue > is the first time a clean image is booted on a Raspberry Pi, the mac > address gets permanently

Re: [U-Boot] pull request: raspberry pi updates

2019-07-05 Thread Matthias Brugger
On 26/06/2019 13:09, Matthias Brugger wrote: > > > On 25/06/2019 09:58, Matthias Brugger wrote: >> >> >> On 24/06/2019 20:11, Tom Rini wrote: >>> On Wed, Jun 12, 2019 at 04:25:33PM -0400, Tom Rini wrote: >>>> On Wed, Jun 12, 2019 at 10:21:22PM +0

Re: [U-Boot] rpi2: u-boot misaligned operation

2019-06-26 Thread Matthias Brugger
On 25/06/2019 02:42, Alexander von Gluck IV wrote: > Was rebuilding u-boot binary for the Raspberry Pi 2 (from master), and ran > into the following issue: > " > U-Boot 2019.07-rc4-00179-g77f6e2dd05 (Jun 24 2019 - 14:25:14 -0500) > > DRAM: 128 MiB > RPI 2 Model B (0xa21041) > MMC:

Re: [U-Boot] pull request: raspberry pi updates

2019-06-26 Thread Matthias Brugger
On 25/06/2019 09:58, Matthias Brugger wrote: > > > On 24/06/2019 20:11, Tom Rini wrote: >> On Wed, Jun 12, 2019 at 04:25:33PM -0400, Tom Rini wrote: >>> On Wed, Jun 12, 2019 at 10:21:22PM +0200, Heinrich Schuchardt wrote: >>>> On 6/12/19 10:08 PM, Tom Ri

Re: [U-Boot] [PATCH] watchdog: mtk_wdt: Cosmetic cleanup of latest changes

2019-07-03 Thread Matthias Brugger
gt; passed in (u64) instead of (unsigned int) from mtk_wdt_start() to > mtk_wdt_set_timeout(), preserving the original value. > > Signed-off-by: Stefan Roese > Cc: Shannon Barber > Cc: Ryder Lee > Cc: Matthias Brugger > Cc: Frank Wunderlich > --- Reviewed-by: Matthias Br

Re: [U-Boot] [PATCH] Rpi: Fix compilation error if CONFIG_USB is disabled

2019-04-09 Thread Matthias Brugger
On 01/04/2019 16:36, Tom Rini wrote: > On Mon, Apr 01, 2019 at 10:19:18AM +, Ajay Kaher wrote: > >> Few weeks ago sent patch (as in below mail) to include in U-Boot, And >> still waiting for response and even not present in U-Boot mailing list. > > Can you please re-send the patch and

Re: [U-Boot] Board specific files

2019-04-16 Thread Matthias Brugger
On 03/04/2019 14:58, Alexander Dahl wrote: > Hello Pascal, > > Am Mittwoch, 3. April 2019, 09:08:57 CEST schrieb Linder Pascal: >> I am new to U-Boot and I am trying to understand what I need to code for >> using my own board with the bootloader. > > Welcome. :-) > > I try to describe my view

Re: [U-Boot] [PATCH 1/8] arm: v7: add read_mpidr function for arm32

2019-04-16 Thread Matthias Brugger
On 05/04/2019 10:30, Heiko Stuebner wrote: > Function to get the contents of the mpidr register, similar to > its arm64 counterpart. > > Signed-off-by: Heiko Stuebner Reviewed-by: Matthias Brugger > --- > arch/arm/include/asm/system.h | 9 + > 1 file

Re: [U-Boot] [PATCH v2 1/2] Fix compilation error if CONFIG_USB is disabled

2019-04-16 Thread Matthias Brugger
y Kaher > Reviewed-by: Matthias Brugger > --- > cmd/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/cmd/Kconfig b/cmd/Kconfig > index 4bcc5c4557..96e665a1c9 100644 > --- a/cmd/Kconfig > +++ b/cmd/Kconfig > @@ -1059,6 +1059,7 @@ config CMD_UNIVERSE

Re: [U-Boot] Booting from network

2019-04-16 Thread Matthias Brugger
On 07/04/2019 10:51, Simon Goldschmidt wrote: > Am 07.04.2019 um 01:22 schrieb Chris Packham: >> On Sun, 7 Apr 2019, 9:03 AM U.Mutlu, wrote: >> >>> I'm booting over the network (GbE) from a tftp server. >>> It works, but is IMHO very slow. >>> Is there a faster method for booting over the net?

Re: [U-Boot] [PATCH 00/16] Raspberry Pi 32/64 support

2019-07-16 Thread Matthias Brugger
lease use get_maintainers.pl to see whom you have to send the patches to. > 4 board. It also includes commits from > https://github.com/mbgg/u-boot.git (credits to Matthias Brugger). > > Andrei Gherzan (13): > dts: Create a dtsi for BCM2835/6/7 specific configuration > dts: Add

Re: [U-Boot] [PATCH 04/16] arm: mach-bcm283x: Define mbox address for BCM2838

2019-07-16 Thread Matthias Brugger
On 16/07/2019 15:37, and...@gherzan.ro wrote: > From: Andrei Gherzan > > Signed-off-by: Andrei Gherzan > --- > arch/arm/mach-bcm283x/include/mach/mbox.h | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h >

Re: [U-Boot] [PATCH 12/16] config: rpi4: Add defconfig for rpi4-32

2019-07-16 Thread Matthias Brugger
On 16/07/2019 15:37, and...@gherzan.ro wrote: > From: Andrei Gherzan > > Signed-off-by: Andrei Gherzan > --- > configs/rpi_4_32b_defconfig | 43 + > 1 file changed, 43 insertions(+) > create mode 100644 configs/rpi_4_32b_defconfig > > diff --git

Re: [U-Boot] [PATCH 02/16] dts: Add initial support for bcm2838

2019-07-16 Thread Matthias Brugger
On 16/07/2019 15:37, and...@gherzan.ro wrote: > From: Andrei Gherzan > > Signed-off-by: Andrei Gherzan > --- > arch/arm/dts/Makefile| 4 +- > arch/arm/dts/bcm2838-rpi-4-b.dts | 56 > arch/arm/dts/bcm2838.dtsi| 237 +++ > 3 files

Re: [U-Boot] [PATCH 13/16] dts: bcm2838-rpi-4-b: Use the emmc2 interface for sdhci

2019-07-16 Thread Matthias Brugger
On 16/07/2019 15:38, and...@gherzan.ro wrote: > From: Andrei Gherzan > > Signed-off-by: Andrei Gherzan Commit message. You fix a file that you introduced in this series. Any reason why you don't just send the file already fixed? > --- > arch/arm/dts/bcm2838-rpi-4-b.dts | 16

Re: [U-Boot] [PATCH 06/16] dt-bindings: Define BCM2838_CLOCK_EMMC2 needed for RaspberryPi 4

2019-07-16 Thread Matthias Brugger
On 16/07/2019 15:37, and...@gherzan.ro wrote: > From: Andrei Gherzan > > On BCM2838 there is an additional clock. This clock was added in the > same bcm2835-cprman driver and is used by the emmc2 dt node. > > Signed-off-by: Andrei Gherzan > --- > include/dt-bindings/clock/bcm2835.h | 2 ++ >

Re: [U-Boot] [PATCH 05/16] rpi: Add rpi_model entry for RaspberryPi 4

2019-07-16 Thread Matthias Brugger
On 16/07/2019 15:37, and...@gherzan.ro wrote: > From: Andrei Gherzan > > Signed-off-by: Andrei Gherzan Commit message missing. > --- > board/raspberrypi/rpi/rpi.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c >

Re: [U-Boot] [PATCH 01/16] dts: Create a dtsi for BCM2835/6/7 specific configuration

2019-07-16 Thread Matthias Brugger
On 16/07/2019 15:37, and...@gherzan.ro wrote: > From: Andrei Gherzan > > This follows a similar change in kernel[1]. The change moves > configuration that was not applicable for all bcm2835/6/7/8 out of > bcm283x.dtsi. The new file is bcm2835-common.dtsi and contains > conifguration that is

Re: [U-Boot] [PATCH 08/16] mmc: bcm2835_sdhci: Add support for bcm2711 device

2019-07-16 Thread Matthias Brugger
On 16/07/2019 15:37, and...@gherzan.ro wrote: > From: Matthias Brugger > > The bcm2711 has two emmc controller. The difference is the clocks > they use. Add support for the second emmc contoller. > > Signed-off-by: Matthias Brugger missing your signed-off-by. &g

Re: [U-Boot] [PATCH v2 2/8] ARM: bcm283x: Add BCM283x_BASE define

2019-08-30 Thread Matthias Brugger
On 26/07/2019 14:43, Andrei Gherzan wrote: > Hi, > > On 26/07/2019 13.04, Alexander Graf wrote: >> >> >> On 26.07.19 13:55, Matthias Brugger wrote: >>> >>> >>> On 26/07/2019 13:16, Alexander Graf wrote: >>>> >>>&

Re: [U-Boot] [PATCH] rpi3: Enable verified boot from FIT image

2019-09-02 Thread Matthias Brugger
+Alex, Lukas, Heinrich, Bin and Simon On 31/07/2019 10:16, Jun Nie wrote: > Matthias Brugger 于2019年7月31日周三 下午4:05写道: >> >> >> >> On 11/07/2019 05:55, Jun Nie wrote: >>> Enable verified boot from FIT image with select configs >>> and specify boot scri

Re: [U-Boot] [EXT] Re: [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-09-02 Thread Matthias Brugger
hias > Chandra > > From: Tim Harvey > Sent: Monday, August 26, 2019 10:54:34 AM > To: Suneel Garapati > Cc: Matthias Brugger ; Chandrakala Chavva > ; prasun.kap...@cavium.com ; > Sergey Temerkhanov ; u-boot ; > chandrakala.cha...@cavium.co

Re: [U-Boot] [PATCH 2/2] libfdt: return correct value if #size-cells property is not present

2019-09-04 Thread Matthias Brugger
Hi all, On 13/08/2019 11:34, Simon Glass wrote: > +Stephen Warren > > Hi Matthias, > > On Thu, 1 Aug 2019 at 05:42, Matthias Brugger wrote: >> >> Hi all, >> >> On 26/07/2019 11:13, matthias....@kernel.org wrote: >>> From: Matthias Brugger &g

Re: [U-Boot] [PATCH] rpi4: enable dram bank initialization

2019-09-06 Thread Matthias Brugger
On 06/09/2019 15:03, Alexander Graf wrote: > > On 06.09.19 14:58, Matthias Brugger wrote: >> >> On 06/09/2019 14:11, Alexander Graf wrote: >>> On 06.09.19 13:56, matthias@kernel.org wrote: >>>> From: Matthias Brugger >>>> >>>>

Re: [U-Boot] [PATCH] rpi4: enable dram bank initialization

2019-09-06 Thread Matthias Brugger
On 06/09/2019 14:11, Alexander Graf wrote: > > On 06.09.19 13:56, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> When booting through the efi stub, the memory map get's created by >> reading the dram bank information. Depending on the version o

Re: [U-Boot] [PATCH v2 2/4] libfdt: return correct value if #size-cells property is not present

2019-09-17 Thread Matthias Brugger
Hi Simon, On 17/09/2019 07:48, Simon Glass wrote: > Hi, > > On Thu, 5 Sep 2019 at 02:49, wrote: >> >> From: Matthias Brugger >> >> According to the device tree specification, the default value for >> was not present. >> >> This patch also mak

Re: [U-Boot] [PATCH] rpi3: Enable verified boot from FIT image

2019-09-06 Thread Matthias Brugger
On 03/09/2019 09:12, Jun Nie wrote: > Heinrich Schuchardt 于2019年9月2日周一 下午7:19写道: >> >> On 9/2/19 12:30 PM, Matthias Brugger wrote: >>> +Alex, Lukas, Heinrich, Bin and Simon >>> >>> On 31/07/2019 10:16, Jun Nie wrote: >>>> Matthias Brugger

Re: [U-Boot] [ANN] U-Boot v2019.10-rc3 released

2019-09-18 Thread Matthias Brugger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 18/09/2019 16:25, Tom Rini wrote: > On Wed, Sep 18, 2019 at 04:23:35PM +0200, Matthias Brugger wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Hi Tom, >> >> On 27/08/2019 02:19, Tom Rini

Re: [U-Boot] [ANN] U-Boot v2019.10-rc3 released

2019-09-18 Thread Matthias Brugger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Tom, On 27/08/2019 02:19, Tom Rini wrote: > Hey all, > > It's release day and here's v2019.10-rc3. We're well into what should be > the stabilization period at this point. Going forward I am hoping for PRs > that are bug fixes / regression

Re: [U-Boot] [PATCH 3/3] config: enable DFU over USB on Raspberry Pi4 boards

2019-09-16 Thread Matthias Brugger
On 16/09/2019 14:24, Marek Szyprowski wrote: > Enable support for DFU over USB. This requires to enable USB gadget, > DWC2 UDC OTG driver and DFU command. DFU entities are defined for the > following firmware objects: u-boot.bin, uboot.env and zImage. > > Signed-off-by: Marek Szyprowski > ---

[U-Boot] [GIT PULL] rpi: updates for v2019.10

2019-09-06 Thread Matthias Brugger
: Add memory map for bcm2711 git-mailrc: Add rpi and bcm283x maintainer Bonnans, Laurent (1): rpi: increase SYS_BOOTM_LEN to 64M on ARM64 Fabian Vogt (1): ARM: bcm283x mbox: Fix send status register Matthias Brugger (2): ARM: bcm283x: Add BCM283x_BASE define mmc

Re: [U-Boot] u-boot working version for Rasberry Pi 4

2019-09-13 Thread Matthias Brugger
On 09/09/2019 11:35, Sachin Mehrotra wrote: > Dear Concern, > > I am working for u-boot for rpi4, may I know do we have updated working > version for Raspberry Pi 4. > I was testing the version https://gitlab.denx.de/u-boot/u-boot with >

Re: [U-Boot] [PATCH] rpi: increase SYS_BOOTM_LEN to 64M

2019-07-31 Thread Matthias Brugger
Hi Laurent, On 07/06/2019 17:04, Bonnans, Laurent wrote: > On AArch64, kernel images are not self-decompressing and easily exceed > the 8MB limit. > > Signed-off-by: Laurent Bonnans > --- > include/configs/rpi.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/rpi.h

Re: [U-Boot] [PATCH] board_r: re-order the board_early_init_r()

2019-07-31 Thread Matthias Brugger
On 24/07/2019 14:22, Kever Yang wrote: > > On 2019/7/24 下午6:22, Simon Goldschmidt wrote: >> On Wed, Jul 24, 2019 at 12:01 PM Kever Yang >> wrote: >>> The board_early_init_r() suppose to be called before board_init(), >>> then the board callback functions in board_r will be: >>> -

Re: [U-Boot] (Offlist) Re: U-Boot/EBBR plugfest at ELC-EU?

2019-07-31 Thread Matthias Brugger
On 30/07/2019 17:33, Grant Likely wrote: > > >>> On 24 Jul 2019, at 14:39, Daniel Kiper wrote: >>> On Mon, Jul 08, 2019 at 01:27:11PM +, Steve McIntyre wrote: On Mon, Jul 08, 2019 at 11:18:56AM +0100, Leif Lindholm wrote: On Mon, Jul 08, 2019 at 12:13:07PM +0200, Daniel

Re: [U-Boot] [PATCH 2/2] libfdt: return correct value if #size-cells property is not present

2019-08-01 Thread Matthias Brugger
Hi all, On 26/07/2019 11:13, matthias@kernel.org wrote: > From: Matthias Brugger > > According to the device tree specification, the default value for > was not present. > > This patch also makes fdt_address_cells() and fdt_size_cells() conform > to the behaviour d

Re: [U-Boot] [PATCH] board_r: re-order the board_early_init_r()

2019-08-01 Thread Matthias Brugger
On 31/07/2019 10:58, Kever Yang wrote: > > On 2019/7/31 下午3:23, Matthias Brugger wrote: >> >> On 24/07/2019 14:22, Kever Yang wrote: >>> On 2019/7/24 下午6:22, Simon Goldschmidt wrote: >>>> On Wed, Jul 24, 2019 at 12:01 PM Kever Yang >>>

Re: [U-Boot] rpi2: u-boot misaligned operation

2019-07-17 Thread Matthias Brugger
On 29/06/2019 04:00, Alexander von Gluck IV wrote: > June 28, 2019 8:49 PM, "Alexander von Gluck IV" wrote: >> June 26, 2019 3:22 AM, "Matthias Brugger" wrote: >> >>> On 25/06/2019 02:42, Alexander von Gluck IV wrote: >>> >>>>

Re: [U-Boot] [PATCH v2 3/8] ARM: bcm283x: Define configs for RaspberryPi 4

2019-07-26 Thread Matthias Brugger
he > respective target is used. > > Signed-off-by: Andrei Gherzan > Signed-off-by: Matthias Brugger > --- > arch/arm/mach-bcm283x/Kconfig | 62 +++ > 1 file changed, 62 insertions(+) > > diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/a

Re: [U-Boot] [PATCH v2 8/8] git-mailrc: Add rpi and bcm283x maintainer

2019-07-26 Thread Matthias Brugger
On 24/07/2019 16:39, Andrei Gherzan wrote: > Signed-off-by: Andrei Gherzan Missing commit message. Maybe something like: Add entries for bcm283x and rpi prefix. Other then that: Acked-by: Matthias Brugger > --- > doc/git-mailrc | 4 > 1 file changed, 4 insertions(+) >

Re: [U-Boot] One u-boot.bin for Raspberry PI 3 and 4 - possible?

2019-09-28 Thread Matthias Brugger
On 28/09/2019 13:32, Geoff Williams wrote: > Hi Matthias, > >> Yes it is. I was working on this the last weeks and just posted the patches >> today. Would be nice if you could test and provide feedback :) > > The patch works for me on Raspberry PI 4B 1GB and a Raspberry PI 3B v1.2 >

Re: [U-Boot] u-boot: raspberry pi 4 with 4G ram, bdinfo: dram bank size is < 1G

2019-10-01 Thread Matthias Brugger
On 25/09/2019 11:51, Matthias Brugger wrote: > Hi, > > On 19/09/2019 13:51, Pi NewBie wrote: >> With top of the tree(tot) uboot, and tot firmware, uboot command bdinfo >> shows the dram bank size as 0x3b40 which is <1G, but the >> rpi4 board has 4G of r

[U-Boot] [PULL] Raspberry Pi for v2019.10 second round

2019-10-01 Thread Matthias Brugger
. Matthias Brugger (1): rpi4: enable dram bank initialization board/raspberrypi/rpi/rpi.c | 10 ++ configs/rpi_4_defconfig | 2 +- 2 files changed, 11 insertions(+), 1 deletion

Re: [U-Boot] [EXT] Re: [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-09-27 Thread Matthias Brugger
here anything I can help you with? I have access to the HW, if you want me to test code etc. Regards, Matthias > > Regards, > Suneel > > On Mon, Sep 2, 2019 at 7:19 AM Matthias Brugger wrote: >> >> Hi Suneel, >> >> On 27/08/2019 02:59, Chandrakala C

Re: [U-Boot] [PATCH v2 2/4] libfdt: return correct value if #size-cells property is not present

2019-09-27 Thread Matthias Brugger
On 27/09/2019 03:48, Simon Glass wrote: > On Tue, 17 Sep 2019 at 09:52, Simon Glass wrote: >> >> Hi Matthias, >> >> On Tue, 17 Sep 2019 at 00:29, Matthias Brugger wrote: >>> >>> Hi Simon, >>> >>> On 17/09/2019 07:48, Simon Glas

Re: [U-Boot] One u-boot.bin for Raspberry PI 3 and 4 - possible?

2019-09-27 Thread Matthias Brugger
Hi Geoff, On 27/09/2019 04:16, Geoff Williams wrote: > Hi List, > > TLDR: As subject > > I've been following Alexander Graf's uEFI+grub2 presentation on Raspberry > PI[1]. > I have it working on PI 3 and 4 and its great but I need to re-compile u-boot > for each board which means lots of

Re: [U-Boot] [PATCH 2/3] ARM: bcm283x: Set rpi_bcm283x_base at run-time

2019-09-27 Thread Matthias Brugger
On 27/09/2019 12:12, Alexander Graf wrote: > > On 27.09.19 11:00, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> As part of the effort to create one binary for several bcm83x SoCs >> we use the SoC compatible to decide which IO base address we use.

Re: [U-Boot] One u-boot.bin for Raspberry PI 3 and 4 - possible?

2019-09-30 Thread Matthias Brugger
On 29/09/2019 07:13, Geoff Williams wrote: > Hi Matthias, > >>> 1. On the PI 4 with mainline u-boot the screen turns yellow and wraps >>> around on >>> itself a second or so into the linux boot (grub screen is fine). With the >>> patch >>> applied I get the same behaviour on the PI3.

Re: [U-Boot] [U-Boot-Custodians] [RFC] Minimum Python 3 version?

2019-10-01 Thread Matthias Brugger
On 27/09/2019 18:05, Tom Rini wrote: > Hey all, > > I'm currently kicking test.py to use Python 3 instead of Python 2.7 and > seeing places where it would (seemingly) be nice to be able to say that > we have Python 3.6 as our minimum version. To do this however we'll > have to tell people

Re: [U-Boot] [PULL] Raspberry Pi for v2019.10 second round

2019-10-01 Thread Matthias Brugger
On 01/10/2019 16:32, Matthias Brugger wrote: > Hi Tom, > > As we got the the libftd fixes merged [1], I would propose to also add the > commit in belows pull request. When booting grub from U-Boot, without this > patch > Linux will just see the first 1GB of RAM instead

Re: [U-Boot] Issues when saving environment in RK399 RockPI 4

2019-11-08 Thread Matthias Brugger
Hi Ezequiel, On 07/11/2019 20:27, Fabio Estevam wrote: > Hi Ezequiel, > > On Thu, Nov 7, 2019 at 3:45 PM Ezequiel Garcia > wrote: >> >> I decided to test latest U-Boot, following instructions in >> doc/README.rockchip. The instructions seemed >> clear and I could build this easily. >> >>

Re: [U-Boot] [PATCH v2 6/6] config: enable DFU over USB on Raspberry Pi4 boards

2019-11-08 Thread Matthias Brugger
Hi Marek, First of all thanks for the patch and sorry for the late response. On 24/09/2019 15:11, Marek Szyprowski wrote: > Enable support for DFU over USB. This requires to enable USB gadget, > DWC2 UDC OTG driver and DFU command. DFU entities are defined for the > following firmware objects:

Re: [U-Boot] [PATCH] board: rpi4: fix instantiating PL011 driver

2019-11-08 Thread Matthias Brugger
On 27/09/2019 07:39, Mark Dapoz wrote: > The bcm283x PL011 serial driver is hard coded to allow connections only > for UART0.  This prevents using any of the other UARTs as the U-boot > console. > > The bcm283x serial driver is updated to allow connections to any of the > PL011 devices.  The

Re: [U-Boot] [PATCH v2 6/6] config: enable DFU over USB on Raspberry Pi4 boards

2019-11-11 Thread Matthias Brugger
On 08/11/2019 17:57, Matthias Brugger wrote: > Hi Marek, > > > First of all thanks for the patch and sorry for the late response. > > On 24/09/2019 15:11, Marek Szyprowski wrote: >> Enable support for DFU over USB. This requires to enable USB gadget, >> DWC2

Re: [U-Boot] [PATCH] fdt: fix bcm283x dm-pre-reloc definitions

2019-11-07 Thread Matthias Brugger
On 07/11/2019 14:51, Tom Rini wrote: > On Thu, Nov 07, 2019 at 02:30:13PM +0100, matthias@kernel.org wrote: > >> From: Matthias Brugger >> >> In commmit >> 143256b353 ("fdt: update bcm283x device tree sources to Linux 5.1-rc6 state") >>

Re: [U-Boot] [BUG] display_options() fails on Raspberry Pi 3B+

2019-11-07 Thread Matthias Brugger
Hi Heinrich, adding Alex just in case he knows better, as he wrote the initial code. On 06/11/2019 01:57, Heinrich Schuchardt wrote: > Hello Matthias, > > Tom reported: > > Since patch > 143256b353c4d2ad1cf5e5e63b38410188b35e49 > fdt: update bcm283x device tree sources to Linux 5.1-rc6 state >

Re: [U-Boot] [PATCH] ARM: defconfig: add unified config for RPi3 and RPi4

2019-11-06 Thread Matthias Brugger
On 06/11/2019 19:06, Heinrich Schuchardt wrote: > On 11/6/19 3:41 PM, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> Provide a defconfig which allows us to boot Raspberrry Pi 4 >> and Raspberry Pi 3 Model B/B+ >> Instead of using the em

Re: [U-Boot] [BUG] display_options() fails on Raspberry Pi 3B+

2019-11-07 Thread Matthias Brugger
Hi Heinrich and all, On 07/11/2019 12:44, Matthias Brugger wrote: > Hi Heinrich, > > adding Alex just in case he knows better, as he wrote the initial code. > > On 06/11/2019 01:57, Heinrich Schuchardt wrote: >> Hello Matthias, >> >>

Re: [U-Boot] [PATCH v3 4/4] ARM: bcm283x: Set memory map at run-time

2019-11-13 Thread Matthias Brugger
On 13/11/2019 11:44, Alexander Graf wrote: > > On 12.11.19 13:00, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> For bcm283x based on arm64 we also have to change the mm_region. >> Add assign this in mach_cpu_init() so we can create now o

Re: [U-Boot] [PATCH v2 6/6] config: enable DFU over USB on Raspberry Pi4 boards

2019-11-12 Thread Matthias Brugger
On 12/11/2019 10:52, Marek Szyprowski wrote: > Hi Matthias, > > On 08.11.2019 17:57, Matthias Brugger wrote: >> First of all thanks for the patch and sorry for the late response. >> >> On 24/09/2019 15:11, Marek Szyprowski wrote: >>> Enable support for DFU o

Re: [U-Boot] [PATCH v3 1/4] rpi: push fw_dtb_pointer in the .data section

2019-11-12 Thread Matthias Brugger
On 12/11/2019 13:20, Alexander Graf wrote: > > On 12.11.19 13:00, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> The fw_dtb_pointer was defined in the assembly code, which makes him >> live in section .text_rest >> Put that's not necessary, w

Re: [U-Boot] [PATCH] rpi4: fix dram bank initialization

2019-11-07 Thread Matthias Brugger
Hi Jiang, On 07/11/2019 08:00, Jian-Hong Pan wrote: > Raspberry Pi's memory address & size cells are defined in FDT's root > node. So, original fdtdec_decode_ram_size() having the cells in memory > node will get wrong size cells which misleads memory's reg parsing and > have wrong memory banks. >

Re: [PATCH] arm: dts: bcm283x: Allow UARTs to work before relocation

2019-12-10 Thread Matthias Brugger
Hi Simon, On 02/12/2019 16:45, Tom Rini wrote: > On Sun, Dec 01, 2019 at 07:33:56PM -0700, Simon Glass wrote: > >> At present the pinctrl nodes are not enabled in pre-relocation U-Boot so >> the UARTs do not correctly select the pinconfig to enable the UART pins. >> Fix this so that the U-Boot

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

2019-12-11 Thread Matthias Brugger
Hi all, On 09/12/2019 14:33, Sascha Dewald wrote: > Hello Amit, > > no problem. > > Is there some git feature branch, to have a look ? Yes I'd love to have a look as well :) Regards, Matthias > > Thank you > Sascha > > Am Mo., 9. Dez. 2019 um 12:12 Uhr schrieb Amit Tomer : >> >> Hello

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

2019-12-12 Thread Matthias Brugger
On 12/12/2019 11:41, Andre Przywara wrote: > On Wed, 11 Dec 2019 10:23:16 +0100 > Matthias Brugger wrote: > > Hi, > >> On 09/12/2019 14:33, Sascha Dewald wrote: >>> Hello Amit, >>> >>> no problem. >>> >>> Is there some git fe

[GIT PULL] Please pull fixes for RPi targeted for v2020.01 release

2019-12-11 Thread Matthias Brugger
config for RPi4 (2019-12-11 10:14:13 +0100) - fix DRAM bank detection for unified binary - fix 32bit RPi4 config Matthias Brugger (3): rpi: fix dram bank

Re: [PATCH 2/2] rpi: Enable DRAM bank initialization on arm64

2019-12-05 Thread Matthias Brugger
On 04/12/2019 22:28, Heinrich Schuchardt wrote: > On 12/4/19 5:52 PM, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> Up to now we only update the DRAM banks when we are define >> CONFIG_BCM2711. But our one binary approach uses a config that supp

Re: [PATCH v4 1/6] fat: write: fix broken write to fragmented files

2019-12-05 Thread Matthias Brugger
On 05/12/2019 17:52, Lukasz Majewski wrote: > Hi Tom, Matthias, > >> The code for handing file overwrite incorrectly assumed that the file >> on disk is always contiguous. This resulted in corrupting disk >> structure every time when write to existing fragmented file happened. >> Fix this by

Re: [U-Boot] [PATCH v2 0/4] Fix default values for address and size cells

2019-10-22 Thread Matthias Brugger
On 22/10/2019 01:47, Simon Glass wrote: > Hi Matthias, > > On Wed, 25 Sep 2019 at 03:57, Matthias Brugger wrote: >> >> Hi Simon, >> >> On 05/09/2019 10:48, matthias@kernel.org wrote: >>> From: Matthias Brugger >>> >>> The libft

[U-Boot] linker question u-boot - setting armv8 mem_map struct at runtime

2019-10-22 Thread Matthias Brugger
Hi all, I'm trying to support one binary that can boot from RPi3 and RPi4 [1]. For this I need to set mem_map at runtime [2]. Up to now, mem_map is defined in lowlevel_init.S which pushes it to section .text_rest But as Alex noted in the thread, much cleaner would be to define mem_map as an

Re: [U-Boot] [PATCH 3/3] ARM: bcm283x: Set memory map at run-time

2019-10-16 Thread Matthias Brugger
On 27/09/2019 12:14, Alexander Graf wrote: > > On 27.09.19 11:00, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> For bcm283x based on arm64 we also have to change the mm_region. >> Add assign this in mach_cpu_init() so we can create now o

Re: [U-Boot] Should UEFI be disabled on ARM11 boards by default?

2019-11-20 Thread Matthias Brugger
On 19/11/2019 19:44, Heinrich Schuchardt wrote: > Dear maintainers, > > "Pull request for UEFI sub-system for efi-2020-01-rc4" disables the UEFI > sub-system for all boards except ARMv8, ARMv7, ARM11. This is necessary > as UEFI requires support for unaligned access. For ARM11 a function is >

Re: [U-Boot] [GIT PULL] Raspberry Pi updates for v2020.01

2019-11-20 Thread Matthias Brugger
Hi Tom, On 20/11/2019 02:57, Tom Rini wrote: > On Tue, Nov 19, 2019 at 05:02:34PM +0100, Matthias Brugger wrote: > >> Hi Tom, >> >> Please have a look at the below patches. >> Travis-ci can be found here: >> https://travis-ci.org/mbgg/u-boot/builds/614078

Re: [U-Boot] [PATCH v3 6/6] config: enable DFU over USB on Raspberry Pi4 boards

2019-11-19 Thread Matthias Brugger
On 15/11/2019 14:47, Marek Szyprowski wrote: > Enable support for DFU over USB. This requires to enable USB gadget, > DWC2 UDC OTG driver and DFU command. DFU entities are defined for the > following firmware objects: u-boot.bin, uboot.env, config.txt and > zImage/Image. > > Signed-off-by:

[U-Boot] [GIT PULL] Raspberry Pi updates for v2020.01

2019-11-19 Thread Matthias Brugger
the code dfu: mmc: remove file size limit for io operations usb: dwc2_udc_otg: add bcm2835 SoC (Raspberry Pi4) support config: enable DFU over USB on Raspberry Pi4 boards Matthias Brugger (4): pinctrl: bcm283x: Add compatible for RPi4 fdt: fix bcm283x dm-pre-reloc

  1   2   3   4   >