[linux-sunxi] Re: [PATCH v2 12/19] video: sunxi: de2: switch to DT probing

2021-04-06 Thread Simon Glass
Hi Andre, On Tue, 6 Apr 2021 at 13:09, Andre Przywara wrote: > > On Sat, 6 Mar 2021 20:54:30 +0100 > Jernej Skrabec wrote: > > Hi Jernej, > > (CC:ing Simon for some DM issues below) > > > Currently DE2 driver is probed via driver info. Switch probing to device > > tree compatible string

[linux-sunxi] Re: [PATCH v3] video: sunxi_display: Convert to DM_VIDEO

2021-02-21 Thread Simon Glass
Hi Andre, On Sat, 20 Feb 2021 at 17:08, Andre Przywara wrote: > > On Sun, 7 Feb 2021 07:37:34 -0700 > Simon Glass wrote: > > Hi Simon, > > coming back to this patch, answering to the other comments I skipped > over the last time. > > In general this patch is the sh

[linux-sunxi] Re: [PATCH] fdt/sunxi: Remove OF_STDOUT_PATH

2021-02-18 Thread Simon Glass
Hi Andre, On Thu, 18 Feb 2021 at 09:03, Andre Przywara wrote: > > On Wed, 17 Feb 2021 21:45:29 -0700 > Simon Glass wrote: > > Hi Simon, > > > On Sun, 14 Feb 2021 at 05:35, Andre Przywara wrote: > > > > > > OF_STDOUT_PATH was meant to hold the d

[linux-sunxi] Re: [PATCH] fdt/sunxi: Remove OF_STDOUT_PATH

2021-02-17 Thread Simon Glass
: Andre Przywara > --- > README | 1 - > common/fdt_support.c | 9 + > include/configs/sunxi-common.h | 18 -- > scripts/config_whitelist.txt | 1 - > 4 files changed, 1 insertion(+), 28 deletions(-) > You should teach a clas

[linux-sunxi] Re: [PATCH v3] video: sunxi_display: Convert to DM_VIDEO

2021-02-07 Thread Simon Glass
Hi Andre, On Sun, 7 Feb 2021 at 18:37, Andre Przywara wrote: > > On Sun, 7 Feb 2021 07:37:34 -0700 > Simon Glass wrote: > > Hi Simon, > > > On Thu, 4 Feb 2021 at 18:08, Andre Przywara wrote: > > > > > > From: Jagan Teki > > > > > >

[linux-sunxi] Re: [PATCH v3] video: sunxi_display: Convert to DM_VIDEO

2021-02-07 Thread Simon Glass
n simplefb setup > > arch/arm/mach-sunxi/Kconfig | 9 +- > drivers/video/sunxi/sunxi_display.c | 262 > include/configs/sunxi-common.h | 17 -- > scripts/config_whitelist.txt| 1 - > 4 files changed, 157 insertions(+), 132 deletions(-) > Reviewed

[linux-sunxi] Re: [RFC PATCH] arm: EFI: Disallow EFI bootmgr when providing PSCI

2021-01-23 Thread Simon Glass
arly in U-Boot. > > Both solutions sound rather involved, so probably require more time. > But we need to fix this breakage now. > > Cheers, > Andre > > lib/efi_loader/Kconfig | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass -- You received this mes

[linux-sunxi] Re: [PATCH v4 2/3] tools: mkimage: Add Allwinner eGON support

2021-01-07 Thread Simon Glass
.h | 1 + > tools/Makefile| 1 + > tools/sunxi_egon.c| 136 ++ > 5 files changed, 140 insertions(+) > create mode 100644 tools/sunxi_egon.c > Reviewed-by: Simon Glass -- You received this message because you are subscr

[linux-sunxi] Re: [PATCH v4 3/3] sunxi: Use mkimage for SPL boot image generation

2021-01-07 Thread Simon Glass
; scripts/Makefile.spl | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass Do we need to delete the old tool? -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group

[linux-sunxi] Re: [PATCH v3 05/13] clk: Use clk_get_by_index_tail()

2019-03-10 Thread Simon Glass
On Wed, 27 Feb 2019 at 11:57, Jagan Teki wrote: > > clk_get_by_index_tail() now handle common clk get by index > code so use it from clk_get_by_indexed_prop(). > > Cc: Stephen Warren > Cc: Simon Glass > Signed-off-by: Jagan Teki > --- > Changes for v3: > - us

