Re: [PATCH 4/4] ARM: vexpress: make debug_ll work

2024-06-07 Thread Antony Pavlov
On Fri, 7 Jun 2024 03:12:59 +0300 Antony Pavlov wrote: Hi All! Please fix misspelling in the subject of the original patch message. I have missed final "s" in the word "works". The subject should be "ARM: vexpress: make debug_ll works". > The UART address

Re: barebox + picotcp

2024-06-06 Thread Antony Pavlov
st works. It supports TCP and IPv6. It uses GPLv2. May be iPXE would be a better choice? However, I have not looked at the iPXE code yet. -- Best regards,   Antony Pavlov

[PATCH 4/4] ARM: vexpress: make debug_ll work

2024-06-06 Thread Antony Pavlov
The UART address from dtb is used. Signed-off-by: Antony Pavlov --- include/mach/vexpress/debug_ll.h | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/include/mach/vexpress/debug_ll.h b/include/mach/vexpress/debug_ll.h index cd01d5d0185..3d67e7645d3 100644

[PATCH 2/4] RISC-V: fix crash on start if CONFIG_IMAGE_COMPRESSION_NONE=y

2024-06-06 Thread Antony Pavlov
Use the same approach as ARM barebox uses. See also 6c03bdf8f99 ("kbuild: pbl: use same compression algo for both barebox and DTB"). Signed-off-by: Antony Pavlov --- arch/riscv/boot/start.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/riscv/bo

[PATCH 1/4] pbl: enable image verification for MIPS and RISC-V too

2024-06-06 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- pbl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbl/Kconfig b/pbl/Kconfig index d1877a988d2..5ff2a6ad3c3 100644 --- a/pbl/Kconfig +++ b/pbl/Kconfig @@ -54,7 +54,7 @@ config PBL_FULLY_PIC the code sections. config

[PATCH 3/4] ARM: bcm283x: fix compilation with debug_ll enabled

2024-06-06 Thread Antony Pavlov
licit-function-declaration] 56 | #define BCM2836_AUX_CLOCK_EN_UART BIT(0) /* Bit 0 enables the Miniuart */ | ^~~ Signed-off-by: Antony Pavlov --- include/mach/bcm283x/debug_ll.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 0/4] pbl and debug_ll fixes

2024-06-06 Thread Antony Pavlov
Antony Pavlov (4): pbl: enable image verification for MIPS and RISC-V too RISC-V: fix crash on start if CONFIG_IMAGE_COMPRESSION_NONE=y ARM: bcm283x: fix compilation with debug_ll enabled ARM: vexpress: make debug_ll work arch/riscv/boot/start.c | 11 --- include/mach

[PATCH] Documentation: devel: project-ideas: fix typo

2024-05-09 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/devel/project-ideas.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devel/project-ideas.rst b/Documentation/devel/project-ideas.rst index 4127b2556b5..8d6b5d6e584 100644 --- a/Documentation/devel/project

Re: [PATCH] Documentation: riscv: bring BeagleV Starlight docs up-to-date

2024-03-24 Thread Antony Pavlov
vv" --receive-cmd "rx -vv" 0:update uboot select the function: 0␤ send file by xmodem - ^A^S./platform/starfive/vic7100/firmware/fw_payload.bin.out␤ + ^A^S./build/platform/starfive/vic7100/firmware/fw_payload.bin.out␤ After reset, barebox should then boot to shell and attempt booting kernel ``Image`` and device tree ``jh7100-starlight.dtb`` from the first root partition with the same -- Best regards,   Antony Pavlov

Re: Documentation/boards/riscv.rst: can't rebuild image for BeagleV

2024-03-24 Thread Antony Pavlov
On Fri, 22 Mar 2024 15:29:48 +0100 Ahmad Fatoum wrote: > Hello Antony, > > On 11.03.24 12:50, Ahmad Fatoum wrote: > > Hello Antony, > > > > On 10.03.24 21:33, Antony Pavlov wrote: > >> Hi Ahmad! > >> > >> I have tried to rebuild ba

[PATCH] common: deep-probe: fix DEEP_PROBE_UNKNOWN misspelling

2024-03-20 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- common/deep-probe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/deep-probe.c b/common/deep-probe.c index 931e5a17709..b270a10f7fe 100644 --- a/common/deep-probe.c +++ b/common/deep-probe.c @@ -7,18 +7,18 @@ #include enum

[PATCH] treewide: drop unused header files

2024-03-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- include/usb_dfu_trailer.h | 32 -- lib/bzlib_private.h | 521 --- lib/zstd/zstd_opt.h | 1014 - net/nfs.h | 68 --- 4 files changed, 1635 deletions(-) diff --git a/include

[PATCH] MIPS: add generic device tree 2nd stage support

