In SGMII initialization PIN_PIPE_SEL has to be zero when resetting
the PHY. Since comphy_mux already set the selector register to
correct values, we have to store it's value before setting it to 0
and restore it after SGMII init.
Signed-off-by: Marek Behun
Reviewed-by: Stefan
Lane 0 supports SGMII1 and USB3.
Lane 1 supports SGMII0 and PEX0.
Lane 2 supports SATA0 and USB3.
This is needed for Armada 37xx.
This introduces new device tree bindings. AFAIK there is currently no
driver for Armada 37xx comphy in Linux. When such a driver will be
pushed into Linux, this will
Currently comphy_mux supports only trivial order of nodes in pin
selector register, that is lane N on position N*bitcount.
Add support for nontrivial order, with map stored in device tree
property mux-lane-order.
This is needed for Armada 37xx.
As far as I know, there is no driver for Armada
The driver does not check id phy_connect failed (for example on wrong
property name in device tree). In such a case a fault occurs and the
CPU is restarted.
Signed-off-by: Marek Behun
Reviewed-by: Stefan Roese
---
drivers/net/mvneta.c | 4
1 file changed,
When USB3 is on comphy lane 2 on the Armada 37xx, the registers
have to be accessed indirectly via SATA indirect access.
This is the case of the Turris Mox board from CZ.NIC.
Signed-off-by: Marek Behun
---
drivers/phy/marvell/comphy_a3700.c | 102
This adds support for the CPU watchdog found on Marvell Armada 37xx
SoCs.
There are 4 counters which can be set as CPU watchdog counters.
This driver uses the second counter (ID 1, counting from 0)
(Marvell's Linux also uses second counter by default).
In the future it could be adapted to use
Signed-off-by: Marek Behun
---
fs/btrfs/btrfs.c | 4
fs/btrfs/ctree.c | 10 --
2 files changed, 14 deletions(-)
diff --git a/fs/btrfs/btrfs.c b/fs/btrfs/btrfs.c
index 4140e2bc20..b01b111bfb 100644
--- a/fs/btrfs/btrfs.c
+++ b/fs/btrfs/btrfs.c
@@ -221,7 +221,3
On Wed, 21 Mar 2018 10:19:16 +0100
Stefan Roese wrote:
> I currently have no overview of the (ongoing ?) PHY support for
> A37xx in Linux. I know that we don't match the Linux upstream dts
> files in U-Boot currently. But we should strive to move to the
> "official" DT properties
Signed-off-by: Marek Behun
---
drivers/pinctrl/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 0a4dd3c0cf..ad0b8daba6 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
The code for vbus-supply regulator enabling/disabling is repeated in
several drivers. Create a header file with static inline definitions
of the funtions and use them in some of those drivers.
Signed-off-by: Marek Behún
---
drivers/usb/host/dwc2.c | 61
Hello,
during my development for U-Boot on Turris Mox I keep encountering
this strange bug when sometimes U-Boot gets compiled in such a way that
it freezes after printing the first line:
U-Boot 2018.11-rc3-00065-gfc69da4cb1-dirty (Nov 08 2018 - 15:51:52
+0100)
This bug disappears if I
Tested-by: Marek Behún
Hello Tom, could you please apply the patch by Yevgeny?
Marek
On Fri, 7 Sep 2018 12:59:30 +0300
Yevgeny Popovych wrote:
> When traversing slots in a btree (via btrfs_path) with
> btrfs_next_slot(), we didn't correctly identify that the last slot in
>
On Tue, 2 Oct 2018 13:43:55 +0200
Marek Vasut wrote:
> On 10/02/2018 01:27 PM, Marek Behún wrote:
> > Tested-by: Marek Behún
>
> btw don't you see those warnings/problems on the Armada platform ? I
> presume this is mostly used on the Omnia. Maybe the cache al
Tested-by: Marek Behún
On Sat, 22 Sep 2018 04:13:35 +0200
Marek Vasut wrote:
> The btrfs implementation passes cache-unaligned buffers into the
> block layer, which triggers cache alignment problems down in the
> block device drivers. Align the buffers to prevent this.
>
I shall test this today or tomorrow, but have too many things on my
head, sorry :(
You saying that this will fix reading large files? I haven't
encountered such an error yet, but can try creating a large enough
file. How large should it be?
On Mon, 1 Oct 2018 08:50:11 +0300
Yevgeny Popovych
.
Marek
On Thu, 29 Nov 2018 14:03:27 +0100
Stefan Roese wrote:
> On 20.11.18 13:04, Marek Behún wrote:
> > The Armada 37xx watchdog driver was recently accepted for mainline
> > kernel by watchdog subsystem maintainer, but the driver works a
> > little different than the one
the comphy driver for PCI Express, but
should be 5 GHz nonetheless).
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
arch/arm/dts/armada-3720-turris-mox.dts | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/armada-3720-turris-mox.dts
b/arch/arm/dts
This is the fourth version of patches for Turris Mox.
Changes from previous version:
- changed patch subject prefix from board: turris_mox to arm: mvebu: turris_mox
as requested by Stefan
- added Reviewed-by Stefan
- add description of the changes for watchdog in patch 6
- patch 9 reworked
controller is initialized.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
configs/turris_mox_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/turris_mox_defconfig b/configs/turris_mox_defconfig
index 749ed31acd..e89e6617ca 100644
--- a/configs/turris_mox_defconfig
Add myself as the maintainer of CZ.NIC's Turris Omnia and Turris Mox
projects.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0fb089807c..83f7d8fc08 100644
--- a/MAINTAINERS
+++ b
This is needed for some scenarios, such as booting large FIT image.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
include/configs/turris_mox.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/turris_mox.h b/include/configs/turris_mox.h
index 0aebe2100b
counting from the set
timeout again. So Counter 1 is set to be reset on Counter 0 expiry event
event and pinging is done by forcing an immediate expiry event on
Counter 0.
Signed-off-by: Marek Behún
---
drivers/watchdog/armada-37xx-wdt.c | 109 ++---
1 file changed, 67
Use get_ram_size to determine if the RAM size on Turris Mox is 512 MiB
or 1 GiB.
Signed-off-by: Marek Behún
---
arch/arm/mach-mvebu/arm64-common.c | 4 ++--
board/CZ.NIC/turris_mox/turris_mox.c | 16
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/arch/arm
When SFP module is connected directly to CPU module we want the SGMII
lane speed at 1.25 Gbps.
This is a temporary solution till there is a comphy driver in the kernel
capable of changing SGMII speed at runtime.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
board/CZ.NIC/turris_mox
Add support for reading One-Time Programmable memory via mailbox, which
communicates with CZ.NIC's firmware on the Secure Processor (Cortex-M3)
of Armada 3720.
Display product serial number and additional info, and also set MAC
addresses.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
Restructure the board initialization source.
Remove the module_topology environment variable since it won't be
needed.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
board/CZ.NIC/turris_mox/turris_mox.c | 136 ++-
1 file changed, 89 insertions(+), 47 deletions
Check if Mox modules are connected in supported mode, then configure
the MDIO addresses of switch modules.
Signed-off-by: Marek Behún
---
arch/arm/dts/armada-3720-turris-mox.dts | 11 ++
board/CZ.NIC/turris_mox/turris_mox.c| 234 +++-
2 files changed, 244 insertions
:
> On 20.11.18 13:04, Marek Behún wrote:
> > Depending on the data in the OTP memory, differentiate between the
> > 512 MiB and 1 GiB versions of Turris Mox and report these RAM sizes
> > in dram_init and dram_init_banksize.
> >
> > Signed-off-by: Marek Behún
Hello,
do you know when the results about which proposals were accepted will
be available?
Thanks.
Marek
On Mon, 13 Nov 2017 11:57:31 +0100
Paul Kocialkowski wrote:
> A Hardware Enablement devroom will be taking place at FOSDEM this
> year, on Sunday 10 December 2017. This newly-created devroom
Add support for reading One-Time Programmable memory via mailbox, which
communicates with CZ.NIC's firmware on the Secure Processor (Cortex-M3)
of Armada 3720.
Display product serial number and additional info, and also set MAC
addresses.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_mox
The Armada 37xx watchdog driver was recently accepted for mainline
kernel by watchdog subsystem maintainer, but the driver works a little
different than the one in U-Boot. This patch fixes this.
Signed-off-by: Marek Behún
---
drivers/watchdog/armada-37xx-wdt.c | 109
This is needed for some scenarios, such as booting large FIT image.
Signed-off-by: Marek Behún
---
include/configs/turris_mox.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/turris_mox.h b/include/configs/turris_mox.h
index 0aebe2100b..82cdccecc1 100644
--- a/include
controller is initialized.
Signed-off-by: Marek Behún
---
configs/turris_mox_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/turris_mox_defconfig b/configs/turris_mox_defconfig
index 749ed31acd..e89e6617ca 100644
--- a/configs/turris_mox_defconfig
+++ b/configs
When SFP module is connected directly to CPU module we want the SGMII
lane speed at 1.25 Gbps.
This is a temporary solution till there is a comphy driver in the kernel
capable of changing SGMII speed at runtime.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_mox/turris_mox.c | 33
Check if Mox modules are connected in supported mode, then configure
the MDIO addresses of switch modules.
Signed-off-by: Marek Behún
---
arch/arm/dts/armada-3720-turris-mox.dts | 11 ++
board/CZ.NIC/turris_mox/turris_mox.c| 251 +++-
2 files changed, 261 insertions
Restructure the board initialization source.
Remove the module_topology environment variable since it won't be
needed.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_mox/turris_mox.c | 136 ++-
1 file changed, 89 insertions(+), 47 deletions(-)
diff --git a/board
Add myself as the maintainer of CZ.NIC's Turris Omnia and Turris Mox
projects.
Signed-off-by: Marek Behún
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index abdb6dcdb5..57a3b35bad 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -118,6
Depending on the data in the OTP memory, differentiate between the
512 MiB and 1 GiB versions of Turris Mox and report these RAM sizes in
dram_init and dram_init_banksize.
Signed-off-by: Marek Behún
---
arch/arm/mach-mvebu/arm64-common.c | 7 ++-
board/CZ.NIC/turris_mox/turris_mox.c | 27
the comphy driver for PCI Express, but
should be 5 GHz nonetheless).
Signed-off-by: Marek Behún
---
arch/arm/dts/armada-3720-turris-mox.dts | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/arch/arm/dts/armada-3720-turris-mox.dts
b/arch/arm/dts/armada-3720-turris-mox.dts
On Tue, 21 May 2019 13:43:54 +0200
Stefan Roese wrote:
> (Added Simon & Bin to Cc)
>
> On 21.05.19 12:04, Marek Behún wrote:
> > Use the uclass_first_device_check and uclass_next_device_check
> > functions instead of uclass_first_device and uclass_next_device in
&
Set default value for the ethact variable to the WAN port.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 018f54428b..290828d73e 100644
--- a/include/configs
Hi Stefan,
here is v2 of the last fixes for Turris Omnia.
Changes:
- removed the #ifdef you asked for
- added a patch changing the bootargs setting in Omnia rescue bootcmd
Marek
Marek Behún (7):
arm: mvebu: turris_omnia: set default ethernet adapter
arm: mvebu: turris_omnia: fix adapters
to the description on the
stickers sticked on actual Omnias.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC/turris_omnia/turris_omnia.c
index ad6e29021e
This is not needed here since Omnia is using DM_PCI now.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 5 -
1 file changed, 5 deletions(-)
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 8e3d5cc8cf..26f85466a4 100644
--- a/include
If SCSI and USB boot options are both available, try to boot from SCSI
first.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 26f85466a4
We always want to enumerate PCIe devices, because withouth this they
won't work in Linux.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC/turris_omnia
nformation
and the omniarescue paramterer).
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC/turris_omnia/turris_omnia.c
index eee150892a..5f6ea35e5f 100644
-
The U-Boot partition is 1 MiB and environment is 64 KiB. It does not
make sense to have environment at 0xc when it could be at 0xf
and we can have more space for U-Boot binary.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 4 ++--
1 file changed, 2 insertions(+), 2
If SCSI and USB boot options are both available, try to boot from SCSI
first.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 26f85466a4
The U-Boot partition is 1 MiB and environment is 64 KiB. It does not
make sense to have environment at 0xc when it could be at 0xf
and we can have more space for U-Boot binary.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 4 ++--
1 file changed, 2 insertions(+), 2
to the description on the
stickers sticked on actual Omnias.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC/turris_omnia/turris_omnia.c
index ad6e29021e
This is not needed here since Omnia is using DM_PCI now.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 5 -
1 file changed, 5 deletions(-)
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 8e3d5cc8cf..26f85466a4 100644
--- a/include
We always want to enumerate PCIe devices, because withouth this they
won't work in Linux.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC/turris_omnia
t solution here in my opinion is to just ignore the local
device in this driver's read/write methods. This fixes PCIe issues for
me.
Signed-off-by: Marek Behún
Cc: Stefan Roese
Cc: Anton Schubert
Cc: Dirk Eibach
Cc: Mario Six
Cc: Chris Packham
Cc: Phil Sutter
Cc: VlaoMao
---
drivers/pci/p
Hi Stefan, I am sending five another fixes for Turris Omnia.
Marek
Marek Behún (6):
arm: mvebu: turris_omnia: set default ethernet adapter
arm: mvebu: turris_omnia: fix adapters MAC addresses
arm: mvebu: turris_omnia: change environment address in SPI flash
arm: mvebu: turris_omnia
Set default value for the ethact variable to the WAN port.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 018f54428b..290828d73e 100644
--- a/include/configs
the failed device are not probed.
Signed-off-by: Marek Behún
Cc: Stefan Roese
Cc: Anton Schubert
Cc: Dirk Eibach
Cc: Mario Six
Cc: Chris Packham
Cc: Phil Sutter
Cc: VlaoMao
Cc: Tom Rini
---
drivers/pci/pci-uclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers
Hi Mario, you are right. I shall send a new patch chaning pci_init to
use the _check functions after I test it.
Marek
On Wed, 15 May 2019 07:05:43 +0200
Mario Six wrote:
> Hi Marek,
>
> On Tue, May 14, 2019 at 5:12 PM Marek Behún
> wrote:
> >
> > The documentation fo
On Tue, 14 May 2019 16:58:59 +0200
Marek Behún wrote:
> The ofdata_to_platdata method for this driver returns -ENODEV if link
> is down for a given bus, for example if there is no device in the
> slot. This causes the uclass_{first,next}_device to return NULL for
> thi
The documentation for the uclass_next_device says this:
@devp: On entry, pointer to device to lookup. On exit, returns pointer
to the next device in the uclass if no error occurred, or NULL if
there is no next device, or an error occurred with that next device.
But this is useless, because
.
So if the slot on the first bus is empty on Turris Omnia, and the slot
on second bus has a device connected, the device is not probed in
U-Boot. On Turris Omnia the PCIe devices have to be probed in U-Boot to
work correctly in Linux. Therefore we need this fix.
Signed-off-by: Marek Behún
Cc: Stefan
does not appear if I add a small delay before reading status
register.
Wait 100ns (which in U-Boot currently means 1 us, because ndelay(i)
function calls udelay(DIV_ROUND_UP(i, 1000))) before reading the status
register.
Signed-off-by: Marek Behún
Acked-by: Heiko Schocher
Cc: Mario Six
Cc
since v1:
- changed xxhash and zstd sources to use SPDX license identifiers
Marek Behún (3):
lib: Add xxhash support
lib: add Zstandard decompression support
fs: btrfs: add zstd decompression support
fs/btrfs/Kconfig |1 +
fs/btrfs/btrfs_tree.h |5 +-
fs/btrfs
d.
Signed-off-by: Marek Behún
---
include/linux/xxhash.h | 229
lib/Kconfig| 3 +
lib/Makefile | 1 +
lib/xxhash.c | 467 +
4 files changed, 700 insertions(+)
create mode 100644 include/linux/xxhash
This adds decompression support for Zstandard, which has been included
in Linux btrfs driver for some time.
Signed-off-by: Marek Behún
---
fs/btrfs/Kconfig | 1 +
fs/btrfs/btrfs_tree.h | 5 ++--
fs/btrfs/compression.c | 59 ++
3 files changed, 63
does not appear if I add a small delay before reading status
register.
Wait 100ns (which in U-Boot currently means 1 us, because ndelay(i)
function calls udelay(DIV_ROUND_UP(i, 1000))) before reading the status
register.
Signed-off-by: Marek Behún
Cc: Mario Six
Cc: Stefan Roese
Cc: Baruch
Refactor RAM size reading from EEPROM in preparation for next patch.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 58
1 file changed, 28 insertions(+), 30 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC
Since board watchdog is now unified and not handled in board files,
remove the unnecessary includes.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_mox/turris_mox.c | 4
board/CZ.NIC/turris_omnia/turris_omnia.c | 4
2 files changed, 8 deletions(-)
diff --git a/board/CZ.NIC
Unify the way how Omnia and Mox print board information (RAM size and
serial number).
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC
Add XHCI_HOST and XHCI_MVEBU to defconfig, so that user's can by default
boot from USB on Turris Omnia.
Signed-off-by: Marek Behún
---
configs/turris_omnia_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig
index
Enable AHCI, SCSI and SATA for compliance with the driver model
migration.
Signed-off-by: Marek Behún
---
configs/turris_omnia_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig
index 2ad2f6e431..5086da13a5 100644
Refactor code which accesses the microcontroller and EEPROM via I2C.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 205 ---
1 file changed, 109 insertions(+), 96 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC/turris_omnia/turris_omnia.c
index 6b8fa53c98..d4fb89f15f 100644
--- a/board/CZ.NIC
The I2C dependencies are defined in include/configs/turris_omnia.h,
because Turris Omnia won't boot correctly without I2C support.
Move these dependencies to Kconfig, so that they are selected if Turris
Omnia is selected as target.
Signed-off-by: Marek Behún
---
arch/arm/mach-mvebu/Kconfig
This driver is required for Turris Omnia to read ethernet addresses.
Move the dependency from turris_omnia_defconfig to Kconfig.
Signed-off-by: Marek Behún
---
arch/arm/mach-mvebu/Kconfig | 1 +
board/CZ.NIC/turris_omnia/turris_omnia.c | 11 ---
configs
-by: Marek Behún
---
arch/arm/mach-mvebu/Kconfig | 43
board/CZ.NIC/turris_omnia/turris_omnia.c | 23 +
2 files changed, 66 insertions(+)
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index fc29c3b084..4229a505d1 100644
If SCSI is enabled, U-Boot should try to boot also from SCSI device on
Turris Omnia.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 5a7539c9be
These are not needed if MMC and SCSI DM drivers are used.
Signed-off-by: Marek Behún
---
include/configs/turris_omnia.h | 14 --
1 file changed, 14 deletions(-)
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 0e65a12345..5e692e6829 100644
The i2c slave disabling is done by mvtwsi driver and is not needed here.
Signed-off-by: Marek Behún
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC/turris_omnia/turris_omnia.c
the button on the back side of Omnia, the purpose
of which is factory reset
15. fix I2C driver, which sometimes breaks the I2C controller until the device
is powered off
Marek
Marek Behún (15):
arm: mvebu: turris_omnia: remove redundant code
arm: mvebu: turris_omnia: add XHCI to defconfig
The regdomain environment variable is set according to value read from
EEPROM. This has to be done in board_late_init, after the environment
variables are read from SPI. Select CONFIG_BOARD_LATE_INIT in Kconfig
for the Turris Omnia target.
Signed-off-by: Marek Behún
---
board/CZ.NIC
Pierre, please add
Reviewed-by: Marek Behún
and send also to Stefan Roese
Marek
On Thu, 11 Apr 2019 01:00:23 +0200
Pierre Bourdon wrote:
> Commit c4bd12a7dad4 ("i2c: mux: Generate longer i2c mux name") changed
> the naming scheme of i2c devices within a mux. This broke ref
The i2c slave disabling is done by mvtwsi driver and is not needed here.
Signed-off-by: Marek Behún
Acked-by: Heiko Schocher
Reviewed-by: Stefan Roese
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia
Enable AHCI, SCSI and SATA for compliance with the driver model
migration.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
configs/turris_omnia_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig
index
These are not needed if MMC and SCSI DM drivers are used.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
include/configs/turris_omnia.h | 14 --
1 file changed, 14 deletions(-)
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 0e65a12345
on the front panel to green and
then tries to load the rescue image from the SPI flash memory and boot
it.
Signed-off-by: Marek Behún
---
arch/arm/mach-mvebu/Kconfig | 1 +
board/CZ.NIC/turris_omnia/turris_omnia.c | 38
2 files changed, 39 insertions(+)
diff --git
- patch 15: added comment as requested by Heiko
Marek Behún (17):
arm: mvebu: turris_omnia: remove redundant code
arm: mvebu: turris_omnia: add XHCI to defconfig
arm: mvebu: turris_omnia: use AHCI and SATA driver model
arm: mvebu: turris_omnia: remove legacy macros from board header
arm
Add XHCI_HOST and XHCI_MVEBU to defconfig, so that user's can by default
boot from USB on Turris Omnia.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
configs/turris_omnia_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/turris_omnia_defconfig b/configs
ues of these methods to -1 instead of 1 on
failure.
Signed-off-by: Marek Behún
---
fs/btrfs/btrfs.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/fs/btrfs/btrfs.c b/fs/btrfs/btrfs.c
index 6f35854823..cb7e182742 100644
--- a/fs/btrfs/btrfs.c
+++ b/fs/btrfs/btrf
quot;
path.
Signed-off-by: Marek Behún
---
cmd/pxe.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cmd/pxe.c b/cmd/pxe.c
index 274555319b..127751642e 100644
--- a/cmd/pxe.c
+++ b/cmd/pxe.c
@@ -22,6 +22,9 @@
const char *pxe_default_paths[] = {
#ifdef CONFIG_SYS_SOC
+#ifdef CONFIG
On Thu, 2 May 2019 11:43:12 +0200
Stefan Roese wrote:
> Please do so. If someone whats to disable this functionality or change
> the reset button bootcmd, then he/she/it must do some changes
> (defconfig or code).
So should I remove the options from Kconfig or enable them by default?
BTW: We
Refactor RAM size reading from EEPROM in preparation for next patch.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 58
1 file changed, 28 insertions(+), 30 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia
Unify the way how Omnia and Mox print board information (RAM size and
serial number).
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia
This options will be enabled by default by CZ.NIC shipped U-Boot. Enable
them in defconfig.
Signed-off-by: Marek Behún
---
configs/turris_omnia_defconfig | 9 +
1 file changed, 9 insertions(+)
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig
index bba14bbcaf
The I2C dependencies are defined in include/configs/turris_omnia.h,
because Turris Omnia won't boot correctly without I2C support.
Move these dependencies to Kconfig, so that they are selected if Turris
Omnia is selected as target.
Signed-off-by: Marek Behún
Reviewed-by: Heiko Schocher
Add support for the gpio command and driver for the I2C connected
pca9538 controller, to be able to determine if SFP module is present in
the Turris Omnia router.
Signed-off-by: Marek Behún
---
configs/turris_omnia_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c
b/board/CZ.NIC/turris_omnia/turris_omnia.c
index 6b8fa53c98
does not appear if I add a small delay before reading status
register.
Wait 100ns (which in U-Boot currently means 1 us, because ndelay(i)
function calls udelay(DIV_ROUND_UP(i, 1000))) before reading the status
register.
Signed-off-by: Marek Behún
Reviewed-by: Heiko Schocher
Reviewed-by: Stefan
This driver is required for Turris Omnia to read ethernet addresses.
Move the dependency from turris_omnia_defconfig to Kconfig.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
---
arch/arm/mach-mvebu/Kconfig | 1 +
board/CZ.NIC/turris_omnia/turris_omnia.c | 11
The regdomain environment variable is set according to value read from
EEPROM. This has to be done in board_late_init, after the environment
variables are read from SPI. Select CONFIG_BOARD_LATE_INIT in Kconfig
for the Turris Omnia target.
Signed-off-by: Marek Behún
Reviewed-by: Stefan Roese
101 - 200 of 1644 matches
Mail list logo