[linux-sunxi] Re: [PATCH 8/9] arm: sunxi: Enable DM_MMC

2019-01-31 Thread Simon Glass
gt; Signed-off-by: Andre Przywara > --- > arch/arm/Kconfig | 1 + > arch/arm/mach-sunxi/Kconfig | 1 - > configs/Linksprite_pcDuino3_defconfig | 1 - > 3 files changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Simon Glass -- You received this message

[linux-sunxi] Re: [PATCH 9/9] mmc: sunxi: Mark end of DM_MMC #ifdefs

2019-01-31 Thread Simon Glass
ere each part ends and begins. > > Signed-off-by: Andre Przywara > --- > drivers/mmc/sunxi_mmc.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Simon Glass We should be able to remove the non-DM_MMC code now. Regards, Simon -- You received this m

[linux-sunxi] Re: [PATCH 1/3] tools: mkimage: Add missing names for imx8mimage and loadables

2018-12-29 Thread Simon Glass
; Signed-off-by: Andre Przywara > --- > common/image.c | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Simon Glass Would be good to have some tests for mkimage -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To

[linux-sunxi] Re: [PATCH 2/3] tools: mkimage: Add Allwinner eGON support

2018-12-29 Thread Simon Glass
ols/Makefile | 1 + > tools/sunxi_egon.c | 136 > + > 4 files changed, 139 insertions(+) > create mode 100644 tools/sunxi_egon.c Good idea. Reviewed-by: Simon Glass -- You received this message because you are subscribed to the Google Grou

[linux-sunxi] Re: [PATCH 3/3] sunxi: Use mkimage -T sunxi_egon for SPL boot image generation

2018-12-29 Thread Simon Glass
> scripts/Makefile.spl | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it

[linux-sunxi] Re: [RFC PATCH v2 3/6] dm: usb: Add UCLASS_USB_DEV_GENERIC shutdown

2018-08-21 Thread Simon Glass
Hi Jagan, On 17 August 2018 at 07:37, Jagan Teki wrote: > Hi Simon, > > On Fri, Aug 17, 2018 at 6:18 PM, Simon Glass wrote: >> Hi Jagan, >> >> On 7 August 2018 at 01:03, Jagan Teki wrote: >>> On Tue, Jul 24, 2018 at 5:18 AM, Simon Glass wrote: >>>&

[linux-sunxi] Re: [RFC PATCH v2 3/6] dm: usb: Add UCLASS_USB_DEV_GENERIC shutdown

2018-08-17 Thread Simon Glass
Hi Jagan, On 7 August 2018 at 01:03, Jagan Teki wrote: > On Tue, Jul 24, 2018 at 5:18 AM, Simon Glass wrote: >> Hi Jagan, >> >> On 20 July 2018 at 01:13, Jagan Teki wrote: >>> Some OTG controllers which operates on Peripheral >>> mode are registered as

[linux-sunxi] Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-03 Thread Simon Glass
Hi Andre, On 2 April 2018 at 19:00, André Przywara <andre.przyw...@arm.com> wrote: > Hi, > > On 02/04/18 03:30, Simon Glass wrote: >> >> Hi Andre, >> >> On 2 April 2018 at 09:43, André Przywara <andre.przyw...@arm.com> wrote: >>> Hi, >>

[linux-sunxi] Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Simon Glass
Hi, On 2 April 2018 at 11:07, Peter Robinson <pbrobin...@gmail.com> wrote: > On Mon, Apr 2, 2018 at 3:56 AM, Simon Glass <s...@chromium.org> wrote: >> Hi Peter, >> >> On 2 April 2018 at 10:45, Peter Robinson <pbrobin...@gmail.com> wrote: >>>

[linux-sunxi] Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Simon Glass
Hi Peter, On 2 April 2018 at 10:45, Peter Robinson <pbrobin...@gmail.com> wrote: > On Mon, Apr 2, 2018 at 3:28 AM, Simon Glass <s...@google.com> wrote: >> Hi Andre, >> >> On 2 April 2018 at 09:43, André Przywara <andre.przyw...@arm.com> wrote: >>&g

[linux-sunxi] Re: [U-Boot] [PATCH 1/3] dm: Add migration plan for CONFIG_BLK

2018-04-01 Thread Simon Glass
t;s...@google.com> wrote: >>>> Hi Tom, >>>> >>>> On 7 August 2017 at 09:39, Tom Rini <tr...@konsulko.com> wrote: >>>>> On Sat, Aug 05, 2017 at 03:45:53PM -0600, Simon Glass wrote: >>>>> >>>>>> The CONFIG_

