On 10/17/20 2:53 PM, Andy Pont wrote:
Giulio wrote...
Is there a preferred / recommended toolchain for building U-Boot for the
i.MX RT10xx platforms or should any recent ARM cross compiler work?
It should compile fine with any recent ARM cross-compiler.
Please let me know if it builds correctly
Hi All,
I am having an issue where it seems after u-boot has booted an EFI it
doesnt seem to "release" the serial console input.
I have had this happen using the iPXE efi similar to
https://lists.denx.de/pipermail/u-boot/2018-April/324802.html and also when
using the grub efi.
Has anyone other t
Hello,
On Sun, Oct 18, 2020 at 09:40:00PM +1100, Anthony Davies wrote:
> Hi All,
>
> I am having an issue where it seems after u-boot has booted an EFI it
> doesnt seem to "release" the serial console input.
>
> I have had this happen using the iPXE efi similar to
> https://lists.denx.de/piperma
From: Libunko
Add initial support for Nanopi M4V2 board.
Specification
- Rockchip RK3399
- Dual-Channel 4GB LPDDR4
- SD card slot
- eMMC socket
- RTL8211E 1Gbps
- AP6356S WiFI/BT
- HDMI In/Out, MIPI DSI/CSI
- USB 3.0 x4
- USB Type C power and data
- GPIO1, GPIO2 expansion ports
- DC5V/3A
Signed
Giulio wrote…
Perfect, I suggest you to test it on a EVK before than going with your
custom board if you can, and after port your board, that should make it
easier.
I certainly will do! One supplementary question… what did you use U-Boot
to boot? I’m looking to get uClinux running on it. As a
Align node properties to kernel dts node.
The change of compatible property does not affect any currently
supported board.
Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility
with the current driver.
Signed-off-by: Baruch Siach
---
arch/arm/dts/armada-cp110-master.dtsi | 15
From: Shmuel Hazan
Signed-off-by: Shmuel Hazan
Signed-off-by: Baruch Siach
---
drivers/mtd/nand/raw/Kconfig | 2 +
drivers/mtd/nand/raw/pxa3xx_nand.c | 117 +
2 files changed, 55 insertions(+), 64 deletions(-)
diff --git a/drivers/mtd/nand/raw/Kconfig b/dri
From: Shmuel Hazan
Based on Linux kernel commit fc256f5789cb ("mtd: nand: pxa3xx: enable
NAND controller if the SoC needs it"). This commit adds support for the
Armada 8040 nand controller.
The kernel commit says this:
Marvell recent SoCs like A7k/A8k do not boot with NAND flash
control
From: Shmuel Hazan
Align node properties to kernel dts node.
Keep U-Boot specific nand-enable-arbiter, and num-cs for compatibility
with the current driver.
Signed-off-by: Shmuel Hazan
Signed-off-by: Baruch Siach
---
arch/arm/dts/armada-cp110-slave.dtsi | 16
1 file changed,
The kfree() call is unreachable, and is not needed. Remove this call and
the fail_disable_clk label.
Signed-off-by: Baruch Siach
---
drivers/mtd/nand/raw/pxa3xx_nand.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/mtd/nand/raw/pxa3xx_nand.c
b/drivers/m
This series adds NAND flash support to Aramda 8k systems. Patches make the
necessary changes to the pxa3xx_nand driver and DT files.
v2:
Rebase on current master. Fixes conflict with commit 661c98121d4 ("mtd: nand:
pxa3xx: Fix not calling dev_xxx with a device")
Baruch Siach (2):
arm: dts:
From: Grzegorz Jaszczyk
Replace all comphy initialization with appropriate smc calls. It will
result with triggering synchronous exception that is handled by Secure
Monitor code in EL3. Then the Secure Monitor code will dispatch each smc
call (by parsing the smc function identifier) and triggers
Boot of Armada 8040 rev B0 hangs when U-Boot attempts to initialize the PCIe
serdes. Adapt patches from downstream Marvell tree that move serdes
initialization to ATF.
This series requires upstream ATF version 2.1 or newer.
Grzegorz Jaszczyk (2):
phy: marvell: cp110: let the firmware configur
From: Igal Liberman
It helps ATF to determine who called power on function (U-boot/Linux).
The corresponding ATF code was added in this commit:
mvebu: cp110: avoid pcie power on/off sequence when called from Linux
https://github.com/ARM-software/arm-trusted-firmware/commit/55df84f974ea37ab
From: Grzegorz Jaszczyk
Replace the comphy initialization for PCIe with appropriate SMC call, so
the firmware will perform appropriate comphy initialization.
Signed-off-by: Grzegorz Jaszczyk
Signed-off-by: Ken Ma
Reviewed-by: Igal Liberman
Signed-off-by: Baruch Siach
---
drivers/phy/marvell
> Il giorno 18 ott 2020, alle ore 14:53, Andy Pont
> ha scritto:
>
> Giulio wrote…
>
>> Perfect, I suggest you to test it on a EVK before than going with your
>> custom board if you can, and after port your board, that should make it
>> easier.
> I certainly will do! One supplementary questi
DM_VIDEO conversion deadline has passed, disable VIDEO config
option by default. Boards should convert to DM_VIDEO if they
need video console support.
Signed-off-by: Anatolij Gustschin
Cc: Jagan Teki
Cc: Maxime Ripard
---
arch/arm/mach-sunxi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 de
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Boards should convert to DM_VIDEO if they need video console
support.
Signed-off-by: Anatolij Gustschin
Cc: Eugen Hristev
---
configs/at91sam9n12ek_mmc_defconfig | 2 +-
configs/at91sam9n12ek_nandflash_defconfig | 2 +-
config
Remove CONFIG_VIDEO dependency to fix board removal warnings.
Signed-off-by: Anatolij Gustschin
Cc: Jens Scharsig
---
board/BuS/eb_cpu5282/eb_cpu5282.c | 7 +++
common/stdio.c| 4 +++-
configs/eb_cpu5282_defconfig | 3 +--
configs/eb_cpu5282_internal_def
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
---
configs/at91sam9261ek_dataflash_cs0_defconfig | 2 +-
configs/at91sam9261ek_dataflash_cs3_defconfig | 2 +-
configs/at91sam9261ek_nandflash_defconfig | 2 +-
configs/at91sam9263ek_dataflash_c
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
---
configs/mx7dsabresd_defconfig | 2 +-
configs/mx7dsabresd_qspi_defconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/mx7dsabresd_defconfig b/configs/mx7dsa
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
---
configs/ls1021atwr_nor_SECURE_BOOT_defconfig| 4 ++--
configs/ls1021atwr_nor_defconfig| 4 ++--
configs/ls1021atwr_nor_lpuart_defconfig | 4 ++--
configs/l
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
Cc: Alison Wang
---
configs/ls1021aqds_ddr4_nor_defconfig| 4 ++--
configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 4 ++--
configs/ls1021aqds_nand_defconfig| 4 ++--
configs/ls102
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
Cc: Erik van Luijk
---
configs/picosam9g45_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/picosam9g45_defconfig b/configs/picosam9g45_defconfig
index 5ffbee8e4
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
---
configs/mx6sxsabresd_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/mx6sxsabresd_defconfig b/configs/mx6sxsabresd_defconfig
index 584e79572a..a33ec49ed4 100
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
Cc: Pali Rohár
---
configs/nokia_rx51_defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/nokia_rx51_defconfig b/configs/nokia_rx51_defconfig
index e249dff774..
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
Cc: Marek Vasut
---
configs/sansa_fuze_plus_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/sansa_fuze_plus_defconfig
b/configs/sansa_fuze_plus_defconfig
index
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
Cc: Otavio Salvador
---
configs/mx23evk_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/mx23evk_defconfig b/configs/mx23evk_defconfig
index a5f7cc7f97..73d7e9b3
DM_VIDEO conversion deadline has passed, disable VIDEO config.
Signed-off-by: Anatolij Gustschin
Cc: Marek Vasut
---
configs/xfi3_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/xfi3_defconfig b/configs/xfi3_defconfig
index a943354903..9d895f87e6 100644
---
On Sun, 18 Oct 2020 17:11:11 +0300
Baruch Siach wrote:
> From: Grzegorz Jaszczyk
>
> Replace all comphy initialization with appropriate smc calls. It will
> result with triggering synchronous exception that is handled by Secure
> Monitor code in EL3. Then the Secure Monitor code will dispatch e
Hi Baruch,
On Mon, Oct 19, 2020 at 1:59 AM Baruch Siach wrote:
>
> This series adds NAND flash support to Aramda 8k systems. Patches make the
> necessary changes to the pxa3xx_nand driver and DT files.
>
> v2:
> Rebase on current master. Fixes conflict with commit 661c98121d4 ("mtd:
> nand:
>
Hi Tom,
please pull video updates for v2021.01.
gitlab CI:
https://gitlab.denx.de/u-boot/custodians/u-boot-video/-/pipelines/5031
Thanks!
The following changes since commit 3d19a7ee8ca7af01f75ff24622ea3c9840cd5bca:
test: Fix sandbox tests failing to build (2020-10-17 09:03:22 -0400)
are av
On Sunday 18 October 2020 21:18:24 Anatolij Gustschin wrote:
> DM_VIDEO conversion deadline has passed, disable VIDEO config.
>
> Signed-off-by: Anatolij Gustschin
> Cc: Pali Rohár
> ---
> configs/nokia_rx51_defconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a
On Sun, 18 Oct 2020 22:41:30 +0200
Pali Rohár p...@kernel.org wrote:
> > -CONFIG_VIDEO=y
> > -CONFIG_CFB_CONSOLE_ANSI=y
>
> Please, do not disable CONFIG_CFB_CONSOLE_ANSI, it will make debugging
> on real Nokia N900 very hard...
the patch completely disables video console support, so there is
On Sunday 18 October 2020 22:54:41 Anatolij Gustschin wrote:
> If you need video console support, then please convert to DM_VIDEO.
Ok, but I'm waiting until other N900 issues are fixed. There are pending
patches which needs to be reviewed and merged.
Without video console support it is hard and p
On 10/16/20 4:29 PM, Seung-Woo Kim wrote:
> Casting 32bit int value directly into 64bit unsigned type causes
> wrong value for file size equal or larger than 2GB. Fix the wrong
> file size by casting uint32_t first.
>
> Fixes: commit 1fe9ae76b113 ("gadget: f_thor: update to support more than 4GB
On Fri, 2020-10-16 at 10:50 +0200, Michal Suchánek wrote:
> Hello,
>
> I would suggest to use --thread with format-patch when sending patches.
ok. I'll use it for v2 series.
>
> Thanks
>
> Michal
>
> On Fri, Oct 16, 2020 at 03:35:01PM +0800, Weijie Gao wrote:
> > This series will add support
On Fri, 2020-10-16 at 08:13 +, Qiang Zhao wrote:
> On 2020/10/16 Fri 15:36, Weijie Gao wrote
>
>
> > -Original Message-
> > From: Weijie Gao
> > Sent: 2020年10月16日 15:36
> > To: u-boot@lists.denx.de
> > Cc: GSS_MTK_Uboot_upstream ;
> > Daniel Schwierzeck ; Stefan Roese
> > ; Stefan R
On Sun, Oct 18, 2020 at 10:59:36PM +0200, Pali Rohár wrote:
> On Sunday 18 October 2020 22:54:41 Anatolij Gustschin wrote:
> > If you need video console support, then please convert to DM_VIDEO.
>
> Ok, but I'm waiting until other N900 issues are fixed. There are pending
> patches which needs to b
On Fri, 2020-10-16 at 14:08 +0200, Marek Vasut wrote:
> On 10/16/20 5:38 AM, Chunfeng Yun wrote:
> > This patch adds support for the MediaTek USB3 DRD controller,
> > its host side is based on xHCI, this driver supports device mode
> > and host mode.
>
> Build failed, please fix:
> https://gitlab.
Hi,
I am running mainline grub built from source. Are you using it successfully
on Raspberry Pi 3b or another SBC?
At this stage my testing is as follows all using the exact same firmware,
kernel and ramdisk:
- u-boot -> kernel+ramdisk - No input
- u-boot -> grub/ipxe -> kernel+ramdisk - No input
While a section is the base class of Image, it is more correct to refer
to sections in most places in this file. Fix these comments.
Signed-off-by: Simon Glass
---
tools/binman/etype/section.py | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/binman/etype/sectio
This should return empty contents, not leave it unset. Fix it.
Signed-off-by: Simon Glass
---
tools/binman/etype/u_boot_ucode.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/binman/etype/u_boot_ucode.py
b/tools/binman/etype/u_boot_ucode.py
index 44622936182..b4cb8cdb6e1 100644
---
This series includes a number of improvements and refactors to support
compressing entire sections. This is sometimes useful when a section
contains a number of entries which are accessed as a whole and are best
compressed together.
Most of the effort here is clarifying what is in a section and wh
Add in a few more details to this error message to make it easier to see
what is going on.
Signed-off-by: Simon Glass
---
tools/binman/etype/section.py | 10 ++
tools/binman/ftest.py | 5 +++--
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/tools/binman/etype/se
At present this is only used by blobs. To allow it to be used by other
entry types (such as sections), move it into the base class.
Also read the compression type in the base class.
Signed-off-by: Simon Glass
---
tools/binman/entry.py | 17 +
tools/binman/etype/blob.py |
At present if 'binman' is typed on the command line, a strange error about
a missing argument is displayed. Fix this.
These does not seem to be standard way to add the 'required' argument in
all recent Python versions, so set it manually.
Signed-off-by: Simon Glass
---
tools/binman/cmdline.py
At present we use 'compress' as the property to set the compression of
a 'files' entry. But this conflicts with the same property for entries,
of which Entry_section is a subclass.
Strictly speaking, since Entry_files is in fact a subclass of
Entry_section, the files can be compressed individually
Padding becomes part of the entry once the image is written out, but
within binman the entry contents does not include the padding. Add
documentation to make this clear, as well as a test.
Signed-off-by: Simon Glass
---
tools/binman/README | 12 +---
tools/binman/entry.py | 11 +++
Alignment does form part of the entry once the image is written out, but
within binman the entry contents does not include the padding. Add
documentation to make this clear, as well as a test.
Signed-off-by: Simon Glass
---
tools/binman/README | 29 -
tools/binman/
Check the contents of each section to make sure it is actually in the
right place.
Also fix a whitespace error in the .dts file.
Signed-off-by: Simon Glass
---
tools/binman/ftest.py| 27 ++-
tools/binman/test/009_pack_extra.dts | 2 +-
2 files changed,
At present padding of sections is inconsistent with other entry types, in
that different pad bytes are used.
When a normal entry is padded by its parent, the parent's pad byte is
used. But for sections, the section's pad byte is used.
Adjust logic to always do this the same way.
Note there is st
When compressing an entry, the original uncompressed data is overwritten.
Store it so it is available if needed.
Signed-off-by: Simon Glass
---
tools/binman/entry.py | 7 ++-
tools/binman/ftest.py | 12
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/tools/binma
At present this function does the padding needed around an entry. It is
easier to understand what is going on if we have a function that returns
the contents of an entry, with padding included.
Refactor the code accordingly, adding a new GetPaddedData() method.
Signed-off-by: Simon Glass
---
t
Each section is padded up to its size, if the contents are not large
enough. Move this logic from _BuildSectionData() to
GetPaddedDataForEntry() so that all the padding is in one place.
With this, the testDual test is working again, so enable it.
Signed-off-by: Simon Glass
---
tools/binman/ety
Create a new _BuildSectionData() to hold the code that is now in
GetData(), so that it is clearly separated from entry.GetData() base
function.
Separate out the 'pad-before' processing to make this easier to
understand.
Unfortunately this breaks the testDual test. Rather than squash several
patch
Section contents is not set up when ObtainContents() is called, since
packing often changes the layout of the contents. Ensure that the contents
are correctly recorded by making this function regenerate the section. It
is normally only called by the parent section (when packing) or by the
top-level
At present CheckSize() is called from the function that packs the entries.
Move it up to the main Pack() function so that _PackEntries() can just
do the packing.
Signed-off-by: Simon Glass
---
tools/binman/etype/section.py | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/
When a section is compressed, all entries within it are grouped together
into a compressed block of data. This obscures the start of each
individual child entry.
Avoid reporting bogus 'image-pos' properties in this case, since it is
not possible to access the entry at the location provided. The en
At present sorting and expanding entries are side-effects of the
CheckEntries() function. This is a bit confusing, as 'checking' would
not normally involve making changes.
Move these steps into the Pack() function instead.
Signed-off-by: Simon Glass
---
tools/binman/etype/section.py | 7 --
This method introduces a separation between packing and checking that is
different for sections. In order to handle compression properly, we need
to be able to deal with a section's size being smaller than the
uncompressed size of its contents. It is easier to make this work if
everything happens i
This function just calls CheckEntries() in the only non-trivial
implementation. Drop it and use CheckEntries() directly.
Signed-off-by: Simon Glass
---
tools/binman/entry.py | 2 +-
tools/binman/etype/section.py | 5 +
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/t
Refactor the implementation slightly so that section data is not
rebuilt when it is already available.
We still have GetData() set up to rebuild the section, since we don't
currently track when things change that might affect a section. For
example, if a blob is updated within a section, we must r
This is only used by entry_Section and that class already calls it. Avoid
calling it twice. Also drop it from the documentation.
Signed-off-by: Simon Glass
---
tools/binman/README | 21 ++---
tools/binman/control.py | 1 -
2 files changed, 10 insertions(+), 12 deletions(-)
At present this function assumes that the size of a section is at least as
large as its contents. With compression this is often not the case. Relax
this constraint by using the uncompressed size, if available.
Signed-off-by: Simon Glass
---
tools/binman/etype/section.py | 6 --
1 file chan
At present this function adds up the total size of entries to work out the
size of a section's contents. With compression this is no-longer enough.
We may as well bite the bullet and build the section contents instead.
Call _BuildSectionData() to get the (possibly compressed) contents and
GetPadde
With the previous changes, it is now possible to compress entire
sections. Add some tests to check that compression works correctly,
including updating the metadata.
Also update the documentation.
Signed-off-by: Simon Glass
---
tools/binman/README | 8 +
tools/binma
Fix up the following build warning/error:
1. unused variable 'mtu' in mtu3_gadget_dequeue() and
mtu3_gadget_ep_set_halt()
2. implicit declaration of function ‘flush_dcache_range’ and
‘invalidate_dcache_range’
Signed-off-by: Chunfeng Yun
---
drivers/usb/mtu3/mtu3_gadget.c | 4 ++--
drivers/
Hi Chris,
On Sun, Oct 18 2020, Chris Packham wrote:
> On Mon, Oct 19, 2020 at 1:59 AM Baruch Siach wrote:
>>
>> This series adds NAND flash support to Aramda 8k systems. Patches make the
>> necessary changes to the pxa3xx_nand driver and DT files.
>>
>> v2:
>> Rebase on current master. Fixes co
Enable the now included network drivers in the currently supported
Marvell Octeon TX & TX2 boards.
Signed-off-by: Stefan Roese
Cc: Aaron Williams
Cc: Suneel Garapati
Cc: Chandrakala Chavva
---
configs/octeontx2_95xx_defconfig | 2 ++
configs/octeontx2_96xx_defconfig | 2 ++
configs/octeontx_8
On 10/19/20 5:46 AM, Chunfeng Yun wrote:
> Fix up the following build warning/error:
> 1. unused variable 'mtu' in mtu3_gadget_dequeue() and
>mtu3_gadget_ep_set_halt()
> 2. implicit declaration of function ‘flush_dcache_range’ and
>‘invalidate_dcache_range’
Which patch of the ones in usb/n
Hi Heinrich,
On 15. 10. 20 19:18, Heinrich Schuchardt wrote:
> According to
>
> DSP0134, 3.4.0, System Management BIOS (SMBIOS) Reference Specification
> https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.4.0.pdf
>
> our struct smbios_entry is an SMBIOS 2.1 (32-bit) Entry Poi
On 10/16/2020 8:38 PM, Michael Walle wrote:
> On all newer Layerscape SoCs, only the export-controlled ciphers of the
> crypto module are disabled on non-E parts. Thus it doesn't make sense to
> completely remove the node. Linux will figure out what is there and what
> is not.
>
> Just remove it f
> Subject: [PATCH] mx6: peripheral clock from oscillator
>
> In order to be able to run the I2C bus at 400Khz, the chip errata[1]
> recommends that the peripheral clock runs out of the 24MHz oscillator.
>
> [1] Rev 2, 10/2019, ERR007805
>
> Signed-off-by: Jorge Ramirez-Ortiz
> ---
> arch/arm/m
> Subject: [PATCH v2 00/21] Add support for MMC higher speed modes for TI's
> am65x, j721e and j7200 platforms
For the mmc driver part,
Reviewed-by: Peng Fan
>
> The following patches add support for higher speeds in the SD card and eMMC
> for TI's am65x, j721e, j7200 platforms.
>
> With the
75 matches
Mail list logo