2024-03-10 Thread Antony Pavlov
r both 32-bit and 64-bit malta boards. Signed-off-by: Antony Pavlov --- arch/mips/Kconfig | 10 ++ arch/mips/boards/Makefile | 2 ++ arch/mips/boards/board-dt-2nd.S | 35 + arch/mips/boot/main_entry-pbl.c | 4 arch/mips/lib/bo

Documentation/boards/riscv.rst: can't rebuild image for BeagleV

2024-03-10 Thread Antony Pavlov
regards,   Antony Pavlov

Re: barebox + picotcp-1.7.0

2024-03-10 Thread Antony Pavlov
On Mon, 4 Mar 2024 15:47:39 +0100 Sascha Hauer wrote: Hi Sascha! > On Sun, Mar 03, 2024 at 09:58:03PM +0300, Antony Pavlov wrote: > > Hi all! > > > > In the message [1] Sascha proposed to have the barebox network stack > > and picotcp in parallel. > > > &

[PATCH v2] gitignore: ignore *.dtbo and *.dtbo.*

2024-03-05 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index f0afd899e1a..5e1b0c2b68f 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,8 @@ binary.0 Module.symvers *.dtb *.dtb.* +*.dtbo +*.dtbo.* # # Top-level generic

[PATCH] gitignore: ignore *.dtbo and *.dtbo.S

2024-03-04 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index f0afd899e1a..c9921d83ed1 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,8 @@ binary.0 Module.symvers *.dtb *.dtb.* +*.dtbo +*.dtbo.S # # Top-level generic

barebox + picotcp-1.7.0

2024-03-03 Thread Antony Pavlov
supported by barebox (DHCP, ARP, ICMP, DNS, TFTP and TCP). Please comment! [1] http://lists.infradead.org/pipermail/barebox/2024-February/045937.html [2] https://github.com/frantony/barebox/tree/20240303.picotcp-1.7.0 -- Best regards,   Antony Pavlov

Re: NFSv4 boot support?

2024-02-28 Thread Antony Pavlov
On Wed, 28 Feb 2024 10:20:27 +0100 Sascha Hauer wrote: Hi Sascha! > On Wed, Feb 28, 2024 at 10:26:15AM +0300, Antony Pavlov wrote: > > On Sat, 17 Feb 2024 09:51:02 +0100 > > Ahmad Fatoum wrote: > > > > Hi All! > > > > > Hello Antony, > >

Re: [PATCH] net: drop unused rarp.h

2024-02-28 Thread Antony Pavlov
On Tue, 27 Feb 2024 10:39:23 +0300 Antony Pavlov wrote: Hi All! Actually there are much more unused header files: $ git clone https://github.com/barebox/barebox $ cd barebox barebox$ for i in $(git grep -h "#.*include" | sed "s/ //g" | grep "^#include&qu

Re: NFSv4 boot support?

2024-02-27 Thread Antony Pavlov
On Sat, 17 Feb 2024 09:51:02 +0100 Ahmad Fatoum wrote: Hi All! > Hello Antony, > > On 05.02.24 10:59, Antony Pavlov wrote: > > On Wed, 31 Jan 2024 22:37:50 +0100 > > Ahmad Fatoum wrote: > > > > Hi All! > > > >> Hello Dan, > >&g

[PATCH] net: drop unused rarp.h

2024-02-26 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- net/rarp.h | 23 --- 1 file changed, 23 deletions(-) diff --git a/net/rarp.h b/net/rarp.h deleted file mode 100644 index 0986b02513f..000 --- a/net/rarp.h +++ /dev/null @@ -1,23 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later

Re: NFSv4 boot support?

2024-02-19 Thread Antony Pavlov
On Sat, 17 Feb 2024 09:51:02 +0100 Ahmad Fatoum wrote: Hi Ahmad! > Hello Antony, > > On 05.02.24 10:59, Antony Pavlov wrote: > > On Wed, 31 Jan 2024 22:37:50 +0100 > > Ahmad Fatoum wrote: > > > > Hi All! > > > >> Hello Dan, > >&g

Re: NFSv4 boot support?

2024-02-05 Thread Antony Pavlov
ts I am aware of: > https://github.com/a3f/barebox/tree/lwip It looks like lwip is BSD-3-clause-licensed. Can we use the BSD-3-clause code in barebox? > https://github.com/olerem/barebox/tree/picotcp-2019.06.29 > > https://github.com/jmaselbas/barebox/commit/4a987bfdc2ad50c13126dd6290d2477c3fc0c87d -- Best regards,   Antony Pavlov

Re: NFSv4 boot support?

2024-02-05 Thread Antony Pavlov
> -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | > > -- Best regards,   Antony Pavlov

[RFC] uimagefs segmentation fault

2024-01-03 Thread Antony Pavlov
ret = uimagefs_add_time(priv); I'm not a skilled uImage user so I have no idea which solution is acceptable for the users. Please comment! -- Best regards,   Antony Pavlov

