[PATCH] zfs: fix missing include for disk_partition definition

2020-06-19 Thread Joel Johnson
warning: ‘struct disk_partition’ declared inside parameter list will not be visible outside of this definition or declaration void zfs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info); Signed-off-by: Joel Johnson Series-CC: Simon Glass --- include/zfs_common.h | 2 ++ 1 file

Re: [PATCH v3] cmd: mvebu: bubt: fix quoted string split across lines

2020-05-01 Thread Joel Johnson
Ping for review feedback on this patch, it'd be good to have the fix included in the same release as the merge was included. Joel On 2020-04-25 20:54, Joel Johnson wrote: Update quoted string alignment to address checkpatch.pl warning originally introduced in commit f60a66ef5d7d ("cmd:

[PATCH v3] cmd: mvebu: bubt: fix quoted string split across lines

2020-04-25 Thread Joel Johnson
Update quoted string alignment to address checkpatch.pl warning originally introduced in commit f60a66ef5d7d ("cmd: mvebu: bubt: show image boot device"). Signed-off-by: Joel Johnson --- I am sort of inferring that this is the desired fix, preferring line length infractions over sp

[PATCH v2] cmd: mvebu: bubt: fix quoted string split across lines

2020-04-25 Thread Joel Johnson
Update quoted string alignment to address checkpatch.pl warning originally introduced in commit f60a66ef5d7d ("cmd: mvebu: bubt: show image boot device"). Signed-off-by: Joel Johnson --- I am sort of inferring that this is the desired fix, preferring line length infractions over sp

[PATCH] cmd: mvebu: bubt: fix quoted string split across lines

2020-04-25 Thread Joel Johnson
Update quoted string alignment to address checkpatch.pl warning originally introduced in commit f60a66ef5d7d ("cmd: mvebu: bubt: show image boot device"). Signed-off-by: Joel Johnson --- I am sort of inferring that this is the desired fix, preferring line length infractions over sp

Re: Please pull u-boot-marvell/master

2020-04-23 Thread Joel Johnson
On 2020-04-22 23:04, Stefan Roese wrote: On 22.04.20 20:34, Tom Rini wrote: On Wed, Apr 22, 2020 at 04:48:33PM +0200, Stefan Roese wrote: Hi Tom, please pull the 2nd batch of MVEBU related patches in this merge window. The major changes are: Applied to u-boot/master, thanks! But the

Re: [PATCH v1 1/2] arm: mvebu: correct SPL boot configs for SPI/MMC

2020-04-18 Thread Joel Johnson
On 2020-04-18 08:23, Dennis Gilmore wrote: On Sat, Apr 18, 2020 at 9:18 AM Dennis Gilmore wrote: On Fri, Apr 17, 2020 at 2:19 AM Joel Johnson wrote: > > Update mvebu SPL boot selection mechanism for the move to driver model > usage by ensuring that the required driver support for SP

[PATCH] spl: Kconfig: de-dup SPL_DM_GPIO definition

2020-04-17 Thread Joel Johnson
Two nearly concurrent commits (d4d65e112 and bcee8d676) added a SPL_DM_GPIO symbol. Resolve the duplication in favor of the version in drivers/gpio/Kconfig. Signed-off-by: Joel Johnson --- common/spl/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/common/spl/Kconfig b/common

[PATCH v6 3/5] cmd: mvebu: bubt: verify A38x target device type

2020-04-17 Thread Joel Johnson
Ensure that the device to which an image is being written includes header information indicating boot support for the destination device. This is derived from the support in the SolidRun master-a38x vendor fork. Signed-off-by: Joel Johnson --- v2 changes: - none v3 changes: - use

[PATCH v6 5/5] cmd: mvebu: bubt: show image boot device

2020-04-17 Thread Joel Johnson
When a mismatch is found trying to write an image for one boot method to a different boot device, print an error message including the image header marked target boot device type. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - newly added in v2 series v3 changes

[PATCH v6 4/5] arm: mvebu: clearfog: enable bubt command

2020-04-17 Thread Joel Johnson
With support added for Armada 38x, include the bubt command in ClearFog defconfig. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none v3 changes: - none v4 changes: - none v5 changes: - none v6 changes: - none --- configs/clearfog_defconfig | 1 + 1 file

[PATCH v6 2/5] cmd: mvebu: bubt: correct U-Boot spelling

2020-04-17 Thread Joel Johnson
Replace "U-BOOT" text with correct spelling Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none v3 changes: - none v4 changes: - none v5 changes: - none v6 changes: - none --- cmd/mvebu/bubt.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH v6 1/5] cmd: mvebu: bubt: add A38x support

2020-04-17 Thread Joel Johnson
Add support for Armada 38x devices in bubt flashing utility. This is based on (and streamlined from) the support in the SolidRun master-a38x vendor fork. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes - none v3 changes - none v4 changes - none v5 changes - none

