[PATCH 09/10] Convert CONFIG_SPL_DRIVERS_MISC et al to Kconfig

2021-10-30 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SPL_DRIVERS_MISC CONFIG_SPL_ENV_SUPPORT CONFIG_SPL_GPIO CONFIG_SPL_I2C CONFIG_SPL_LDSCRIPT CONFIG_SPL_LIBCOMMON_SUPPORT CONFIG_SPL_LIBGENERIC_SUPPORT CONFIG_SPL_LOAD_FIT_ADDRESS CONFIG_SPL_MMC CONFIG_SPL_NAND_SUPPORT CO

[PATCH 10/10] Convert CONFIG_BOARD_EARLY_INIT_F et al to Kconfig

2021-10-30 Thread Tom Rini
This converts the following to Kconfig: CONFIG_BOARD_EARLY_INIT_F CONFIG_BOARD_LATE_INIT CONFIG_DISPLAY_BOARDINFO CONFIG_DISPLAY_BOARDINFO_LATE Signed-off-by: Tom Rini --- configs/apalis-imx8_defconfig | 1 + configs/cgtqmx8_defconfig | 1 + configs/colibri-imx8x_defconfi

[PATCH 07/10] Convert CONFIG_OF_EMBED to Kconfig

2021-10-30 Thread Tom Rini
This converts the following to Kconfig: CONFIG_OF_EMBED Signed-off-by: Tom Rini --- README| 7 --- configs/adp-ae3xx_defconfig | 1 + configs/adp-ag101p_defconfig | 1 + include/configs/adp-ae3xx.h | 1 - include/configs/adp-ag101p.h | 1 - include/configs/cg

[PATCH 04/10] Convert CONFIG_SUPPORT_EMMC_BOOT to Kconfig

2021-10-30 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SUPPORT_EMMC_BOOT Signed-off-by: Tom Rini --- configs/apalis-imx8_defconfig | 1 + configs/apalis-imx8x_defconfig | 1 + configs/bcm_ns3_defconfig | 1 + configs/cgtqmx8_defconfig | 1 + configs/col

[PATCH 06/10] Convert CONFIG_MCFUART to Kconfig

2021-10-30 Thread Tom Rini
This converts the following to Kconfig: CONFIG_MCFUART Signed-off-by: Tom Rini --- configs/M5208EVBE_defconfig | 1 + configs/M5235EVB_Flash32_defconfig| 1 + configs/M5235EVB_defconfig| 1 + configs/M5249EVB_defconfig| 1 + configs/M5253DEMO_defconf

[PATCH 05/10] Convert CONFIG_FEC_MXC to Kconfig

2021-10-30 Thread Tom Rini
This converts the following to Kconfig: CONFIG_FEC_MXC Signed-off-by: Tom Rini --- configs/cl-som-imx7_defconfig| 1 + configs/cm_fx6_defconfig | 1 + configs/imx8mq_evk_defconfig | 1 + configs/imx8mq_phanbell_defconfig| 1 + configs/liteb

[PATCH 08/10] Convert CONFIG_BMP_16BPP to Kconfig

2021-10-30 Thread Tom Rini
This converts the following to Kconfig: CONFIG_BMP_16BPP Signed-off-by: Tom Rini --- configs/am335x_guardian_defconfig | 1 + include/configs/am335x_guardian.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defc

[PATCH 02/10] Convert CONFIG_SYS_HZ to Kconfig

2021-10-30 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_HZ Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-stv0991/stv0991_gpt.h | 1 - include/configs/MCR3000.h | 2 -- include/configs/amcore.h| 2 -- include/configs/ap121.h

[PATCH 03/10] Convert CONFIG_SYS_TEXT_BASE to Kconfig

2021-10-30 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_TEXT_BASE Signed-off-by: Tom Rini --- include/configs/bcm7260.h | 1 - include/configs/bcm7445.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/bcm7260.h b/include/configs/bcm7260.h index d799ffd066e8..1bae49e15f35

[PATCH 01/10] spl: Make use of CONFIG_IS_ENABLED(OS_BOOT) in SPL/TPL common code paths

2021-10-30 Thread Tom Rini
When building a system that has both TPL and SPL_OS_BOOT, code which tests for CONFIG_SPL_OS_BOOT will be built and enabled in TPL, which is not correct. While there is no CONFIG_TPL_OS_BOOT symbol at this time (and likely will not ever be) we can use CONFIG_IS_ENABLED(OS_BOOT) in these common pat

Re: Question on running uboot_testpy with tbot