[PATCH 2/2] common: Kconfig: TIMESTAMP: fix help

2024-01-03 Thread Antony Pavlov
At the moment CONFIG_TIMESTAMP help text is inherited from U-Boot. Fix it in accordance with barebox realities. Signed-off-by: Antony Pavlov --- common/Kconfig | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/Kconfig b/common/Kconfig index c8c23a8e03a

[PATCH 1/2] uImage: use IS_ENABLED(CONFIG_TIMESTAMP)

2024-01-03 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- common/uimage.c | 22 -- fs/uimagefs.c | 24 ++-- 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/common/uimage.c b/common/uimage.c index 72c37b7d15d..3c9a79d9109 100644 --- a/common/uimage.c +++ b/common

[PATCH 0/2] uImage fixes

2024-01-03 Thread Antony Pavlov
Antony Pavlov (2): uImage: use IS_ENABLED(CONFIG_TIMESTAMP) common: Kconfig: TIMESTAMP: fix help common/Kconfig | 7 +++ common/uimage.c | 22 -- fs/uimagefs.c | 24 ++-- 3 files changed, 25 insertions(+), 28 deletions(-) -- 2.39.0

[PATCH] MIPS: qemu-malta*_defconfig: enable e1000 network driver

2024-01-03 Thread Antony Pavlov
images/barebox-qemu-malta.img [####] Signed-off-by: Antony Pavlov --- arch/mips/configs/qemu-malta64el_defconfig | 1 + arch/mips/configs/qemu-malta_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/mips/co

[PATCH] MIPS: asm/pbl_nmon.h: add guard macro

2024-01-01 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/mips/include/asm/pbl_nmon.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/mips/include/asm/pbl_nmon.h b/arch/mips/include/asm/pbl_nmon.h index 7c8ec9d204f..73e4a9d2e9c 100644 --- a/arch/mips/include/asm/pbl_nmon.h +++ b/arch/mips/include/asm

Re: barebox.org browser demo uses barebox-v2022.02

2023-11-26 Thread Antony Pavlov
On Fri, 24 Nov 2023 08:22:27 +0100 Ahmad Fatoum wrote: Hi Ahmad! > On 24.11.23 07:57, Ahmad Fatoum wrote: > > Hi Antony, > > > > On 06.10.23 12:24, Ahmad Fatoum wrote: > >> Hello Antony, > >> > >> On 30.09.23 11:17, Antony Pavlov wrote: > &g

[PATCH 2/2] MIPS: qemu-malta*_defconfig: enable virtio network driver

2023-11-23 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/mips/configs/qemu-malta64el_defconfig | 1 + arch/mips/configs/qemu-malta_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/mips/configs/qemu-malta64el_defconfig b/arch/mips/configs/qemu-malta64el_defconfig index 6091e6d0301

[PATCH 0/2] virtio: ring: fix erroneous behavior on MIPS

2023-11-23 Thread Antony Pavlov
Antony Pavlov (2): virtio: ring: fix erroneous behavior on MIPS MIPS: qemu-malta*_defconfig: enable virtio network driver arch/mips/configs/qemu-malta64el_defconfig | 1 + arch/mips/configs/qemu-malta_defconfig | 1 + drivers/virtio/virtio_ring.c | 4 ++-- 3 files changed

[PATCH 1/2] virtio: ring: fix erroneous behavior on MIPS

2023-11-23 Thread Antony Pavlov
00 afb5f9f0 afff aff7a6e4 Hi: Lo: 000235e8a800 epc : affb5db0 ra: aff7a6e4 Status: 0082 Cause : 0408 Config: 80004482 BadVA : 0fb74039 Signed-off-by: Antony Pavlov --

[PATCH] MIPS: qemu-malta: use 320 MHz input clock for CP0 clocksource

2023-10-30 Thread Antony Pavlov
to 320 MHz in the qemu-malta.dts file fixes the problem. See these qemu commits for details: eea1f5bac6f hw/mips/malta: Set CPU frequency to 320 MHz a7519f2b39b mips: malta/boston: replace cpu_model with cpu_type Signed-off-by: Antony Pavlov --- arch/mips/Kconfig| 3 +++ arch

Re: v2023.10.0

2023-10-25 Thread Antony Pavlov
On Tue, 24 Oct 2023 11:29:04 +0200 Sascha Hauer wrote: > Hi All, > > We finally have a release for October. I see the v2023.10.0 tag in the https://github.com/barebox/barebox repo but no such tag in the git://git.pengutronix.de/git/barebox.git repo. -- Best regards,   Antony Pavlov

barebox.org browser demo uses barebox-v2022.02

2023-09-30 Thread Antony Pavlov
Hi Ahmad! barebox browser demo (https://www.barebox.org/jsbarebox/) looks very impressive. But it uses old barebox-v2022.02. Could you update it please. As barebox browser demo runs on top of RISC-V machine can we add RISC-V mention to barebox.org/index.html page? -- Best regards,   Antony

Re: [RFC 0/4] Run barebox on sc6531e-based feature phone

2023-07-05 Thread Antony Pavlov
rs/spi/spi-sprd.c can be used, also we need backlight driver. Keypad is supported by drivers/input/keyboard/sprd_keypad.c. > Sascha > > On Sat, Jun 10, 2023 at 01:32:16PM +0300, Antony Pavlov wrote: > > This patch series adds initial support for SC6531E chip. > > >

[RFC 1/4] clocksource: add sc6531e driver

2023-06-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/clocksource/Makefile| 1 + drivers/clocksource/timer-sc6531e.c | 70 + 2 files changed, 71 insertions(+) diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile index eceaa990d43..863a7e931cf 100644

[RFC 0/4] Run barebox on sc6531e-based feature phone

2023-06-10 Thread Antony Pavlov
/706766/ [3] https://www.youtube.com/watch?v=tln_Iace1O8 [4] https://github.com/a3f/bareDOOM Antony Pavlov (4): clocksource: add sc6531e driver ARM: add sc6531e and F+ Ezzy 4 phone support sc6531e: add debug_ll support Documentation: add sc6531e instructions Documentation/boards

[RFC 4/4] Documentation: add sc6531e instructions

2023-06-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/boards/sc6531e.rst | 187 +++ 1 file changed, 187 insertions(+) diff --git a/Documentation/boards/sc6531e.rst b/Documentation/boards/sc6531e.rst new file mode 100644 index 000..cbda8b6def0 --- /dev/null +++ b

[RFC 2/4] ARM: add sc6531e and F+ Ezzy 4 phone support

2023-06-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/arm/Kconfig | 9 + arch/arm/Makefile | 1 + arch/arm/boards/Makefile | 1 + arch/arm/boards/ezzy-4/Makefile | 3 ++ arch/arm/boards/ezzy-4/env/init/automount | 27

[RFC 3/4] sc6531e: add debug_ll support

2023-06-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/arm/Kconfig| 1 + arch/arm/boards/ezzy-4/Makefile | 3 + arch/arm/boards/ezzy-4/usbio.c | 449 arch/arm/cpu/uncompress.c | 7 + arch/arm/include/asm/debug_ll.h | 2 + include/mach/sc6531e

Re: [PATCH 1/3] MIPS: add qemu-malta64el_defconfig

2023-06-08 Thread Antony Pavlov
discontinued after Debian 10 (Buster). -- Best regards,   Antony Pavlov

[PATCH] crypto: imx-scc: Kconfig: drop references to unknown symbols

2023-05-12 Thread Antony Pavlov
barebox has neither CRYPTO_BLKCIPHER nor CRYPTO_DES. Signed-off-by: Antony Pavlov --- drivers/crypto/imx-scc/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/crypto/imx-scc/Kconfig b/drivers/crypto/imx-scc/Kconfig index c5b0ac2e83..75038fd2a5 100644 --- a/drivers/crypto/imx

[PATCH] powerpc: Kconfig: fix reference to unknown symbol

2023-05-11 Thread Antony Pavlov
In Kconfig files, the symbols don't have a CONFIG_ prefix. Fix an unknown Kconfig symbol introduced in d3b8a88d34 ("treewide: rename CONFIG_HAS_ARCH_SJLJ to CONFIG_ARCH_HAS_SJLJ"). Signed-off-by: Antony Pavlov --- arch/powerpc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [PATCH v2 6/7] RISC-V: squash 64bit defconfigs into rv64i_defconfig

2022-10-22 Thread Antony Pavlov
;arch/riscv/configs/virt64_defconfig"! Please see details: https://gitlab.com/frantony/barebox/-/jobs/3211154690#L111 -- Best regards,   Antony Pavlov > This commit squashes all 64bit risc-v defconfigs into one like armv8. > The 32bit defconfigs are not changed since those sy

Re: Makefile.lib: cmd_dtc: warning: missing whitespace after the macro name

2022-09-22 Thread Antony Pavlov
On Mon, 19 Sep 2022 11:14:10 +0200 Sascha Hauer wrote: Hi Sascha! > Hi Antony, > > On Mon, Sep 12, 2022 at 12:07:34PM +0300, Antony Pavlov wrote: > > On Mon, 12 Sep 2022 10:01:52 +0200 > > Sascha Hauer wrote: > > > > > One side effect is that this gets e

Re: [RFC] Documentation/conf.py: fix copyright years

2022-09-16 Thread Antony Pavlov
On Fri, 16 Sep 2022 08:28:43 +0200 Sascha Hauer wrote: Hi Sascha! > On Thu, Sep 15, 2022 at 09:18:20AM +0300, Antony Pavlov wrote: > > On Mon, 12 Sep 2022 11:46:27 +0300 > > Antony Pavlov wrote: > > > > Hi Sascha! > > > > Here is the barebox documentat

Re: [RFC] Documentation/conf.py: fix copyright years

2022-09-15 Thread Antony Pavlov
On Mon, 12 Sep 2022 11:46:27 +0300 Antony Pavlov wrote: Hi Sascha! Here is the barebox documentation generated in my gitlab CI/CD system with 'make docs': https://frantony.gitlab.io/-/barebox/-/jobs/3029093142/artifacts/Documentation/html/index.html and this is the barebox documentation

Re: [PATCH next] Documentation: filesystems: tftp: fix code blocks

2022-09-13 Thread Antony Pavlov
On Tue, 13 Sep 2022 10:08:37 +0200 Sascha Hauer wrote: Hi Sascha! > On Mon, Sep 12, 2022 at 11:50:47AM +0300, Antony Pavlov wrote: > > The patch fixes these sphinx errors: > > > > Documentation/filesystems/tftp.rst:44: ERROR: Error in "code-block" > > di

Re: Makefile.lib: cmd_dtc: warning: missing whitespace after the macro name

2022-09-12 Thread Antony Pavlov
On Mon, 12 Sep 2022 10:01:52 +0200 Sascha Hauer wrote: Hi Sascha! > On Wed, Sep 07, 2022 at 11:21:18AM +0300, Antony Pavlov wrote: > > Hi Everyone! > > > > During MIPS ath79_defconfig build I have a 'missing whitespace after the > > macro name' warning: >

[PATCH next] Documentation: filesystems: tftp: fix code blocks

2022-09-12 Thread Antony Pavlov
allowed, 4 supplied. Signed-off-by: Antony Pavlov --- Documentation/filesystems/tftp.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/filesystems/tftp.rst b/Documentation/filesystems/tftp.rst index 8929213d3c4..e88ad3dd4c8 100644 --- a/Documentation/filesystems/tftp.rst

[RFC] Documentation/conf.py: fix copyright years

2022-09-12 Thread Antony Pavlov
N.B. N-dash is used! Signed-off-by: Antony Pavlov --- Documentation/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/conf.py b/Documentation/conf.py index bcd8633c919..5fb8b07c380 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -44,7

[PATCH 5/7] Documentation: barebox environment: fix list rendering

2022-09-12 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- .../devicetree/bindings/barebox/barebox,environment.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/barebox/barebox,environment.rst b/Documentation/devicetree/bindings/barebox/barebox,environment.rst index

[PATCH 7/7] Documentation: Voltage/Current Regulators: fix sphinx error

2022-09-12 Thread Antony Pavlov
sphinx error: Documentation/devicetree/bindings/regulator/regulator.rst:8: ERROR: Unexpected indentation. Signed-off-by: Antony Pavlov --- Documentation/devicetree/bindings/regulator/regulator.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings

[PATCH 1/7] Documentation: OKUD Max9331: fix sphinx warning

2022-09-12 Thread Antony Pavlov
sphinx warning: Documentation/boards/mips/max9331.rst:129: WARNING: Pygments lexer name 'assembly' is not known Use pygments lexer for Gas (AT) assembly code, see https://pygments.org/docs/lexers/#lexers-for-assembly-languages for details. Signed-off-by: Antony Pavlov --- Documentation

[PATCH 6/7] Documentation: Common leds properties: fix 'panic-indicator' list entry rendering

2022-09-12 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/devicetree/bindings/leds/common.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/common.rst b/Documentation/devicetree/bindings/leds/common.rst index 911a55f4f66..09b4e401bc2 100644

[PATCH 4/7] Documentation: barebox DT aliases: fix sphinx issues

2022-09-12 Thread Antony Pavlov
/aliases.rst:13: WARNING: Definition list ends without a blank line; unexpected unindent. Signed-off-by: Antony Pavlov --- Documentation/devicetree/bindings/barebox/aliases.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/barebox/aliases.rst

[PATCH 3/7] Documentation: Altera FPGAs in passive-serial mode: fix sphinx issues

2022-09-12 Thread Antony Pavlov
to fix the problem. Signed-off-by: Antony Pavlov --- .../devicetree/bindings/firmware/altr,passive-serial.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/firmware/altr,passive-serial.rst b/Documentation/devicetree/bindings/firmware/altr,passive

[PATCH 2/7] Documentation: Altera SOCFPGA FPGA Manager: fix sphinx error

2022-09-12 Thread Antony Pavlov
sphinx error: Documentation/devicetree/bindings/firmware/altr,socfpga-fpga-mgr.rst:10: ERROR: Unexpected indentation. Insert necessary whitespaces and empty lines to form correct nested lists structure. Signed-off-by: Antony Pavlov --- .../devicetree/bindings/firmware/altr,socfpga-fpga

[PATCH 0/7] Documentation misc fixes

2022-09-12 Thread Antony Pavlov
Antony Pavlov (7): Documentation: OKUD Max9331: fix sphinx warning Documentation: Altera SOCFPGA FPGA Manager: fix sphinx error Documentation: Altera FPGAs in passive-serial mode: fix sphinx issues Documentation: barebox DT aliases: fix sphinx issues Documentation: barebox environment

Makefile.lib: cmd_dtc: warning: missing whitespace after the macro name

2022-09-07 Thread Antony Pavlov
TC_FLAGS) \ I suppose that this simple patch may lead to some undesirable side effects. Any suggestions? -- Best regards,   Antony Pavlov

[PATCH] fixup-next: linux/nvmem-consumer.h: fix warning

2022-08-31 Thread Antony Pavlov
conversion] 84 | return ERR_PTR(-EOPNOTSUPP); | ^~~~ Signed-off-by: Antony Pavlov --- include/linux/nvmem-consumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/nvmem-consumer.h b/include/linux/nvmem-consumer.h index b