Re: [PATCH v1 2/2] [WIP] arm: mvebu: Enable helios4 opt-out of SPL GPIO

2020-04-17 Thread Joel Johnson
On 2020-04-17 02:12, Stefan Roese wrote: On 17.04.20 09:19, Joel Johnson wrote: Change the SPL boot selection of MMC from a hard selection of GPIO to a softer imply and opt-out of GPIO support for helios4. This preserves the previous GPIO-less configuration. Signed-off-by: Joel Johnson

[PATCH v1 2/2] [WIP] arm: mvebu: Enable helios4 opt-out of SPL GPIO

2020-04-17 Thread Joel Johnson
Change the SPL boot selection of MMC from a hard selection of GPIO to a softer imply and opt-out of GPIO support for helios4. This preserves the previous GPIO-less configuration. Signed-off-by: Joel Johnson --- Aditya Prayoga - if you object to the addition of GPIO to the helios4

[PATCH v1 1/2] arm: mvebu: correct SPL boot configs for SPI/MMC

2020-04-17 Thread Joel Johnson
. In either case, as far as I can tell, including the GPIO support will at least cause no regression. Tested on SolidRun ClearFog devices. Signed-off-by: Joel Johnson --- This patch unifies two patches from a prior ClearFog specific series which caused issues when building for most other mvebu boards

Re: [PATCH 1/2] arm: mvebu: clearfog: add SCSI to distro bootcmd

2020-04-17 Thread Joel Johnson
On 2020-04-16 00:13, Stefan Roese wrote: On 16.04.20 06:09, Joel Johnson wrote: On 2020-03-23 04:20, Stefan Roese wrote: Added Josua to Cc. On 29.01.20 04:59, Joel Johnson wrote: Include attempting to boot from SCSI (SATA) devices within generated board distro bootcmd environment

[PATCH] arm: mvebu: clearfog: adjust SCSI boot duplication

2020-04-17 Thread Joel Johnson
Fix duplication resulting from merging of multiple related series. Commits cecf38a75, bd02fd29f, and 201a500de added or adjusted SCSI boot support for ClearFog, but in slightly different locations which didn't result in a merge conflict. Signed-off-by: Joel Johnson --- include/configs

Re: [PATCH 0/4] Updates for ClearFog EEPROM

2020-04-16 Thread Joel Johnson
On 2020-04-16 06:38, Stefan Roese wrote: Hi Baruch, On 16.04.20 14:22, Baruch Siach wrote: Hi Stefan, On Wed, Apr 15 2020, Stefan Roese wrote: On 19.01.20 08:10, Joel Johnson wrote: This set of patches applies on top of https://patchwork.ozlabs.org/cover/1200324/, based on testing using

Re: [PATCH v6 09/12] arm: mvebu: enable working default boot support

2020-04-15 Thread Joel Johnson
On 2020-04-14 03:33, Stefan Roese wrote: Hi Joel, On 23.03.20 21:21, Joel Johnson wrote: With the move to driver model usage, ensure that the required driver support for SPI and MMC booting is available in SPL. Tested on SolidRun ClearFog devices. Signed-off-by: Joel Johnson Reviewed

Re: [PATCH 1/2] arm: mvebu: clearfog: add SCSI to distro bootcmd

2020-04-15 Thread Joel Johnson
On 2020-03-23 04:20, Stefan Roese wrote: Added Josua to Cc. On 29.01.20 04:59, Joel Johnson wrote: Include attempting to boot from SCSI (SATA) devices within generated board distro bootcmd environment. The reasoning for boot ordering is that MMC and USB are external and removable, while when

[PATCH v5 5/5] cmd: mvebu: bubt: show image boot device

2020-03-24 Thread Joel Johnson
When a mismatch is found trying to write an image for one boot method to a different boot device, print an error message including the image header marked target boot device type. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - newly added in v2 series v3 changes

[PATCH v5 1/5] cmd: mvebu: bubt: add A38x support

2020-03-24 Thread Joel Johnson
Add support for Armada 38x devices in bubt flashing utility. This is based on (and streamlined from) the support in the SolidRun master-a38x vendor fork. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes - none v3 changes - none v4 changes - none v5 changes - none

[PATCH v5 3/5] cmd: mvebu: bubt: verify A38x target device type

2020-03-24 Thread Joel Johnson
Ensure that the device to which an image is being written includes header information indicating boot support for the destination device. This is derived from the support in the SolidRun master-a38x vendor fork. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none

[PATCH v5 4/5] arm: mvebu: clearfog: enable bubt command

2020-03-24 Thread Joel Johnson
With support added for Armada 38x, include the bubt command in ClearFog defconfig. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none v3 changes: - none v4 changes: - none v5 changes: - none --- configs/clearfog_defconfig | 1 + 1 file changed, 1 insertion

