[RFC 1/4] riscv: add initial LiteX SoC support

2019-06-02 Thread Antony Pavlov
LiteX is a Migen-based System on Chip, supporting softcore VexRiscv CPU, a 32-bits Linux Capable RISC-V CPU. See https://github.com/enjoy-digital/litex for details. Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig| 6 + arch/riscv/Makefile

[PATCH] Documentation: add riscv mention

2019-06-01 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/user/barebox.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/user/barebox.rst b/Documentation/user/barebox.rst index 026ed1b9c0..1927fe4efc 100644 --- a/Documentation/user/barebox.rst +++ b/Documentation/user/barebox.rst

[PATCH] riscv: dts: erizo-generic: fix memory node name

2019-06-01 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/dts/erizo-generic.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/dts/erizo-generic.dts b/arch/riscv/dts/erizo-generic.dts index d1f8d57168..29da01ef8e 100644 --- a/arch/riscv/dts/erizo-generic.dts +++ b/arch/riscv

[PATCH] commands/hwclock: align -n option help

2019-05-09 Thread Antony Pavlov
into variable VARNAME -n NTPSERVERset RTC from NTP server -s ccyymmddHHMM[.SS]set time Signed-off-by: Antony Pavlov --- commands/hwclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/hwclock.c b/commands/hwclock.c index 5073618675

Re: [PATCH v2 2/2] scripts/checkpatch.pl: rebase on top of upstream v5.0-rc6

2019-03-03 Thread Antony Pavlov
On Tue, 26 Feb 2019 10:55:40 +0100 Ahmad Fatoum wrote: > Hello Antony, > > On 20/2/19 08:14, Antony Pavlov wrote: > > On Tue, 19 Feb 2019 15:16:47 +0100 > > Ahmad Fatoum wrote: > > > >> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > >

Re: [PATCH v2 2/2] scripts/checkpatch.pl: rebase on top of upstream v5.0-rc6

2019-02-19 Thread Antony Pavlov
ment it looks like barebox uses both paths ("/dts/Bindings/" and "/Documentation/devicetree/bindings/") to store dt-related documentation. The patch is very long and very hard to review. @Sascha Can we introduce rules on storing dt-documentation? It looks like we have some dt documentation duplication, e.g. ./Documentation/devicetree/bindings/rtc/dallas,ds1307.rst ./dts/Bindings/rtc/rtc-ds1307.txt -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH v1 1/4] MIPS: relocation: pass ram size to pbl_main_entry

2019-02-19 Thread Antony Pavlov
On Tue, 19 Feb 2019 09:34:43 +0100 Oleksij Rempel wrote: > Hi Antony, > > your attention will be needed here.. Hi Oleksij! Sorry but this week I'm on vacation. Could you please push this patchseries to github? -- Best regards,   Antony Pavlov > > On 18.02.19 08:51, Oleks

Re: Barebox support for Arm Cortex-M0 Boards

2019-02-12 Thread Antony Pavlov
t; I hope I didn't overlook something. -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH] nvmem: eeprom_93xx46: fix whitespaces

2019-02-11 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- drivers/nvmem/eeprom_93xx46.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/nvmem/eeprom_93xx46.c b/drivers/nvmem/eeprom_93xx46.c index d96ba32d07..49ed396dc2 100644 --- a/drivers/nvmem/eeprom_93xx46.c +++ b/drivers/nvmem

powerpc-linux-gnu-gcc: error: unrecognized command line option ‘-mno-spe’

2019-01-23 Thread Antony Pavlov
this patch? -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH v2] ARM: zynq: fix "'IO_SPACE_LIMIT' redefined" warning

2019-01-22 Thread Antony Pavlov
ynq.c:17:0: include/asm-generic/io.h:92:0: note: this is the location of the previous definition #define IO_SPACE_LIMIT 0x Cc: Steffen Trumtrar Signed-off-by: Antony Pavlov --- arch/arm/mach-zynq/zynq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-zynq/zyn

[PATCH] MIPS: drop *_MULTI_BOARDS atavisms

2019-01-21 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/mips/configs/ath79_defconfig | 1 - arch/mips/configs/qemu-malta_defconfig | 1 - arch/mips/mach-malta/Kconfig | 8 3 files changed, 10 deletions(-) diff --git a/arch/mips/configs/ath79_defconfig b/arch/mips/configs/ath79_defconfig

Re: [HELP] Barebox porting

2019-01-16 Thread Antony Pavlov
11-December/005288.html At the moment we use tlsf2 in barebox. Please note that there is more recent tlsf3 at github: https://github.com/mattconte/tlsf -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH-for-next 0/2] move umode_t typedef from asm/types.h to