[PATCH] Documentation/gen_commands.py: use python3

2022-08-31 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/gen_commands.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/gen_commands.py b/Documentation/gen_commands.py index a55b1acd82f..7c62a030dce 100755 --- a/Documentation/gen_commands.py +++ b/Documentation

Re: [PATCH v2 2/2] RISC-V: sifive: enable SPI Flash and SD in config

2022-08-30 Thread Antony Pavlov
On Tue, 23 Aug 2022 07:18:02 +0200 Ahmad Fatoum wrote: Hi Ahmad, > Hello Antony, > > On 22.08.22 13:32, Antony Pavlov wrote: > > On Tue, 26 Apr 2022 08:46:04 +0200 > > Ahmad Fatoum wrote: > > > > Hi Ahmad! > > > > I'm trying to run SiFive targ

Re: [PATCH v2 2/2] RISC-V: sifive: enable SPI Flash and SD in config

2022-08-23 Thread Antony Pavlov
On Tue, 23 Aug 2022 07:18:02 +0200 Ahmad Fatoum wrote: Hello Ahmad, > Hello Antony, > > On 22.08.22 13:32, Antony Pavlov wrote: > > On Tue, 26 Apr 2022 08:46:04 +0200 > > Ahmad Fatoum wrote: > > > > Hi Ahmad! > > > > I'm trying to run SiFive targ