[PATCH v5 2/5] cmd: mvebu: bubt: correct U-Boot spelling

2020-03-24 Thread Joel Johnson
Replace "U-BOOT" text with correct spelling Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none v3 changes: - none v4 changes: - none v5 changes: - none --- cmd/mvebu/bubt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

Re: [PATCH v3 5/5] cmd: mvebu: bubt: show image boot device

2020-03-24 Thread Joel Johnson
On 2020-03-24 01:28, Stefan Roese wrote: On 23.03.20 18:43, Joel Johnson wrote: When a mismatch is found trying to write an image for one boot method to a different boot device, print an error message including the image header marked target boot device type. Signed-off-by: Joel Johnson

[PATCH v6 12/12] arm: mvebu: clearfog: Use Pro DT by default

2020-03-23 Thread Joel Johnson
Switch to explicitly using the Pro variant DT, which has been available since Linux 4.11. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v4 changes: - new v5 changes: - none v6 changes: - none I separated out this change to the end of the series since it drew questioning

[PATCH v6 11/12] arm: mvebu: clearfog: don't always use SPL MMC

2020-03-23 Thread Joel Johnson
Move MMC booting assuptions from defconfig to Kconfig which includes as needed based on dependent options. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - rebased on master to use Baruch's dynamic MMC/SD offset logic - update description, will revisit removal

[PATCH v6 10/12] arm: mvebu: clearfog: move ENV params to Kconfig

2020-03-23 Thread Joel Johnson
Migrate the values for ENV_SIZE and ENV_OFFSET into board specific Kconfig defaults so they're more accessible for configuration. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none v3 changes: - none v4 changes: - none v5 changes: - none v6 changes: - none

[PATCH v6 03/12] arm: mvebu: clearfog: use Pro name by default

2020-03-23 Thread Joel Johnson
Make the board version printed indicate the Pro variant default. Also adjust static name casing to match what is expected for EEPROM product name to share string constants. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v4 changes: - newly added v5 changes: - none v6 changes

[PATCH v6 07/12] arm: mvebu: clearfog: Unify DT selection paths

2020-03-23 Thread Joel Johnson
Unify the location of DT selection into board_late_init instead of split between detection and static configuration paths. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes - newly added in V2 series based on run-time rebasing v3 changes - none v4 changes - separate

[PATCH v6 08/12] arm: mvebu: clearfog: add SPI offsets

2020-03-23 Thread Joel Johnson
Add reasonable default SPI offsets and ENV size when configured to boot from SPI flash. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none v3 changes: - none v4 changes: - none v5 changes: - none v6 changes: - none There was some reasonable concern raised

[PATCH v6 06/12] arm: mvebu: clearfog: Add SATA mode flags

2020-03-23 Thread Joel Johnson
The mPCIe slots on ClearFog Pro and ClearFog Base may be alternately configured for SATA usage. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - fixed help indentation v3 changes: - none v4 changes: - adjust static SerDes configuration at runtime instead of #ifdef

[PATCH v6 09/12] arm: mvebu: enable working default boot support

2020-03-23 Thread Joel Johnson
With the move to driver model usage, ensure that the required driver support for SPI and MMC booting is available in SPL. Tested on SolidRun ClearFog devices. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - change "select" for ENV_IS_IN_X to "

[PATCH v6 02/12] arm: mvebu: solidrun: remove hardcoded DTS MAC address

2020-03-23 Thread Joel Johnson
Using a consistent hardcoded MAC address from the DTS file causes issues when using multiple devices on the same network segment. Instead rely on environment configuration or random generation. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none v3 changes: - none

[PATCH v6 05/12] arm: mvebu: clearfog: Add option for 2.5 Gbps SFP

2020-03-23 Thread Joel Johnson
While newer Linux kernels provide autoconfiguration of SFP, provide an option for setting in U-Boot Kconfig for use prior to booting. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - fixed help indentation v3 changes: - none v4 changes: - adjust static SerDes

[PATCH v6 04/12] arm: mvebu: clearfog: initial ClearFog Base variant

2020-03-23 Thread Joel Johnson
Add a unique entry for ClearFog Base variant, reflected in the board name and adjusted SerDes topology. Signed-off-by: Joel Johnson --- v2 changes: - reworked based on Baruch's run-time TLV EEPROM detection series v3 changes: - rebased on mvebu merged run-time TLV EEPROM detection series

[PATCH v6 00/12] ClearFog Base static variant support

2020-03-23 Thread Joel Johnson
as presently patched. Only tested with ClearFog Base which only provides single channel, but Pro mechanism is parallel. v6 - address minor review feedback Joel Johnson (12): arm: mvebu: fix SerDes table alignment arm: mvebu: solidrun: remove hardcoded DTS MAC address arm: mvebu

[PATCH v6 01/12] arm: mvebu: fix SerDes table alignment