2019-01-14 Thread Antony Pavlov
This patchseries is marked "for-next" because it contains arch/riscv changes. Antony Pavlov (2): MIPS: asm/types.h: drop unused stuff move umode_t typedef from asm/types.h to linux/types.h arch/arm/include/asm/types.h | 2 -- arch/blackfin/include/asm/types.h | 2 --

[PATCH-for-next 1/2] MIPS: asm/types.h: drop unused stuff

2019-01-14 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/mips/include/asm/types.h | 29 - 1 file changed, 29 deletions(-) diff --git a/arch/mips/include/asm/types.h b/arch/mips/include/asm/types.h index cd76f53b50..78068e4113 100644 --- a/arch/mips/include/asm/types.h +++ b/arch/mips

[PATCH-for-next 2/2] move umode_t typedef from asm/types.h to linux/types.h

2019-01-14 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/arm/include/asm/types.h | 2 -- arch/blackfin/include/asm/types.h | 2 -- arch/mips/include/asm/types.h | 6 -- arch/nios2/include/asm/types.h| 2 -- arch/openrisc/include/asm/types.h | 2 -- arch/ppc/include/asm/types.h | 2 -- arch

barebox: plathome-openblocks-a6/kwbimage.cfg is missed

2019-01-10 Thread Antony Pavlov
/home/builduser/barebox/arch/arm/boards/plathome-openblocks-a6/kwbimage.cfg -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [RFC] ARM: zynq: fix "'IO_SPACE_LIMIT' redefined" warning

2019-01-10 Thread Antony Pavlov
On Thu, 10 Jan 2019 09:38:25 +0100 Sascha Hauer wrote: > On Wed, Jan 09, 2019 at 11:27:54PM +0300, Antony Pavlov wrote: > > The patch fixes the following compiler's warning: > > > > In file included from include/common.h:33:0, > > from arch/arm/mach-z

[RFC] ARM: zynq: fix "'IO_SPACE_LIMIT' redefined" warning

2019-01-09 Thread Antony Pavlov
ynq.c:17:0: include/asm-generic/io.h:92:0: note: this is the location of the previous definition #define IO_SPACE_LIMIT 0x Cc: Steffen Trumtrar Signed-off-by: Antony Pavlov --- arch/arm/mach-zynq/zynq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-zynq/zynq.c b/arch/arm

[PATCH 0/3] drivers: fix "no previous prototype" warnings

2019-01-09 Thread Antony Pavlov
Antony Pavlov (3): w1: fix "no previous prototype for 'w1_found'" warning serial: amba-pl011: fix "no previous prototype for 'pl011_init_port'" warning net: ks8851_mll: fix "no previous prototype for 'ks_enable_qmu'" warning drivers/net/ks8851_mll.c| 2 +

[PATCH 2/3] serial: amba-pl011: fix "no previous prototype for 'pl011_init_port'" warning

2019-01-09 Thread Antony Pavlov
The patch fixes the following compiler's warning: drivers/serial/amba-pl011.c:151:5: warning: no previous prototype for ‘pl011_init_port’ [-Wmissing-prototypes] int pl011_init_port (struct console_device *cdev) ^~~ Signed-off-by: Antony Pavlov --- drivers/serial/amba-pl011.c

[PATCH 1/3] w1: fix "no previous prototype for 'w1_found'" warning

2019-01-09 Thread Antony Pavlov
The patch fixes the following compiler's warning: drivers/w1/w1.c:459:6: warning: no previous prototype for ‘w1_found’ [-Wmissing-prototypes] void w1_found(struct w1_bus *bus, u64 rn) ^~~~ Signed-off-by: Antony Pavlov --- drivers/w1/w1.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 3/3] net: ks8851_mll: fix "no previous prototype for 'ks_enable_qmu'" warning

2019-01-09 Thread Antony Pavlov
The patch fixes the following compiler's warning: drivers/net/ks8851_mll.c:438:6: warning: no previous prototype for ‘ks_enable_qmu’ [-Wmissing-prototypes] void ks_enable_qmu(struct ks_net *ks) ^ Signed-off-by: Antony Pavlov --- drivers/net/ks8851_mll.c | 2 +- 1 file

Re: barebox on Canon A1100

2019-01-04 Thread Antony Pavlov
On Fri, 4 Jan 2019 09:17:41 +0100 Sascha Hauer wrote: > On Fri, Jan 04, 2019 at 01:56:41AM +0300, Antony Pavlov wrote: > > Hi Sascha! > > > > I have some good news and some bad news. > > > > First the good news. > > > > Barebox was used for Day

Re: [PATCH v3 00/10] Add initial RISC-V architecture support

2019-01-04 Thread Antony Pavlov
On Thu, 3 Jan 2019 12:18:09 +0100 Sascha Hauer wrote: > On Tue, Dec 18, 2018 at 10:19:33AM +0300, Antony Pavlov wrote: > > This patchseries adds initial RISC-V architecture support for barebox. > > It's very nice to get RISC-V support for barebox. > > The code looks fine f