Re: [PATCH v2 2/2] RISC-V: sifive: enable SPI Flash and SD in config

2022-08-22 Thread Antony Pavlov
> +CONFIG_IMD_TARGET=y > +CONFIG_BAREBOXENV_TARGET=y > +CONFIG_BAREBOXCRC32_TARGET=y > -- > 2.34.1 > > > ___ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox -- Best regards,   Antony Pavlov

Re: [PATCH v2 2/4] pbl: export pbl_barebox_verify

2022-08-20 Thread Antony Pavlov
_state }; > char computed_hash[SHA256_DIGEST_SIZE]; > int i; > - char *char_hash = hash; > + const char *char_hash = hash; > > if (hash_len != SHA256_DIGEST_SIZE) > return -1; > -- > 2.30.2 > > -- Best regards,   Antony Pavlov

[PATCH] asm-generic: provide phys_to_virt() and virt_to_phys()

2022-07-26 Thread Antony Pavlov
way introduced in the 9216efafc52ff99e ("asm-generic/io.h: Reconcile I/O accessor overrides") linux kernel commit. Signed-off-by: Antony Pavlov --- arch/arm/include/asm/io.h | 10 -- arch/mips/include/asm/io.h| 2 ++ arch/riscv/include/asm/io.h | 10 -- ar