[linux-sunxi] Re: [PATCH] EFI: find EFI system partition by legacy MBR partition type

2017-07-06 Thread Simon Glass
Hi Andre, On 6 July 2017 at 07:07, Andre Przywara wrote: > Hi, > > On 06/07/17 11:19, Thomas Schmitt wrote: >> Hi, >> >> i am the upstream developer of program xorriso which packs up Debian arm64 >> ISOs. >> >> Here is my minority opinion from a discussion with Andre

[linux-sunxi] Re: [PATCH v2 4/4] sunxi: video: Add H3/H5 TV out driver

2017-05-31 Thread Simon Glass
Hi Maxime, On 30 May 2017 at 14:41, Maxime Ripard wrote: > On Wed, May 24, 2017 at 05:34:52PM +0200, Jernej Škrabec wrote: >> Hi, >> >> Dne torek, 23. maj 2017 ob 22:22:14 CEST je Maxime Ripard napisal(a): >> > Hi Jernej, >> > >> > On Mon, May 22, 2017 at

[linux-sunxi] Re: [PATCH v2 1/4] sunxi: video: Rename tve.c to tve_common.c

2017-05-22 Thread Simon Glass
ultiple drivers. > > Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> > --- > > drivers/video/sunxi/Makefile| 2 +- > drivers/video/sunxi/{tve.c => tve_common.c} | 0 > 2 files changed, 1 insertion(+), 1 deletion(-) > rename drivers/video/sunxi/{tve

[linux-sunxi] Re: [PATCH v2 3/4] sunxi: video: Add support for CSC and TVE to DE2 driver

2017-05-22 Thread Simon Glass
-- > 2 files changed, 65 insertions(+), 12 deletions(-) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it

[linux-sunxi] Re: [PATCHv6 12/28] net: Add ability to set MAC address via EEPROM

2017-05-17 Thread Simon Glass
Hi Oliver, On 15 May 2017 at 02:02, Olliver Schinagl wrote: > This patch allows Kconfig to enable and set parameters to make it > possible to read the MAC address from an EEPROM. The net core layer then > uses this information to read MAC addresses from this EEPROM. > >

[linux-sunxi] Re: [PATCHv6 24/28] net: dw: Expose designware_eth_start

2017-05-17 Thread Simon Glass
t as well. > > Signed-off-by: Olliver Schinagl <oli...@schinagl.nl> > --- > drivers/net/designware.c | 2 +- > drivers/net/designware.h | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message becaus

[linux-sunxi] Re: [PATCH 3/3] sunxi: video: Add H3/H5 TV out driver

2017-05-15 Thread Simon Glass
Hi Maxime, On 15 May 2017 at 00:11, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > On Sun, May 14, 2017 at 09:03:19PM -0600, Simon Glass wrote: >> Hi, >> >> On 12 May 2017 at 10:06, Maxime Ripard <maxime.rip...@free-electrons.com> >> wrote: >

[linux-sunxi] Re: [PATCH 1/3] sunxi: video: Split out TVE code

2017-05-14 Thread Simon Glass
drivers/video/sunxi/tve.c | 86 > 5 files changed, 230 insertions(+), 169 deletions(-) > create mode 100644 arch/arm/include/asm/arch-sunxi/tve.h > create mode 100644 drivers/video/sunxi/tve.c Reviewed-by: Simon Glass <s...@chromium.org> -- You received this

[linux-sunxi] Re: [PATCH 3/3] sunxi: video: Add H3/H5 TV out driver

2017-05-14 Thread Simon Glass
Hi, On 12 May 2017 at 10:06, Maxime Ripard wrote: > Hi Jernej, > > The patch content looks fine, but there's a few things that would need > to be addressed. > > On Wed, May 10, 2017 at 06:46:30PM +0200, Jernej Skrabec wrote: >> This commit adds support for TV

[linux-sunxi] Re: [PATCHv2 03/21] net: core: Inform the user of the device MAC address

2017-04-15 Thread Simon Glass
Hi Oliver, On 10 April 2017 at 09:33, Olliver Schinagl wrote: > In certain conditions we currently print the MAC address. For example a > warning when a random mac address is in use or a missmatch between HW > and ENV. > > If all things went well however (but even if there is

[linux-sunxi] Re: [PATCHv2 01/21] net: cosmetic: Do not use magic values for ARP_HLEN

2017-04-13 Thread Simon Glass
et/eth_common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop re

[linux-sunxi] Re: [PATCHv2 02/21] net: core: Sanitize get/set operations for enetaddr

2017-04-13 Thread Simon Glass
common/fdt_support.c | 2 +- > include/net.h| 1 + > net/eth_common.c | 14 +- > 3 files changed, 11 insertions(+), 6 deletions(-) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "li

[linux-sunxi] Re: [PATCH v2 00/18] SPL: extend FIT loading support

2017-03-31 Thread Simon Glass
Hi Andre, On 27 March 2017 at 18:45, Andre Przywara wrote: > A fixed version of the SPL FIT loading series. > The error handling has been improved, also quite some comments and > documentation has been added. > The README.pine64 file has been totally reworked to reflect

[linux-sunxi] Re: [PATCH 16/17] sunxi: Store the device tree name in the SPL header

2017-03-31 Thread Simon Glass
Hi Andre, On 26 March 2017 at 19:18, André Przywara <andre.przyw...@arm.com> wrote: > On 08/03/17 21:01, Simon Glass wrote: > > Hi Simon, > > many thanks for the review, finally found some time to look at this. > I have finished the needed rework (including docume

[linux-sunxi] Re: [PATCH 05/17] SPL: FIT: allow loading multiple images

2017-03-31 Thread Simon Glass
Hi Andre, On 26 March 2017 at 19:19, André Przywara <andre.przyw...@arm.com> wrote: > On 08/03/17 21:00, Simon Glass wrote: >> Hi Andre, >> >> On 28 February 2017 at 19:25, Andre Przywara <andre.przyw...@arm.com> wrote: >>> So far we were not using

[linux-sunxi] Re: [PATCH v2 0/7] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-03-31 Thread Simon Glass
Hi Jernej, On 20 March 2017 at 16:01, Jernej Skrabec wrote: > This series implements support for HDMI output. This is done using > DM video framework and sharing the HDMI controller code with RK3288. > > Patch 1 splits out RK3288 HDMI code in a way that it is appropriate

[linux-sunxi] Re: [PATCH v2 3/7] sunxi: video: Convert lcdc to use struct display_timing

2017-03-31 Thread Simon Glass
t; Changes in v2: > - new patch > > arch/arm/include/asm/arch-sunxi/lcdc.h | 6 ++-- > drivers/video/sunxi/lcdc.c | 64 > -- > drivers/video/sunxi/sunxi_display.c| 35 +-- > 3 files changed, 67 insertions(+), 38 d

[linux-sunxi] Re: [PATCH v2 1/7] rockchip: video: Split out HDMI controller code

2017-03-25 Thread Simon Glass
MI phy. > Support custom phys by making controller code independent from phy code. > > Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> > Tested-by: Nickey Yang <nickey.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > Changes

[linux-sunxi] Re: [PATCH 2/8] rockchip: video: Remove CSC initialization (HDMI)

2017-03-14 Thread Simon Glass
On 13 March 2017 at 06:33, Simon Glass <s...@chromium.org> wrote: > On 8 March 2017 at 16:34, Jernej Skrabec <jernej.skra...@siol.net> wrote: >> Despite the comment in the code, CSC unit is never used. According to >> the only public description of DW HDMI controller

[linux-sunxi] Re: [PATCH 1/8] rockchip: video: Fix HDMI audio clocks

2017-03-14 Thread Simon Glass
On 13 March 2017 at 06:33, Simon Glass <s...@chromium.org> wrote: > On 8 March 2017 at 16:34, Jernej Skrabec <jernej.skra...@siol.net> wrote: >> Function hdmi_lookup_n_cts() is feed with clock in Hz, which gets >> compared with clocks in kHz. Fix that by converting all

[linux-sunxi] Re: [PATCH 3/8] rockchip: video: Split out HDMI controller code

2017-03-13 Thread Simon Glass
| 486 ++ > 6 files changed, 1275 insertions(+), 1191 deletions(-) > delete mode 100644 arch/arm/include/asm/arch-rockchip/hdmi_rk3288.h > create mode 100644 drivers/video/dw_hdmi.c > create mode 100644 include/dw_hdmi.h Reviewed-by: Simon Glass <s...@chromium.o

[linux-sunxi] Re: [PATCH 5/8] sunxi: Add clock support for DE2/HDMI/TCON on newer SoCs

2017-03-13 Thread Simon Glass
whitelist.txt | 1 + > 6 files changed, 104 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass <s...@chromium.org> Please see below. > > diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6i.h > b/arch/arm/include/asm/arch-sunxi/clock_sun6i.h > index

[linux-sunxi] Re: [PATCH 6/8] sunxi: video: Add A64/H3/H5 HDMI driver

2017-03-13 Thread Simon Glass
+++ > include/configs/sunxi-common.h | 5 + > 7 files changed, 795 insertions(+) > create mode 100644 arch/arm/include/asm/arch-sunxi/display2.h > create mode 100644 drivers/video/sunxi/sunxi_de2.c > create mode 100644 drivers/video/sunxi/sunxi_d

[linux-sunxi] Re: [PATCH 1/8] rockchip: video: Fix HDMI audio clocks

2017-03-13 Thread Simon Glass
> --- > > drivers/video/rockchip/rk_hdmi.c | 32 > 1 file changed, 16 insertions(+), 16 deletions(-) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi&

[linux-sunxi] Re: [PATCH 2/8] rockchip: video: Remove CSC initialization (HDMI)

2017-03-13 Thread Simon Glass
powered > down in MC_CLKDIS register. > > Signed-off-by: Jernej Skrabec <jernej.skra...@siol.net> > --- > > drivers/video/rockchip/rk_hdmi.c | 39 --- > 1 file changed, 39 deletions(-) Reviewed-by: Simon Glass <s...@chromium.or

[linux-sunxi] Re: [PATCH 12/17] Makefile: add rules to generate SPL FIT images

2017-03-08 Thread Simon Glass
atform or board can define either of those in their defconfig file > to allow an easy building of such an image. > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > --- > Kconfig | 17 + > Makefile | 20 ++++ > 2 files changed, 3

[linux-sunxi] Re: [PATCH 11/17] sunxi: SPL: add FIT config selector for Pine64 boards

2017-03-08 Thread Simon Glass
oard.c | 23 +++ > 1 file changed, 23 insertions(+) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails fro

[linux-sunxi] Re: [PATCH 17/17] sunxi: use SPL header DT name for FIT board matching

2017-03-08 Thread Simon Glass
f-by: Andre Przywara <andre.przyw...@arm.com> > --- > board/sunxi/board.c | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(-) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "

[linux-sunxi] Re: [PATCH 13/17] sunxi: A64: Pine64: introduce FIT generator script

2017-03-08 Thread Simon Glass
l31.bin) into > the U-Boot source directory (or to create a symlink to it). > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > --- > board/sunxi/mksunxi_fit_atf.sh | 73 > ++ > 1 file changed, 73 insertions(+) > create

[linux-sunxi] Re: [PATCH 16/17] sunxi: Store the device tree name in the SPL header

2017-03-08 Thread Simon Glass
Hi Andre, On 28 February 2017 at 19:25, Andre Przywara wrote: > From: Siarhei Siamashka > > This patch updates the mksunxiboot tool to optionally add > the default device tree name string to the SPL header. This > information can be used by

[linux-sunxi] Re: [PATCH 10/17] sunxi: SPL: store RAM size in gd

2017-03-08 Thread Simon Glass
gt; Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > --- > board/sunxi/board.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Gro

[linux-sunxi] Re: [PATCH 02/17] SPL: FIT: refactor FDT loading

2017-03-08 Thread Simon Glass
Hi Andre, On 3 March 2017 at 04:09, Andre Przywara <andre.przyw...@arm.com> wrote: > Hi Simon, > > On 03/03/17 04:53, Simon Glass wrote: >> Hi Andre, >> >> On 28 February 2017 at 19:25, Andre Przywara <andre.przyw...@arm.com> wrote: >>> Currentl

[linux-sunxi] Re: [PATCH 08/17] armv8: fsl: move ccn504 code into FSL Makefile

2017-03-08 Thread Simon Glass
Hi Andre, On 28 February 2017 at 19:25, Andre Przywara wrote: > The generic ARMv8 assembly code contains routines for setting up > a CCN interconnect, though the Freescale SoCs are the only user. > Link this code only for Freescale targets, this saves some precious >

[linux-sunxi] Re: [PATCH 15/17] sunxi: OrangePi-PC2: defconfig: enable SPL FIT support

2017-03-08 Thread Simon Glass
com> > --- > configs/orangepi_pc2_defconfig | 6 ++ > 1 file changed, 6 insertions(+) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiv

[linux-sunxi] Re: [PATCH 04/17] SPL: FIT: factor out spl_load_fit_image()

2017-03-08 Thread Simon Glass
Hi Andre, On 28 February 2017 at 19:25, Andre Przywara wrote: > At the moment we load two images from a FIT image: the actual U-Boot > image and the DTB. Both times we have very similar code to deal with > alignment requirement the media we load from imposes upon us. >

[linux-sunxi] Re: [PATCH 07/17] armv8: SPL: only compile GIC code if needed

2017-03-08 Thread Simon Glass
ff-by: Andre Przywara <andre.przyw...@arm.com> > --- > arch/arm/lib/Makefile | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To u

[linux-sunxi] Re: [PATCH 06/17] tools: mksunxiboot: allow larger SPL binaries

2017-03-08 Thread Simon Glass
/mksunxiboot.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from i

[linux-sunxi] Re: [PATCH 09/17] sunxi: A64: move SPL stack to end of SRAM A2

2017-03-08 Thread Simon Glass
L stack to the end of SRAM A2, which is unused at this > time. > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > --- > include/configs/sunxi-common.h | 5 + > 1 file changed, 5 insertions(+) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this

[linux-sunxi] Re: [PATCH 05/17] SPL: FIT: allow loading multiple images

2017-03-08 Thread Simon Glass
Hi Andre, On 28 February 2017 at 19:25, Andre Przywara wrote: > So far we were not using the FIT image format to its full potential: > The SPL FIT loader was just loading the first image from the /images > node plus one of the listed DTBs. > Now with the refactored loader

[linux-sunxi] Re: [PATCH 03/17] SPL: FIT: rework U-Boot image loading

2017-03-02 Thread Simon Glass
ommon/spl/spl_fit.c | 34 ------ > 1 file changed, 20 insertions(+), 14 deletions(-) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsub

[linux-sunxi] Re: [PATCH 02/17] SPL: FIT: refactor FDT loading

2017-03-02 Thread Simon Glass
ieces, it is very valuable and you are an example to us all :-) > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > --- > common/spl/spl_fit.c | 83 > > 1 file changed, 52 insertions(+), 31 deletions(-). Reviewed-by:

[linux-sunxi] Re: [RFC PATCH 00/11] extend FIT loading support (plus Pine64/ATF support)

2017-02-06 Thread Simon Glass
Hi Andre, On 27 January 2017 at 17:47, André Przywara <andre.przyw...@arm.com> wrote: > On 27/01/17 21:29, Simon Glass wrote: > > Hi Simon, > >> On 19 January 2017 at 18:53, Andre Przywara <andre.przyw...@arm.com> wrote: >>> Currently the FIT format is no

[linux-sunxi] Re: [RFC PATCH 02/11] SPL: FIT: rework U-Boot image loading

2017-01-27 Thread Simon Glass
ommon/spl/spl_fit.c | 34 ------ > 1 file changed, 20 insertions(+), 14 deletions(-) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsub

[linux-sunxi] Re: [RFC PATCH 00/11] extend FIT loading support (plus Pine64/ATF support)

2017-01-27 Thread Simon Glass
Hi Andre, On 19 January 2017 at 18:53, Andre Przywara wrote: > Currently the FIT format is not used to its full potential in the SPL: > It only loads the first image from the /images node and appends the > proper FDT. > Some boards and platforms would benefit from loading

[linux-sunxi] Re: [RFC PATCH 01/11] SPL: FIT: refactor FDT loading

2017-01-27 Thread Simon Glass
hard-to-read patch, so I > recommend to throw a look at the result instead). > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > --- > common/spl/spl_fit.c | 82 > > 1 file changed, 51 insertions(+), 31 deletions(-

[linux-sunxi] Re: [U-Boot] [PATCH 06/12] SPI: SPL: sunxi: fix 64-bit build

2017-01-19 Thread Simon Glass
ulong spi_tc_reg, >> + ulong spi_bcc_reg) >> { >> writel(4 + bufsize, spi_bc_reg); /* Burst counter (total bytes) */ >> writel(4, spi_tc_reg); /* Transfer counter (bytes to send) */ We normally use ulong for addresse

[linux-sunxi] Re: [PATCH v4 26/26] sunxi: A64: add 32-bit SPL support

2017-01-12 Thread Simon Glass
Hi Andre, On 2 January 2017 at 04:48, Andre Przywara wrote: > When compiling the SPL for the Allwinner A64 in AArch64 mode, we can't > use the more compact Thumb2 encoding, which only exists for AArch32 > code. This makes the SPL rather big, up to a point where any code >

[linux-sunxi] Re: [RFC PATCH 0/3] sunxi: video: Add support for HDMI output on H3

2016-12-17 Thread Simon Glass
Hi, On 14 December 2016 at 01:37, Hans de Goede <hdego...@redhat.com> wrote: > Hi, > > On 13-12-16 21:28, Simon Glass wrote: >> >> Hi, >> >> On 12 December 2016 at 19:36, Jernej Skrabec <jernej.skra...@siol.net> >> wrote: >>> >>

[linux-sunxi] Re: [RFC PATCH 0/3] sunxi: video: Add support for HDMI output on H3

2016-12-13 Thread Simon Glass
Hi, On 12 December 2016 at 19:36, Jernej Skrabec wrote: > This patch series add support for HDMI output. Support for other, > newer, SoCs, which also uses DE2 and same or similar HDMI controller > and PHY can be easily added later (A83T/A64/H5/R40). Current driver > can

[linux-sunxi] Re: [U-Boot] [PATCH 12/14] fdt: eth_fixup: Add hook for board to override MAC

2016-12-11 Thread Simon Glass
Hi Oliver, On 9 December 2016 at 02:25, Olliver Schinagl <oli...@schinagl.nl> wrote: > Hey simon > > On December 8, 2016 11:21:32 PM CET, Simon Glass <s...@chromium.org> wrote: >>Hi Oliver, >> >>On 7 December 2016 at 02:26, Olliver Schinagl <oli...@schin

[linux-sunxi] Re: [U-Boot] [PATCH 12/14] fdt: eth_fixup: Add hook for board to override MAC

2016-12-08 Thread Simon Glass
Hi Oliver, On 7 December 2016 at 02:26, Olliver Schinagl <oli...@schinagl.nl> wrote: > > > On December 7, 2016 4:47:23 AM CET, Simon Glass <s...@chromium.org> wrote: >>Hi Oliver, >> >>On 5 December 2016 at 03:28, Olliver Schinagl <oli...@schinagl.nl>

[linux-sunxi] Re: [U-Boot] [PATCH 12/14] fdt: eth_fixup: Add hook for board to override MAC

2016-12-06 Thread Simon Glass
Hi Oliver, On 5 December 2016 at 03:28, Olliver Schinagl <oli...@schinagl.nl> wrote: > Hey Simon, > > > > On 05-12-16 07:24, Simon Glass wrote: >> >> Hi Oliver, >> >> On 2 December 2016 at 03:16, Olliver Schinagl <oli...@schinagl.nl> wrote: >

[linux-sunxi] Re: [U-Boot] [PATCH 12/14] fdt: eth_fixup: Add hook for board to override MAC

2016-12-04 Thread Simon Glass
Hi Oliver, On 2 December 2016 at 03:16, Olliver Schinagl wrote: > Hey Joe, > > > > On 30-11-16 21:40, Joe Hershberger wrote: >> >> On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl >> wrote: >>> >>> This patch adds a method for the board to set the MAC

[linux-sunxi] Re: [PATCH 12/14] fdt: eth_fixup: Add hook for board to override MAC

2016-11-30 Thread Simon Glass
Hi, On 25 November 2016 at 08:30, Olliver Schinagl wrote: > This patch adds a method for the board to set the MAC address if the > environment is not yet set. The environment based MAC addresses are not > touched, but if the fdt has an alias set, it is parsed and put into the

[linux-sunxi] Re: [U-Boot] [PATCH 1/6] net: dw: Add read_rom_hwaddr net_op hook

2016-11-29 Thread Simon Glass
Hi Oliver, On 28 November 2016 at 03:38, Olliver Schinagl <oli...@schinagl.nl> wrote: > On 27-11-16 18:02, Simon Glass wrote: >> >> Hi, >> >> On 25 November 2016 at 08:38, Olliver Schinagl <oli...@schinagl.nl> wrote: >>> >>> Add the read_ro

[linux-sunxi] Re: [U-Boot] [PATCH 01/11] net: dw: Add read_rom_hwaddr net_op hook

2016-11-29 Thread Simon Glass
Hi Joe, On 29 November 2016 at 14:24, Joe Hershberger <joe.hershber...@gmail.com> wrote: > > Hi Simon, > > On Thu, Nov 17, 2016 at 7:13 PM, Simon Glass <s...@chromium.org> wrote: > > Hi Oliver, > > > > On 8 November 2016 at 08:54, Olliver Sch

[linux-sunxi] Re: [U-Boot] [PATCH 1/6] net: dw: Add read_rom_hwaddr net_op hook

2016-11-27 Thread Simon Glass
Hi, On 25 November 2016 at 08:38, Olliver Schinagl wrote: > Add the read_rom_hwaddr net_op hook so that it can be called from boards > to read the mac from a ROM chip. > > Signed-off-by: Olliver Schinagl > --- > drivers/net/designware.c | 16

[linux-sunxi] Re: [PATCH 01/11] net: dw: Add read_rom_hwaddr net_op hook

2016-11-17 Thread Simon Glass
Hi Oliver, On 8 November 2016 at 08:54, Olliver Schinagl wrote: > Add the read_rom_hwaddr net_op hook so that it can be called from boards > to read the mac from a ROM chip. > > Signed-off-by: Olliver Schinagl > --- > drivers/net/designware.c | 18

[linux-sunxi] Re: [PATCH 11/11] tools: Add tool to add crc8 to a mac address

2016-11-11 Thread Simon Glass
Hi Olliver, (is it one l or two?) On 8 November 2016 at 08:54, Olliver Schinagl wrote: > This patch adds a little tool that takes a generic MAC address and > generates a CRC byte for it. The output is the full MAC address without > any separators, ready written into an

[linux-sunxi] Re: [PATCH 10/11] tools: Allow crc8 to be used

2016-11-11 Thread Simon Glass
ger <joe.hershber...@ni.com> > --- > include/u-boot/crc.h | 3 +++ > tools/Makefile | 1 + > 2 files changed, 4 insertions(+) Reviewed-by: Simon Glass <s...@chromium.org> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group.

[linux-sunxi] Re: [PATCH v2] sunxi: Support booting from SPI flash

2016-06-10 Thread Simon Glass
On 9 June 2016 at 22:28, Siarhei Siamashka <siarhei.siamas...@gmail.com> wrote: > On Thu, 9 Jun 2016 19:42:55 -0700 > Simon Glass <s...@chromium.org> wrote: > >> Hi, >> >> On 9 June 2016 at 18:33, Siarhei Siamashka <siarhei.siamas...@gmail.com> >

[linux-sunxi] Re: [PATCH v2] sunxi: Support booting from SPI flash

2016-06-09 Thread Simon Glass
Hi, On 7 June 2016 at 05:28, Siarhei Siamashka wrote: > Allwinner devices support SPI flash as one of the possible > bootable media type. The SPI flash chip needs to be connected > to SPI0 pins (port C) to make this work. More information is > available at: > >

[linux-sunxi] Re: [PATCH sunxi-tools v2 0/2] Support unified u-boot SPL for SD cards and FEL mode

2015-02-09 Thread Simon Glass
Hi Siarhei, On 8 February 2015 at 19:37, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: An updated variant of the older patch http://lists.denx.de/pipermail/u-boot/2015-February/204024.html These patches are not for the u-boot code (unless u-boot decides to cannibalize the 'fel'

[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig

2015-01-25 Thread Simon Glass
Hi Adam, On 25 January 2015 at 08:24, Adam Sampson a...@offog.org wrote: This is a low-cost Allwinner A20 board with Arduino-style GPIO headers; it features 1G RAM, 4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro USB socket for OTG and another for power in, HDMI, SATA, 5V power for SATA

Re: [U-Boot] [linux-sunxi] Mainline U-Boot, EHCI, usbkbd not working (workaround)

2015-01-05 Thread Simon Glass
Hi Hans, On 5 January 2015 at 00:10, Hans de Goede hdego...@redhat.com wrote: Hi, On 05-01-15 03:49, Simon Glass wrote: Hi Hans, On 4 January 2015 at 12:05, Hans de Goede hdego...@redhat.com wrote: Hi, On 04-01-15 19:21, B.R. Oake wrote: (This started on the linux-sunxi mailing

Re: [U-Boot] [linux-sunxi] Mainline U-Boot, EHCI, usbkbd not working (workaround)

2015-01-04 Thread Simon Glass
Hi Hans, On 4 January 2015 at 12:05, Hans de Goede hdego...@redhat.com wrote: Hi, On 04-01-15 19:21, B.R. Oake wrote: (This started on the linux-sunxi mailing list but will hopefully be of interest on the U-Boot list) On 04/01/15 13:45, Lars Doelle wrote: while testing with mainline