If you send a final packet just before stopping the interface (e.g. a final
ACK as part of the UDP fastboot protocol), then that packet isn't reliably
delivered onto the wire.
Reap packets prior to stopping the interface to ensure any which are
in-flight make it out. Also remove buffer and len fro
The definitons of the variable services are adjusted:
- use efi_uintn_t instead of unsigned long
- use u16 * instead of s16 * for Unicode strings
- correct definition of QueryVariableInfo
- rename efi_get_next_variable to efi_get_next_variable_name
A unit test for the variable services is supplied
Provide a unit test for variable services.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_selftest/Makefile | 1 +
lib/efi_selftest/efi_selftest_variables.c | 178 ++
2 files changed, 179 insertions(+)
create mode 100644 lib/efi_selftest/efi_selftest_variab
The definitons of the variable services are adjusted:
- use efi_uintn_t instead of unsigned long
- use u16 * instead of s16 * for Unicode strings
- correct definition of QueryVariableInfo
- rename efi_get_next_variable to efi_get_next_variable_name
Signed-off-by: Heinrich Schuchardt
---
include/
Signed-off-by: Peter Robinson
---
include/configs/mx6_common.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h
index a8182b3434..3023701875 100644
--- a/include/configs/mx6_common.h
+++ b/include/configs/mx6_common.h
@@ -51,8 +51,6
Signed-off-by: Peter Robinson
---
include/configs/mx7_common.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index da5a92502b..b0b7e1edd4 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -36,9 +36,6
It makes sense to select the MP multi processor option at the same time we
select the other SMP options needed for SMP capable i.MX6 SoCs.
Signed-off-by: Peter Robinson
---
arch/arm/mach-imx/mx6/Kconfig | 1 +
include/configs/mx6_common.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
d
The mx6_common.h file already defines BOUNCE_BUFFER so no need to
definit it again in specific configs.
Signed-off-by: Peter Robinson
---
include/configs/advantech_dms-ba16.h | 1 -
include/configs/apalis_imx6.h| 1 -
include/configs/colibri_imx6.h | 1 -
include/configs/dh_imx6.h
In my ongoing effort to get rid of LK (Qualcomm's bootloader) that runs
before U-boot, I found that there were some problems with the uart driver of
Snapdragon.
It appears that the uart only worked because the initialization was previously
done by LK.
While fixing, I also introduced a new pinctrl
The clock and serial nodes are needed before relocation.
This patch ensures that the msm-serial driver will probe
and provide uart output before relocation.
Signed-off-by: Ramon Fried
---
arch/arm/dts/dragonboard820c-uboot.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/
The uart is already initialized prior to relocation,
reinitialization after relocation is unnecessary.
Signed-off-by: Ramon Fried
---
drivers/serial/serial_msm.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/serial/serial_msm.c b/drivers/serial/serial_msm.c
index 250e48c996..22
Failure to set the clocks will causes data abort exception when
trying to write to AHB uart registers.
This patch ensures that we don't touch these registers if clock
setting failed.
Signed-off-by: Ramon Fried
---
drivers/serial/serial_msm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
This patch adds pinmux and pinctrl driver for TLMM
subsystem in snapdragon chipsets.
Currently, supporting only 8016, but implementation is
generic and 8096 can be added easily.
Driver is using the generic dt-bindings and doesn't
introduce any new bindings (yet).
Signed-off-by: Ramon Fried
---
Serial port configuration was missing from previous implementation.
It only worked because it was preconfigured by LK.
This patch configures the uart for 115200 8N1.
It also configures the pin mux for uart pins using DT bindings.
Signed-off-by: Ramon Fried
---
drivers/serial/serial_msm.c | 24 ++
UART clock enabling flow was wrong.
Changed the flow according to downstream implementation in LK.
Signed-off-by: Ramon Fried
---
arch/arm/mach-snapdragon/clock-apq8016.c | 23 +++---
arch/arm/mach-snapdragon/clock-apq8096.c | 4 ++--
arch/arm/mach-snapdragon
Added TLMM pinctrl node for pin muxing & config.
Additionally, added a serial node for uart.
Signed-off-by: Ramon Fried
---
arch/arm/dts/dragonboard410c.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts
ind
On 05/11/2018 11:29 PM, Maxime Ripard wrote:
> On Mon, May 07, 2018 at 10:55:16PM +0200, Marek Vasut wrote:
>> On 05/07/2018 10:11 PM, Maxime Ripard wrote:
>>> On Mon, May 07, 2018 at 05:32:34PM +0200, Marek Vasut wrote:
On 05/07/2018 04:52 PM, Maxime Ripard wrote:
> On Mon, May 07, 2018 a
John Babrick writes:
> Hello - I am trying to work through the book "Mastering Embedded Linux
> Programming" by Chris Simmonds, and trying to work through building u-boot
> after having built the cross toolchain. I am running into an error when I
> try to build u-boot, any ideas?
>
> johann@mars:
Hi Eugeniu,
> Hello Petr,
> On Sat, May 12, 2018 at 08:25:56PM +0200, Petr Vorel wrote:
> > When applied all 6 patches, I got several errors (see bellow).
> > I tested in on 2 distros (Debian unstable and openSUSE Tumbleweed).
> > The code I applied is here, did I make error when applying patche
Add support for loading FPGA into the SPL fitImage support. The
mechanism is flexible and allows user to override the actual
function for loading the FPGA itself. This is because on some
systems, the FPGA must be programmed to allow DRAM access, so
loading the full fitImage may not be possible if i
The DT bindings for the Arria10 clock init have changed, add another
compatible to make them work with U-Boot until a proper clock driver
gets written.
Signed-off-by: Marek Vasut
Cc: Tom Rini
Cc: Chin Liang See
Cc: Dinh Nguyen
---
include/fdtdec.h | 1 +
lib/fdtdec.c | 1 +
2 files change
The global data are in the .data section, so there's no point in
reserving any space for it above stack. Put stack at the end of
SRAM.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
---
include/configs/socfpga_common.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
di
Shuffle the default Kconfig entries around so it is not such a mess.
No functional change.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
---
arch/arm/Kconfig | 20 +++-
arch/arm/mach-socfpga/Kconfig | 30 --
2 files chang
This was never used, is not used anywhere and is just in the way
by adding annoying ifdeffery. Get rid of it.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
---
arch/arm/mach-socfpga/include/mach/reset_manager.h | 4
arch/arm/mach-socfpga/misc_gen5.c | 4
Pull the serial port configuration from DT and use DM serial instead
of having the serial configuration in two places, DT and board config.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
---
arch/arm/Kconfig | 3 +++
arch/arm/dts/socfpga.dtsi
The A10 clock manager parsed DT bindings generated by Quartus the
bsp-editor to configure the A10 clocks. Sadly, those DT bindings
changed at some point. The clock manager patch used the old ones,
this patch replaces the bindings parser with one for the new set.
Signed-off-by: Marek Vasut
Cc: Chi
Sort the Makefile entries, no functional change.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
---
arch/arm/dts/Makefile | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index f94940a7dd..b29ecb0060 100644
Regenerate Altera Arria 10 SoCDK SDMMC handoff file using latest
Quartus to get the new set of clock bindings in.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
---
.../dts/socfpga_arria10_socdk_sdmmc_handoff.dtsi | 734 +
1 file changed, 302 insertions(+),
Synchronize Altera Arria 10 DT sources with Linux 4.16.3 as of commit
ef8216d28a5920022cddcb694d2d75bd1f0035ca
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
---
arch/arm/dts/socfpga_arria10.dtsi| 594 +--
arch/arm/dts/socfpga_arria10_socdk.dt
From: Tien Fong Chee
Current sdram driver is only applied to gen5 device, hence it is better
to rename sdram driver to more specific name which is related to gen5
device.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/include/mach/sdram.h | 432 +--
arch/arm/m
The EMAC reset and PHY mode configuration was never working on the
Arria10 SoC, fix this. This patch pulls out the common code into
misc.c and passes the SoC-specific function call in as a function
pointer.
Signed-off-by: Marek Vasut
Cc: Chin Liang See
Cc: Dinh Nguyen
---
NOTE: This should be c
From: Tien Fong Chee
Add function for both multiple DRAM bank and single DRAM bank size
initialization. This common functionality could be used by every single
SOCFPGA board.
Signed-off-by: Tien Fong Chee
Tested-by: Ley Foon Tan
---
arch/arm/mach-socfpga/board.c | 7 +++
1 file changed, 7
From: Tien Fong Chee
Add DDR driver support for Arria 10.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/include/mach/sdram.h | 2 +
arch/arm/mach-socfpga/include/mach/sdram_arria10.h | 2 +
drivers/ddr/altera/Makefile| 1 +
drivers/ddr/altera/sdr
From: Tien Fong Chee
Clock frequency info is required in U-Boot because info would be erased
when transition from SPL to U-Boot.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/board.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/mach-socfpga/board.c b/arch/arm/m
From: Tien Fong Chee
Enable memory allocation in SPL for preparation to enable FAT
in SPL. Memory allocation is needed by FAT to work properly.
Signed-off-by: Tien Fong Chee
Reviewed-by: Dinh Nguyen
---
include/configs/socfpga_common.h | 23 ++-
1 file changed, 22 insertio
From: Tien Fong Chee
SoC FPGA info is required in both SPL and U-Boot.
Signed-off-by: Tien Fong Chee
---
arch/arm/mach-socfpga/board.c| 4
arch/arm/mach-socfpga/misc_arria10.c | 5 -
arch/arm/mach-socfpga/spl.c | 6 ++
3 files changed, 10 insertions(+), 5 deletion
From: Tien Fong Chee
This patch enables DDR Kconfig support for Arria 10.
Signed-off-by: Tien Fong Chee
Reviewed-by: Dinh Nguyen
---
arch/arm/mach-socfpga/Kconfig | 1 +
drivers/ddr/altera/Kconfig| 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-socfpga/K
After importing linux v4.16-rc1 commit 2c37e08464a8 ("kconfig: Warn if
choice default is not in choice"), Kconfig complains:
scripts/kconfig/conf --syncconfig Kconfig
board/eets/pdu001/Kconfig:22:warning:\
choice default symbol 'PDU001_RUN_LED_RED' \
is not contained in the choice
Th
From: Rob Herring
Pickup the fix for handling unresolved phandles in overlays.
This adds the following commits from upstream:
c1e55a5513e9 checks: fix handling of unresolved phandles for dts plugins
f8872e29ce06 tests: Avoid 64-bit arithmetic in assembler
48c91c08bcfa libfdt: add stringlist fun
From: Rob Herring
This adds the following commits from upstream:
aadd0b65c987 checks: centralize printing of property names in failure messages
88960e398907 checks: centralize printing of node path in check_msg
f1879e1a50eb Add limited read-only support for older (V2 and V3) device tree to
libf
After importing v4.17-rc1 Linux commit 9130ba884640 ("scripts/dtc:
Update to upstream version v1.4.6-9-gaadd0b65c987"), sandbox build
reports below warnings:
arch/sandbox/dts/test.dtb: Warning (alias_paths): /aliases: aliases property
name must include only lowercase and '-'
arch/sandbox/dts/test
Hi Masahiro,
On Sat, May 12, 2018 at 01:46:15PM +0900, Masahiro Yamada wrote:
> > This seems to happen because the Kbuild updates apparently didn't make
> > room for both "*shipped"-based builds and flex/bison-based builds. A
> > similar problem has been reported for genksyms parser in v4.17-rc1
>
Hello Petr,
On Sat, May 12, 2018 at 08:25:56PM +0200, Petr Vorel wrote:
> Hi Eugeniu,
>
> > My testing was limited to:
> > - make defconfig all
> > - make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- r8a7795_ulcb_defconfig all
> > - comparing .config before and after the re-sync
> > - running the n
Hi Eugeniu,
> My testing was limited to:
> - make defconfig all
> - make ARCH=arm CROSS_COMPILE=aarch64-linux-gnu- r8a7795_ulcb_defconfig all
> - comparing .config before and after the re-sync
> - running the newly imported Kconfig unit tests as seen below:
I tested whole patch-set with the other
Add derivative of the rcar_i2c driver which is capable of
probing itself from DM and uses DT.
Signed-off-by: Marek Vasut
Cc: Heiko Schocher
Cc: Nobuhiro Iwamatsu
---
drivers/i2c/Kconfig| 6 +
drivers/i2c/Makefile | 1 +
drivers/i2c/rcar_i2c.c | 353 +++
The defconfig for the 3 seems to work fine, except that for some reason
Ethernet doesn't work (from what I understand, it is on the USB bus,
though u-boot doesn't detect it?
A quick google found some (maybe) useful files (e.g. the DTS) here:
https://www.spinics.net/lists/arm-kernel/msg646251.h
Enable the DM capable driver instead of the legacy one.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
configs/lager_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/lager_defconfig b/configs/lager_defconfig
index 901b34e1dd..70083bcbfe 100644
--- a/configs/lager_defc
Enable the DM capable driver instead of the legacy one.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
configs/silk_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/silk_defconfig b/configs/silk_defconfig
index c163e823b5..a1c4e5cde3 100644
--- a/configs/silk_defconfi
The V2H Blanche port was broken since some time. This patch updates
the V2H Blanche port to use modern frameworks, DM, DT probing, SPL
for the preloading and puts it on par with the M2 Porter board.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/dts/r8a7792-blanche-u-boot.dts |
Remove the rcar_i2c driver, since it's no longer used by any
board and will be superseded by a DM and DT capable variant.
Signed-off-by: Marek Vasut
Cc: Heiko Schocher
Cc: Nobuhiro Iwamatsu
---
drivers/i2c/Makefile | 1 -
drivers/i2c/rcar_i2c.c | 292 ---
All the boards use new modern PFC framework, the old PFC tables
are no longer used, so remove them.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/Makefile|2 +-
arch/arm/mach-rmobile/include/mach/gpio.h |3 -
arch/arm/mach-rmobile
All the boards use new modern PFC framework, the old PFC tables
are no longer used, so remove them.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/Makefile|2 +-
arch/arm/mach-rmobile/include/mach/gpio.h |3 -
arch/arm/mach-rmobile
All the boards use new modern PFC framework, the old PFC tables
are no longer used, so remove them.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/Makefile|2 +-
arch/arm/mach-rmobile/include/mach/gpio.h |3 -
arch/arm/mach-rmobile
All the boards use new modern PFC framework, the old PFC tables
are no longer used, so remove them.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/Makefile|2 +-
arch/arm/mach-rmobile/include/mach/gpio.h |3 -
arch/arm/mach-rmobile
Drop per-SoC Makefile entries and replace them with one unified entry
now that the PFC tables are gone. Shuffle the Makefile around a bit
to make it more organized.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/Makefile | 10 +++---
1 file changed, 3 insertions(
All the boards use new modern PFC framework, the old PFC tables
are no longer used, so remove them.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
arch/arm/mach-rmobile/Makefile|2 +-
arch/arm/mach-rmobile/include/mach/gpio.h |3 -
arch/arm/mach-rmobile
Hi Petr,
On Sat, May 12, 2018 at 09:31:48PM +0200, Petr Vorel wrote:
> Hi Eugeniu,
>
> > Hello Petr,
>
> > On Sat, May 12, 2018 at 08:25:56PM +0200, Petr Vorel wrote:
>
> > > When applied all 6 patches, I got several errors (see bellow).
> > > I tested in on 2 distros (Debian unstable and openS
Rename CONFIG_FIT_SPL_PRINT to CONFIG_SPL_FIT_PRINT and add Kconfig
entry for it.
Signed-off-by: Marek Vasut
Cc: Pantelis Antoniou
Cc: Simon Glass
---
Kconfig| 6 ++
README | 2 +-
common/image-fit.c | 4 ++--
3 files changed, 9 insertions(+), 3 deletions(-)
diff -
These functions may be needed in SPL, so add empty variants of them
if CONFIG_SPL_FIT_PRINT is disabled.
Signed-off-by: Marek Vasut
Cc: Pantelis Antoniou
Cc: Simon Glass
---
common/image-fit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/common/image-fit.c b/common/im
Add support for loading U-Boot and optionally FDT from a fitImage
in SPL by using the full fitImage support from U-Boot. While we do
have limited SPL loading support in SPL with a small footprint, it
is missing a lot of important features, like checking signatures.
This support has all the fitImage
Just add IH_TYPE_STANDALONE to fit_get_image_type_property().
Signed-off-by: Marek Vasut
Cc: Pantelis Antoniou
Cc: Simon Glass
---
common/image-fit.c | 2 ++
include/image.h| 1 +
2 files changed, 3 insertions(+)
diff --git a/common/image-fit.c b/common/image-fit.c
index 98cb039376..32e34
61 matches
Mail list logo