[PATCH] net: rtl8169: make it work on big-endian system

2022-06-16 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/net/rtl8169.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index 80997dc89f4..341f5f240e4 100644 --- a/drivers/net/rtl8169.c +++ b/drivers/net

move dma_ops to common code

2022-06-16 Thread Antony Pavlov
want to rework it. I can reuse some parts of 0e885ce81d0e by moving it to the common code. Any comments or suggestions? -- Best regards, Antony Pavlov

Re: [PATCH 0/1] MIPS: fix optimised memset returning garbage

2022-03-10 Thread Antony Pavlov
t; return > value into v0 register that was supposed to go there. That leads to an > error that appears when reading memory from SPI Flash and that was > mentioned here: -- Best regards,   Antony Pavlov > There is currently a bug in memset implementation from > arch/mips/lib/me

Re: [PATCH 1/1] Documentation: devel: add new project ideas section

2022-02-18 Thread Antony Pavlov
as time allows. picotcp supports both IPv6 and TCP. > +This project does not require dedicated hardware. QEMU or barebox built > +to run under Linux (sandbox) may be used. > + -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@li

[PATCH] imd: add optional endianness= parameter for bi-endian systems

2022-02-10 Thread Antony Pavlov
MIPS architecture supports both little- and big-endian modes. It's handy to have means to determine endianness of barebox image. This patch adds necessary record into imd block. Signed-off-by: Antony Pavlov --- common/Kconfig | 6 ++ common/imd-barebox.c | 10 ++ 2 files