barebox on Canon A1100

2019-01-03 Thread Antony Pavlov
on? -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH v1 1/3] MIPS: migrate all files to SPDX

2018-12-18 Thread Antony Pavlov
On Tue, 18 Dec 2018 09:29:20 +0100 Oleksij Rempel wrote: > Hi, > > On 18.12.18 08:32, Antony Pavlov wrote: > > On Sat, 15 Dec 2018 11:02:33 +0100 > > Oleksij Rempel wrote: > > > >> Signed-off-by: Oleksij Rempel > >> --- > >>

Re: [PATCH v1 1/3] MIPS: migrate all files to SPDX

2018-12-17 Thread Antony Pavlov
r the terms of the GNU General Public License version 2 > - * as published by the Free Software Foundation. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNE

[PATCH v3 10/10] Documentation: add RISC-V docs

2018-12-17 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/boards/riscv.rst | 91 ++ 1 file changed, 91 insertions(+) diff --git a/Documentation/boards/riscv.rst b/Documentation/boards/riscv.rst new file mode 100644 index 00..c7fa52aadb --- /dev/null +++ b

[PATCH v3 08/10] RISC-V: add erizo_generic_defconfig

2018-12-17 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/configs/erizo_generic_defconfig | 51 ++ 1 file changed, 51 insertions(+) diff --git a/arch/riscv/configs/erizo_generic_defconfig b/arch/riscv/configs/erizo_generic_defconfig new file mode 100644 index 00..2ea1e46cc9

[PATCH v3 04/10] RISC-V: add nmon nano-monitor

2018-12-17 Thread Antony Pavlov
nmon is a tiny (<1024 bytes) monitor program for the RV32I processors. It can operate with NO working RAM at all! It uses only the processor registers and NS16550-compatible UART port for operation, so it can be used for a memory controller setup code debugging. Signed-off-by: Antony Pav

[PATCH v3 05/10] RISC-V: erizo: add DEBUG_LL support

2018-12-17 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig| 1 + arch/riscv/mach-erizo/include/mach/debug_ll.h | 33 +++ 2 files changed, 34 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index f1e69377e5..617656ae5e 100644 --- a/arch

[PATCH v3 00/10] Add initial RISC-V architecture support

2018-12-17 Thread Antony Pavlov
spike pk support; * add qemu-sifive board support; * add Documentation/boards/riscv.rst; * fix guard macro names. Antony Pavlov (10): Add initial RISC-V architecture support RISC-V: add Erizo SoC support RISC-V: add low-level debug macros for ns16550 RISC-V: add nmon nano

[PATCH v3 09/10] scripts: add nmon-loader

2018-12-17 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- scripts/nmon-loader | 31 +++ 1 file changed, 31 insertions(+) diff --git a/scripts/nmon-loader b/scripts/nmon-loader new file mode 100755 index 00..d80a53097a --- /dev/null +++ b/scripts/nmon-loader @@ -0,0 +1,31 @@ +#!/usr

[PATCH v3 06/10] RISC-V: erizo: enable nmon

2018-12-17 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 617656ae5e..c435cc8a31 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -22,6 +22,7 @@ choice config MACH_ERIZO bool "

[PATCH v3 03/10] RISC-V: add low-level debug macros for ns16550

2018-12-17 Thread Antony Pavlov
This patch adds macros for ns16550 port initialization and single char output. The macros can be used in MIPS asm pbl code. Signed-off-by: Antony Pavlov --- arch/riscv/include/asm/debug_ll_ns16550.h | 182 ++ 1 file changed, 182 insertions(+) diff --git a/arch/riscv/include

[PATCH v3 02/10] RISC-V: add Erizo SoC support

2018-12-17 Thread Antony Pavlov
Erizo is an opensource hardware SoC for FPGA. Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 11 arch/riscv/Makefile | 2 ++ arch/riscv/dts/Makefile | 2 ++ arch/riscv/dts/erizo-generic.dts | 14 ++ arch/riscv/dts/erizo.dtsi

[PATCH v3 01/10] Add initial RISC-V architecture support

2018-12-17 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 54 +++ arch/riscv/Makefile | 54 +++ arch/riscv/boot/Makefile | 3 ++ arch/riscv/boot/dtb.c| 37 + arch/riscv/boot/main_entry.c

[PATCH v3 07/10] RISC-V: erizo: add nmon image creation

2018-12-17 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Makefile | 11 +++ scripts/erizo-nmon-image | 10 ++ 2 files changed, 21 insertions(+) diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index d5a392de05..643c0bc8eb 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile

Re: [PATCH] imd: model and compatible missing in metadata