2020-03-23 Thread Joel Johnson
| USB3 HOST1 | | 4| 5 | PCIe2 | | 5| 0 | SGMII2 | Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes - none v3 changes - none v4 changes - none v5 changes - none v6 changes - none --- arch/arm/mach

Re: [PATCH v3 5/5] cmd: mvebu: bubt: show image boot device

2020-03-23 Thread Joel Johnson
On 2020-03-23 11:43, Joel Johnson wrote: When a mismatch is found trying to write an image for one boot method to a different boot device, print an error message including the image header marked target boot device type. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes

[PATCH v3 5/5] cmd: mvebu: bubt: show image boot device

2020-03-23 Thread Joel Johnson
When a mismatch is found trying to write an image for one boot method to a different boot device, print an error message including the image header marked target boot device type. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - newly added in v2 series v3 changes

[PATCH v3 1/5] cmd: mvebu: bubt: add A38x support

2020-03-23 Thread Joel Johnson
Add support for Armada 38x devices in bubt flashing utility. This is based on (and streamlined from) the support in the SolidRun master-a38x vendor fork branch. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes - none v3 changes - none --- cmd/mvebu/bubt.c | 69

[PATCH v3 4/5] arm: mvebu: clearfog: enable bubt command

2020-03-23 Thread Joel Johnson
With support added for Armada 38x, include the bubt command in ClearFog defconfig. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none v3 changes: - none --- configs/clearfog_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[PATCH v3 3/5] cmd: mvebu: bubt: verify A38x target device type

2020-03-23 Thread Joel Johnson
Ensure that the device to which an image is being written includes header information indicating boot support for the destination device. This is derived from the support in the SolidRun master-a38x vendor fork. Signed-off-by: Joel Johnson --- v2 changes: - none v3 changes: - use

[PATCH v3 2/5] cmd: mvebu: bubt: correct U-Boot spelling

2020-03-23 Thread Joel Johnson
Replace "U-BOOT" text with correct spelling Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes: - none v3 changes: - none --- cmd/mvebu/bubt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index

[PATCH v2 2/2] arm: mvebu: clearfog: support multiple SATA boot

2020-03-23 Thread Joel Johnson
Enable distro bootcmd support for additional SATA ports if enabled. Signed-off-by: Joel Johnson --- This patch builds on and requires the separate patch in the "ClearFog Base static variant support" series adding configurable SATA support ("arm: mvebu: clearfog: Add SATA mo

[PATCH v2 1/2] arm: mvebu: clearfog: add SCSI to distro bootcmd

2020-03-23 Thread Joel Johnson
] external media must be removed. If SCSI were placed before MMC or USB, then removing a bootable SCSI drive to enable MMC or USB booting would be more difficult. Signed-off-by: Joel Johnson Reviewed-by: Stefan Roese --- v2 changes - none --- include/configs/clearfog.h | 7 +++ 1 file

Re: [PATCH 1/2] arm: mvebu: clearfog: add SCSI to distro bootcmd

2020-03-23 Thread Joel Johnson
On 2020-03-23 04:27, Stefan Roese wrote: Hi Joel, On 22.03.20 19:53, Joel Johnson wrote: As with other related ClearFog patches, I haven't received any review responses on this series (http://patchwork.ozlabs.org/project/uboot/list/?series=155760) and would like to ping out for additional

Re: [PATCH v2 3/5] cmd: mvebu: bubt: verify A38x target device type

2020-03-23 Thread Joel Johnson
On 2020-03-23 04:06, Stefan Roese wrote: On 29.01.20 15:50, Joel Johnson wrote: Ensure that the device to which an image is being written includes header information indicating boot support for the destination device. This is derived from the support in the SolidRun master-a38x vendor fork

Re: [PATCH v5 04/12] arm: mvebu: clearfog: initial ClearFog Base variant

2020-03-23 Thread Joel Johnson
On 2020-03-23 03:11, Stefan Roese wrote: On 27.01.20 21:01, Joel Johnson wrote: Add a unique entry for ClearFog Base variant, reflected in the board name and adjusted SerDes topology. Signed-off-by: Joel Johnson --- v2 changes: - reworked based on Baruch's run-time TLV EEPROM detection

Re: [PATCH 1/2] arm: mvebu: clearfog: add SCSI to distro bootcmd

2020-03-22 Thread Joel Johnson
of SCSI_CLEARFOG2/SCSI_CLEARFOG3 as index counters, but otherwise still seems good. If it's in an acceptable state for inclusion in the next merge window, that's certainly fine too, I'm just looking for a crosscheck. Thanks! Joel On 2020-01-28 20:59, Joel Johnson wrote: Include attempting to boot from

Re: [PATCH v2 1/5] cmd: mvebu: bubt: add A38x support