Re: RFC: Gitlab CI for barebox

2022-02-08 Thread Antony Pavlov
On Sat, 5 Feb 2022 17:12:33 +0300 Antony Pavlov wrote: > On Mon, 31 Jan 2022 11:39:45 +0100 > Ahmad Fatoum wrote: > > Hello Ahmad! > > > On 30.01.22 13:00, Antony Pavlov wrote: > > > Hi! > > > > > > I have made simple Gitlab CI for barebox.

Re: RFC: Gitlab CI for barebox

2022-02-05 Thread Antony Pavlov
On Mon, 31 Jan 2022 11:39:45 +0100 Ahmad Fatoum wrote: Hello Ahmad! > On 30.01.22 13:00, Antony Pavlov wrote: > > Hi! > > > > I have made simple Gitlab CI for barebox. > > Nice. > > > Gitlab CI runner setup instruction and > > the sour

RFC: Gitlab CI for barebox

2022-01-30 Thread Antony Pavlov
oduces sphinx generated html docs archive artifact * 'build ARM/MIPS/RISC-V/X86/sandbox' produce log/ directory archive artifacts * no support for kvx, openrisc and powerpc @Ahmad I suppose we can add your qemu barebox/test/emulate.pl tests into CI. -- Best regards,  

[PATCH] pinctrl: rockchip: drop unused variable 'name'

2022-01-30 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/pinctrl/pinctrl-rockchip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 869cce1982..c99074407f 100644 --- a/drivers/pinctrl/pinctrl-rockchip.c +++ b/drivers/pinctrl

Re: [PATCH v2 1/1] kbuild: dtc: Allow adding device tree fragments via config

2022-01-26 Thread Antony Pavlov
$(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) - ; \ > $(objtree)/scripts/dtc/dtc -O dtb -o $@ -b 0 \ > -i $(srctree)/arch/$(SRCARCH)/dts $(DTC_FLAGS) \ > -i $(srctree)/dts/src/$(SRCARCH) \ > -- > 2.31.1 > > > ___ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 06/12] mci: sdhci: Use Linux defines for SDHCI_HOST_CONTROL register

2022-01-26 Thread Antony Pavlov
On Wed, 26 Jan 2022 10:23:17 +0100 Sascha Hauer wrote: > On Wed, Jan 26, 2022 at 09:32:33AM +0300, Antony Pavlov wrote: > > On Mon, 7 Jun 2021 12:44:05 +0200 > > Sascha Hauer wrote: > > > > Hi Sascha! > > > > > To ease porting and comparing of Linu

Re: [PATCH 06/12] mci: sdhci: Use Linux defines for SDHCI_HOST_CONTROL register

2022-01-25 Thread Antony Pavlov
TA_WIDTH_4BIT; > + val |= SDHCI_CTRL_8BITBUS; and here > break; > } > > if (ios->clock > 2600) > - val |= SDHCI_HIGHSPEED_EN; > + val |= SDHCI_CTRL_HISPD; > else > - val &= ~SDHCI_HIGHSPEED_EN; > + val &= ~SDHCI_CTRL_HISPD; > > sdhci_write8(>sdhci, SDHCI_HOST_CONTROL, val); > -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 7/9] RISC-V: don't use x8/s0/fp in assembly

2022-01-10 Thread Antony Pavlov
> > - ble s0, s1, 1f > > + li s2, 'f' > > + ble s1, s2, 1f > > j _get_hex_digit > > > > 1: > > - li s1, 'a' > > - bge s0, s1, 8f > > + li s2, 'a' > > + bge s1, s2, 8f > > > > j

[PATCH] rtc: import pcf85363 support from linux-5.12

2021-12-26 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/rtc/Kconfig| 6 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-pcf85363.c | 169 + 3 files changed, 176 insertions(+) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index e9374d0f2a

Re: [PATCH] spi: add STM32 SPI controller driver

2021-11-19 Thread Antony Pavlov
On Thu, 18 Nov 2021 13:32:18 +0100 Ahmad Fatoum wrote: Hi Ahmad! > On 08.11.21 18:01, Antony Pavlov wrote: > > On Fri, 5 Nov 2021 08:46:57 +0100 > > Ahmad Fatoum wrote: > > > >> Tested on a STM32MP1 communicating with a ksz9563. > > > > ... > &

