On Wed, May 13, 2020 at 10:24 PM Simon Glass wrote:
>
> U-Boot uses ulong for addresses but there are a few places in this driver
> that don't use it. Convert this driver over to follow this convention
> fully.
>
> Signed-off-by: Simon Glass
> ---
>
> fs/cbfs/cbfs.c | 9 -
> include/cbfs
Hi Simon,
On Wed, May 13, 2020 at 10:24 PM Simon Glass wrote:
>
> At present the result variable in the cbfs_priv is called 'result' as is
> the local variable in a few functions. Change the latter to 'ret' which is
> more common in U-Boot and avoids confusion.
>
> Signed-off-by: Simon Glass
> -
Hi Simon,
On Wed, May 13, 2020 at 10:24 PM Simon Glass wrote:
>
> At present this uses an int type. U-Boot now supports bool so use this
> instead. Also use English spelling for initialised which we are here.
I don't understand what issue is with American English "initialized"?
I think they both
On Tue, May 19, 2020 at 9:43 PM Marek Vasut wrote:
>
> On 5/19/20 3:33 PM, Bin Meng wrote:
> > On Tue, May 19, 2020 at 8:40 PM Marek Vasut wrote:
> >>
> >> Add weak function which is called right after fdtdec_setup() configured
> >> the U-Boot DT. This permits board-specific adjustments to the U-
On 5/19/20 3:33 PM, Bin Meng wrote:
> On Tue, May 19, 2020 at 8:40 PM Marek Vasut wrote:
>>
>> Add weak function which is called right after fdtdec_setup() configured
>> the U-Boot DT. This permits board-specific adjustments to the U-Boot DT
>> before U-Boot starts parsing the DT. This could be us
On Tue, May 19, 2020 at 5:02 PM Christian Gmeiner
wrote:
>
> It is not definded anywhere.
>
> Signed-off-by: Christian Gmeiner
> ---
> include/cbfs.h | 2 --
> 1 file changed, 2 deletions(-)
>
Reviewed-by: Bin Meng
On Tue, May 19, 2020 at 8:40 PM Marek Vasut wrote:
>
> Add weak function which is called right after fdtdec_setup() configured
> the U-Boot DT. This permits board-specific adjustments to the U-Boot DT
> before U-Boot starts parsing the DT. This could be used e.g. to patch in
> various custom nodes
Hi Simon,
-"Simon Glass" schrieb: -
> Betreff: [PATCH v2 13/35] acpigen: Support writing a length
>
> It is convenient to write a length value for preceding a block of data.
> Of course the length is not known or is hard to calculate a priori. So add
> a way to mark the start on a stack,
Hi All,
Can anyone please help me to locate the patch(diff) file for CVE-2018-18440
and CVE-2018-18439.
Regards,
Abhay
The prior-stage firmware generates DT fragment containing the /firmware
node, /reserved-memory node and /memory@ nodes. Merge these nodes into
the U-Boot DT, so U-Boot can use this information.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Simon Glass
Cc: Tom Ri
This function is useful to merge a subset of DT into another DT, for
example if some prior-stage firmware passes a DT fragment to U-Boot
and U-Boot needs to merge it into its own DT. Export this function
to permit implementing such functionality.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasu
Enable OpTee support on R-Car Gen3, so that U-Boot would copy the
OpTee /firmware and /reserved-memory nodes into the Linux DT.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Simon Glass
Cc: Tom Rini
---
V2: No change
---
configs/r8a77970_eagle_defconfig | 2
Reserve 4 kiB of space in R-Car Gen3 DTs when those DTs are compiled
to permit patching in OpTee-OS /firmware node, /reserved-memory node
and possibly also additional /memory@ nodes.
Reviewed-by: Simon Glass
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
Cc: Simon Glass
Cc: Tom Rini
---
V2:
Add weak function which is called right after fdtdec_setup() configured
the U-Boot DT. This permits board-specific adjustments to the U-Boot DT
before U-Boot starts parsing the DT. This could be used e.g. to patch in
various custom nodes or merge in DT fragments from prior-stage firmware.
Signed-o
Hi,
On Thu, 14 May 2020 at 01:23, Stefan Roese wrote:
>
> From: Suneel Garapati
>
> Add support for I2C controllers found on Octeon II/III and Octeon TX
> TX2 SoC platforms.
>
> Signed-off-by: Aaron Williams
> Signed-off-by: Suneel Garapati
> Signed-off-by: Stefan Roese
> Cc: Heiko Schocher
Hi Rudolf,
On Tue, May 19, 2020 at 1:28 AM Rudolf J Streif
wrote:
>
> I solved the problem with u-boot not recognizing the eMMC. The device
> tree is working now for u-boot.
>
> However, i.MX6 is using SPL which is loaded into OCRAM. If I flash SPL
> and u-boot to a boot partition on the eMMC the
Hi Simon,
Am 2020-04-24 16:17, schrieb Michael Walle:
Hi Simon,
Am 2020-04-20 01:38, schrieb Simon Glass:
[..snip..]
> uclass 31: eth
> 0 * smsc95xx_eth @ 3db69ac0, seq 0, (req -1)
Shouldn't this be "req 0" if the ethernet alias is actually matched.
Does u-boot actually supports matching
Thanks Richard for the response.
On 5/19/20, Richard Weinberger wrote:
> Neither UBI nor UBIFS care about ECC. The MTD stack does.
> If you write something in Linux you cannot read back in u-boot a common
> problem is that u-boot and Linux use different MTD settings (layout,
> ECC, etc...).
That
Convert pcm058 support to use device trees and the driver model.
Add rudimentary boot scripts to the environment, expand README.
Signed-off-by: Niel Fourie
Cc: Stefano Babic
---
arch/arm/dts/Makefile | 1 +
.../imx6q-phytec-mira-rdk-nand-u-boot.dtsi| 42 +++
arch/
Change the MAINTAINER of pcm058.
Signed-off-by: Niel Fourie
Cc: Stefano Babic
---
board/phytec/pcm058/MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/phytec/pcm058/MAINTAINERS b/board/phytec/pcm058/MAINTAINERS
index b0ca40277f..909dfc44af 100644
--- a/boa
Add Phytec Mira device tree files, for use with pcm058.
>From Linux 5.6, commit 7111951b8d49 upstream
Signed-off-by: Niel Fourie
Cc: Stefano Babic
---
arch/arm/dts/imx6q-phytec-mira-rdk-nand.dts | 72
arch/arm/dts/imx6qdl-phytec-mira.dtsi| 390 +++
arch/arm/dts/im
Add da9063-regulator bindings from Linux 5.6:
commit 7111951b8d49 upstream
Signed-off-by: Niel Fourie
Cc: Stefano Babic
---
.../dt-bindings/regulator/dlg,da9063-regulator.h | 16
1 file changed, 16 insertions(+)
create mode 100644 include/dt-bindings/regulator/dlg,da9063-regul
This patch series updates the existing pcm058 board support to use device
trees with driver model. The first two patches in the series pulls in the
unmodified Linux dt-binding and dts files. The third patch changes the
maintainer. The last patch contains the required changes.
Niel Fourie (4):
dt
Hi Simon,
On 19.05.2020 00:38, Simon Glass wrote:
> On Mon, 18 May 2020 at 07:18, Marek Szyprowski
> wrote:
>> Create a non-cacheable mapping for the 0x6 physical memory region,
>> where MMIO registers for the PCIe XHCI controller are instantiated by the
>> PCIe bridge. Due to 32bit limi
Hi Simon,
-"Simon Glass" schrieb: -
> Betreff: [PATCH v2 11/35] acpi: Support generation of I2C descriptor
>
> Add a function to write a GPIO descriptor to the generated ACPI code.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2:
> - Fix memset of I2C descriptor
>
> Changes in
Hi Heiko,
On Tue, May 19, 2020 at 1:18 AM Heiko Schocher wrote:
> I am happy to add boards!
>
> @Anatolij: Do we have this board in our vlab? Or somehow remote accessible?
>
> @Fabio: I am sure you have some boards for testing, do you have a CI
>setup for them? With the approach to report te
+Simon
> -Original Message-
> From: Anatolij Gustschin
> Sent: 2020年5月19日 18:27
> To: Peng Fan
> Cc: u-boot@lists.denx.de; Ye Li ; Frank Li
> ; sba...@denx.de
> Subject: Re: [PATCH 2/2] thermal: imx_scu_thermal: fix getting DT alert
> property value
>
> On Tue, 19 May 2020 10:05:21 +000
On Sun, May 17, 2020 at 1:28 PM Jupiter wrote:
>
> Sorry for a bit recalcitrant with the issue of calling 'ubi part"
> error -74 -EBADMSG, is it MTD issue or u-boot issue?
>
> I used Linux kernel 4.19 to flash UBIFS volume images ubi.img to
> imx6ull NAND using following command in Linux:
>
> flas
hello,
if I do
uboot# help
it lists commands, some of which are in
bootloader/uboot64/common
I added 1 more file there and it got compiled.
but
uboot# help
does not show that command nor can I execute that command. how do I expose
my own command?
thanks
-kamal
hello,
uboot has a TPM 2.0 test and drivers. Can someone tell me how to associate
a given hw (eg on spi0, cs=) with the st driver and also how to use tom
test?
setting variable CONFIG_CMD_TPM_TEST was not sufficient for me to get this
cmd on uboot prompt.
thanks
-kamal
On 19.05.20 11:01, Christian Gmeiner wrote:
> It is not definded anywhere.
>
> Signed-off-by: Christian Gmeiner
git grep -n 'file_cbfs_result'
finds only the line in the include.
Reviewed-by: Heinrich Schuchardt
> ---
> include/cbfs.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/
On Tue, 19 May 2020 10:05:21 +
Peng Fan peng@nxp.com wrote:
...
> Would this help?
>
> diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
> index 95c14c98d8..6c949ccbd4 100644
> --- a/drivers/cpu/imx8_cpu.c
> +++ b/drivers/cpu/imx8_cpu.c
> @@ -68,10 +68,13 @@ static int cpu_imx_g
On 19.05.20 12:13, Pragnesh Patel wrote:
> Remove unnecessary debug() from efi_set_variable_common().
> native_name is NULL, so there is no meaning to print it.
>
> Signed-off-by: Pragnesh Patel
Reviewed-by: Heinrich Schuchardt
> ---
> lib/efi_loader/efi_variable.c | 2 --
> 1 file changed, 2
Remove unnecessary debug() from efi_set_variable_common().
native_name is NULL, so there is no meaning to print it.
Signed-off-by: Pragnesh Patel
---
lib/efi_loader/efi_variable.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c
i
> Subject: Re: [PATCH 2/2] thermal: imx_scu_thermal: fix getting DT alert
> property value
>
> Hi Peng,
>
> On Sun, 17 May 2020 16:53:17 +0200
> Anatolij Gustschin ag...@denx.de wrote:
> ...
> > Will try to bisect later.
>
> bisecting leads to:
> # first bad commit: [3ee6ea443eb466399ab325a58b37
вт, 19 мая 2020 г. в 01:06, Kurt Miller :
>
> On Wed, 2020-05-13 at 16:10 -0400, Kurt Miller wrote:
> > On Wed, 2020-05-13 at 22:58 +0300, Matwey V. Kornilov wrote:
> > >
> > > Thanks. Have you already checked it on gen2? I think I have gen2 board to
> > > test.
> > Yes, I have both gen3 and gen2
Hi Peng,
On Sun, 17 May 2020 16:53:17 +0200
Anatolij Gustschin ag...@denx.de wrote:
...
> Will try to bisect later.
bisecting leads to:
# first bad commit: [3ee6ea443eb466399ab325a58b377326ac5c57b5]
cpu: imx_cpu: Print the CPU temperature for iMX8QM A72
--
Anatolij
Hi Simon,
-"Simon Glass" schrieb: -
> Betreff: [PATCH v2 10/35] acpi: Support generation of a GPIO/irq for a device
>
> Some devices use interrupts but some use GPIOs. Since these are fully
> specified in the device tree we can automatically produce the correct ACPI
> descriptor for a de
On 19/05/20 12:30 pm, Jan Kiszka wrote:
> On 19.05.20 08:24, Jan Kiszka wrote:
>> On 19.05.20 08:18, Lokesh Vutla wrote:
>>> Hi Jan,
>>>
>>> On 18/05/20 11:27 am, Jan Kiszka wrote:
From: Jan Kiszka
Add support for enabling dcache already in SPL. It accelerates the boot
and r
It is not definded anywhere.
Signed-off-by: Christian Gmeiner
---
include/cbfs.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/cbfs.h b/include/cbfs.h
index d915f9426d..d18001da76 100644
--- a/include/cbfs.h
+++ b/include/cbfs.h
@@ -80,8 +80,6 @@ struct cbfs_cachenode {
u3
Hi Simon,
-"Simon Glass" schrieb: -
> Betreff: [PATCH v2 09/35] acpi: Support generation of GPIO descriptor
>
> Add a function to write a GPIO descriptor to the generated ACPI code.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
> Changes in v1: None
>
> include/acpi/a
Hi Heiko,
On Tue, 19 May 2020 06:17:58 +0200
Heiko Schocher h...@denx.de wrote:
...
> > Would it be possible to add this i.MX8QXP capricorn/giedi board into
> > Heiko's boot farm?
>
> I am happy to add boards!
>
> @Anatolij: Do we have this board in our vlab? Or somehow remote accessible?
No,
On Tue, May 19, 2020 at 3:04 PM Pragnesh Patel
wrote:
>
> Add driver for fu540 to support ddr initialization in SPL.
> This driver is based on FSBL
> (https://github.com/sifive/freedom-u540-c000-bootloader.git)
>
> Signed-off-by: Pragnesh Patel
> ---
> board/sifive/fu540/Kconfig | 2 +
> d
Hi Fabio,
On Mon, 18 May 2020 20:32:06 -0300
Fabio Estevam feste...@gmail.com wrote:
...
> Would it be possible to add this i.MX8QXP capricorn/giedi board into
> Heiko's boot farm?
this board requires a very special power supply and I have only one
power supply unit of that type and can't share i
Hi Simon,
-"Simon Glass" schrieb: -
> Betreff: [PATCH v2 08/35] acpi: Support string output
>
> Add support for output of strings and streams of bytes.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v2: None
> Changes in v1: None
>
> include/acpi/acpigen.h | 19
On 5/19/20 12:37 PM, Peng Fan wrote:
>> Subject: [PATCH] mmc: retry CMD1 in mmc_send_op_cond() until the eMMC
>> is ready
>>
>> From: Haibo Chen
>>
>> According to eMMC specification v5.1 section 6.4.3, we should issue
>> CMD1 repeatedly in the idle state until the eMMC is ready even if
>> mmc_sen
Hi Lokesh,
seems like all boards including include/environment/ti/mmc.h will only
search for ${boot_scripts} in the root of the target fs, not in
${boot_prefixes}. Known bug? Used to work fine with your downstream
U-Boot some years ago. Just updated an SD card, only replacing the
bootloader a
With sifive_fu540_defconfig:
User can use FSBL or u-boot-spl.bin anyone at a time.
For FSBL,
fsbl->fw_payload.bin (opensbi + U-Boot)
For u-boot-spl.bin,
u-boot-spl.bin->FIT image (opensbi + U-Boot proper + dtb)
U-Boot SPL will be loaded by ZSBL from SD card (replace fsbl.bin with
u-boot-spl.bin
OpenSBI generic platform support provides platform specific
functionality based on the FDT passed by previous booting stage.
Depends on OpenSBI commit:
platform: Add generic FDT based platform support
(sha1: f1aa9e54e6ae70aeac638d5b75093520f65d)
Signed-off-by: Pragnesh Patel
Reviewed-by: Bin
From: Jagan Teki
Add U-Boot proper sector start offset for SiFive FU540.
This value is based on the partition layout supported
by SiFive FU540.
u-boot.itb need to write on this specific offset so-that
the SPL will retrieve it from here and load.
Signed-off-by: Jagan Teki
Reviewed-by: Bin Meng
This sync has changes required to use GPIO in U-Boot and
U-Boot SPL.
Sync dts from linux v5.7-rc2 commit:
"riscv: dts: Add GPIO reboot method to HiFive Unleashed DTS file"
(sha1: 0a91330b2af9f71cd483f92774182b58f6d9)
Signed-off-by: Pragnesh Patel
Reviewed-by: Bin Meng
---
arch/riscv/dts/fu
Add a support for SPL which will boot from L2 LIM (0x0800_) and
then SPL will boot U-Boot FIT image (OpenSBI FW_DYNAMIC + u-boot.bin)
from MMC boot devices.
SPL related code is leveraged from FSBL
(https://github.com/sifive/freedom-u540-c000-bootloader.git)
Signed-off-by: Pragnesh Patel
Revi
From: Jagan Teki
This is a sample GPT partition layout for SD card,
right now three important partitions are added to
make the system bootable.
partition layout:
PartStart LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x0022 0x00
Add SiFive fu540 cpu to support RISC-V arch
Signed-off-by: Pragnesh Patel
Reviewed-by: Bin Meng
Tested-by: Bin Meng
---
arch/riscv/Kconfig | 1 +
arch/riscv/cpu/fu540/Kconfig | 15 ++
arch/riscv/cpu/fu540/Makefile| 7 +
arch/riscv/cpu
Add DDR controller and phy register settings, taken from fsbl
(https://github.com/sifive/freedom-u540-c000-bootloader.git)
Signed-off-by: Pragnesh Patel
Tested-by: Bin Meng
---
.../dts/fu540-hifive-unleashed-a00-ddr.dtsi | 1489 +
1 file changed, 1489 insertions(+)
create mod
Release ethernet clock reset once clock is initialized.
This is necessary to do as U-Boot proper needs ethernet
clock.
Signed-off-by: Pragnesh Patel
Reviewed-by: Bin Meng
Tested-by: Bin Meng
---
drivers/clk/sifive/fu540-prci.c | 20
1 file changed, 20 insertions(+)
diff -
Release ddr clock reset once clock is initialized
Signed-off-by: Pragnesh Patel
Reviewed-by: Bin Meng
Tested-by: Bin Meng
---
drivers/clk/sifive/fu540-prci.c | 51 +
1 file changed, 45 insertions(+), 6 deletions(-)
diff --git a/drivers/clk/sifive/fu540-prci.c b
Added clock enable and disable functions in prci ops
Signed-off-by: Pragnesh Patel
Reviewed-by: Bin Meng
Tested-by: Bin Meng
---
drivers/clk/sifive/fu540-prci.c | 108
1 file changed, 96 insertions(+), 12 deletions(-)
diff --git a/drivers/clk/sifive/fu540-prci
Devicetree files in FU540 platform is synced from Linux, like other
platforms does. Apart from these U-Boot in FU540 would also require
some U-Boot specific node like clint.
So, create board specific -u-boot.dtsi files. This would help of
maintain U-Boot specific changes separately without touchin
When build U-Boot SPL, meet an issue of undefined reference to
'crc7' for drivers/mmc/mmc_spi.c, so let's compile crc7.c when
CONFIG_MMC_SPI selected.
Signed-off-by: Pragnesh Patel
Reviewed-by: Heinrich Schuchardt
Reviewed-by: Bin Meng
---
lib/Makefile | 2 +-
1 file changed, 1 insertion(+), 1
Add driver for fu540 to support ddr initialization in SPL.
This driver is based on FSBL
(https://github.com/sifive/freedom-u540-c000-bootloader.git)
Signed-off-by: Pragnesh Patel
---
board/sifive/fu540/Kconfig | 2 +
drivers/ram/Kconfig| 1 +
drivers/ram/Makefile |
Add dmc node to enable ddr driver. dmc is used to
initialize the memory controller.
Signed-off-by: Pragnesh Patel
Reviewed-by: Bin Meng
Tested-by: Bin Meng
---
arch/riscv/dts/fu540-c000-u-boot.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/riscv/dts/fu540-c000-u-boot.dt
This series add support for SPL to FU540. U-Boot SPL can boot from
L2 LIM (0x0800_) and jump to OpenSBI(FW_DYNAMIC firmware) and
U-Boot proper from MMC devices.
This series depends on:
[1] https://patchwork.ozlabs.org/patch/1281853
[2] https://patchwork.ozlabs.org/patch/1281852
All these toge
Added a misc driver to handle OTP memory in SiFive SoCs.
Signed-off-by: Pragnesh Patel
Reviewed-by: Bin Meng
Tested-by: Bin Meng
---
drivers/misc/Kconfig | 7 +
drivers/misc/Makefile | 1 +
drivers/misc/sifive-otp.c | 273 ++
3 files changed, 28
For SPL_SEPARATE_BSS, Device tree will be put at _image_binary_end
Signed-off-by: Pragnesh Patel
Reviewed-by: Anup Patel
Reviewed-by: Jagan Teki
Reviewed-by: Bin Meng
Tested-by: Bin Meng
---
arch/riscv/cpu/u-boot-spl.lds | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/cpu/u-bo
Use the OTP DM driver to set the serial environment variable.
Signed-off-by: Pragnesh Patel
Reviewed-by: Bin Meng
Tested-by: Bin Meng
---
arch/riscv/dts/fu540-c000-u-boot.dtsi | 14 +++
.../dts/hifive-unleashed-a00-u-boot.dtsi | 2 +
board/sifive/fu540/Kconfig
On 19.05.20 08:24, Jan Kiszka wrote:
On 19.05.20 08:18, Lokesh Vutla wrote:
Hi Jan,
On 18/05/20 11:27 am, Jan Kiszka wrote:
From: Jan Kiszka
Add support for enabling dcache already in SPL. It accelerates the boot
and resolves the risk to run into unaligned 64-bit accesses.
Based on original
201 - 267 of 267 matches
Mail list logo