2020-03-22 Thread Joel Johnson
, Joel Johnson wrote: Add support for Armada 38x devices in bubt flashing utility. This is based on (and streamlined from) the support in the SolidRun master-a38x vendor fork branch. Signed-off-by: Joel Johnson --- v2 changes - none --- cmd/mvebu/bubt.c | 69

Re: [PATCH v5 00/12] ClearFog Base static variant support

2020-03-22 Thread Joel Johnson
completely reasonable, but I would request review and feedback on blocking issues, otherwise does it have general agreement for merging in the next merge window? Thanks, Joel On 2020-01-27 13:01, Joel Johnson wrote: This patch series adds support for ClearFog Base static configuration, as well

[PATCH] cmd: mdc/mwc: normalize disjoint MX_CYCLIC usage

2020-01-29 Thread Joel Johnson
the CMD version. Signed-off-by: Joel Johnson --- README| 2 +- cmd/Kconfig | 8 +--- cmd/mem.c | 8 configs/M5249EVB_defconfig| 2 +- configs/amcore_defconfig | 2 +- configs

[PATCH v2 4/5] arm: mvebu: clearfog: enable bubt command

2020-01-29 Thread Joel Johnson
With support added for Armada 38x, include the bubt command in ClearFog defconfig. Signed-off-by: Joel Johnson --- v2 changes: - none --- configs/clearfog_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig index c938448c30

[PATCH v2 5/5] cmd: mvebu: bubt: show image boot device

2020-01-29 Thread Joel Johnson
When a mismatch is found trying to write an image for one boot method to a different boot device, print an error message including the image header marked target boot device type. Signed-off-by: Joel Johnson --- v2 changes: - newly added in v2 series --- cmd/mvebu/bubt.c | 15

[PATCH v2 3/5] cmd: mvebu: bubt: verify A38x target device type

2020-01-29 Thread Joel Johnson
Ensure that the device to which an image is being written includes header information indicating boot support for the destination device. This is derived from the support in the SolidRun master-a38x vendor fork branch. Signed-off-by: Joel Johnson --- v2 changes: - none --- cmd/mvebu

[PATCH v2 1/5] cmd: mvebu: bubt: add A38x support

2020-01-29 Thread Joel Johnson
Add support for Armada 38x devices in bubt flashing utility. This is based on (and streamlined from) the support in the SolidRun master-a38x vendor fork branch. Signed-off-by: Joel Johnson --- v2 changes - none --- cmd/mvebu/bubt.c | 69 +++- 1

[PATCH v2 2/5] cmd: mvebu: bubt: correct U-Boot spelling

2020-01-29 Thread Joel Johnson
Replace "U-BOOT" text with correct spelling Signed-off-by: Joel Johnson --- v2 changes: - none --- cmd/mvebu/bubt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index d399fb6da4..b80b81c82a 100644 --- a/cmd/mvebu/bu

[PATCH 2/2] arm: mvebu: clearfog: support multiple SATA boot

2020-01-28 Thread Joel Johnson
Enabled distro bootcmd support for additional SATA ports if enabled. Signed-off-by: Joel Johnson --- This patch builds on and requires the separate patch series adding configurable SATA support ("arm: mvebu: clearfog: Add SATA mode flags"). --- include/configs/clear

[PATCH 1/2] arm: mvebu: clearfog: add SCSI to distro bootcmd

2020-01-28 Thread Joel Johnson
] external media must be removed. If SCSI were placed before MMC or USB, then removing a bootable SCSI drive to enable MMC or USB booting would be more difficult. Signed-off-by: Joel Johnson --- include/configs/clearfog.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include

Re: [PATCH v5 12/12] arm: mvebu: clearfog: Use Pro DT by default

2020-01-27 Thread Joel Johnson
On 2020-01-27 23:17, Baruch Siach wrote: Hi Joel, On Mon, Jan 27, 2020 at 01:01:56PM -0700, Joel Johnson wrote: Switch to explicitly using the Pro variant DT, which has been available since Linux 4.11. --- v4 changes: - new v5 changes: - none I separated out this change to the end

Re: [PATCH v5 06/12] arm: mvebu: clearfog: Add SATA mode flags

2020-01-27 Thread Joel Johnson
On 2020-01-27 23:06, Baruch Siach wrote: Hi Joel, On Mon, Jan 27, 2020 at 01:01:50PM -0700, Joel Johnson wrote: --- a/board/solidrun/clearfog/Kconfig +++ b/board/solidrun/clearfog/Kconfig + +config CLEARFOG_CON2_SATA + bool "Use CON2 slot in SATA mode" +

[PATCH v5 09/12] arm: mvebu: enable working default boot support

2020-01-27 Thread Joel Johnson
With the move to driver model usage, ensure that the required driver support for SPI and MMC booting is available in SPL. Tested on SolidRun ClearFog devices. Signed-off-by: Joel Johnson --- v2 changes: - change "select" for ENV_IS_IN_X to "imply" to allow disabling

