-by: Olliver Schinagl
---
arch/arm/mach-zynq/spl.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-zynq/spl.c b/arch/arm/mach-zynq/spl.c
index 96ba90fb7a..4cc0324ba6 100644
--- a/arch/arm/mach-zynq/spl.c
+++ b/arch/arm/mach-zynq/spl.c
@@ -40,8 +40,10 @@ void
The zynq architecture depends on SPL_STACK_R_ADDR to be set, and thus it
makes sense for the ARCH_ZYNQ to depend on SPL_STACK_R. Further more
that address needs to have a sane default. So lets follow the OMAP2PLUS
and set a default for the Zynq as well.
Signed-off-by: Olliver Schinagl
---
arch
: undefined reference to `ulpi_write'
drivers/usb/host/ehci-zynq.c:63: undefined reference to `ulpi_write'
drivers/usb/host/ehci-zynq.c:66: undefined reference to `ulpi_write'
drivers/usb/host/ehci-zynq.c:69: undefined reference to `ulpi_write'
Signed-off-by: Olliver Schinagl
also.
Signed-off-by: Olliver Schinagl
---
drivers/serial/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index bd95f70b61..292bdb2a2f 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -292,6 +292,7 @@ config
].fpga_size;
^
Signed-off-by: Olliver Schinagl
---
drivers/fpga/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
index fe398a1d49..1d2df617d0 100644
--- a/drivers/fpga/Kconfig
+++ b/drivers/fpga/Kconfig
-by: Olliver Schinagl
---
cmd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 6e1efaaf85..0925236c0c 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -924,6 +924,7 @@ config CMD_FPGA_LOAD_SECURE
config CMD_FPGAD
bool "fpgad - dump FPGA regi
Hey André,
On 31-12-2018 14:10, André Przywara wrote:
On 31/12/2018 11:27, Michael Trimarchi wrote:
Hi
On Mon, Dec 31, 2018 at 11:34:51AM +0100, Olliver Schinagl wrote:
Hey André,
On 31-12-2018 00:23, André Przywara wrote:
On 29/12/2018 22:10, Olliver Schinagl wrote:
Hi Olliver,
Luckily
Hey André,
On 31-12-2018 00:23, André Przywara wrote:
On 29/12/2018 22:10, Olliver Schinagl wrote:
Hi Olliver,
Luckily we have had no problem with this on our boards, but its sad to
see this patch reverted due to the buggy ddr implementation ...
This whole SPL is quite a sensitive
Luckily we have had no problem with this on our boards, but its sad to see this
patch reverted due to the buggy ddr implementation ...
Curiosity is getting the better of me and I cant seem to be able to reproduce
the problem. So could you be a little bit more specific on the bug please?
On
On 21-11-18 19:13, Priit Laes wrote:
> On Wed, Nov 21, 2018 at 08:05:24PM +0200, Priit Laes wrote:
>> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3" series,
>> posted by Olliver Schinagl in March 2017. Unfortunately it never got past
>> initial
gh mmc3 some boards used as eMMC.
>>>
>>> So, update the default fastboot device as 2 to make the
>>> standard usage irrespective of DT node status.
>>>
>>> Other corner cases like different device usage, or specific
>>> mmc node status is not enabled in order
Hi all,
On 20-07-18 13:09, Michal Simek wrote:
On 20.7.2018 08:12, Luis Araneda wrote:
Hi Michal,
On Thu, Jul 19, 2018 at 3:28 AM Michal Simek wrote:
Please take a look at
https://lists.denx.de/pipermail/u-boot/2016-November/274068.html which
was the series which should replace all these
Ping,
any reason this hasn't been merged yet? :)
Olliver
On 12-05-17 18:52, Maxime Ripard wrote:
On Fri, May 12, 2017 at 11:38:52AM +0200, Olliver Schinagl wrote:
This patch series adds support for the Olimex OLinuXino Lime2 eMMC. This
assembly variant uses eMMC flash instead of NAND
Hey Tom,
On 15-05-17 14:53, Tom Rini wrote:
On Mon, May 15, 2017 at 10:02:30AM +0200, Olliver Schinagl wrote:
Currently, we print that the MAC from the SROM does not match. It can be
many forms of ROM, so lets drop the S.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
--
Hey Maxime,
On 15-05-17 10:22, Maxime Ripard wrote:
On Mon, May 15, 2017 at 10:02:41AM +0200, Olliver Schinagl wrote:
With this patch sun7i_mac can now get the MAC address from the board in
a predetermined board specific manner.
Signed-off-by: Olliver Schinagl <oli...@schinagl
Hey Maxime,
On 15-05-17 10:18, Maxime Ripard wrote:
On Mon, May 15, 2017 at 10:02:28AM +0200, 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
With this patch sun8i_emac can now get the MAC address from the board in
a predetermined board specific manner.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Makefile | 2 +-
drivers/net/sun8i_emac.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff
With commit 2681e78a5ee ("configs: Re-sync") we lost the EEPROM settings
from the defconfig files. Let us re-add them.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
configs/A10-OLinuXino-Lime_defconfig | 3 +++
configs/A20-OLinuXino-Lime2-eMMC_defconfig | 3
Hey all,
On 15-05-17 10:02, Olliver Schinagl wrote:
This patch-series introduces methods to retrieve the MAC address from an
onboard EEPROM. The series does a few small cleanups at the start, as either
I ran into them while doing this series and fixed them along the way or
actually depended
in the
FDT. Once that is changed, we can clean up some more.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
arch/arm/include/asm/arch-sunxi/sys_proto.h | 2 +
board/sunxi/board.c | 146 ++--
2 files changed, 95 insertions(+), 53 del
Previously overlooked magic value in commit a40db6d51171 ("net: cosmetic: Do
not use magic values for ARP_HLEN")
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
include/net.h| 4 ++--
net/eth_common.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff
both these helper functions
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
include/net.h | 43 ---
1 file changed, 40 insertions(+), 3 deletions(-)
diff --git a/include/net.h b/include/net.h
index ad2a8a3678..00677a0a89 100644
--- a/include
Commit e72ced234045f ("net: designware: Export the operation functions")
started to expose some of the net_ops. The sunxi_gmac glue driver also
needs the start function, so let us expose that as well.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/
print the final MAC address of the device with which it has been
setup.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
net/eth-uclass.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index c3cc3152a2..781376955a
The sun[8x]i network drivers have some common functions. Let's introduce
a common file with the reading of the MAC address as a start.
In the future, we can move more sunxi shared/common code into this file.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/sunxi_co
.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
arch/arm/mach-sunxi/Kconfig| 8 +--
configs/A10-OLinuXino-Lime_defconfig | 1 -
configs/A20-OLinuXino-Lime2-eMMC_defconfig | 1 -
configs/A20-OLinuXino-Lime2_defconfig | 1 -
configs/A20-OLinuXino-Lime_def
With this patch sun7i_mac can now get the MAC address from the board in
a predetermined board specific manner.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Makefile| 2 +-
drivers/net/sun7i_mac.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff
The GMAC_TX_DELAY symbol sets and is dependent on the SUN7I_GMAC
driver. Move it from the generic ARCH section to the driver specific
section.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
arch/arm/mach-sunxi/Kconfig | 6 --
drivers/net/Kconfig | 7 +++
2 files c
for bitfields as well.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Makefile | 2 +-
drivers/net/{sunxi_emac.c => sun4i_mac.c} | 260 +++---
2 files changed, 133 insertions(+), 129 deletions(-)
rename dr
ed-off-by: Emmanuel Vadot <m...@bidouilliste.com>
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Currently, we print that the MAC from the SROM does not match. It can be
many forms of ROM, so lets drop the S.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
net/eth_legacy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/eth_legacy.c b/net/eth_legacy.c
With many potential places where a MAC address can be read from, the
user may not know where the MAC address originated from. Print the MAC
source after initializing the Ethernet device.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
include/net.h| 14 ++
n
Expose the write_hwaddr net_ops hook to write the Ethernet address.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/sunxi_emac.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c
index 99339db4bf..0dc3
Currently, we silently ignore the return value of netops->read_rom_hwaddr().
This naturally is bad and we should check if the code ran successfully.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
net/eth-uclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
d
Commit 8728c97eff5bd9 (" configs: Re-sync") potentially broke the lime2
as it removed the RTL8211X_PHY_FORCE_MASTER flag.
Re-add this flag.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
configs/A20-OLinuXino-Lime2_defconfig | 1 +
configs/A20-Olimex-SOM-EVB_defconfig
This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
storage.
https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
It is a assembly variant of the regular Lime2 but featuring eMMC for
storage.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
ength.
Additionally use the define in fdt parser where the ethaddr variables
are also used.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
common/fdt_support.c | 2 +-
include/net.h| 1 +
net/eth_common.c | 14 +-
3 files changed, 11 insertions(+), 6 deletio
Add the CONFIG_PHY_GIGE option as a hidden Kconfig symbol so that we
can select it from the menu as a dependency.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Kconfig| 4
include/configs/sunxi-common.h | 1 -
2 files changed, 4 insertions(+), 1 de
: sunxi: Change node name for pwrseq pin on
Olinuxino-lime2-emmc
Olliver Schinagl (27):
sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC
net: core: Add PHY_GIGE as a Kconfig symbol
net: sunxi simplify defconfig
net: sunxi: Re-add RTL8211X_PHY_FORCE_MASTER
net: sunxi: Restore sunxi_
This patch removes the old sunxi_gmac glue layer and turns it into a
proper sub-class driver.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
arch/arm/mach-sunxi/board.c | 1 -
board/sunxi/Makefile | 1 -
drivers/net/Ma
Fix a few whitespaces errors in the sun8i driver.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Kconfig | 8
drivers/net/sun8i_emac.c | 12 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/net/Kconfig b/drive
With this patch sun4i_mac can now get the MAC address from the board in
a predetermined board specific manner.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Makefile| 2 +-
drivers/net/sun4i_mac.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff
Currently when checking for an error in ethernet aliases in the fdt, we
only check for the error case -1. It is safer to ignore anything < 0.
By rearranging logic a bit we can now also reduce identation.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
common/fdt_suppo
In fdt_support.c we use a loop to parse the mac address string from the
fdt blob, net.h has a function for this however, so lets use it.
Also, rename the variable from tmp to something more descriptive.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
common/fdt_support.
the CONFIG_SUNXI_GMAC symbol into the SUN7I_GMAC and
the SUN7I_EMAC symbol, where the SUN7I_EMAC indicates a MII connected
designware IP.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
configs/A20-OLinuXino-Lime2-eMMC_defconfig | 2 --
configs/A20-OLinuXino-Lime2_defconfig | 2 --
c
to a safe default.
This patch restores that behavior by adding the PHY_REALTEK to the
defconfigs, where they belong and by setting the address based on the
new config symbols.
Additionally, we use the new renamed symbol in the Makefiles to
actually compile the drivers.
Signed-off-by: Olliver Sch
This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
storage.
https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
It is a assembly variant of the regular Lime2 but featuring eMMC for
storage.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
ed-off-by: Emmanuel Vadot <m...@bidouilliste.com>
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
-by to Emanuel's upstream kernel pach
Changes since v2:
* Converted these two patches into a patch-series
Changes since v1:
* Rebased with master
Emmanuel Vadot (1):
ARM: dts: sunxi: Change node name for pwrseq pin on
Olinuxino-lime2-emmc
Olliver Schinagl (1):
sun7i: Add support for Olimex
I can resend it if everything else is okay
On 05-05-17 10:02, Maxime Ripard wrote:
On Thu, May 04, 2017 at 11:57:06AM +0200, Olliver Schinagl wrote:
From: Emmanuel Vadot <m...@bidouilliste.com>
The node name for the power seq pin is mmc2@0 like the mmc2_pins_a one.
This makes the or
From: Emmanuel Vadot
The node name for the power seq pin is mmc2@0 like the mmc2_pins_a one.
This makes the original node (mmc2_pins_a) scrapped out of the dtb and
result in a unusable eMMC if U-Boot didn't configured the pins to the
correct functions.
Signed-off-by:
This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
storage.
https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
It is a assembly variant of the regular Lime2 but featuring eMMC for
storage.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
node name for pwrseq pin on
Olinuxino-lime2-emmc
Olliver Schinagl (1):
sun7i: Add support for Olimex A20-OLinuXino-LIME2-eMMC
arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts | 2 +-
board/sunxi/MAINTAINERS | 5
configs/A20-OLinuXino-Lime2-eMMC_defconfig
Hey Maxime,
On 04-05-17 11:43, Maxime Ripard wrote:
Hi,
On Thu, May 04, 2017 at 11:00:31AM +0200, Olliver Schinagl wrote:
Sync the sun7i-a20-olinuxino-lime2-emmc.dts with the upstream kernel,
which fixes the power-sequencing pin being wrongfully set up.
You have a dependency between two
Sync the sun7i-a20-olinuxino-lime2-emmc.dts with the upstream kernel,
which fixes the power-sequencing pin being wrongfully set up.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts | 8 +++-
1 file changed, 3 insertions(+), 5 del
Hey ChenYu
On 04-05-17 10:48, Chen-Yu Tsai wrote:
On Thu, May 4, 2017 at 4:44 PM, Olliver Schinagl <oli...@schinagl.nl> wrote:
Hey Maxime,
On 04-05-17 10:43, Maxime Ripard wrote:
On Wed, May 03, 2017 at 04:40:02PM +0200, Olliver Schinagl wrote:
This patch adds support for the
Hey Maxime,
On 04-05-17 10:43, Maxime Ripard wrote:
On Wed, May 03, 2017 at 04:40:02PM +0200, Olliver Schinagl wrote:
This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
storage.
https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
It is a assembly
This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
storage.
https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
It is a assembly variant of the regular Lime2 but featuring eMMC for
storage.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
Jag
This patch adds support for the Olimex OLinuXino Lime2 with eMMC flash
storage.
https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME2-eMMC/
It is a assembly variant of the regular Lime2 but featuring eMMC for
storage.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
Hey Joe,
On 11-04-17 00:56, Joe Hershberger wrote:
On Fri, Apr 7, 2017 at 8:57 AM, <o.schin...@ultimaker.com> wrote:
On Fri, 2017-04-07 at 15:45 +0200, Olliver Schinagl wrote:
Hey Joe,
On 30-11-16 22:36, Joe Hershberger wrote:
On Fri, Nov 25, 2016 at 9:38 AM, Olliver Schinagl &
A first comment I have myself, which will go in a v3 (or as a separate
patch after this has been merged):
On 10-04-17 17:33, Olliver Schinagl wrote:
Universally administered and locally administered addresses are
distinguished by setting the second-least-significant bit of the first
octet
Hey York,
On 10-04-17 17:52, York Sun wrote:
On 04/10/2017 08:34 AM, Olliver Schinagl wrote:
First off:
P.S. Joe, for some reason my previous patches where added with me as:
"oli...@schinagl.nl <oli...@schinagl.nl>" I see that it comes from
patchwork
as such. Is there
Resend with maxime's correct e-mail address and Jagain added to CC
On 10-04-17 17:46, Olliver Schinagl wrote:
Hey Simon,
On 01-12-16 03:20, Simon Glass wrote:
Hi,
On 25 November 2016 at 08:30, Olliver Schinagl <oli...@schinagl.nl>
wrote:
This patch adds a method for the board
Hey Simon,
On 01-12-16 03:20, Simon Glass wrote:
Hi,
On 25 November 2016 at 08:30, Olliver Schinagl <oli...@schinagl.nl> 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 t
With this patch sunxi_emac can now get the MAC address from the board in
a predetermined board specific manner.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Makefile | 2 +-
drivers/net/sunxi_emac.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff
Commit e72ced234045f ("net: designware: Export the operation functions")
started to expose some of the net_ops. The sunxi_gmac glue driver also
needs the start function, so let us expose that as well.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/
Fix a few whitespaces errors in the sun8i driver.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Kconfig | 8
drivers/net/sun8i_emac.c | 12 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/net/Kconfig b/drive
This patch removes the old sunxi_gmac glue layer and turns it into a
proper sub-class driver.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
arch/arm/include/asm/arch-sunxi/sys_proto.h| 7
arch/arm/mach-sunxi/board.c| 1 -
board/sunxi/Ma
Expose the write_hwaddr net_ops hook to write the Ethernet address.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/sunxi_emac.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c
index 99339db4bf..0dc3
With this patch sunxi_gmac can now get the MAC address from the board in
a predetermined board specific manner.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Makefile | 2 +-
drivers/net/sunxi_gmac.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff
Currently, we silently ignore the return value of netops->read_rom_hwaddr().
This naturally is bad and we should check if the code ran successfully.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
net/eth-uclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
d
Currently when checking for an error in ethernet aliases in the fdt, we
only check for the error case -1. It is safer to ignore anything < 0.
By rearranging logic a bit we can now also reduce identation.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
common/fdt_suppo
The sun[8x]i network drivers have some common functions. Let's introduce
a common file with the reading of the MAC address as a start.
In the future, we can move more sunxi shared/common code into this file.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/sunxi_co
to ensure they are locally administered.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
include/net.h | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/include/net.h b/include/net.h
index b4af8eaae4..b1d6f05a76 100644
--- a/include/net.h
+++ b/i
print the final MAC address of the device with which it has been
setup.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
net/eth-uclass.c | 9 ++---
net/eth_legacy.c | 3 +++
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
With this patch sun8i_emac can now get the MAC address from the board in
a predetermined board specific manner.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/net/Makefile | 2 +-
drivers/net/sun8i_emac.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff
Currently, we print that the MAC from the SROM does not match. It can be
many forms of ROM, so lets drop the S.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
net/eth_legacy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/eth_legacy.c b/net/eth_legacy.c
Convert both the sunxi_emac and sunxi_gmac drivers to use KConfig.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
configs/A10-OLinuXino-Lime_defconfig | 3 ++-
configs/A10s-OLinuXino-M_defconfig | 2 +-
configs/A20-OLinuXino-Lime2_defconfig | 4 ++--
confi
.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
doc/README.enetaddr | 99 +
include/net.h | 14
net/Kconfig | 59 +++
net/eth-uclass.c| 42 +++
net/eth_co
A user may select the connected eeprom address via
NET_ETHADDR_EEPROM_I2C_BUS, but not enable it (I2Cn_ENABLE). To prevent
this mistake, enable the I2C controller selected via
NET_ETHADDR_EEPROM_I2C_BUS.
This in turn simplifies the defconfig.
Signed-off-by: Olliver Schinagl <oli...@schinagl
in the
FDT. Once that is changed, we can clean up some more.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
arch/arm/include/asm/arch-sunxi/sys_proto.h | 2 +
board/sunxi/board.c | 145 ++--
2 files changed, 94 insertions(+), 53 del
In fdt_support.c we use a loop to parse the mac address string from the
fdt blob, net.h has a function for this however, so lets use it.
Also, rename the variable from tmp to something more descriptive.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
common/fdt_support.
With many potential places where a MAC address can be read from, the
user may not know where the MAC address originated from. Print the MAC
source after initializing the Ethernet device.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
include/net.h| 14 ++
n
ength.
Additionally use the define in fdt parser where the ethaddr variables
are also used.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
common/fdt_support.c | 2 +-
include/net.h| 1 +
net/eth_common.c | 14 +-
3 files changed, 11 insertions(+), 6 deletio
Previously overlooked magic value in commit a40db6d51171 ("net: cosmetic: Do
not use magic values for ARP_HLEN")
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
net/eth_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/eth_common.c b/net/et
First off:
P.S. Joe, for some reason my previous patches where added with me as:
"oli...@schinagl.nl <oli...@schinagl.nl>" I see that it comes from patchwork
as such. Is there some way to fix this to
"Olliver Schinagl <oli...@schinagl.nl>"?
Below the updated summar
Hey Joe,
On 30-11-16 22:36, Joe Hershberger wrote:
On Fri, Nov 25, 2016 at 9:38 AM, Olliver Schinagl <oli...@schinagl.nl> wrote:
Add board hooks allowing to get ethernet addresses in a board specific
manner. Currently this is done by generating a MAC address from
the SID and inj
Not yet, i rebased against u-boot-net/master. As it is it is a bug however so
we should just put the fix in for now.
On April 5, 2017 8:29:22 AM CEST, Michal Simek <michal.si...@xilinx.com> wrote:
>On 3.4.2017 16:18, Olliver Schinagl wrote:
>> The .read_rom_hwaddr net_ops hook
-by: Olliver Schinagl <oli...@schinagl.nl>
---
Changes since v1:
Check pdata for NULL before dereferencing.
drivers/net/zynq_gem.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 86dd03feda..52beedfad0
Hey Joe,
On 26-03-17 16:10, Joe Hershberger wrote:
Hi Oliver,
On Sun, Dec 11, 2016 at 3:27 PM, Simon Glass <s...@chromium.org> wrote:
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, Si
Hey Andre,
On 01-03-17 03:25, Andre Przywara wrote:
mksunxiboot limits the size of the resulting SPL binaries to pretty
conservative values to cover all SoCs and all boot media (NAND).
It turns out that we have limit checks in place in the build process,
so mksunxiboot can be relaxed and allow
Hey Jagan,
FYI,
I used the wrong e-mail address, I think it is still listed in some of
the u-boot sources.
Olliver
On 01-03-17 15:06, Olliver Schinagl wrote:
Hey Maxime, Jagan,
On 01-03-17 14:00, Maxime Ripard wrote:
Hi Oliver,
On Wed, Mar 01, 2017 at 01:52:16PM +0100, Olliver Schinagl
Hey Maxime, Jagan,
On 01-03-17 14:00, Maxime Ripard wrote:
Hi Oliver,
On Wed, Mar 01, 2017 at 01:52:16PM +0100, Olliver Schinagl wrote:
Hi list,
When powering up an AXP209, the default value for LDO3 output is enabled. This
works fine. However if for whatever reason, LDO3 is disabled
Hey Marcus,
On 01-03-17 16:10, Marcus Weseloh wrote:
Hi Oliver,
2017-03-01 13:52 GMT+01:00 Olliver Schinagl <oli...@schinagl.nl
<mailto:oli...@schinagl.nl>>:
+#define AXP209_VRC_LDO3_EN BIT(3)
+#define AXP209_VRC_DCDC2_ENBIT(2)
Hey Maxime,
On 01-03-17 14:00, Maxime Ripard wrote:
Hi Oliver,
On Wed, Mar 01, 2017 at 01:52:16PM +0100, Olliver Schinagl wrote:
Hi list,
When powering up an AXP209, the default value for LDO3 output is enabled. This
works fine. However if for whatever reason, LDO3 is disabled, for example
The AXP209 has a few 'magisc-ish' values that are better served with
clear defines.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/power/axp209.c | 10 --
include/axp209.h | 14 ++
2 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/d
' is a voltage rise
of 0.0167 V/uS, a 1.6 mV/uS and a 0.8 mV/uS voltage rise.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/power/Kconfig | 33 +
drivers/power/axp209.c | 24
include/axp209.h | 16 +
Use a define for the chip version mask on the axp209.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/power/axp209.c | 5 +
include/axp209.h | 2 ++
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/power/axp209.c b/drivers/power/axp209.c
r at 0.7 V, but this did not work.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
drivers/power/Kconfig | 9 +
drivers/power/axp209.c | 22 ++
2 files changed, 31 insertions(+)
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 3f10f84a89..6
The lime2 features a too large capacitor on the LDO3 output, which
causes the PMIC to shutdown when enabling power. To be able to still
boot up however, we must gradually enable power on LDO3 for this board.
Signed-off-by: Olliver Schinagl <oli...@schinagl.nl>
---
configs/A20-OLi
1 - 100 of 218 matches
Mail list logo