2021-10-30 Thread Simon Glass
Hi again, The relevant part of test-log.html is Section: flash [-] Section: test_fpga_help TIME: NOW: 2021/10/30 13:41:52.662614 TIME: SINCE-PREV: 0:00:00.142842 TIME: SINCE-START: 0:00:00.148402 SKIPPED: ('/home/sglass/tbot-workdir/uboot-rpi3/test/py/conftest.py', 486, 'Skipped: .config fea

Question on running uboot_testpy with tbot

2021-10-30 Thread Simon Glass
Hi, I am trying to run the pytests on my unit. The documentation doesn't really explain how it works. This is what I am trying: $ tbot -vv -l kea.py -b rpi3.py -T tbot/contrib -p 'testpy_args=["-k", "help", "-vv"]' uboot_testpy tbot starting ... ├─Parameters: │ testpy_args = ['-k', 'help',

[u-boot-test-hooks PATCH 3/7] rpi3: Tweak the grep pattern

2021-10-30 Thread Simon Glass
Just to be safe, check for the pattern only at the start of a line, since it is possible to add a comment with this in it. Signed-off-by: Simon Glass --- bin/writer.rpi3_mount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/writer.rpi3_mount b/bin/writer.rpi3_mount index

[u-boot-test-hooks PATCH 7/7] ellesmere: Add qemu rules

2021-10-30 Thread Simon Glass
Add some symlinks so that qemu can be used on ellesmere. Signed-off-by: Simon Glass --- bin/ellesmere/conf.qemu_arm_na | 1 + bin/ellesmere/conf.qemu_arm_spl_na | 1 + 2 files changed, 2 insertions(+) create mode 12 bin/ellesmere/conf.qemu_arm_na create mode 12 bin/ellesmere/conf.

[u-boot-test-hooks PATCH 5/7] Update sdwire script to wait for umount

2021-10-30 Thread Simon Glass
Sometimes the umount takes a while. Add the same wait loop as is used for mount. Also rename the 'done' variable to 'complete' to void confusing it with the end of the for loop. Signed-off-by: Simon Glass --- bin/flash.sdwire_common_mount | 28 1 file changed, 24 in

[u-boot-test-hooks PATCH 4/7] Add wait_raw_device for common code

2021-10-30 Thread Simon Glass
This code is duplicated in two scripts. Put it into a new wait_raw_device to avoid this. Also rename the 'done' variable to 'complete' to void confusing it with the end of the for loop. Signed-off-by: Simon Glass --- bin/flash.sdwire_digital-loggers_raw | 15 +--- bin/flash.sdwire_power

[u-boot-test-hooks PATCH 6/7] kea: Add samus

2021-10-30 Thread Simon Glass
Add a config for samus, the Chromebook Pixel 2. Signed-off-by: Simon Glass --- bin/kea/conf.chromebook_samus_sjg-samus | 30 + 1 file changed, 30 insertions(+) create mode 100644 bin/kea/conf.chromebook_samus_sjg-samus diff --git a/bin/kea/conf.chromebook_samus_sjg-sam

[u-boot-test-hooks PATCH 2/7] sdwire: Tidy up the mount script

2021-10-30 Thread Simon Glass
Add a comment about the tools and drop the debugging, since this seems reliable now. Signed-off-by: Simon Glass --- bin/flash.sdwire_relay_mount | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/flash.sdwire_relay_mount b/bin/flash.sdwire_relay_mount index 4713c2f..f

[u-boot-test-hooks PATCH 1/7] travis-ci: Add qemu_arm_spl board

2021-10-30 Thread Simon Glass
From: Tuomas Tynkkynen This is similar to the existing qemu_arm target, except that the 'bios' is image.bin (containing both SPL and U-Boot) rather than in u-boot.bin Signed-off-by: Simon Glass --- bin/travis-ci/conf.qemu_arm_spl_na | 31 ++ 1 file changed, 31 inse

Re: [PATCH v4 1/2] net: brcm: netXtreme driver

2021-10-30 Thread Roman Bacik
Hi Marek, On Sat, Oct 30, 2021 at 8:00 AM Marek Behún wrote: > > Hello Roman, > > On Thu, 28 Oct 2021 16:29:28 -0700 > Roman Bacik wrote: > > > +void bnxt_env_set_ethaddr(struct udevice *dev) > > +{ > > + struct eth_pdata *plat = dev_get_plat(dev); > > + char cmd[100]; > > + char var

Re: [PATCH v4 1/2] net: brcm: netXtreme driver

2021-10-30 Thread Marek Behún
Hello Roman, On Thu, 28 Oct 2021 16:29:28 -0700 Roman Bacik wrote: > +void bnxt_env_set_ethaddr(struct udevice *dev) > +{ > + struct eth_pdata *plat = dev_get_plat(dev); > + char cmd[100]; > + char var[32]; > + u8 mac_env[ARP_HLEN]; > + > + eth_env_get_enetaddr_by_index("eth"

Re: [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call

2021-10-30 Thread Ramon Fried
On Sat, Oct 30, 2021 at 4:37 PM Bin Meng wrote: > > Hi Ramon, > > On Sat, Oct 30, 2021 at 9:31 PM Ramon Fried wrote: > > > > On Thu, Oct 28, 2021 at 10:29 PM Vladimir Oltean > > wrote: > > > > > > On Thu, Oct 28, 2021 at 09:41:02PM +0300, Ramon Fried wrote: > > > > Bin, patches don't apply clean

Re: [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call

2021-10-30 Thread Bin Meng
Hi Ramon, On Sat, Oct 30, 2021 at 9:31 PM Ramon Fried wrote: > > On Thu, Oct 28, 2021 at 10:29 PM Vladimir Oltean > wrote: > > > > On Thu, Oct 28, 2021 at 09:41:02PM +0300, Ramon Fried wrote: > > > Bin, patches don't apply cleanly. can you rebase ? > > > > > > On Thu, Oct 28, 2021 at 7:53 AM Ra

Re: [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call

2021-10-30 Thread Ramon Fried
On Thu, Oct 28, 2021 at 10:29 PM Vladimir Oltean wrote: > > On Thu, Oct 28, 2021 at 09:41:02PM +0300, Ramon Fried wrote: > > Bin, patches don't apply cleanly. can you rebase ? > > > > On Thu, Oct 28, 2021 at 7:53 AM Ramon Fried wrote: > > > > > > On Wed, Oct 27, 2021 at 5:19 AM Bin Meng wrote:

Re: [PATCH v2 01/10] net: tsec: add support for promiscuous mode

2021-10-30 Thread Ramon Fried
On Thu, Oct 28, 2021 at 9:45 PM Ramon Fried wrote: > > On Sat, Oct 16, 2021 at 9:30 PM Ramon Fried wrote: > > > > On Wed, Sep 29, 2021 at 6:05 PM Vladimir Oltean > > wrote: > > > > > > The Freescale TSEC can be a DSA master, and the ports of the attached > > > DSA switch can have different MAC