2018-12-17 Thread Antony Pavlov
toradex,iris toradex,colibri_t20 nvidia,tegra20 model: Toradex Colibri T20 on Iris of_compatible: compal,paz00 nvidia,tegra20 model: Toshiba AC100 / Dynabook AZ of_compatible: nvidia,beaver nvidia,tegra30 model: NVIDIA Tegra30 Beaver evaluation board -- Best regards,   Antony Pavlov _

[PATCH] globalvar: fix crash if CONFIG_NVVAR is not set

2018-12-12 Thread Antony Pavlov
ENT_GENERIC_NEW\)=y/# \1 is not set\n# CONFIG_DEFAULT_ENVIRONMENT_GENERIC is not set/" .config barebox$ make oldconfig ... barebox$ make ... barebox$ ./barebox Segmentation fault This patch blocks nv_device use if CONFIG_NVVAR is not set. Signed-off-by: Antony

Re: [PATCH v3 08/10] MIPS: port all mach* to multiimage

2018-12-11 Thread Antony Pavlov
eter' into next barebox succesfully works on DPTechnics module and on Black Swift board. @Sascha! Please merge Oleksij's mips multiimage branch. > Am 05.12.18 um 09:50 schrieb Antony Pavlov: > > On Tue, 27 Nov 2018 10:19:33 +0100 > > Oleksij Rempel wrote: > > > > &g

Re: [PATCH v2 0/4] checkpatch.pl: add ability to ignore various messages

2018-12-05 Thread Antony Pavlov
On Wed, 5 Dec 2018 16:21:54 +0300 Antony Pavlov wrote: Haste makes waste. Sorry! The correct subject for this message is "[PATCH v2 0/4] checkpatch.pl: port misc linux commits". > Changes since PATCH v1: > > * fix linux kernel git repo hash sums in "checkpatch.pl

[PATCH v2 4/4] checkpatch.pl: check for #if 0/#if 1

2018-12-05 Thread Antony Pavlov
The #if 0 or #if 1 is used to toggle features. Warn if #if 0 or #if 1 is present and suggest that they can be removed. Based on 60f890105547f7a4 ("checkpatch: check for #if 0/#if 1") Linux kernel commit. Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 11 --- 1 file

[PATCH v2 3/4] checkpatch.pl: use SPDX tag

2018-12-05 Thread Antony Pavlov
Also add Joe's copyright. Based on Linux kernel commit 882ea1d64eb3956 ("scripts: use SPDX tag in get_maintainer and checkpatch"). Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl

[PATCH v2 1/4] checkpatch.pl: add ability to ignore various messages

2018-12-05 Thread Antony Pavlov
), WARN($1, $2) and CHK($1, $2) subs. Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 475 ++ 1 file changed, 336 insertions(+), 139 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9a6f6e2298..4b9b9d06f3 100755 ---

[PATCH v2 0/4] checkpatch.pl: add ability to ignore various messages

2018-12-05 Thread Antony Pavlov
Changes since PATCH v1: * fix linux kernel git repo hash sums in "checkpatch.pl: check for common memset parameter issues against statements" commit message. Antony Pavlov (4): checkpatch.pl: add ability to ignore various messages checkpatch.pl: check for common memset parame

[PATCH v2 2/4] checkpatch.pl: check for common memset parameter issues against statements

2018-12-05 Thread Antony Pavlov
Based on these Linux kernel commits > 309c00c73f053a90 checkpatch: warn about memset with swapped arguments > 554e165cf32610ec checkpatch: check for common memset parameter issues against > statments Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 22 +

[PATCH 4/4] checkpatch.pl: check for #if 0/#if 1

2018-12-05 Thread Antony Pavlov
The #if 0 or #if 1 is used to toggle features. Warn if #if 0 or #if 1 is present and suggest that they can be removed. Based on 60f890105547f7a4 ("checkpatch: check for #if 0/#if 1") Linux kernel commit. Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 11 --- 1 file

[PATCH 1/4] checkpatch.pl: add ability to ignore various messages

2018-12-05 Thread Antony Pavlov
), WARN($1, $2) and CHK($1, $2) subs. Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 475 ++ 1 file changed, 336 insertions(+), 139 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9a6f6e2298..4b9b9d06f3 100755 ---

[PATCH 0/4] checkpatch.pl: port misc linux commits

2018-12-05 Thread Antony Pavlov
Antony Pavlov (4): checkpatch.pl: add ability to ignore various messages checkpatch.pl: check for common memset parameter issues against statements checkpatch.pl: use SPDX tag checkpatch.pl: check for #if 0/#if 1 scripts/checkpatch.pl | 508

[PATCH 3/4] checkpatch.pl: use SPDX tag

2018-12-05 Thread Antony Pavlov
Also add Joe's copyright. Based on Linux kernel commit 882ea1d64eb3956 ("scripts: use SPDX tag in get_maintainer and checkpatch"). Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl

[PATCH 2/4] checkpatch.pl: check for common memset parameter issues against statements

2018-12-05 Thread Antony Pavlov
Based on these Linux kernel commits > 09c00c73f053a905 checkpatch: warn about memset with swapped arguments > 54e165cf32610ec9 checkpatch: check for common memset parameter issues against > statments Signed-off-by: Antony Pavlov --- scripts/checkpatch.pl | 22 +

Re: [PATCH v3 08/10] MIPS: port all mach* to multiimage

2018-12-05 Thread Antony Pavlov
Initialize caches... */ > mips_cache_reset > > /* ... and enable them */ > dcache_enable > skip_pll_ram_config: > - debug_ll_outc '6' > - debug_ll_outnl > - > - mips_nmon > - > - copy_to_link_location pbl_start > > -

Re: [PATCH v3 00/10] MIPS: migrate to multiimage support

2018-11-30 Thread Antony Pavlov
ete mode 100644 arch/mips/configs/img-ci20_defconfig > > delete mode 100644 arch/mips/configs/tplink-wdr4300_defconfig > > rename arch/mips/configs/{ritmix-rzx50_defconfig => xburst_defconfig} (89%) > > create mode 100644 arch/mips/lib/pbl.lds.S > > create mode 100644 images/Makefile.ar231x > > create mode 100644 images/Makefile.ath79 > > create mode 100644 images/Makefile.loongson > > create mode 100644 images/Makefile.malta > > create mode 100644 images/Makefile.xburst > > > > -- > > 2.19.1 > > > > > > ___ > > barebox mailing list > > barebox@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/barebox > > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH] kconfig: include common Kconfig files from top-level Kconfig

2018-11-29 Thread Antony Pavlov
Based on this linux kernel commit: > commit 1572497cb0e6d2016078bc9d5a95786bb878389f > Author: Christoph Hellwig > Date: Tue Jul 31 13:39:30 2018 +0200 > > kconfig: include common Kconfig files from top-level Kconfig Signed-off-by: Antony Pavlov --- Kconfig

Re: [PATCH] Kconfig: drop duplicate PHYS_ADDR_T_64BIT definitions

2018-11-29 Thread Antony Pavlov
On Thu, 29 Nov 2018 12:52:47 +0300 Antony Pavlov wrote: Please ignore this patch. It looks like the patch fails on imx_v8_defconfig build. > PHYS_ADDR_T_64BIT is already defined in common/Kconfig. > > Signed-off-by: Antony Pavlov > --- > arch/arm/cpu/Kconfig | 3 --- >

[PATCH] Kconfig: drop duplicate PHYS_ADDR_T_64BIT definitions

2018-11-29 Thread Antony Pavlov
PHYS_ADDR_T_64BIT is already defined in common/Kconfig. Signed-off-by: Antony Pavlov --- arch/arm/cpu/Kconfig | 3 --- arch/mips/Kconfig| 3 --- 2 files changed, 6 deletions(-) diff --git a/arch/arm/cpu/Kconfig b/arch/arm/cpu/Kconfig index 2359c56b30..f3b35d19fd 100644 --- a/arch/arm/cpu

Re: [PATCH v2 0/4] Xilinx Zynq Ultrascale+ MPSoC support

2018-11-28 Thread Antony Pavlov
PDX identifiers presense check into checkpatch.pl as Linux kernel checkpatch.pl does (see https://lore.kernel.org/patchwork/patch/883424/). -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH v2 05/10] MIPS: multiimage: add ENTRY_FUNCTION macros

2018-11-27 Thread Antony Pavlov
ay slot of the jal instruction. -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH v1 08/10] MIPS: port all mach* to multiimage

2018-11-26 Thread Antony Pavlov
* to multiimage hint: Use 'git am --show-current-patch' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". --

Re: [PATCH v1 01/10] images: piggy: use "a" instead of #alloc flag

2018-11-26 Thread Antony Pavlov
p" instead. To restore the original branch and stop patching, run "git am --abort". -- Best regards,   Antony Pavlov > "#alloc" is not working with MIPS compiler. The "a" variant > seems to be more generic and works with ARM and MIPS. > > Signed-off

Re: [PATCH v1 10/10] MIPS: multiimage: remove useless board files