Re: [PATCH] spi: add STM32 SPI controller driver

2021-11-08 Thread Antony Pavlov
; master->transfer = stm32_spi_transfer; + master->mem_ops = _spi_mem_ops; master->bus_num = -1; stm32_spi_dt_probe(priv); -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: do we need regmap-i2c in barebox?

2021-11-03 Thread Antony Pavlov
Hi Ahmad! On Wed, 3 Nov 2021 at 20:39, Ahmad Fatoum wrote: > > Hello Antony, > > On 03.11.21 18:35, Antony Pavlov wrote: > > Hi! > > > > I have made draft version of pcf85363 i2c rtc driver for barebox. > > I used drivers/rtc/rtc-pcf85363.c from linux kernel

[just draft RFC] rtc: add simple pcf85363 driver

2021-11-03 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/rtc/Kconfig| 7 ++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-pcf85363.c | 195 + 3 files changed, 203 insertions(+) create mode 100644 drivers/rtc/rtc-pcf85363.c diff --git a/drivers/rtc/Kconfig b

do we need regmap-i2c in barebox?

2021-11-03 Thread Antony Pavlov
into barebox? -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 4/4] bareboximd: make the '-c' option work again

2021-10-28 Thread Antony Pavlov
On Thu, 28 Oct 2021 08:45:19 +0200 Ahmad Fatoum wrote: Hi Ahmad! > On 28.10.21 03:28, Antony Pavlov wrote: > > bareboximd with the '-c' option craches while > > trying to alter an image file, e.g.: > > > > barebox$ git describe > > v2021.10.0-125-gd136

[PATCH 2/4] imd: reuse imd_is_crc32()

2021-10-27 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- common/imd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/imd.c b/common/imd.c index e1d5733c6b..0295d84d34 100644 --- a/common/imd.c +++ b/common/imd.c @@ -317,7 +317,7 @@ static int imd_calculate_crc32(void *input, const struct

[PATCH 1/4] imd: fix imd_is_crc32()

2021-10-27 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- include/image-metadata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image-metadata.h b/include/image-metadata.h index a9cb9cfe8f..439a0cba81 100644 --- a/include/image-metadata.h +++ b/include/image-metadata.h @@ -67,7 +67,7

[PATCH 0/4] imd fixes

2021-10-27 Thread Antony Pavlov
Antony Pavlov (4): imd: fix imd_is_crc32() imd: reuse imd_is_crc32() include/image-metadata.h: fix whitespaces in the BAREBOX_IMD_CRC macro bareboximd: make the '-c' option work again common/imd.c | 2 +- include/image-metadata.h | 8 scripts/bareboximd.c | 2

[PATCH 4/4] bareboximd: make the '-c' option work again

2021-10-27 Thread Antony Pavlov
() on an image file in read-only mode. Signed-off-by: Antony Pavlov --- scripts/bareboximd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bareboximd.c b/scripts/bareboximd.c index c3dcb4dcf0..fe0d274380 100644 --- a/scripts/bareboximd.c +++ b/scripts/bareboximd.c

[PATCH 3/4] include/image-metadata.h: fix whitespaces in the BAREBOX_IMD_CRC macro

2021-10-27 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- include/image-metadata.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/image-metadata.h b/include/image-metadata.h index 439a0cba81..bf4e08d98a 100644 --- a/include/image-metadata.h +++ b/include/image-metadata.h @@ -139,12

[PATCH] Documentation/boards/riscv.rst: fix code blocks

2021-10-06 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/boards/riscv.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/boards/riscv.rst b/Documentation/boards/riscv.rst index 97f4d1deb7..b7a3a95f0f 100644 --- a/Documentation/boards/riscv.rst +++ b/Documentation

inkscape 1.1.1 issue

2021-10-06 Thread Antony Pavlov
barebox-flash-image antony@cinco:~/barebox$ dpkg -l | grep inkscape ii inkscape 1.1.1-2 amd64vector-based drawing program -- Best regards,   Antony Pavlov ___ barebox

[PATCH] mtd: core: fix whitespaces

2021-10-04 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/mtd/core.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/mtd/core.c b/drivers/mtd/core.c index 37fccda6be..c6c1e1e7cf 100644 --- a/drivers/mtd/core.c +++ b/drivers/mtd/core.c @@ -377,7 +377,7 @@ int

Re: 'of_compatible' and 'model' imd records are unusable

2021-10-02 Thread Antony Pavlov
On Sat, 2 Oct 2021 10:48:50 +0200 Sascha Hauer wrote: Hi Sascha! > On Fri, Oct 01, 2021 at 02:24:53PM +0300, Antony Pavlov wrote: > > Hi all! > > > > I have cloned barebox c67ada0024da (v2021.08.0) and found that > > 'of_compatible' and 'model' imd records

  1   2   3   4   5   6   7   8   9   10   >