2018-03-03 6:19 GMT+09:00 Thomas Petazzoni :
> Hello,
>
> I'm running a Fedora 27 system. When the libfdt-devel package is not
> installed in the distro, U-Boot builds fine. When libfdt-devel is
> installed, the build of U-Boot tools breaks badly, because it includes
> headers from /usr/include/ fo
Commit 278b90ce786f ("configs: Migrate CONFIG_SYS_TEXT_BASE") made
CONFIG_SYS_TEXT_BASE a proper Kconfig variable, with the consequence
of moving the common definition shared by almost every sunxi board
into 123 individual defconfig files. But the U-Boot start address
for Allwinner boards is a plat
Hi Stefan,
> On 02.03.2018 17:33, Lukasz Majewski wrote:
> > Hi Stefan,
> >
> >> From: Stefan Agner
> >>
> >> Make sure we use objcopy from the cross compiler toolchain.
> >>
> >> Signed-off-by: Stefan Agner
> >> ---
> >> scripts/get_default_envs.sh | 3 ++-
> >> 1 file changed, 2 insertions
On 02.03.2018 17:33, Lukasz Majewski wrote:
> Hi Stefan,
>
>> From: Stefan Agner
>>
>> Make sure we use objcopy from the cross compiler toolchain.
>>
>> Signed-off-by: Stefan Agner
>> ---
>> scripts/get_default_envs.sh | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git
Add configurations for PFE.
Signed-off-by: Calvin Johnson
Signed-off-by: Anjaneyulu Jagarlmudi
---
Changes in v3:
-Move PFE macros to Kconfig
-Remove unused UTIL_PE_DISABLED config
Changes in v2:
-Moved SYS_LS_PFE_FW_ADDR from pfe Kconfig to board Kconfigs
-Add "pfe stop" to ls1012a rdb, frdm
SoC specific PFE macros are defined and structure ccsr_scfg
is updated with members defined for PFE.
Signed-off-by: Calvin Johnson
Signed-off-by: Anjaneyulu Jagarlmudi
---
Changes in v3:
-Use BIT macro wherever applicable
Changes in v2: None
.../include/asm/arch-fsl-layerscape/immap_lsch2.h
Enable all types of non-secure access to PFE block registers.
Signed-off-by: Calvin Johnson
Signed-off-by: Anjaneyulu Jagarlmudi
Acked-by: Joe Hershberger
---
Changes in v3: None
Changes in v2:
-Improved commit message to provide more description
arch/arm/include/asm/arch-fsl-layerscape/ns_
This patch enables ethernet support for ls1012aqds.
Signed-off-by: Calvin Johnson
Signed-off-by: Anjaneyulu Jagarlmudi
---
Changes in v3:
-Update Kconfig
-Update header file location to include/net/pfe_eth
-Cosmetic changes
Changes in v2:
-split from original patch "board: freescale: ls1012a:
1. Set AWCACHE0 attribute of PFE DDR and HDBUS master interfaces
to bufferable.
2. Set RD/WR QoS for PFE DDR and HDBUS AXI master interfaces.
3. Disable ECC detection for PFE.
Signed-off-by: Calvin Johnson
Signed-off-by: Anjaneyulu Jagarlmudi
Acked-by: Joe Hershberger
---
Changes in v3:
-Cosm
This patch enables ethernet support for ls1012a2g5rdb.
Signed-off-by: Calvin Johnson
Signed-off-by: Bhaskar Upadhaya
---
Changes in v3:
-Update Kconfig
-Update header file location to include/net/pfe_eth
-Prefix CONFIG_PFE_ to appropriate macros
-Indent properly
Changes in v2:
-New patch adde
This patch enables ethernet support for ls1012afrdm.
Signed-off-by: Calvin Johnson
Signed-off-by: Anjaneyulu Jagarlmudi
Acked-by: Joe Hershberger
---
Changes in v3:
-Update Kconfig
-Update header file location to include/net/pfe_eth
-Prefix CONFIG_PFE_ to appropriate macros
Changes in v2:
-s
This patch enables ethernet support for ls1012ardb.
Signed-off-by: Calvin Johnson
Signed-off-by: Anjaneyulu Jagarlmudi
Acked-by: Joe Hershberger
---
Changes in v3:
-Update Kconfig
-Update header file location to include/net/pfe_eth
Changes in v2:
-split from original patch "board: freescale:
Contains all the pfe header files.
Signed-off-by: Calvin Johnson
Signed-off-by: Anjaneyulu Jagarlmudi
---
Changes in v3:
-Move pfe_eth header files to include/net/pfe_eth
-Use BIT macro wherever applicable
Changes in v2:
-Add pfe_rx_done to clear bd after packet processing
-remove unused code
pfe_command provides command line support for several features that
support pfe, like starting or stopping the pfe, checking the health
of the processor engines and checking status of different units inside
pfe.
Signed-off-by: Calvin Johnson
Signed-off-by: Anjaneyulu Jagarlmudi
Acked-by: Joe Her
From: Prabhakar Kushwaha
Layerscape Gen2 SoC supports GPIO registers to control GPIO
signals. Adding support of GPIO structure to access GPIO
registers.
Signed-off-by: Pratiyush Srivastava
Signed-off-by: Prabhakar Kushwaha
Signed-off-by: Calvin Johnson
Acked-by: Joe Hershberger
---
Changes
This patch adds PFE driver to U-Boot
Following are the main driver files:-
pfe_hw.c: provides low level helper functions to initialize PFE
internal processor engines and other hardware blocks
pfe_driver.c: provides initialization functions
and packet send and receive functions
pfe_eth.c: provides
With CONFIG_DM_ETH enabled, aquantia driver compilation fails with
below error. This patch fixes the issue by including dm.h.
drivers/net/phy/aquantia.c: In function ‘aquantia_startup’:
drivers/net/phy/aquantia.c:73:21: error: dereferencing pointer to
incomplete
type ‘struct udevice’
phy
This patch series introduces U-Boot support for NXP's LS1012A Packet
Forwarding Engine (pfe_eth). LS1012A uses hardware packet forwarding
engine to provide high performance Ethernet interfaces. The device
includes two Ethernet ports.
Changes in v3:
-Update header location to include/net/pfe_eth
Dear Christophe,
In message <20180303165059.a03cf240...@gemini.denx.de> I wrote:
>
> That used to be standard at the beginning of time, i. e. even when
> this was still called PPCBoot... Check out any old version, and
> look for example at the configuration of the TQM8xx boards; they all
> used
Dear Christophe,
In message <31268795-2370-e5b2-5326-a5e5c41ce...@c-s.fr> you wrote:
> On my powerpc 8xx board, I have an AM29LV160DB boot flash which is
> organised as follows:
> - One 16kb block
> - Two 8kb block
> - One 32kb block
> - Thirty one 64kb blocks
>
> At the time being, u-boot is a
Dear Christophe,
In message
<622b8aec162cc43e774bde5da990a61fc961b4d9.1519976944.git.christophe.le...@c-s.fr>
you wrote:
> Function get_immr() is almost not used and doesn't bring much
> added value. Just replace it with mfspr(SPRN_IMMR) at the two
> needed places.
...
> static int check_CPU(lo
On 1 March 2018 at 16:23, Stephen Warren wrote:
> On 02/26/2018 09:17 PM, Liam Beguin wrote:
>>
>> fix a minor typo causing vim (and possibly other) to get confused with
>> coloring.
>
>
> Nit: s/fix/Fix/.
Will fix
>
> Reviewed-by: Stephen Warren
___
On 1 March 2018 at 16:56, Stephen Warren wrote:
> On 02/26/2018 09:17 PM, Liam Beguin wrote:
>>
>> Add basic tests for the spi_flash subsystem.
>
>
>> diff --git a/test/py/tests/test_sf.py b/test/py/tests/test_sf.py
>
>
>> +import re
>> +import pytest
>> +import u_boot_utils
>> +
>> +
>
>
> Nit: D
From: Leif Lindholm
Not complete, but enough for Shell.efi and SCT.efi. We'll implement the
rest as needed or once we have SCT running properly so there is a way to
validate the interface against the conformance test suite.
Initial skeleton written by Leif, and then implementation by Rob.
Reba
When running on the sandbox the stack is not necessarily at a higher memory
address than the highest free memory.
There is no reason why the checking of the highest memory address should be
more restrictive for EFI_ALLOCATE_ANY_PAGES than for
EFI_ALLOCATE_MAX_ADDRESS.
Signed-off-by: Heinrich Schu
The console control protocol is not defined in the UEFI standard.
It exists in EDK2's EdkCompatiblityPkg package. But this package
is deprecated according to
https://github.com/tianocore/tianocore.github.io/wiki/Differences-between-EDK-and-EDK-II
Signed-off-by: Heinrich Schuchardt
---
include/e
Provide a unit test for the EFI_SIMPLE_TEXT_INPUT_PROTOCOL.
The unicode character and the scan code are printed for text
input.
To run the test:
setenv efi_selftest text input
bootefi selftest
Signed-off-by: Heinrich Schuchardt
---
lib/efi_selftest/Makefile |
Errors may occur inside efi_smbios_register().
- Return a status code.
- Remove unused variables.
- Use constants where applicable.
Suggested-by: Simon Glass
Signed-off-by: Heinrich Schuchardt
---
v3
no change
v2
remove a change in unrelated code
resent with this patch s
This patch series is focused on providing error checking during the
initialization of the EFI subsystem.
If any of the registrations routines fails bootefi is not executed.
As currently the registration attempt cannot be unroled any further
bootefi call will fail.
Passing a devicetree to bootefi
The unit test checks if a device tree is installed. It requires that the
'compatible' property of the root node exists. If available it prints the
'serial-number' property.
The serial-number property is derived from the environment variable
'serial#'. This can be used to check if the image_setup_l
Up to now errors in the initialization of the EFI subsystems was not
checked.
If any initialization fails, leave the bootefi command.
We do not retry initialization because this would require to undo all prior
initalization steps.
Suggested-by: Simon Glass
Signed-off-by: Heinrich Schuchardt
--
The second argument of the bootefi command should always be usable to
specify a device tree. This was missing for bootefi selftest and
bootefi hello.
Proper error handling is added.
Signed-off-by: Heinrich Schuchardt
---
v3
Mention fdt address as argument in online help of bootefi selfte
All initialization routines should return a status code instead of
a boolean.
Signed-off-by: Heinrich Schuchardt
---
v3
no change
v2
new patch
---
include/efi_loader.h | 2 +-
lib/efi_loader/efi_gop.c | 34 ++
2 files changed, 23 insertions(+)
efi_watchdog_register() should always return a status code and not
a boolean value.
Signed-off-by: Heinrich Schuchardt
---
v3
no change
v2
new patch
---
include/efi_loader.h | 2 +-
lib/efi_loader/efi_watchdog.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
The return type of do_bootefi_exec() is efi_status_t. So in case
of an error we should always return an EFI status code.
Signed-off-by: Heinrich Schuchardt
---
v3
no change
v2
no change, patch resent
---
cmd/bootefi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
dif
Consistently return status codes form efi_net_register().
Signed-off-by: Heinrich Schuchardt
---
v3
no change
v2
new patch
---
include/efi_loader.h | 2 +-
lib/efi_loader/efi_net.c | 24 +---
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git
All EFI initialization functions should return a status code.
Signed-off-by: Heinrich Schuchardt
---
v3
no change
v2
new patch
---
include/efi_loader.h | 2 +-
lib/efi_loader/efi_runtime.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/efi
efi_init_obj_list() should be executed only once.
Rather than having the caller check this variable and the callee set it,
move all access to the variable inside the function. This reduces the
logic needed to call efi_init_obj_list().
Suggested-by: Simon Glass
Signed-off-by: Heinrich Schuchardt
efi_reset_system_init provides the architecture or board specific
initialization of the EFI subsystem. Errors should be caught and
signalled by a return code.
Signed-off-by: Heinrich Schuchardt
---
v3
no change
v2
new patch
---
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 4 ++--
a
Hello Stefano,
This, what you wrote here is very correct assumption.
CONFIG_BLK_DEV_INITRD=y <<= To have Block device initramfs/rootfs
CONFIG_RD_GZIP=y <<= To have initramfs/rootfs in .gz format
CONFIG_RD_BZIP2=y <<= To have initramfs/rootfs in .bz2 format
CONFIG_RD_LZMA=y <<==
Hello,
I'm running a Fedora 27 system. When the libfdt-devel package is not
installed in the distro, U-Boot builds fine. When libfdt-devel is
installed, the build of U-Boot tools breaks badly, because it includes
headers from /usr/include/ for libfdt, instead of using only its own
internal headers
On Fri, Mar 02, 2018 at 10:57:59AM -0800, Brian Norris wrote:
> Hi,
>
> On Fri, Mar 02, 2018 at 04:44:06PM +0100, yannick fertre wrote:
> > Add a Synopsys Designware MIPI DSI host bridge driver, based on the
> > Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
>
> How many tim
Hi,
On Fri, Mar 02, 2018 at 04:44:06PM +0100, yannick fertre wrote:
> Add a Synopsys Designware MIPI DSI host bridge driver, based on the
> Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
How many times are we going to allow copy-and-pasting the same driver?
Last time we want
Hi Zoran,
On 03/03/2018 08:18, Zoran S wrote:
> Hello Stefano,
>
> This, what you wrote here is very correct assumption.
>
> CONFIG_BLK_DEV_INITRD=y <<= To have Block device initramfs/rootfs
> CONFIG_RD_GZIP=y <<= To have initramfs/rootfs in .gz format
> CONFIG_RD_BZIP2=y <<= To hav
Inform the EFI subsystem that the framebuffer memory is reserved.
Without the patch the AllocatePool boot service allocates memory from the
framebuffer which will will be overwritten by screen output.
Signed-off-by: Heinrich Schuchardt
---
drivers/video/sunxi/sunxi_display.c | 8
1 fil
Hi Grygorii,
El 23/02/2018 a las 17:57, Grygorii Strashko escribió:
Hi
thanks for your comments.
On 02/22/2018 02:48 PM, Álvaro Fernández Rojas wrote:
El 22/02/2018 a las 20:50, Grygorii Strashko escribió:
On 02/21/2018 10:10 AM, Álvaro Fernández Rojas wrote:
BCM6348 IUDMA controller is pre
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6348.dtsi | 16
include/dt-bindings/dma/bcm6348-dma.h | 17 +
2 files changed, 33 insertions(+)
create mode 100644 include/dt-bindings/dma/bcm63
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6358.dtsi | 28
1 file changed, 28 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6358.dtsi b/arch/mips/dts/brcm,bcm6358.dtsi
index 1468e4f63a..04329864
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6358.dtsi | 18 ++
include/dt-bindings/dma/bcm6358-dma.h | 17 +
2 files changed, 35 insertions(+)
create mode 100644 include/dt-bindings/dma/bcm
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6338.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6338.dtsi b/arch/mips/dts/brcm,bcm6338.dtsi
index 4125f71d9f..621278c9d1 100644
---
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/sagem,f...@st1704.dts | 12
configs/sagem_f@st1704_ram_defconfig | 9 -
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/arch/mips/dts/sagem,f...@st1704
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/sfr,nb4-ser.dts | 24
configs/sfr_nb4-ser_ram_defconfig | 8 +++-
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/arch/mips/dts/sfr,nb4-ser.dts
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/comtrend,ct-5361.dts| 12
configs/comtrend_ct5361_ram_defconfig | 8 +++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/arch/mips/dts/comtrend,ct-5361.dt
Signed-off-by: Álvaro Fernández Rojas
---
v4: Fix issues reported by Grygorii Strashko and other fixes:
- Copy received dma buffer to net_rx_packets in order to avoid possible
dma overwrites.
- Reset dma rx channel when sending a new packet to prevent flow control
issues.
- Fix packet c
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/huawei,hg556a.dts | 12
configs/huawei_hg556a_ram_defconfig | 8 +++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/arch/mips/dts/huawei,hg556a.dts b/arc
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6348.dtsi | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/mips/dts/brcm,bcm6348.dtsi b/arch/mips/dts/brcm,bcm6348.dtsi
index d774c59665..e540865019
BCM6348 IUDMA controller is present on multiple BMIPS (BCM63xx) SoCs.
Signed-off-by: Álvaro Fernández Rojas
---
v4: Fix issues reported by Grygorii Strashko and other fixes:
- Remove usage of net_rx_packets as buffer.
- Allocate dynamic rx buffer.
- Check dma errors and discard invalid pac
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
include/phy.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/phy.h b/include/phy.h
index 0543ec10c2..8f3e53db01 100644
--- a/include/phy.h
+++ b/include/phy.h
@@ -50,6 +50,7 @@
typedef e
This adds channels support for dma controllers that have multiple channels
which can transfer data to/from different devices (enet, usb...).
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
---
v4: no changes
v3: Introduce changes reported by Simon Glass:
- Improve dma-uclass.h
Signed-off-by: Álvaro Fernández Rojas
---
v4: no changes
v3: no changes
v2: no changes
arch/mips/dts/brcm,bcm6338.dtsi | 14 ++
include/dt-bindings/dma/bcm6338-dma.h | 15 +++
2 files changed, 29 insertions(+)
create mode 100644 include/dt-bindings/dma/bcm6338-d
Move dma_ops to a separate header file, following other uclass implementations.
While doing so, this patch also improves dma_ops documentation.
Signed-off-by: Álvaro Fernández Rojas
Reviewed-by: Simon Glass
---
v4: no changes
v3: Introduce changes reported by Simon Glass:
- Improve dma-uclas
In order to add bcm6348-enet support, dma-uclass must be extended to support
dma channels and reworked to operate like the other dm uclass (clk, reset...).
This is a RFC, so please give you feedback on the things that I should
fix or rework.
v4: Fix issues reported by Grygorii Strashko and other
62 matches
Mail list logo