It's better to restore previous value at offset because otherwise the
function can corrupt memory reserved by Linux (e.g. ramoops).
Signed-off-by: Andrei Lalaev
---
arch/arm/mach-sunxi/dram_helpers.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/arch/arm
Add option to initialize LEDs in board_init stage for aspeed-based
boards.
Signed-off-by: Andrei Kartashev
---
board/aspeed/evb_ast2500/evb_ast2500.c | 8
board/aspeed/evb_ast2600/evb_ast2600.c | 8
2 files changed, 16 insertions(+)
diff --git a/board/aspeed/evb_ast2500
; +#ifdef CONFIG_BCM2711
>>> +int dram_init_banksize(void)
>>> +{
>>> + return fdtdec_decode_ram_size(gd->fdt_blob, NULL, 0, NULL,
>>
>> This also depends on CONFIG_OF_BOARD, no?
>>
> I would need to double check if at this point gd->fdt_blob
hias
>>
>> [1] https://travis-ci.org/mbgg/u-boot/builds/581754574
>> [2] https://travis-ci.org/mbgg/u-boot/builds/581603847
>>
> Applied to u-boot/master, thanks!
Great news.
--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
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:
>>>
>>>
>>> On 24.07.19 16:39, Andrei Gherzan wrote:
>>>> From: Matthias Brugger
&
Define the memory map for the BCM2838 based on the dt configuration
available in the Raspberry Pi kernel fork.
Signed-off-by: Andrei Gherzan
---
board/raspberrypi/rpi/rpi.c | 27 ---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/board/raspberrypi/rpi
This clock has a different mbox ID so have this included in the relevant
header file.
Signed-off-by: Andrei Gherzan
---
arch/arm/mach-bcm283x/include/mach/mbox.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h
b/arch/arm/mach-bcm283x/include/mach
Define two target configs for Raspberry Pi 4 (32 and 64bit) and the
corresponding BCM2838* configs.
Be aware of the current limitation in firmware which requires an
explicit configuration to force the arm in 64bit mode when the
respective target is used.
Signed-off-by: Andrei Gherzan
Signed-off
From: Matthias Brugger
The bcm2711 has two emmc controllers. The difference is the clocks
they use. Add support for the second emmc controller.
Signed-off-by: Matthias Brugger
Signed-off-by: Andrei Gherzan
---
drivers/mmc/bcm2835_sdhci.c | 12 ++--
1 file changed, 10 insertions(+), 2
reported size is 1G. The fw patches the dt with the right
memory configuration and uboot uses it as it is. We avoid u-boot
touching this configuration by making sure CONFIG_ARCH_FIXUP_FDT_MEMORY
is deactivated.
Signed-off-by: Andrei Gherzan
---
configs/rpi_4_32b_defconfig | 33
From: Matthias Brugger
Devices of bcm283x have different base address, depending if they are on
bcm2835 or bcm2836/7. Use BCM283x_BASE depending on the SoC you want to
build and only add the offset in the header files.
Signed-off-by: Matthias Brugger
Signed-off-by: Andrei Gherzan
---
arch
Signed-off-by: Andrei Gherzan
---
doc/git-mailrc | 4
1 file changed, 4 insertions(+)
diff --git a/doc/git-mailrc b/doc/git-mailrc
index a63b76befc..68110e1963 100644
--- a/doc/git-mailrc
+++ b/doc/git-mailrc
@@ -35,6 +35,7 @@ alias mariosix Mario Six
alias masahiro Masahiro
The Raspebrry Pi 4 uses the new revision code scheme as documented by
the foundation. This change adds an entry for this board as well.
Signed-off-by: Andrei Gherzan
---
board/raspberrypi/rpi/rpi.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/board/raspberrypi/rpi/rpi.c b/board
/reg is left untouched as configured by the
firmware
Andrei Gherzan (6):
RPI: Add defconfigs for rpi4 (32/64)
ARM: bcm283x: Define configs for RaspberryPi 4
RPI: Add entry for Raspberry Pi 4 model B
ARM: bcm283x: Include definition for additional emmc clock
RPI: Add memory map
Hi,
On 16 July 2019 15:17:46 BST, Matthias Brugger wrote:
>
>
>On 16/07/2019 15:37, and...@gherzan.ro wrote:
>> From: Andrei Gherzan
>>
>> This PR consolidates the work we've done to support the new Raspberry
>Pi
>
>I don't understand why you posted thes
From: Andrei Gherzan
dwc2 is only connected to the usb-c port so we don't have any real
benefit in having it enabled in uboot.
Also, the GENET interface is connected directly to the SoC so we can
drop the USB_ETHER configs.
Signed-off-by: Andrei Gherzan
---
configs/rpi_4_32b_defconfig | 3
From: Andrei Gherzan
Signed-off-by: Andrei Gherzan
---
arch/arm/mach-bcm283x/include/mach/sdhci.h | 4
arch/arm/mach-bcm283x/include/mach/timer.h | 4
arch/arm/mach-bcm283x/include/mach/wdog.h | 4
3 files changed, 12 insertions(+)
diff --git a/arch/arm/mach-bcm283x/include
From: Andrei Gherzan
This clock has a different mbox ID[1] so have this included in the
relevant header file.
[1] https://github.com/raspberrypi/firmware/issues/1179
Signed-off-by: Andrei Gherzan
---
arch/arm/mach-bcm283x/include/mach/mbox.h | 1 +
1 file changed, 1 insertion(+)
diff --git
From: Fabian Vogt
For sending, the second mailbox is used, but previously the status register of
the first one was read.
---
arch/arm/mach-bcm283x/include/mach/mbox.h | 7 +--
arch/arm/mach-bcm283x/mbox.c | 6 +++---
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git
From: Fabian Vogt
Otherwise there is a crash with newer RPi firmware, see
https://github.com/raspberrypi/firmware/issues/1157
---
drivers/video/bcm2835.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/video/bcm2835.c b/drivers/video/bcm2835.c
index
From: Andrei Gherzan
Signed-off-by: Andrei Gherzan
---
arch/arm/dts/bcm2838-rpi-4-b.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/bcm2838-rpi-4-b.dts b/arch/arm/dts/bcm2838-rpi-4-b.dts
index 168179c17c..b7241be3fd 100644
--- a/arch/arm/dts/bcm2838-rpi-4
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 a/configs/rpi_4_32b_defconfig b/configs/rpi_4_32b_defconfig
new file mode
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 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt
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 changed, 296 insertions(+), 1 deletion(-)
create mode 100644 arch
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
---
drivers/mmc/bcm2835_sdhci.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git
From: Andrei Gherzan
Signed-off-by: Andrei Gherzan
---
board/raspberrypi/rpi/rpi.c | 27 ---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index 6d6f1ef39a..4242ef35a4 100644
--- a/board
From: Andrei Gherzan
Signed-off-by: Andrei Gherzan
---
arch/arm/dts/bcm2838-rpi-4-b.dts | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/arch/arm/dts/bcm2838-rpi-4-b.dts b/arch/arm/dts/bcm2838-rpi-4-b.dts
index 07e9a78e8d..168179c17c 100644
--- a/arch/arm
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
b/arch/arm/mach-bcm283x/include/mach/mbox.h
index e3a893e49c..2d711daaa8 100644
--- a/arch/arm
From: Andrei Gherzan
Signed-off-by: Andrei Gherzan
---
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
index 617c892dde..6d6f1ef39a 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi
From: Andrei Gherzan
Signed-off-by: Andrei Gherzan
---
arch/arm/mach-bcm283x/Kconfig | 35 +++
1 file changed, 35 insertions(+)
diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig
index 3eb5a9a897..d5069fe688 100644
--- a/arch/arm/mach
From: Andrei Gherzan
This PR consolidates the work we've done to support the new Raspberry Pi
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
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 common for bcm2835/6/7 (not bcm2838).
[1]
https://github.com
From: Chris Packham [mailto:judge.pack...@gmail.com]
Sent: Friday, June 8, 2018 12:20 AM
To: nicolae.rosia@gmail.com
Cc: u-boot ; Priyanka Jain ;
Radu-andrei Bulie
Subject: Re: [U-Boot] T1040RDB u-boot chain load u-boot
On Thu, Jun 7, 2018 at 10:46 PM Nicolae Rosia
wrote:
> Scenario
Hi Joe,
As a reminder, is there anything else that should
be done to push the patch forward?
Thanks,
Radu
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
From: Radu Bulie
VCAP tables must be initialized even if no advanced classification
is used. If no initialization is performed, then ECC error will
be observed by the user when the first packet enters the l2switch.
The error is marked in MPIC_EISR0 -bit 29 which means
From: Radu Bulie
VCAP tables must be initialized even if no advanced classification
is used. If no initialization is performed, then ECC error will
be observed by the user when the first packet enters the l2switch.
The error is marked in MPIC_EISR0 -bit 29 which means
Hello Otavio,
Same results with:
$ sudo dd if=SPL of=/dev/mmcblk0 conv=notrunc seek=2 bs=512 ; sync
[sudo] password for agherzan:
$ sudo dd if=u-boot.img of=/dev/mmcblk0 conv=notrunc seek=69 bs=1K ; sync
Regards,
Andrei
On Fri, May 29, 2015 at 1:53 PM, Otavio Salvador
ota...@ossystems.com.br
Hi Fabio,
On Fri, May 29, 2015 at 4:36 PM, Fabio Estevam feste...@gmail.com wrote:
Hi Andrei,
On Fri, May 29, 2015 at 8:57 AM, Andrei Gherzan and...@gherzan.ro wrote:
Hello Otavio,
Same results with:
$ sudo dd if=SPL of=/dev/mmcblk0 conv=notrunc seek=2 bs=512 ; sync
[sudo] password
Hi,
On Fri, May 29, 2015 at 6:00 PM, Fabio Estevam
fabio.este...@freescale.com wrote:
Hummingboard dual-lite is picking the incorrect calibration structure.
Fix it so that it can boot.
While at it, also fix p1_mpdgctrl1 register to match Solid-run's
setting.
Reported-by: Andrei Gherzan
$ make
$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1
$ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=42
It seems like SPL can't load the uboot image.
The cuboxi uboot fork works just fine: git://
github.com/SolidRun/u-boot-imx6.git;branch=imx6.
Is this a known issue?
Regards,
Andrei
I will make a patch with 1536.
Where should I send linux patch?
They have bunch of mail lists for different subsystems.
Andrei
On Wed, 2015-05-20 at 17:25 -0500, Scott Wood wrote:
On Tue, 2015-05-19 at 16:42 -0700, Andrei Yakimov wrote:
On Tue, 2015-05-19 at 17:38 -0500, Scott Wood wrote
On Wed, 2015-05-20 at 20:37 -0500, Scott Wood wrote:
On Wed, 2015-05-20 at 18:27 -0700, Andrei Yakimov wrote:
I will make a patch with 1536.
Where should I send linux patch?
They have bunch of mail lists for different subsystems.
Andrei
The MAINTAINERS file shows where to send
On Wed, 2015-05-20 at 22:11 -0500, Scott Wood wrote:
On Wed, 2015-05-20 at 20:03 -0700, Andrei Yakimov wrote:
On Wed, 2015-05-20 at 21:46 -0500, Scott Wood wrote:
On Wed, 2015-05-20 at 19:42 -0700, Andrei Yakimov wrote:
For now lets stick with 1536 in u-boot.
I will send a patch
is working.
Perhaps we do not need extra read_param(),
and use only NAND_CMD_RNDOUT to get next
block inside page loop.
Andrei
On Wed, 2015-05-20 at 21:27 -0500, Scott Wood wrote:
On Wed, 2015-05-20 at 18:55 -0700, Andrei Yakimov wrote:
On Wed, 2015-05-20 at 20:37 -0500, Scott Wood wrote
On Wed, 2015-05-20 at 21:46 -0500, Scott Wood wrote:
On Wed, 2015-05-20 at 19:42 -0700, Andrei Yakimov wrote:
For now lets stick with 1536 in u-boot.
I will send a patch.
At least it will not loosing flash over time
as nand ages.
I understand what you wish, and will take a look
On Tue, 2015-05-19 at 17:38 -0500, Scott Wood wrote:
On Tue, 2015-05-19 at 15:29 -0700, Andrei Yakimov wrote:
I did not compiling latest, I still in 2011.9 and 2.6.38.
I have go over latest kernel and can see they using
NAND_CMD_PARAM with sub command 0x40 - to get JEDEC
information
if they exist.
I will update only fsl_elbc_nand driver.
This is least invasive patch.
Should I get just master for generation of this patch?
Andrei.
On Mon, 2015-05-18 at 16:17 -0500, Scott Wood wrote:
On Fri, 2015-05-15 at 14:48 -0700, Andrei Yakimov wrote:
Hi,
I just found, if NAND ONFI
This is my best try. I have test it with my old u-boot,
but not with master. Do not have a bench for it.
This is not very important patch. I do not find
any other ONFI user in u-boot.
Andrei
From d76b4ae8e866affa15dd9da860574d0600969d57 Mon Sep 17 00:00:00 2001
From: Andrei Yakimov ayaki
am also not expert for other NAND controllers drivers.
But first copy of ONFI parameter page CAN GO BAD. I seen it my self.
Andrei
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Greetings everyone,
I stumbled over something worth telling.
It started as the bad crc using defaults issue when I tried to use
fw_printenv on my debian iconnect box. I tought it was the fw_env.config.
it wasn't. After hours of researching and compiling from source and the
whole lot of trouble
Hi Scott,
Thanks for you replay and sorry for my not speedy answer
comments below.
On Mon, 2013-01-07 at 18:37 -0600, Scott Wood wrote:
On 01/04/2013 05:47:06 PM, Andrei wrote:
Hi,
Recently I am start getting strange problem
with u-boot-2011.09. MPC8313ERDB like
configuration ( main
chaprt nor0,2
mount NAND, read NAND,
boot
And I did increase malloc size to 1M.( ubifs does not like 128K).
There is no option for stack size - it is PPC,
so it should grow down as needed.
As long I am not mixing NOR and NAND evithing working perfect.
Any idea?
Thanks,
Andrei
52 matches
Mail list logo