2018-11-26 Thread Antony Pavlov
diff --git a/arch/mips/boards/black-swift/board.c > b/arch/mips/boards/black-swift/board.c > deleted file mode 100644 > index 2e2ed2075b..00 > --- a/arch/mips/boards/black-swift/board.c > +++ /dev/null > @@ -1,27 +0,0 @@ > -/* > - * Copyright (C) 2015 Antony Pavlov

Re: [PATCH v1 08/10] MIPS: port all mach* to multiimage

2018-11-26 Thread Antony Pavlov
pt-module/include/board/board_pbl_start.h > rename to arch/mips/boards/dptechnics-dpt-module/lowlevel.S > index 9d6b1b86bc..ab6e469492 100644 > --- a/arch/mips/boards/dptechnics-dpt-module/include/board/board_pbl_start.h > +++ b/arch/mips/boards/dptechnics-dpt-module/lowlevel.S > @@ -6

Re: [PATCH] arch: *: cpuinfo: harmonize command description

2018-11-22 Thread Antony Pavlov
ion of the cpuinfo command description is better? -- Best regards,   Antony Pavlov > Unify the different cpuinfo commands' description and adjust them to the > descriptions of "clk_dump" and "devinfo". > > Signed-off-by: Ulrich Ölmann > --- > arch/arm/cpu/cpu

common/ddr_spd.c:281:28: warning: bitwise comparison always evaluates to false

2018-11-01 Thread Antony Pavlov
rnov 2015-07-03 18:58:24 +0300 282) printf("Stack\n"); f75fe31095 (Alexander Smirnov 2015-07-03 18:58:24 +0300 283)else f75fe31095 (Alexander Smirnov 2015-07-03 18:58:24 +0300 284) printf("Planar\n"); Please fix it. -- Best regards,   Antony Pavlov _

[PATCH] net: make routing work after dhcp command

2018-10-15 Thread Antony Pavlov
ess 10.0.2.15 barebox:/ ping 10.0.2.2 host 10.0.2.2 is alive Signed-off-by: Antony Pavlov CC: Andrey Smirnov --- net/dhcp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/dhcp.c b/net/dhcp.c index 984d32a93e..427d80a5a8 100644 --- a/net/dhcp.c +++ b/net/dhcp.c @@ -615,6 +61

[PATCH] checkpatch: don't check TODO file presence

2018-09-12 Thread Antony Pavlov
The commit b3baf2d86149 ("TODO: remove unused file") drops the TODO file. Alas scripts/checkpatch.pl checks TODO file presence in top_of_kernel_tree(). Without TODO checkpatch.pl exits with 'Must be run from the top-level dir. of a kernel tree'. Signed-off-by: Antony Pavlov --

[PATCH for master 0/2] MIPS and PCI-related fixes

2018-09-12 Thread Antony Pavlov
Antony Pavlov (2): MIPS: fix PCI quirk infrastructure build pci_of_match_device: don't crash on MIPS Malta arch/mips/lib/barebox.lds.S | 11 +++ drivers/pci/pci.c | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) -- 2.18.0

[PATCH for master 1/2] MIPS: fix PCI quirk infrastructure build

2018-09-12 Thread Antony Pavlov
xups_early' (.text.pci_fixup_device+0x90): undefined reference to `__start_pci_fixups_early' make: *** [Makefile:767: barebox] Error 1 Signed-off-by: Antony Pavlov --- arch/mips/lib/barebox.lds.S | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/bar

[PATCH for master 2/2] pci_of_match_device: don't crash on MIPS Malta

2018-09-12 Thread Antony Pavlov
In arch/mips/mach-malta/pci.c PCI controller is instantiated without dt and struct pci_controller parent field is NULL. Signed-off-by: Antony Pavlov --- drivers/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index d206c53848

Re: [PATCH v2 03/12] Add initial RISC-V architecture support

2018-06-29 Thread Antony Pavlov
On Fri, 29 Jun 2018 13:32:55 +0200 Sascha Hauer wrote: > On Fri, Jun 29, 2018 at 01:27:10PM +0300, Antony Pavlov wrote: > > On Fri, 29 Jun 2018 09:29:08 +0200 > > > > > > Do you need these __bare_init* stuff? If not I would prefer to remove > > > it. >

[PATCH] MIPS: don't include generated header files into MIPS asm files

2018-06-29 Thread Antony Pavlov
This patch came out of discussions in the 'MIPS parallel build breakage' e-mail thread: http://lists.infradead.org/pipermail/barebox/2018-March/032251.html Signed-off-by: Antony Pavlov --- arch/mips/include/asm/pbl_macros.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff

Re: [PATCH v2 03/12] Add initial RISC-V architecture support

2018-06-29 Thread Antony Pavlov
On Fri, 29 Jun 2018 09:29:08 +0200 Sascha Hauer wrote: > On Thu, Jun 28, 2018 at 10:39:44AM +0300, Antony Pavlov wrote: > > Signed-off-by: Antony Pavlov > > --- > > +++ b/arch/riscv/lib/barebox.lds.S > > @@ -0,0 +1,89 @@ > > +/* > &g

[PATCH v2 02/12] MIPS: Use generic GCC library routines from lib/

2018-06-28 Thread Antony Pavlov
This is a port of Linux kernel commit | commit 740129b36faf049e6845819144542a0455e1e285 | Author: Antony Pavlov | Date: Wed Apr 11 08:50:19 2018 +0100 | | MIPS: Use generic GCC library routines from lib/ Signed-off-by: Antony Pavlov --- arch/mips/Kconfig | 3 +++ arch/mips/lib

[PATCH v2 08/12] RISC-V: erizo: enable nmon

2018-06-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index f754aef05e..ff0d584761 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -22,6 +22,7 @@ choice config MACH_ERIZO bool "

[PATCH v2 10/12] RISC-V: add erizo_generic_defconfig

2018-06-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/configs/erizo_generic_defconfig | 53 ++ 1 file changed, 53 insertions(+) diff --git a/arch/riscv/configs/erizo_generic_defconfig b/arch/riscv/configs/erizo_generic_defconfig new file mode 100644 index 00..e62b6ec719

[PATCH v2 07/12] RISC-V: erizo: add DEBUG_LL support

2018-06-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig| 1 + arch/riscv/mach-erizo/include/mach/debug_ll.h | 37 +++ 2 files changed, 38 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index d0e934e939..f754aef05e 100644 --- a/arch

[PATCH v2 06/12] RISC-V: add nmon nano-monitor

2018-06-28 Thread Antony Pavlov
nmon is a tiny (<1024 bytes) monitor program for the RV32I processors. It can operate with NO working RAM at all! It uses only the processor registers and NS16550-compatible UART port for operation, so it can be used for a memory controller setup code debugging. Signed-off-by: Antony Pav

[PATCH v2 03/12] Add initial RISC-V architecture support

2018-06-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 62 +++ arch/riscv/Makefile | 72 ++ arch/riscv/boot/Makefile | 2 + arch/riscv/boot/main_entry.c | 40 + arch/riscv/boot/start.S

[PATCH v2 04/12] RISC-V: add Erizo SoC support

2018-06-28 Thread Antony Pavlov
Erizo is an opensource hardware SoC for FPGA. Signed-off-by: Antony Pavlov --- arch/riscv/Kconfig | 11 ++ arch/riscv/Makefile| 3 ++ arch/riscv/boards/erizo-generic/.gitignore | 1 + arch/riscv/boards/erizo-generic/Makefile | 1 + arch

[PATCH v2 11/12] scripts: add nmon-loader

2018-06-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- scripts/nmon-loader | 31 +++ 1 file changed, 31 insertions(+) diff --git a/scripts/nmon-loader b/scripts/nmon-loader new file mode 100755 index 00..d80a53097a --- /dev/null +++ b/scripts/nmon-loader @@ -0,0 +1,31 @@ +#!/usr

[PATCH v2 12/12] Documentation: add RISC-V docs

2018-06-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov --- Documentation/boards/riscv.rst | 91 ++ 1 file changed, 91 insertions(+) diff --git a/Documentation/boards/riscv.rst b/Documentation/boards/riscv.rst new file mode 100644 index 00..1a51d4d44f --- /dev/null +++ b

[PATCH v2 01/12] lib: Add shared copies of some GCC library routines

2018-06-28 Thread Antony Pavlov
Redfearn | Date: Wed Apr 11 08:50:17 2018 +0100 | | lib: Rename compiler intrinsic selects to GENERIC_LIB_* Signed-off-by: Antony Pavlov --- include/lib/libgcc.h | 47 lib/Kconfig | 9 + lib/Makefile | 7 +++ lib

[PATCH v2 00/12] Add initial RISC-V architecture support

2018-06-28 Thread Antony Pavlov
Documentation/boards/riscv.rst; * fix guard macro names. Antony Pavlov (12): lib: Add shared copies of some GCC library routines MIPS: Use generic GCC library routines from lib/ Add initial RISC-V architecture support RISC-V: add Erizo SoC support RISC-V: add low-level debug macros

[PATCH v2 05/12] RISC-V: add low-level debug macros for ns16550

2018-06-28 Thread Antony Pavlov
This patch adds macros for ns16550 port initialization and single char output. The macros can be used in MIPS asm pbl code. Signed-off-by: Antony Pavlov --- arch/riscv/include/asm/debug_ll_ns16550.h | 186 ++ 1 file changed, 186 insertions(+) diff --git a/arch/riscv/include

Re: [PATCH 01/10] Add initial RISC-V architecture support

2018-06-25 Thread Antony Pavlov
On Tue, 17 Apr 2018 08:22:55 +0200 Sascha Hauer wrote: > Hi Antony, > > On Sun, Apr 15, 2018 at 02:28:49PM +0300, Antony Pavlov wrote: > > Signed-off-by: Antony Pavlov > > --- > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > > new file mode 100644

[PATCH v2 1/2] MIPS: dts: drop skeleton.dtsi

2018-06-21 Thread Antony Pavlov
"). Signed-off-by: Antony Pavlov --- arch/mips/dts/dlink-dir-320.dts | 6 -- arch/mips/dts/jz4755.dtsi | 5 +++-- arch/mips/dts/jz4780.dtsi | 5 +++-- arch/mips/dts/loongson-ls1b.dts | 1 + arch/mips/dts/ls1b.dtsi | 5 +++-- arch/mips/dts/qemu-malta.dts| 6 +

[PATCH v2 2/2] MIPS: dts: fix dtc unit_address_vs_reg warning

2018-06-21 Thread Antony Pavlov
Unit number is added to the /memory nodes to fix this dtc warning: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name Signed-off-by: Antony Pavlov --- arch/mips/dts/dlink-dir-320.dts | 2 +- arch/mips/dts/img-ci20.dts | 2 +- arch/mips/dts/loongson

[PATCH v2 0/2] MIPS: dts: drop skeleton.dtsi

2018-06-21 Thread Antony Pavlov
Changes since v1 patchseries: * add `device_type = "memory";` to the memory node; * split patch. Antony Pavlov (2): MIPS: dts: drop skeleton.dtsi MIPS: dts: fix dtc unit_address_vs_reg warning arch/mips/dts/dlink-dir-320.dts | 8 +--- arch/mips/dts/img-ci20.dts |

Re: [PATCH] MIPS: dts: drop skeleton.dtsi

2018-06-20 Thread Antony Pavlov
On Tue, 19 Jun 2018 20:14:33 +0300 Antony Pavlov wrote: Hi, Sascha! Please ignore this patch. I have to add `device_type = "memory";` to memory nodes. Also I'm planning to move #address-cells and #size-cells definitions to a separate patch. > Based on feedback from Sascha:

Re: [PATCH] MIPS: dts: drop skeleton.dtsi

2018-06-20 Thread Antony Pavlov
On Tue, 19 Jun 2018 19:46:38 +0200 Oleksij Rempel wrote: > Tested-by Oleksij Rempel > > on dpt board. Have you tried to boot linux? > > Am 19.06.2018 um 19:14 schrieb Antony Pavlov: > > Based on feedback from Sascha: > > > > http://lists.infradead

[PATCH] MIPS: dts: drop skeleton.dtsi

2018-06-19 Thread Antony Pavlov
ing, e.g. Warning (avoid_default_addr_size): /memory@0: Relying on default #address-cells value Signed-off-by: Antony Pavlov --- arch/mips/dts/dlink-dir-320.dts | 7 --- arch/mips/dts/img-ci20.dts | 2 +- arch/mips/dts/jz4755.dtsi | 5 +++-- arch/mips/dts/jz4780.dtsi | 5 +++-- ar

Re: [PATCH v6 03/10] clock: Use udelay() to implement mdelay()

2018-06-14 Thread Antony Pavlov
17.0 > > > ___ > 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

barebox large disk problem

2018-06-04 Thread Antony Pavlov
large for barebox. I'm planning to increase block_device.num_block size from 32bit to 64bit. But changing struct block_device may have some unobvious drawbacks and I can't test all block_device usage situations (e.g. EFI). Any suggestions? -- Best regards,   Antony Pavlov

Re: barebox for an i586 board

2018-05-25 Thread Antony Pavlov
ng such a 'normal PC' > without EFI bios ? There is very interesting video at youtube: https://www.youtube.com/watch?v=DLGzcbOqaCY Alas AFAIK Bach Nguyen has not shared his results with community. -- Best regards,   Antony Pavlov ___ barebox mailin

Re: [RFC PATCH 3/7] bootm: add kexec ELF support

2018-05-04 Thread Antony Pavlov
On Fri, 4 May 2018 11:53:48 +0200 Oleksij Rempel <li...@rempel-privat.de> wrote: > Am 04.05.2018 um 12:08 schrieb Antony Pavlov: > > On Fri, 4 May 2018 07:54:08 +0200 > > Sascha Hauer <s.ha...@pengutronix.de> wrote: > > > >> On Sun, Apr 29, 2018

Re: [RFC PATCH 3/7] bootm: add kexec ELF support

2018-05-04 Thread Antony Pavlov
49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | > > ___ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox -- Best regards,   An

[PATCH] commands: i2c_write: enable reg == 0 too

2018-04-16 Thread Antony Pavlov
ble. After the commit 34fadb685905 reg address == 0 became unacceptable ("undefined") and will lead to raw i2c write. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- commands/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/i2c.c b/comma

[PATCH 05/10] RISC-V: erizo: add DEBUG_LL support

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/riscv/Kconfig| 1 + arch/riscv/mach-erizo/include/mach/debug_ll.h | 37 +++ 2 files changed, 38 insertions(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 9e7f

<    1   2   3   4   5   6   7   8   9   10   >