[PATCH v5 11/12] arm: mvebu: clearfog: don't always use SPL MMC

2020-01-27 Thread Joel Johnson
Move MMC booting assuptions from defconfig to Kconfig which includes as needed based on dependent options. Signed-off-by: Joel Johnson --- v2 changes: - rebased on master to use Baruch's dynamic MMC/SD offset logic - update description, will revisit removal

[PATCH v5 12/12] arm: mvebu: clearfog: Use Pro DT by default

2020-01-27 Thread Joel Johnson
this change. In cases where checking *is* done from userspace, the broadening of the Clearfog product line would seem to mean that userspace checking should be flagged as needing to be udpated as well (or glob/regex matched as needed). Signed-off-by: Joel Johnson --- board/solidrun/clearfog

[PATCH v5 10/12] arm: mvebu: clearfog: move ENV params to Kconfig

2020-01-27 Thread Joel Johnson
Migrate the values for ENV_SIZE and ENV_OFFSET into board specific Kconfig defaults so they're more accessible for configuration. --- v2 changes: - none v3 changes: - none v4 changes: - none v5 changes: - none Signed-off-by: Joel Johnson --- board/solidrun/clearfog/Kconfig | 8

[PATCH v5 08/12] arm: mvebu: clearfog: add SPI offsets

2020-01-27 Thread Joel Johnson
Add reasonable default SPI offsets and ENV size when configured to boot from SPI flash. Signed-off-by: Joel Johnson --- v2 changes: - none v3 changes: - none v4 changes: - none v5 changes: - none There was some reasonable concern raised about duplicating config entries within a board

[PATCH v5 07/12] arm: mvebu: clearfog: Unify DT selection paths

2020-01-27 Thread Joel Johnson
- none Signed-off-by: Joel Johnson --- board/solidrun/clearfog/clearfog.c | 2 ++ include/configs/clearfog.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/board/solidrun/clearfog/clearfog.c b/board/solidrun/clearfog/clearfog.c index f650e2b40e..4170fd4775 100644

[PATCH v5 05/12] arm: mvebu: clearfog: Add option for 2.5 Gbps SFP

2020-01-27 Thread Joel Johnson
While newer Linux kernels provide autoconfiguration of SFP, provide an option for setting in U-Boot Kconfig for use prior to booting. Signed-off-by: Joel Johnson --- v2 changes: - fixed help indentation v3 changes: - none v4 changes: - adjust static SerDes configuration at runtime

[PATCH v5 01/12] arm: mvebu: fix SerDes table alignment

2020-01-27 Thread Joel Johnson
| USB3 HOST1 | | 4| 5 | PCIe2 | | 5| 0 | SGMII2 | Signed-off-by: Joel Johnson --- v2 changes - none v3 changes - none v4 changes - none v5 changes - none --- arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c | 6

[PATCH v5 06/12] arm: mvebu: clearfog: Add SATA mode flags

2020-01-27 Thread Joel Johnson
The mPCIe slots on ClearFog Pro and ClearFog Base may be alternately configured for SATA usage. Signed-off-by: Joel Johnson --- v2 changes: - fixed help indentation v3 changes: - none v4 changes: - adjust static SerDes configuration at runtime instead of #ifdef - add setting of swap_rx

[PATCH v5 02/12] arm: mvebu: solidrun: remove hardcoded DTS MAC address

2020-01-27 Thread Joel Johnson
Using a consistent hardcoded MAC address from the DTS file causes issues when using multiple devices on the same network segment. Instead rely on environment configuration or random generation. Signed-off-by: Joel Johnson --- v2 changes: - none v3 changes: - none v4 changes: - none v5

[PATCH v5 00/12] ClearFog Base static variant support

2020-01-27 Thread Joel Johnson
as presently patched. Only tested with ClearFog Base which only provides single channel, but Pro mechanism is parallel. Joel Johnson (12): arm: mvebu: fix SerDes table alignment arm: mvebu: solidrun: remove hardcoded DTS MAC address arm: mvebu: clearfog: use Pro name by default arm

[PATCH v5 04/12] arm: mvebu: clearfog: initial ClearFog Base variant

2020-01-27 Thread Joel Johnson
Add a unique entry for ClearFog Base variant, reflected in the board name and adjusted SerDes topology. Signed-off-by: Joel Johnson --- v2 changes: - reworked based on Baruch's run-time TLV EEPROM detection series v3 changes: - rebased on mvebu merged run-time TLV EEPROM detection series

[PATCH v5 03/12] arm: mvebu: clearfog: use Pro name by default

2020-01-27 Thread Joel Johnson
Make the board version printed indicate the Pro variant default. Also adjust static name casing to match what is expected for EEPROM product name to share string constants. --- v4 changes: - newly added v5 changes: - none Signed-off-by: Joel Johnson --- board/solidrun/clearfog/clearfog.c

