Hi Pali, Martin,
Am 25.02.23 um 10:48 schrieb Martin Rowe:
On Sat, 25 Feb 2023 at 07:41, Pali Rohár wrote:
On Saturday 25 February 2023 11:42:20 Martin Rowe wrote:
This new clearfog_spi_defconfig file is copy of existing
clearfog_defconfig file and changed to instruct build system to
generate
Hi Stefan,
Am 16.10.23 um 10:37 schrieb Stefan Roese:
Hi Josua,
On 10/8/23 14:46, Josua Mayer wrote:
Armada 388 can boot from either eMMC data, boot0 or boot1 partitions.
data partition requires booting from LBA-4096 to avoid conflict with
MBR. When booting from boot0/boot1 environment
Hi Stefan,
Am 20.10.23 um 11:30 schrieb Stefan Roese:
On 10/8/23 14:46, Josua Mayer wrote:
+ else if (!part)
+ start_lba = 4096;
This patch leads to this error, e.g. for turris_mox_defconfig:
cmd/mvebu/bubt.c: In function 'mmc_burn_image':
cmd/mvebu/bubt.c:247:19: er
it to compile both with,
and without CONFIG_SUPPORT_EMMC_BOOT defined.
Reported by Stefan Roese with turris_mox_defconfig, thanks!
Josua Mayer (2):
arm: mvebu: allow additional 4096 offset for bootable mmc image
cmd: mvebu/bubt: move eMMC data-partition uboot from LBA-0 to 4096
arch/arm
: 2226ca17348 ("arm: mvebu: Load U-Boot proper binary in SPL code based on
kwbimage header")
Signed-off-by: Josua Mayer
---
arch/arm/mach-mvebu/spl.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c
index e
tion table on the eMMC data partition while also
booting from it.
Signed-off-by: Josua Mayer
---
V1 -> V2: fixed build without CONFIG_SUPPORT_EMMC_BOOT
cmd/mvebu/bubt.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.
command is updated to use LBA-4096 for eMMC data
partition only, keeping previous values for SD and boot0/1 unchanged
Finally 3 new defconfigs are added - one for each bootable eMMC partition,
selecting correct offset, and environment partition.
Josua Mayer (3):
arm: mvebu: allow additional 4096
tion table on the eMMC data partition while also
booting from it.
Signed-off-by: Josua Mayer
---
cmd/mvebu/bubt.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c
index ca24a5c1c4b..eb1fef9243d 100644
--- a/cmd/mvebu/bubt.c
+++ b
: 2226ca17348 ("arm: mvebu: Load U-Boot proper binary in SPL code based on
kwbimage header")
Signed-off-by: Josua Mayer
---
arch/arm/mach-mvebu/spl.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mvebu/spl.c b/arch/arm/mach-mvebu/spl.c
index 3
:
- clearfog_emmcboot0_defconfig
- clearfog_emmcboot1_defconfig
- clearfog_emmcdata_defconfig
Signed-off-by: Josua Mayer
---
configs/clearfog_emmcboot0_defconfig | 82
configs/clearfog_emmcboot1_defconfig | 82
configs/clearfog_emmcdata_defconfig | 82
This series adds support for additional memory configuration that
were been produced in the past - most notably
a dual-channel configuration with two 512MB modules.
Josua Mayer (2):
arm: mvebu: clearfog: read number of ddr channels from tlv data
arm: mvebu: clearfog: support 512MB memory size
Extend the existing tlv vendor extension used for ram size by one byte to
also store the number of ddr channels.
The length of the tlv entry can indicate whether the new information is
present. If not default to single channel.
Signed-off-by: Josua Mayer
---
board/solidrun/clearfog/clearfog.c
Handle 2GBit memory size value "2" from tlv eeprom on ddr
initialisation, to support SoMs with 512MB ddr memory.
Signed-off-by: Josua Mayer
---
board/solidrun/clearfog/clearfog.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/board/solidrun/clearfog/clearfog.c
b/board/solidru
This patch-set removes some uses of global variables, and improves error
reporting for the "read" command.
It is intended to help switching to a split tlv library eventually,
but general enough to apply independently.
Josua Mayer (3):
cmd: tlv_eeprom: remove use of global variable has
has_been_read is only used as an optimization for do_tlv_eeprom.
Explicitly use and set inside this function, thus making read_eeprom
stateless.
Signed-off-by: Josua Mayer
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 21 +++--
1 file
ggered device lookup.
Instead accept values up to the defined array size (MAX_TLV_DEVICES).
Signed-off-by: Josua Mayer
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/cm
When tlv eeprom does not exist, return error code instead of quietly
making up tlv structure in memory.
Signed-off-by: Josua Mayer
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 22 --
1 file changed, 16 insertions(+), 6 deletions
Hi Stefan,
Thanks for reviewing. I just rebased on
https://source.denx.de/u-boot/u-boot.git / master,
and will send new version soon.
- Josua Mayer
Am 03.05.23 um 09:55 schrieb Stefan Roese:
Hi Josua,
On 4/29/23 11:15, Josua Mayer wrote:
has_been_read is only used as an optimization for
h!!! I had forgotten to send in v1
- added reviewed-tags by Stefan for patches 2-4
Josua Mayer (4):
cmd: tlv_eeprom: remove use of global variable current_dev
cmd: tlv_eeprom: remove use of global variable has_been_read
cmd: tlv_eeprom: handle -ENODEV error from read_eeprom function
cmd:
Make tlv_eeprom command device selection an explicit parameter of all
function calls.
Signed-off-by: Josua Mayer
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 50 ++--
include/tlv_eeprom.h | 3 ++-
2 files
When tlv eeprom does not exist, return error code instead of quietly
making up tlv structure in memory.
Signed-off-by: Josua Mayer
Reviewed-by: Stefan Roese
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 22 --
1 file changed, 16
has_been_read is only used as an optimization for do_tlv_eeprom.
Explicitly use and set inside this function, thus making read_eeprom
stateless.
Signed-off-by: Josua Mayer
Reviewed-by: Stefan Roese
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 21
ggered device lookup.
Instead accept values up to the defined array size (MAX_TLV_DEVICES).
Signed-off-by: Josua Mayer
Reviewed-by: Stefan Roese
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 26 --
1 file changed, 16 insertions(+), 1
address your concerns more easily than the current eeprom_tlv
implementation.
Sincerely
Josua Mayer
Am 08.05.23 um 17:42 schrieb Simon Glass:
Hi,
On Fri, 5 May 2023 at 02:22, Josua Mayer wrote:
Move the handler for "tlv_eeprom dev X" command to the beginning of
do_tlv_eeprom, to allo
the function to
same purpose, along with a node that it only supports reading from the
first EEPROM in the system.
Fixes: dfda0c0 ("cmd: tlv_eeprom: remove use of global variable current_dev")
Signed-off-by: Josua Mayer
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
the coming weeks.
Josua Mayer (3):
lib: add tlv_eeprom library
mvebu: clearfog: convert tlv parsing to use new library
cmd: tlv_eeprom: port to new shared tlv library
board/solidrun/common/tlv_data.c | 46 +--
cmd/Kconfig | 7 +-
cmd/tlv_eeprom.c
Update the existing code reading tlv data from eeprom to use the new tlv
library functions rather than relying on tlv_eeprom command internals.
Signed-off-by: Josua Mayer
---
board/solidrun/common/tlv_data.c | 46
configs/clearfog_defconfig | 4 ++-
2
command implementation.
Signed-off-by: Josua Mayer
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/Kconfig | 2 +
include/tlv_eeprom.h | 272
lib/Kconfig | 2 +
lib/Makefile | 2 +
lib/tlv/Kconfig | 18 ++
lib/tlv/Makefile
new location.
Signed-off-by: Josua Mayer
---
cmd/Kconfig| 9 +-
cmd/tlv_eeprom.c | 507 +++--
configs/clearfog_defconfig | 2 +-
include/tlv_eeprom.h | 148 ---
4 files changed, 92 insertions(+), 574 deletions(-)
diff --g
Hi Heinrich,
Am 16.05.23 um 14:21 schrieb Heinrich Schuchardt:
On 5/16/23 10:27, Josua Mayer wrote:
populate_serial_number is not used internally for the tlv_eeprom
command, but rather provided as a library function for external use..
Remove the devnum that had recently been added by mistake
Add missing configuration options for clearog gtr serdes:
1. select between sata and pci-e for serdes 0
2. configure serdes 2 for 2.5Gbps link with managed switch
Signed-off-by: Josua Mayer
---
Josua Mayer (2):
arm: mvebu: clearfog gtr: add config option to select serdes0 interface
ethernet
switch port. Linux already configures a fixed-link at speed 2500 from
device-tree.
Upgrade serdes 1 rate to 3.125Gbps to support a 2.5Gbps network link on
Clearfog GTR.
Signed-off-by: Josua Mayer
---
board/solidrun/clearfog/Kconfig| 19 +++
board/solidrun/clearfog
which are shared with clearfog pro.
Signed-off-by: Josua Mayer
---
board/solidrun/clearfog/clearfog.c | 8
1 file changed, 8 insertions(+)
diff --git a/board/solidrun/clearfog/clearfog.c
b/board/solidrun/clearfog/clearfog.c
index 51c5be518a..6977db0a9e 100644
--- a/board/solidrun/cle
Hi Stefan,
Am 09.01.24 um 12:45 schrieb Stefan Roese:
>> +choice CLEARFOG_GTR_SERDES0
>> + prompt "Select Clearfog GTR SerDes 0 Function"
>> + help
>> + Select function for SerDes 0 which is shared between CON3 and CON18
>> + for either pci-e or sata.
>> +
>> +config CLEARFOG_GTR
Add missing configuration options for clearog gtr serdes:
1. select between sata and pci-e for serdes 0
2. configure serdes 2 for 2.5Gbps link with managed switch
Signed-off-by: Josua Mayer
---
Changes in v2:
- change choice default logic to remove kconfig warning
- Link to v1:
https
which are shared with clearfog pro.
Signed-off-by: Josua Mayer
---
board/solidrun/clearfog/clearfog.c | 8
1 file changed, 8 insertions(+)
diff --git a/board/solidrun/clearfog/clearfog.c
b/board/solidrun/clearfog/clearfog.c
index 51c5be518a..6977db0a9e 100644
--- a/board/solidrun/cle
ethernet
switch port. Linux already configures a fixed-link at speed 2500 from
device-tree.
Upgrade serdes 1 rate to 3.125Gbps to support a 2.5Gbps network link on
Clearfog GTR.
Signed-off-by: Josua Mayer
---
board/solidrun/clearfog/Kconfig| 19 +++
board/solidrun/clearfog
settings from mainline.
This fixes accessing i2c bus from u-boot commandline.
Signed-off-by: Josua Mayer
---
arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
b/arch/arm/dts/armada-38x-solidrun
Update the helios4 defconfig to enable the 'setexpr' command, which is a
default and useful for various complex boot-scripts.
Signed-off-by: Josua Mayer
---
configs/helios4_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/helios4_defconfig b/configs/helios4_defco
This patch-set introduces a new defconfig for spi booting on kobol
helios-4.
Additionally add minor update for default defconfig to enable setexpr
command, and fix u-boot command access to i2c0 bus.
Signed-off-by: Josua Mayer
---
Josua Mayer (3):
arm: dts: armada-38x-solidrun-microsom
intuitive from menuconfig, numeric values in particular.
Signed-off-by: Josua Mayer
---
configs/helios4_spi_defconfig | 81 +++
1 file changed, 81 insertions(+)
diff --git a/configs/helios4_spi_defconfig b/configs/helios4_spi_defconfig
new file mode 100644
Hi Tim,
Am 13.01.24 um 18:22 schrieb Tom Rini:
> On Sat, Jan 13, 2024 at 05:36:57PM +0100, Josua Mayer wrote:
>
>> Add a new defconfig based on existing helios4_config file to support
>> booting from spi flash.
>>
>> Settings for environment location are ba
Am 28.03.24 um 13:21 schrieb Fabio Estevam:
> From: Josua Mayer
>
> The i.MX6 Cubox-i and HummingBoards can have different PHYs at varying
> addresses. U-Boot needs to auto-detect which phy is actually present,
> and at which address it is responding.
>
> Auto-detection fr
Am 28.03.24 um 13:51 schrieb Josua Mayer:
> Am 28.03.24 um 13:21 schrieb Fabio Estevam:
>> From: Josua Mayer
>>
>> The i.MX6 Cubox-i and HummingBoards can have different PHYs at varying
>> addresses. U-Boot needs to auto-detect which phy is actually present,
&g
Hi Fabio,
Am 01.04.24 um 12:13 schrieb Christian Gmeiner:
> Hi Fabio
>
>> From: Josua Mayer
>>
>> The i.MX6 Cubox-i and HummingBoards can have different PHYs at varying
>> addresses. U-Boot needs to auto-detect which phy is actually present,
>> and at which
Am 14.01.24 um 15:37 schrieb Tom Rini:
> On Sun, Jan 14, 2024 at 09:47:31AM +0000, Josua Mayer wrote:
>> Hi Tim,
>>
>> Am 13.01.24 um 18:22 schrieb Tom Rini:
>>> On Sat, Jan 13, 2024 at 05:36:57PM +0100, Josua Mayer wrote:
>>>
>>>> Add a new
settings from mainline.
This fixes accessing i2c bus from u-boot commandline.
Signed-off-by: Josua Mayer
---
arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi
b/arch/arm/dts/armada-38x-solidrun
This patch-set introduces a new config fragment for spi booting on kobol
helios-4.
Additionally add minor update for default defconfig to enable setexpr
command, and fix u-boot command access to i2c0 bus.
Signed-off-by: Josua Mayer
---
Changes in v2:
- replaced new defconfig with config
Update the helios4 defconfig to enable the 'setexpr' command, which is a
default and useful for various complex boot-scripts.
Signed-off-by: Josua Mayer
---
configs/helios4_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/helios4_defconfig b/configs/helios4_defco
helios4_defconfig by make:
make helios4_defconfig spiboot.config
Signed-off-by: Josua Mayer
---
board/kobol/helios4/spiboot.config | 4
1 file changed, 4 insertions(+)
diff --git a/board/kobol/helios4/spiboot.config
b/board/kobol/helios4/spiboot.config
new file mode 100644
index 00..5ffb7d2e3b
} rootfstype=auto rootwait
- Josua Mayer
Am 12.02.24 um 21:40 schrieb Dennis Gilmore:
> I am curious about your use cases for this. as ideally all systems use the
> generic distro boot paths and it is not needed for them.
>
> Dennis
>
> On Fri, Feb 2, 2024 at 9:13 AM Josua Mayer wrote:
Support for sata devices via the scsi command is available and already
enabled by default for the Clearfog Base and Pro. This change adds scsi
to the list of boot targets used by distro-boot.
Signed-off-by: Josua Mayer
Cc: Stefan Roese
---
include/configs/clearfog.h | 7 +++
1 file changed
fixup dtb ethernet phy nodes before booting an OS")
Signed-off-by: Josua Mayer
---
board/solidrun/mx6cuboxi/mx6cuboxi.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c
b/board/solidrun/mx6cuboxi/mx6cuboxi.c
index
.
sincerely
Josua Mayer
Am 15.06.22 um 14:11 schrieb sba...@denx.de:
SoM revision 1.9 has replaced the ar8035 phy address 0 with an adin1300
at address 1. Because early SoMs had a hardware flaw, the ar8035 can
also appear at address 4 - making it a total of 3 phy nodes in the DTB.
To avoid confusing
clock output pins to the phy driver
3. update device-tree with support for the neew phy
4. support runtime patching of device-tree for Linux:
enables only the phy node detected during boot, to avoid
warning messages during boot.
5. finally enable the phy driver in the cuboxi defconfig
Josua
: Josua Mayer
---
drivers/net/phy/adin.c | 34 --
1 file changed, 34 deletions(-)
diff --git a/drivers/net/phy/adin.c b/drivers/net/phy/adin.c
index cff841ab3d..2433e76fea 100644
--- a/drivers/net/phy/adin.c
+++ b/drivers/net/phy/adin.c
@@ -94,35 +94,6 @@ static u32
/netdevbpf/patch/20220428082848.12191-2-jo...@solid-run.com/
[2]
https://patchwork.kernel.org/project/netdevbpf/patch/20220428082848.12191-4-jo...@solid-run.com/
Signed-off-by: Josua Mayer
---
drivers/net/phy/adin.c | 46 ++
1 file changed, 46 insertions
at it also sync the reset-delay with the upstream Linux dtb.
[1]
https://patchwork.kernel.org/project/netdevbpf/patch/20220428082848.12191-4-jo...@solid-run.com/
Signed-off-by: Josua Mayer
---
arch/arm/dts/imx6qdl-sr-som.dtsi | 17 +++--
1 file changed, 15 insertions(+), 2 deletions
Since SoMs revision 1.9 the ar8038 phy has been replaced by adin1300.
Enable the driver so that the new SoMs have functional networking.
Signed-off-by: Josua Mayer
---
configs/mx6cuboxi_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mx6cuboxi_defconfig b/configs
node that is detected at runtime.
Signed-off-by: Josua Mayer
---
board/solidrun/mx6cuboxi/mx6cuboxi.c | 78
configs/mx6cuboxi_defconfig | 1 +
2 files changed, 79 insertions(+)
diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c
b/board/solidrun/mx6cuboxi
and reduce the amount of duplicate code to carry around.
Josua Mayer (12):
cmd: tlv_eeprom: remove use of global variable current_dev
cmd: tlv_eeprom: remove use of global variable has_been_read
cmd: tlv_eeprom: do_tlv_eeprom: stop using non-api read_eeprom
function
cmd: tlv_eeprom
Make tlv_eeprom command device selection an explicit parameter of all
function calls.
Signed-off-by: Josua Mayer
---
cmd/tlv_eeprom.c | 50 ++--
include/tlv_eeprom.h | 3 ++-
2 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/cmd
IN the scope of do_tlv_eeprom, the error-checking provided by the
read_eeprom function is not required.
Instead use the API function read_tlv_eeprom.
Signed-off-by: Josua Mayer
---
cmd/tlv_eeprom.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/tlv_eeprom.c b/cmd
has_been_read is only used as an optimization for do_tlv_eeprom.
Explicitly use and set inside this function, thus making read_eeprom
stateless.
Signed-off-by: Josua Mayer
---
cmd/tlv_eeprom.c | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/cmd
tlv_eeprom exposed functions are independent from platforms, hence no
stubs are required.
Signed-off-by: Josua Mayer
---
include/tlv_eeprom.h | 24 ++--
1 file changed, 2 insertions(+), 22 deletions(-)
diff --git a/include/tlv_eeprom.h b/include/tlv_eeprom.h
index
- prog_eeprom: write_tlvinfo_tlv_eeprom
- update_crc: tlvinfo_update_crc
- is_valid_tlv: is_valid_tlvinfo_entry
- is_checksum_valid: tlvinfo_check_crc
Signed-off-by: Josua Mayer
---
cmd/tlv_eeprom.c | 56 +++
include/tlv_eeprom.h | 57
In preparation of splitting the tlv_eeprom command into a separate
library, add function declarations and defines used by the command logic
to the tlv_eeprom header file.
Signed-off-by: Josua Mayer
---
cmd/tlv_eeprom.c | 59
include/tlv_eeprom.h
MAX_TLV_DEVICES defined in C, and TLV_MAX_DEVICES defined in the header
serve the same purpose. Replace all occurences of the former by the
latter.
Signed-off-by: Josua Mayer
---
cmd/tlv_eeprom.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/cmd/tlv_eeprom.c b
The tlv_eeprom command logic checks the static tlv_devices array to
validate the eeprom number. This array will be move to a separate tlv
library.
Hide this access behind a new function exists_tlv_eeprom.
Signed-off-by: Josua Mayer
---
cmd/tlv_eeprom.c | 12 ++--
include
The board file used CONFIG_SPL_CMD_TLV_EEPROM as a library to facilitate
reading tlv data with the memory size from eeprom.
Since the tlv library has been split off, only CONFIG_SPL_EEPROM_TLV_LIB
is required now.
Signed-off-by: Josua Mayer
---
configs/clearfog_defconfig | 3 ++-
1 file changed
While each of the previous individual changes is small, accumulated they
amount to a substantial effort. Explicitly add a Copyright declaration.
Signed-off-by: Josua Mayer
---
cmd/tlv_eeprom.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/tlv_eeprom.c b/cmd/tlv_eeprom.c
index
This solves the potentially common problem of getting a specific tlv
entry from an eeprom in board-files, without having to introduce several
variables, error handling, memcpy and 0-terminating the string.
Signed-off-by: Josua Mayer
---
include/tlv_eeprom.h | 12
lib/tlv
The eeprom command includes functions for reading and writing
tlv-formatted data from an eeprom, as well as an implementation of the
cli command tlv_eeprom.
Split off the parsing, read and write into a standalone tlv library.
Signed-off-by: Josua Mayer
---
cmd/Kconfig | 2 +
cmd
there is next version that is).
Made a mental note, will do.
On 02.05.22 16:18, Josua Mayer wrote:
Make tlv_eeprom command device selection an explicit parameter of all
function calls.
Signed-off-by: Josua Mayer
Reviewed-by: Stefan Roese
Thanks,
Stefan
---
cmd/tlv_eeprom.c | 50
Am 03.05.22 um 09:16 schrieb Stefan Roese:
On 02.05.22 16:18, Josua Mayer wrote:
- prog_eeprom: write_tlvinfo_tlv_eeprom
- update_crc: tlvinfo_update_crc
- is_valid_tlv: is_valid_tlvinfo_entry
- is_checksum_valid: tlvinfo_check_crc
So while creating a new API it makes sense to prepend the
\o/
Am 03.05.22 um 13:54 schrieb Stefan Roese:
Hi Josua,
On 03.05.22 09:17, Josua Mayer wrote:
Am 03.05.22 um 09:16 schrieb Stefan Roese:
On 02.05.22 16:18, Josua Mayer wrote:
- prog_eeprom: write_tlvinfo_tlv_eeprom
- update_crc: tlvinfo_update_crc
- is_valid_tlv: is_valid_tlvinfo_entry
Hi Nate,
Am 02.05.22 um 16:25 schrieb Nate Drude:
Hi Josua,
On Sun, 2022-05-01 at 15:41 +0300, Josua Mayer wrote:
The adin_get_phy_mode_override function does not compile, because it
is
missing both declaration and implementation of
phy_get_interface_by_name.
Remove the whole function for
\o/
Am 04.05.22 um 15:46 schrieb Nate Drude:
Hi Josua,
On Wed, 2022-05-04 at 11:51 +0300, Josua Mayer wrote:
Hi Nate,
Am 02.05.22 um 16:25 schrieb Nate Drude:
Hi Josua,
On Sun, 2022-05-01 at 15:41 +0300, Josua Mayer wrote:
The adin_get_phy_mode_override function does not compile, because
Hi Nate,
That was quick! I have rebased my changes on top of this patch,
and can confirm that the adin phy driver compiles, and still works.
I did not test setting adi,[rt]x-internal-delay-ps in dts though.
So, I guess you can add my superficial
Tested-By: Josua Mayer
[PATCH 0/5] mx6cuboxi
his series, or if it
can be applied.
Am 05.05.22 um 18:30 schrieb Josua Mayer:
\o/
Am 04.05.22 um 15:46 schrieb Nate Drude:
Hi Josua,
On Wed, 2022-05-04 at 11:51 +0300, Josua Mayer wrote:
Hi Nate,
Am 02.05.22 um 16:25 schrieb Nate Drude:
Hi Josua,
On Sun, 2022-05-01 at 15:41 +0300, Josua M
changes the Linux maintainers asked for - and drop the first patch
now that Nate Drude has submitted a fix:
phy: adin: fix broken support for adi,phy-mode-override
sincerely
Josua Mayer
Am 01.05.22 um 15:41 schrieb Josua Mayer:
As of Revision 1.9 the SolidRun i.MX6 SoMs ship with a new PHY - an
defconfig
I have included Nate's patch here only so that it won't get lost - it is fully
independent and I have not made any changes.
Changes since v1:
- applied proper compile fix by Nate Drude
- removed -recovered clock options as requested by Linux maintainers
Josua Mayer (4):
phy:
[1].
[2]
https://patchwork.kernel.org/project/netdevbpf/cover/20220517085143.3749-1-jo...@solid-run.com/
Signed-off-by: Josua Mayer
---
V1 -> V2: removed recovered clock options
drivers/net/phy/adin.c | 42 ++
1 file changed, 42 insertions(+)
diff --
at it also sync the reset-delay with the upstream Linux dtb.
[1]
https://patchwork.kernel.org/project/netdevbpf/patch/20220428082848.12191-4-jo...@solid-run.com/
Signed-off-by: Josua Mayer
---
arch/arm/dts/imx6qdl-sr-som.dtsi | 17 +++--
1 file changed, 15 insertions(+), 2 deletions
phy_get_interface_by_name:
https://github.com/u-boot/u-boot/commit/123ca114e07ecf28aa2538748d733e2b22d8b8b5
This patch refactors adin_get_phy_mode_override, implementing the logic in
the new function, ofnode_read_phy_mode, from the patch above.
Signed-off-by: Nate Drude
Tested-by: Josua Mayer
Since SoMs revision 1.9 the ar8035 phy has been replaced by adin1300.
Enable the driver so that the new SoMs have functional networking.
Signed-off-by: Josua Mayer
---
configs/mx6cuboxi_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/mx6cuboxi_defconfig b/configs
node that is detected at runtime.
Signed-off-by: Josua Mayer
---
board/solidrun/mx6cuboxi/mx6cuboxi.c | 78
configs/mx6cuboxi_defconfig | 1 +
2 files changed, 79 insertions(+)
diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c
b/board/solidrun/mx6cuboxi
Hold off on this one, I found a mistake in the switch case below.
While fully functional, it does enable both phy nodes for addresses 0
and 4 unconditionally.
Cubox requires both, as do potentially any derivate devices - but the
HummingBoards do not.
Am 19.05.22 um 12:31 schrieb Josua Mayer
Hi Mark,
Am 19.05.22 um 13:21 schrieb Mark Kettenis:
From: Josua Mayer
Date: Thu, 19 May 2022 12:31:58 +0300
The Cubox has an unstable phy address - which can appear at either
address 0 (intended) or 4 (unintended).
SoM revision 1.9 has replaced the ar8035 phy with an adin1300, which
will
ft a patch to test this theory, later today.
sincerely
Josua Mayer
On Wed, Jul 27, 2022 at 12:14 PM Fabio Estevam wrote:
> [Adding Josua]
>
> On Tue, Jul 26, 2022 at 3:12 PM Tom Rini wrote:
>
> > So, funny issue here now. With:
> > commit d0399a46e7cda63c07e3eb855
Please hold off merging this patch until someone tested it, I can not do so
this week.
@Tom Can you confirm if this fixes the networking on your Cubox?
Also note that the phy-handle property may or may not be required, I am not
sure.
sincerely
Josua Mayer
On Thu, Jul 28, 2022 at 7:05 AM Josua
Hi everybody,
With the fsuuid command not being listed in Kconfig, and not being
whitelisted, it was impossible to be build it.
This patch rectifies that situation by adding a Kconfig piece for it.
br
Josua Mayer
Josua Mayer (1):
clearfog: enable distro boot code
Kconfig
CONFIG_CMD_FS_UUID was neither whitelisted, nor was it declared in
Kconfig.
Now it can be enabled in .config and defconfig as expected.
Signed-off-by: Josua Mayer
---
cmd/Kconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 13dc46a174..50888236db
Cc: christian.gmei...@gmail.com
Hi Christian,
please take a look at this patch, I suspect it will (hack-)fix your
ethernet issue.
Unfortunately I had no time to revisit this yet and implement a correct
solution.
sincerely
Josua Mayer
Am 28.07.22 um 09:08 schrieb Josua Mayer:
> Please h
ill work).
This somehow has to happen after probing mdio driver, but before probing
ethernet driver.
> I have a
> handful of such devices here
> that are already or will be used in a CI farm so I am interested in
> using the latest U-Boot for them.
>
>> sincerely
>> Josua Ma
M 2.0 and SoM 2.0?
>
> Is this what board_type() does?
> Is HummingBoard2 == SoM 2.0?
No, this is carrier-board detection.
For the SoM we have nothing.
PHY mdio address is actually the best indication we have.
>
>> This somehow has to happen after probing mdio driver, but before pr
]
https://github.com/SolidRun/u-boot-armada38x/commit/aba763a611e69fbcc4e229659da9d84f16b39814
[2]
https://github.com/SolidRun/u-boot-armada38x/commit/dbaf09590df9add19e738d2de03c0f2d0d8f5433
Signed-off-by: Josua Mayer
---
board/solidrun/clearfog/clearfog.c | 2 +-
1 file changed, 1 insertion(+), 1
r now as a workaround.
Signed-off-by: Josua Mayer
---
configs/clearfog_defconfig | 1 -
configs/clearfog_spi_defconfig | 1 -
configs/helios4_defconfig | 1 -
3 files changed, 3 deletions(-)
diff --git a/configs/clearfog_defconfig b/configs/clearfog_defco
From: Alex Leibovich
Adding missing marvell-rtc driver and configuration,
in order to support "date" command.
Signed-off-by: Alex Leibovich
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/boot/u-boot/+/6322
Reviewed-by: Kostya Porotchkin
Tested-by: Kostya Porotchkin
Signed-off
s.
Signed-off-by: Josua Mayer
---
arch/arm/dts/cn9130-cf-base-u-boot.dtsi | 15 ++
arch/arm/dts/cn9130-cf-pro-u-boot.dtsi | 24 +++
arch/arm/dts/cn9130-cf-u-boot.dtsi | 52 ++
arch/arm/dts/cn9130-sr-som-u-boot.dtsi | 122 +
arch/arm/dts/cn9131-cf-
1 - 100 of 105 matches
Mail list logo