Re: [PATCH v4 06/12] arm: mvebu: clearfog: Add option for 2.5 Gbps SFP

2020-01-27 Thread Joel Johnson
On 2020-01-27 09:27, Joel Johnson wrote: On 2020-01-27 00:20, Baruch Siach wrote: Hi Joel, On Mon, Jan 27 2020, Joel Johnson wrote: On 2020-01-26 22:29, Baruch Siach wrote: On Mon, Jan 27 2020, Joel Johnson wrote: While newer Linux kernels provide autoconfiguration of SFP, provide an option

Re: [PATCH v4 06/12] arm: mvebu: clearfog: Add option for 2.5 Gbps SFP

2020-01-27 Thread Joel Johnson
On 2020-01-27 00:20, Baruch Siach wrote: Hi Joel, On Mon, Jan 27 2020, Joel Johnson wrote: On 2020-01-26 22:29, Baruch Siach wrote: On Mon, Jan 27 2020, Joel Johnson wrote: While newer Linux kernels provide autoconfiguration of SFP, provide an option for setting in U-Boot Kconfig for use

[PATCH 1/4] cmd: mvebu: bubt: add A38x support

2020-01-27 Thread Joel Johnson
Add support for Armada 38x devices in bubt flashing utility. This is based on (and streamlined from) the support in the SolidRun master-a38x vendor fork branch. Signed-off-by: Joel Johnson --- cmd/mvebu/bubt.c | 69 +++- 1 file changed, 68

[PATCH 3/4] cmd: mvebu: bubt: verify A38x target device type

2020-01-27 Thread Joel Johnson
Ensure that the device to which an image is being written includes header information indicating boot support for the destination device. This is derived from the support in the SolidRun master-a38x vendor fork branch. Signed-off-by: Joel Johnson --- cmd/mvebu/bubt.c | 49

[PATCH 2/4] cmd: mvebu: bubt: correct U-Boot spelling

2020-01-27 Thread Joel Johnson
Replace "U-BOOT" text with correct spelling Signed-off-by: Joel Johnson --- cmd/mvebu/bubt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/mvebu/bubt.c b/cmd/mvebu/bubt.c index d399fb6da4..b80b81c82a 100644 --- a/cmd/mvebu/bubt.c +++ b/cmd/mvebu/bubt.c

[PATCH 4/4] arm: mvebu: clearfog: enable bubt command

2020-01-27 Thread Joel Johnson
With support added for Armada 38x, include the bubt command in ClearFog defconfig. Signed-off-by: Joel Johnson --- configs/clearfog_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig index c938448c30..0d7e19e731 100644

Re: [PATCH v4 06/12] arm: mvebu: clearfog: Add option for 2.5 Gbps SFP

2020-01-26 Thread Joel Johnson
On 2020-01-26 22:29, Baruch Siach wrote: Hi Joel, On Mon, Jan 27 2020, Joel Johnson wrote: While newer Linux kernels provide autoconfiguration of SFP, provide an option for setting in U-Boot Kconfig for use prior to booting. Signed-off-by: Joel Johnson --- v2 changes: - fixed help

[PATCH v4 12/12] arm: mvebu: clearfog: Use Pro DT by default

2020-01-26 Thread Joel Johnson
*is* done from userspace, the broadening of the Clearfog product line would seem to mean that userspace checking should be flagged as needing to be udpated as well (or glob/regex matched as needed). Signed-off-by: Joel Johnson --- board/solidrun/clearfog/clearfog.c | 2 +- 1 file changed, 1 insertion

[PATCH v4 11/12] arm: mvebu: clearfog: Add SATA mode flags

2020-01-26 Thread Joel Johnson
The mPCIe slots on ClearFog Pro and ClearFog Base may be alternately configured for SATA usage. Signed-off-by: Joel Johnson --- v2 changes: - fixed help indentation v3 changes: - none v4 changes: - adjust static SerDes configuration at runtime instead of #ifdef - add setting of swap_rx

[PATCH v4 05/12] arm: mvebu: clearfog: Unify DT selection paths

2020-01-26 Thread Joel Johnson
-by: Joel Johnson --- board/solidrun/clearfog/clearfog.c | 2 ++ include/configs/clearfog.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/board/solidrun/clearfog/clearfog.c b/board/solidrun/clearfog/clearfog.c index 04238d2b05..4019e37016 100644 --- a/board/solidrun

[PATCH v4 10/12] arm: mvebu: clearfog: don't always use SPL MMC

2020-01-26 Thread Joel Johnson
Move MMC booting assuptions from defconfig to Kconfig which includes as needed based on dependent options. Signed-off-by: Joel Johnson --- v2 changes: - rebased on master to use Baruch's dynamic MMC/SD offset logic - update description, will revisit removal

[PATCH v4 02/12] arm: mvebu: solidrun: remove hardcoded DTS MAC address

2020-01-26 Thread Joel Johnson
Using a consistent hardcoded MAC address from the DTS file causes issues when using multiple devices on the same network segment. Instead rely on environment configuration or random generation. Signed-off-by: Joel Johnson --- v2 changes: - none v3 changes: - none v4 changes: - none

[PATCH v4 09/12] arm: mvebu: clearfog: move ENV params to Kconfig

2020-01-26 Thread Joel Johnson
Migrate the values for ENV_SIZE and ENV_OFFSET into board specific Kconfig defaults so they're more accessible for configuration. --- v2 changes: - none v3 changes: - none v4 changes: - none Signed-off-by: Joel Johnson --- board/solidrun/clearfog/Kconfig | 8 configs

[PATCH v4 00/12] ClearFog Base static variant support

2020-01-26 Thread Joel Johnson
EEPROM changes merged into mvebu/master v4 - adjust static SerDes configuration at runtime instead of #ifdef Joel Johnson (12): arm: mvebu: fix SerDes table alignment arm: mvebu: solidrun: remove hardcoded DTS MAC address arm: mvebu: clearfog: use Pro name by default arm: mvebu

[PATCH v4 06/12] arm: mvebu: clearfog: Add option for 2.5 Gbps SFP

2020-01-26 Thread Joel Johnson
While newer Linux kernels provide autoconfiguration of SFP, provide an option for setting in U-Boot Kconfig for use prior to booting. Signed-off-by: Joel Johnson --- v2 changes: - fixed help indentation v3 changes: - none v4 changes: - adjust static SerDes configuration at runtime

[PATCH v4 07/12] arm: mvebu: clearfog: add SPI offsets

2020-01-26 Thread Joel Johnson
Add reasonable default SPI offsets and ENV size when configured to boot from SPI flash. Signed-off-by: Joel Johnson --- v2 changes: - none v3 changes: - none v4 changes: - none There was some reasonable concern raised about duplicating config entries within a board specific config file

[PATCH v4 03/12] arm: mvebu: clearfog: use Pro name by default

2020-01-26 Thread Joel Johnson
"ClearFog", however the EEPROM checked values use "Clearfog", so I changed to match to be able to use the same string constant values for consistency. Signed-off-by: Joel Johnson --- board/solidrun/clearfog/clearfog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[PATCH v4 04/12] arm: mvebu: clearfog: initial ClearFog Base variant

2020-01-26 Thread Joel Johnson
Add a unique entry for ClearFog Base variant, reflected in the board name and adjusted SerDes topology. Signed-off-by: Joel Johnson --- v2 changes: - reworked based on Baruch's run-time TLV EEPROM detection series v3 changes: - rebased on mvebu merged run-time TLV EEPROM detection series

[PATCH v4 08/12] arm: mvebu: enable working default boot support

2020-01-26 Thread Joel Johnson
With the move to driver model usage, ensure that the required driver support for SPI and MMC booting is available in SPL. Tested on SolidRun ClearFog devices. Signed-off-by: Joel Johnson --- v2 changes: - change "select" for ENV_IS_IN_X to "imply" to allow disabling

[PATCH v4 01/12] arm: mvebu: fix SerDes table alignment

2020-01-26 Thread Joel Johnson
| USB3 HOST1 | | 4| 5 | PCIe2 | | 5| 0 | SGMII2 | Signed-off-by: Joel Johnson --- v2 changes - none v3 changes - none v4 changes - none --- arch/arm/mach-mvebu/serdes/a38x/high_speed_env_spec.c | 6 +++--- 1 file changed

Re: [PATCH 2/2] Revert "common: add blkcache init"

2020-01-26 Thread Joel Johnson
Thanks for the quick response and update! Joel On 2020-01-26 11:34, Angelo Dureghello wrote: Hi Joel, Tom and all, just sent a fix, you can check it here: https://patchwork.ozlabs.org/project/uboot/list/?series=155358 Sorry again, Regards, Angelo On Sun, Jan 26, 2020 at 5:49 PM Joel Johnson

[PATCH 1/2] arm: mvebu: fix A38x breakage from commit bb872dd930cc

2020-01-26 Thread Joel Johnson
This function parameter usage of load_addr was incorrectly caught in the clarifying renames of commit bb872dd930cc, which results in boot failures on Marvell A38x. Signed-off-by: Joel Johnson Patch-to: Simon Glass --- drivers/ddr/marvell/a38x/ddr3_training_ip_engine.c | 2 +- 1 file changed

[PATCH 2/2] Revert "common: add blkcache init"

2020-01-26 Thread Joel Johnson
to identify the problematic commit I haven't tested further to determine a better possible fix to be compatible with both A38x and m68k. Signed-off-by: Joel Johnson --- common/board_r.c | 3 --- drivers/block/blkcache.c | 9 + include/blk.h| 6 -- 3 files changed, 1

  1   2   >