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

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

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- Documentation/boards/riscv.rst | 106 + 1 file changed, 106 insertions(+) diff --git a/Documentation/boards/riscv.rst b/Documentation/boards/riscv.rst new file mode 100644 index 00..0cde

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

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/riscv/Kconfig | 62 +++ arch/riscv/Makefile | 72 ++ arch/riscv/boot/Makefile | 2 + arch/riscv/boot/main_entry.c | 40 +

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

2018-04-15 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 02/10] RISC-V: add Erizo SoC support

2018-04-15 Thread Antony Pavlov
Erizo is an opensource hardware SoC for FPGA. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/riscv/Kconfig | 11 ++ arch/riscv/Makefile| 3 ++ arch/riscv/boards/erizo-generic/.gitignore | 1 + arch/riscv/boards/erizo-g

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

2018-04-15 Thread Antony Pavlov
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-monitor RISC-V: erizo: add DEBUG_LL support RISC-V: erizo: enable

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

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- 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-

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

2018-04-15 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 <antonynpav...@gmail.com> --- arch/riscv/include/asm/debug_ll_ns16550.h | 186 ++ 1 file changed, 186 insertions(+)

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

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index ff3e6b96ab..915294c9cd 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -25,6 +25,7 @@ choice

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

2018-04-15 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- 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

[PATCH 4/4] ARM: socfpga_defconfig: enable Altera firmware stuff

2018-04-11 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/arm/configs/socfpga_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig index 6883b5f526..3a50bae8f2 100644 --- a/arch/arm/configs/socfpga_def

[PATCH 2/4] ARM: socfpga: boards: pll_config.h: remove duplicate macros

2018-04-11 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/arm/boards/ebv-socrates/pll_config.h | 6 -- arch/arm/boards/terasic-sockit/pll_config.h | 6 -- 2 files changed, 12 deletions(-) diff --git a/arch/arm/boards/ebv-socrates/pll_config.h b/arch/arm/boards/ebv-so

[PATCH 0/4] ARM: socfpga: misc fixes

2018-04-11 Thread Antony Pavlov
Antony Pavlov (4): net: make SoCFPGA-specific designware driver work again ARM: socfpga: boards: pll_config.h: remove duplicate macros ARM: socfpga: mach/pll_config.h: add guard macro ARM: socfpga_defconfig: enable Altera firmware stuff arch/arm/boards/ebv-socrates/pll_config.h | 6

[PATCH 3/4] ARM: socfpga: mach/pll_config.h: add guard macro

2018-04-11 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/arm/mach-socfpga/include/mach/pll_config.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-socfpga/include/mach/pll_config.h b/arch/arm/mach-socfpga/include/mach/pll_config.h index 1a7e851eda..d6fb60dd24

Re: socfpga: ethernet problem

2018-03-27 Thread Antony Pavlov
On Tue, 27 Mar 2018 07:31:29 +0200 Steffen Trumtrar <s.trumt...@pengutronix.de> wrote: > > Hi, > > Antony Pavlov <antonynpav...@gmail.com> writes: > > > Hi! > > > > Barebox for DE0-Nano-SoC succesfully starts on Terasic DE10-Nano board > >

Re: [PATCH] fs: check pointer returned by get_fsdevice_by_path before dereferencing

2018-03-27 Thread Antony Pavlov
MIPS board. Your epc == 0xa080ce34 is inside KSEG1 region (uncached memory). May be there is no cache support in current barebox for your CPU. Which CPU core you use? Très cordialement,   Antony Pavlov > ra: a080ce30 > Status: 0006 > Cause : 40008010 >

socfpga: ethernet problem

2018-03-26 Thread Antony Pavlov
env: No such file or directory Maybe you have to create the partition. running /env/bin/init... Hit any key to stop autoboot:3 barebox@Terasic DE0-Nano-SoC/Atlas-SoC Kit:/ Any suggestions or comments, please? -- Best regards,   Antony Pav

Re: MIPS parallel build breakage

2018-03-02 Thread Antony Pavlov
On Fri, 2 Mar 2018 13:34:01 +0100 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Fri, Mar 02, 2018 at 03:17:35PM +0300, Antony Pavlov wrote: > > On Thu, 1 Mar 2018 12:07:29 +0100 > > Sascha Hauer <s.ha...@pengutronix.de> wrote: > > > > > Hi Sam an

Re: MIPS parallel build breakage

2018-03-02 Thread Antony Pavlov
t; Any ideas how to solve this? I can't reproduce parallel build breakage. But I see another problem: the version string inside mips pbl binary is differ from the version string inside main barebox binary. I suppose that the problem is that current build system handles mips asm files (whi

Re: [RFC] commands: i2c_write: enable raw write to address

2018-02-13 Thread Antony Pavlov
On Tue, 13 Feb 2018 09:19:43 +0100 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Fri, Feb 09, 2018 at 02:22:24PM +0300, Antony Pavlov wrote: > > On Fri, 9 Feb 2018 09:36:36 +0100 > > Sascha Hauer <s.ha...@pengutronix.de> wrote: > > > > > Hi Antony,

Re: [RFC] commands: i2c_write: enable raw write to address

2018-02-09 Thread Antony Pavlov
On Fri, 9 Feb 2018 09:36:36 +0100 Sascha Hauer <s.ha...@pengutronix.de> wrote: > Hi Antony, > > On Thu, Feb 08, 2018 at 10:48:56AM +0300, Antony Pavlov wrote: > > Sometimes for communication with a simple I2C devices > > (e.g. PCF8574 or TM1650) it's necessary to

[RFC] commands: i2c_write: enable raw write to address

2018-02-07 Thread Antony Pavlov
') to the command. You always have to pass all three parameters: 'device address', 'register number' and 'data'. This commit fixes the problem. Sample usage: barebox@barebox sandbox:/ i2c_write -a 0x24 0x01 Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- commands/i2c

[PATCH] i2c: i2c_master_send(): don't leave flags uninitialized

2018-02-07 Thread Antony Pavlov
Leaving the flags field unitialized can lead to performing read operation instead of write operation. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/i2c/i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c index e9e7

Re: [PATCH v3 3/3] sandbox: add i2c and spi libftdi1 bit-bang example

2018-01-26 Thread Antony Pavlov
On Thu, 25 Jan 2018 08:12:36 +0100 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Mon, Jan 22, 2018 at 12:59:18PM +0300, Antony Pavlov wrote: > > Make necessary changes in sandbox_defconfig: > > enable gpio, spi, i2c and led stuff. > > > > Usage: > >

Re: [PATCH v3 0/3] sandbox: add gpio support with libftdi1

2018-01-24 Thread Antony Pavlov
On Mon, 22 Jan 2018 12:59:15 +0300 Antony Pavlov <antonynpav...@gmail.com> wrote: Sascha! Please review this patch series. > This patch series makes it possible to use FT2232H ACBUS[7:0] > pins as gpio pins from sandbox barebox. > > There are ready-to-use FT2232H-based boards

Re: [PATCH] sandbox: use 'poweroff' command for exit

2018-01-22 Thread Antony Pavlov
On Mon, 22 Jan 2018 14:40:20 +0100 Sam Ravnborg <s...@ravnborg.org> wrote: > Hi Antony > > On Mon, Jan 22, 2018 at 01:01:31PM +0300, Antony Pavlov wrote: > > The 'poweroff' command is more appropriate for exit > > barebox than 'reset'. > > Changelog sa

[PATCH] sandbox: use 'poweroff' command for exit

2018-01-22 Thread Antony Pavlov
The 'poweroff' command is more appropriate for exit barebox than 'reset'. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/board/Makefile| 2 +- arch/sandbox/board/poweroff.c | 17 + arch/sandbox/board/restart.c

[PATCH v3 2/3] sandbox: add gpio support with libftdi1

2018-01-22 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/Kconfig | 1 + arch/sandbox/Makefile | 6 +- arch/sandbox/mach-sandbox/include/mach/linux.h | 12 ++ arch/sandbox/os/Makefile | 3 + arch/s

[PATCH v3 3/3] sandbox: add i2c and spi libftdi1 bit-bang example

2018-01-22 Thread Antony Pavlov
e "sandbox-libftdi-example.dtsi"' >> arch/sandbox/dts/sandbox.dts barebox$ make barebox$ sudo ./barebox -d arch/sandbox/dts/sandbox.dtb Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/configs/sandbox_defconfig| 21 ++- arch/sandbox/dts/s

[PATCH v3 1/3] sandbox: avoid symbol conflict for {open, read, close}dir

2018-01-22 Thread Antony Pavlov
This fixes libusb's /dev/bus/usb directory scan. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 8155a790eb..9d545c3b71 100644 ---

[PATCH v3 0/3] sandbox: add gpio support with libftdi1

2018-01-22 Thread Antony Pavlov
on top barebox v2017.10.0; * libftdi cmdline options are added; * device tree support is added. Antony Pavlov (3): sandbox: avoid symbol conflict for {open,read,close}dir sandbox: add gpio support with libftdi1 sandbox: add i2c and spi libftdi1 bit-bang example arch/sandbox/Kconfig

Re: [PATCH v2 0/7] sandbox: add gpio support with libftdi1

2018-01-19 Thread Antony Pavlov
On Fri, 19 Jan 2018 10:40:08 +0100 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Fri, Jan 19, 2018 at 12:29:01PM +0300, Antony Pavlov wrote: > > On Wed, 17 Jan 2018 10:53:14 +0100 > > Sascha Hauer <s.ha...@pengutronix.de> wrote: > > > > > Hi Antony,

Re: [PATCH v2 0/7] sandbox: add gpio support with libftdi1

2018-01-19 Thread Antony Pavlov
On Wed, 17 Jan 2018 10:53:14 +0100 Sascha Hauer <s.ha...@pengutronix.de> wrote: > Hi Antony, > > On Mon, Jan 15, 2018 at 12:22:45AM +0300, Antony Pavlov wrote: > > This patch series makes it possible to use FT2232H ACBUS[7:0] > > pins as gpio pins from sandbox barebo

Re: [PATCH v2 3/7] sandbox: add i2c and spi libftdi1 bit-bang example

2018-01-19 Thread Antony Pavlov
On Wed, 17 Jan 2018 11:01:06 +0100 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Mon, Jan 15, 2018 at 12:22:48AM +0300, Antony Pavlov wrote: > > Make necessary changes in sandbox_defconfig: > > enable gpio, spi, i2c and led stuff. > > > > Usage: > >

Re: [PATCH v2 0/7] sandbox: add gpio support with libftdi1

2018-01-18 Thread Antony Pavlov
On Mon, 15 Jan 2018 00:22:45 +0300 Antony Pavlov <antonynpav...@gmail.com> wrote: > This patch series makes it possible to use FT2232H ACBUS[7:0] > pins as gpio pins from sandbox barebox. Hi Sascha! Please review this patch series! > There are ready-to-use FT223

[PATCH v2 7/7] sandbox: parse libftdi options

2018-01-14 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/Makefile| 2 +- arch/sandbox/os/common.c | 12 ++-- arch/sandbox/os/ftdi.c | 14 +- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/arch/sandbox/Makefile b/arch/sandbox/Ma

[PATCH v2 2/7] sandbox: add gpio support with libftdi1

2018-01-14 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/Kconfig | 1 + arch/sandbox/Makefile | 6 +- arch/sandbox/mach-sandbox/include/mach/linux.h | 11 ++ arch/sandbox/os/Makefile | 3 + arch/s

[PATCH v2 0/7] sandbox: add gpio support with libftdi1

2018-01-14 Thread Antony Pavlov
/barebox/2017-February/029106.html): * rebase on top barebox v2017.10.0; * libftdi cmdline options are added; * device tree support is added. Antony Pavlov (7): sandbox: avoid symbol conflict for {open,read,close}dir sandbox: add gpio support with libftdi1 sandbox: add i2c and spi

[PATCH v2 4/7] move parseopt to lib/

2018-01-14 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- fs/Makefile| 2 +- fs/fs.c| 3 +-- fs/nfs.c | 3 +-- {fs => include}/parseopt.h | 0 lib/Makefile | 1 + {fs => lib}/parseopt.c | 0 6 files changed,

[PATCH v2 5/7] include/parseopt.h: add guard macro

2018-01-14 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- include/parseopt.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/parseopt.h b/include/parseopt.h index abf3be3f35..becc734c2b 100644 --- a/include/parseopt.h +++ b/include/parseopt.h @@ -1,2 +1,7 @@ +#

[PATCH v2 3/7] sandbox: add i2c and spi libftdi1 bit-bang example

2018-01-14 Thread Antony Pavlov
ebox$ sudo ./barebox -d arch/sandbox/dts/sandbox.dtb Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/configs/sandbox_defconfig | 26 - arch/sandbox/dts/sandbox.dts | 52 ++ 2 files changed, 77 insertions(+), 1 deletio

[PATCH v2 6/7] parseopt: introduce parseopt_u16() and parseopt_str()

2018-01-14 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- include/parseopt.h | 2 ++ lib/parseopt.c | 64 ++ 2 files changed, 66 insertions(+) diff --git a/include/parseopt.h b/include/parseopt.h index becc734c2b..1f9763f8c9

[PATCH v2 1/7] sandbox: avoid symbol conflict for {open, read, close}dir

2018-01-14 Thread Antony Pavlov
This fixes libusb's /dev/bus/usb directory scan. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 8155a790eb..9d545c3b71 100644 ---

[PATCH] Kconfig: drop unused HAS_POWEROFF

2018-01-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagn...@jcrosoft.com> --- drivers/efi/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/efi/Kconfig b/drivers/efi/Kconfig index d6beeb07ce..cca1a2e1d6 100644 --- a/drivers

Re: [PATCH] EFI: add poweroff support

2017-12-26 Thread Antony Pavlov
--- a/drivers/efi/Kconfig > +++ b/drivers/efi/Kconfig > @@ -1,2 +1,3 @@ > config EFI_BOOTUP > bool > + select HAS_POWEROFF Hmmm. It looks like current barebox master and next branches know nothing about HAS_POWEROFF. -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH] net: make struct bootp __packed to prevent unaligned store on MIPS

2017-12-25 Thread Antony Pavlov
HER; /* 0x06 */ bp->bp_hops = 0; Compiler replaces four 'store byte' instruction by one 'store 32-bit word' instruction. Alas sometimes this leads to unaligned store situation. Making struct bootp __packed prevents this optimization and fixes the problem. Signed-off-by: Antony Pav

Re: [PATCH v1 4/4] MIPS: add support for DPTechnics DPT-Module v1

2017-12-09 Thread Antony Pavlov
t;; > + }; > +}; > + > + { > + status = "okay"; > +}; > diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig > index 9fec00c98..4655ce890 100644 > --- a/arch/mips/mach-ath79/Kconfig > +++ b/arch/mips/mach-ath79/Kconfig > @@ -13,6 +13,13 @@ config SOC_QCA_AR9344 > choice > prompt "Board type" > > +config BOARC_DPTECHNICS_DPT_MODULE > + bool "DPTechnics DPT-Module" > + select SOC_QCA_AR9331 > + select HAVE_PBL_IMAGE > + select HAVE_IMAGE_COMPRESSION > + select HAS_NMON > + > config BOARD_TPLINK_MR3020 > bool "TP-LINK MR3020" > select SOC_QCA_AR9331 > -- > 2.14.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: support mt7620

2017-11-12 Thread Antony Pavlov
om/frantony/barebox/tree/20160815.mediatek respectively). MT7620 is an unpromising chip. Actually it is RT5350 with few software visible changes, see https://wiki.openwrt.org/doc/hardware/soc/soc.mediatek for details. -- Best regards,   Antony Pavlov

Re: [PATCH 3/5] sandbox: parse libftdi options

2017-10-19 Thread Antony Pavlov
On Mon, 16 Oct 2017 16:06:18 +0200 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Mon, Oct 16, 2017 at 05:10:11PM +0300, Antony Pavlov wrote: > > On Mon, 16 Oct 2017 10:21:58 +0200 > > Sascha Hauer <s.ha...@pengutronix.de> wrote: > > > > > On Tue

Re: [PATCH 3/5] sandbox: parse libftdi options

2017-10-16 Thread Antony Pavlov
On Mon, 16 Oct 2017 10:21:58 +0200 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Tue, Oct 10, 2017 at 03:26:29PM +0300, Antony Pavlov wrote: > > Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> > > --- > > arch/sandbox/Makefile| 2 +- &

Re: [PATCH] mtd: m25p80: make it possible to use 4K erase block

2017-10-16 Thread Antony Pavlov
On Mon, 16 Oct 2017 09:26:00 +0200 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Thu, Oct 12, 2017 at 08:01:33PM +0300, Antony Pavlov wrote: > > On Fri, 28 Apr 2017 13:57:27 +0300 > > Antony Pavlov <antonynpav...@gmail.com> wrote: > > > > > On Fr

Re: [PATCH] mtd: m25p80: make it possible to use 4K erase block

2017-10-12 Thread Antony Pavlov
On Fri, 28 Apr 2017 13:57:27 +0300 Antony Pavlov <antonynpav...@gmail.com> wrote: > On Fri, 28 Apr 2017 10:18:48 +0200 > Sascha Hauer <s.ha...@pengutronix.de> wrote: > > > On Wed, Apr 26, 2017 at 05:17:34PM +0300, Antony Pavlov wrote: > > > We already have t

[PATCH 4/5] sandbox_defconfig: enable gpio, spi, i2c and led stuff

2017-10-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/configs/sandbox_defconfig | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/arch/sandbox/configs/sandbox_defconfig b/arch/sandbox/configs/sandbox_defconfig index dbaf

[PATCH 1/5] sandbox: avoid symbol conflict for {open,read,close}dir

2017-10-10 Thread Antony Pavlov
This fixes libusb's /dev/bus/usb directory scan. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 8155a790eb..9d545c3b71 100644 ---

[PATCH 3/5] sandbox: parse libftdi options

2017-10-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/Makefile| 2 +- arch/sandbox/os/common.c | 12 ++-- arch/sandbox/os/ftdi.c | 79 +++- 3 files changed, 89 insertions(+), 4 deletions(-) diff --git a/arch/s

[PATCH 2/5] sandbox: add gpio support with libftdi1

2017-10-10 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/sandbox/Kconfig | 1 + arch/sandbox/Makefile | 6 +- arch/sandbox/mach-sandbox/include/mach/linux.h | 11 ++ arch/sandbox/os/Makefile | 3 + arch/s

[PATCH] eeprom: at24: fix 'assignment from incompatible pointer type' warning

2017-10-09 Thread Antony Pavlov
ect, ^ Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/eeprom/at24.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/eeprom/at24.c b/drivers/eeprom/at24.c index 050a35aed8..11f23319b6 100644 --- a/drivers/eeprom/at24.c +++

[PATCH] elf.h: Use EI_NIDENT instead of numeric value

2017-10-09 Thread Antony Pavlov
gmail.com> | Signed-off-by: Andrew Morton <a...@linux-foundation.org> | Signed-off-by: Linus Torvalds <torva...@linux-foundation.org> Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- include/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

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

2017-10-06 Thread Antony Pavlov
On Thu, 5 Oct 2017 12:55:09 +0200 Daniel Schultz <d.schu...@phytec.de> wrote: > Hi, > > On 10/03/2017 12:21 AM, Antony Pavlov wrote: > > On Mon, 2 Oct 2017 12:08:58 +0200 > > Daniel Schultz <d.schu...@phytec.de> wrote: > > > >> Hi, > >&g

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

2017-10-02 Thread Antony Pavlov
On Mon, 2 Oct 2017 12:08:58 +0200 Daniel Schultz <d.schu...@phytec.de> wrote: > Hi, > > > On 09/29/2017 02:07 PM, Oleksij Rempel wrote: > > Hi, > > > > hm... mostly looks identical with existing arch > > > > Am 29.09.2017 um 01:12 schrieb

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

2017-10-02 Thread Antony Pavlov
On Mon, 2 Oct 2017 12:04:30 +0200 Daniel Schultz <d.schu...@phytec.de> wrote: > Hi, > > > On 09/30/2017 01:57 PM, Antony Pavlov wrote: > > On Fri, 29 Sep 2017 14:07:09 +0200 > > Oleksij Rempel <li...@rempel-privat.de> wrote: > > > >> Hi, > &

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

2017-10-02 Thread Antony Pavlov
On Mon, 2 Oct 2017 09:43:02 +0200 Oleksij Rempel <li...@rempel-privat.de> wrote: > Hi, > > Am 30.09.2017 um 13:57 schrieb Antony Pavlov: > > On Fri, 29 Sep 2017 14:07:09 +0200 > > Oleksij Rempel <li...@rempel-privat.de> wrote: > > > >> Hi, >

Re: [RFC v4 08/10] RISC-V: add erizo_generic_defconfig

2017-09-30 Thread Antony Pavlov
On Fri, 29 Sep 2017 14:29:21 +0200 Oleksij Rempel <li...@rempel-privat.de> wrote: > Am 29.09.2017 um 01:12 schrieb Antony Pavlov: > > Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> > > --- > > arch/riscv/configs/erizo_generic_defconfig | 55 > > +++

Re: [RFC v4 10/10] Documentation: add RISC-V docs

2017-09-30 Thread Antony Pavlov
On Fri, 29 Sep 2017 14:35:37 +0200 Oleksij Rempel <li...@rempel-privat.de> wrote: > Am 29.09.2017 um 01:12 schrieb Antony Pavlov: > > Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> > > --- > > Documentation/boards/riscv.rst | 110 > > ++

Re: [RFC v4 04/10] RISC-V: add nmon nano-monitor

2017-09-30 Thread Antony Pavlov
On Fri, 29 Sep 2017 14:26:34 +0200 Oleksij Rempel <li...@rempel-privat.de> wrote: > Same as for MIPS > Yes, I have based arch/riscv on arch/mips. > Am 29.09.2017 um 01:12 schrieb Antony Pavlov: ... > > diff --git a/arch/riscv/include/asm/riscv_nmon.h > &g

Re: [RFC v4 02/10] RISC-V: add Erizo SoC support

2017-09-30 Thread Antony Pavlov
On Fri, 29 Sep 2017 14:18:40 +0200 Oleksij Rempel <li...@rempel-privat.de> wrote: > Probably it is better to send it as patch not as RFC ;) There are still some issues. > Am 29.09.2017 um 01:12 schrieb Antony Pavlov: ... > > diff --git a/arch/riscv/boards/erizo-generic/b

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

2017-09-30 Thread Antony Pavlov
On Fri, 29 Sep 2017 14:07:09 +0200 Oleksij Rempel <li...@rempel-privat.de> wrote: > Hi, > > hm... mostly looks identical with existing arch What do you mean when you say "existing arch"? ... > Am 29.09.2017 um 01:12 schrieb Antony Pavlov: ... > > diff --gi

[RFC v4 10/10] Documentation: add RISC-V docs

2017-09-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- Documentation/boards/riscv.rst | 110 + 1 file changed, 110 insertions(+) diff --git a/Documentation/boards/riscv.rst b/Documentation/boards/riscv.rst new file mode 100644 index 000

[RFC v4 01/10] Add initial RISC-V architecture support

2017-09-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> -- TODOs: * split patch; --- arch/riscv/Kconfig | 73 + arch/riscv/Makefile | 68 +++ arch/riscv/boot/Makefile | 2 + arch/risc

[RFC v4 09/10] scripts: add nmon-loader

2017-09-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- scripts/nmon-loader | 31 +++ 1 file changed, 31 insertions(+) diff --git a/scripts/nmon-loader b/scripts/nmon-loader new file mode 100755 index 0..d80a53097 --- /dev/null +++ b/scripts/nmon-

[RFC v4 08/10] RISC-V: add erizo_generic_defconfig

2017-09-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/riscv/configs/erizo_generic_defconfig | 55 ++ 1 file changed, 55 insertions(+) diff --git a/arch/riscv/configs/erizo_generic_defconfig b/arch/riscv/configs/erizo_generic_defconfig new file mode

[RFC v4 06/10] RISC-V: erizo: enable NMON

2017-09-28 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index cf02ecf27..f350269e6 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -27,6 +27,7 @@ choice config MACH

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

2017-09-28 Thread Antony Pavlov
This patch adds macros for ns16550 port initialisation and single char output. The macros can be used in MIPS asm pbl code. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/riscv/include/asm/debug_ll_ns16550.h | 186 ++ 1 file changed, 186 inse

[RFC v4 04/10] RISC-V: add nmon nano-monitor

2017-09-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

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

2017-09-28 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 ce5

[RFC v4 00/10] add initial RISC-V architecture support

2017-09-28 Thread Antony Pavlov
I2C and SPI IP-blocks. 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-monitor RISC-V: erizo: add DEBUG_LL support RISC-V: erizo: enable NMON RISC-V: erizo: add nmon image

[RFC v4 02/10] RISC-V: add Erizo SoC support

2017-09-28 Thread Antony Pavlov
Erizo is an opensource hardware SoC for FPGA. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/riscv/Kconfig | 11 +++ arch/riscv/Makefile| 3 ++ arch/riscv/boards/erizo-generic/.gitignore | 1 + arch/riscv/boards/erizo-g

Re: [PATCH v3 00/10] provide ethernet support for ar9344 and ar9331

2017-09-18 Thread Antony Pavlov
adead.org > > http://lists.infradead.org/mailman/listinfo/barebox > > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germa

[PATCH v2 0/2] gpio: gpio-generic: add dt support

2017-09-07 Thread Antony Pavlov
Changes since v1: * fix 'gpio: gpio-generic: fix bgpio_map()' according to Sascha's remark see http://lists.infradead.org/pipermail/barebox/2017-September/031044.html for details. Antony Pavlov (2): gpio: gpio-generic: fix bgpio_map() gpio: gpio-generic: add dt support drivers/gpio

[PATCH v2 2/2] gpio: gpio-generic: add dt support

2017-09-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/gpio/gpio-generic.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c index 01a66d6645..14b451bfff 100644 --- a/drivers/gpio/gpio-generic.c +++ b/driver

[PATCH v2 1/2] gpio: gpio-generic: fix bgpio_map()

2017-09-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/gpio/gpio-generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c index c6202fc651..01a66d6645 100644 --- a/drivers/gpio/gpio-generic.c

[PATCH 2/2] gpio: gpio-generic: add dt support

2017-09-05 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/gpio/gpio-generic.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c index 164aaed97a..4d8f14c879 100644 --- a/drivers/gpio/gpio-generic.c +++ b/driver

[PATCH 0/2] gpio: gpio-generic: add dt support

2017-09-05 Thread Antony Pavlov
Antony Pavlov (2): gpio: gpio-generic: fix bgpio_map() gpio: gpio-generic: add dt support drivers/gpio/gpio-generic.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) -- 2.13.3 ___ barebox mailing list barebox

[PATCH 1/2] gpio: gpio-generic: fix bgpio_map()

2017-09-05 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/gpio/gpio-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c index c6202fc651..164aaed97a 100644 --- a/drivers/gpio/gpio-generic.c +++ b/d

Re: [PATCH v2] gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry

2017-09-05 Thread Antony Pavlov
On Fri, 4 Aug 2017 16:10:45 +0300 Antony Pavlov <antonynpav...@gmail.com> wrote: I can't find this patch neither in the master branch nor in the next branch of the pengutronix public repo. Please apply it! > Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> > Cc: Alexa

Re: [BUG] TFTP: No access to subdirectories

2017-09-03 Thread Antony Pavlov
192.168.2.100 filename > test-dir-1 > Aug 29 02:14:05 berry03 in.tftpd[5544]: RRQ from 192.168.2.100 filename > test-dir-1 > Aug 29 02:14:05 berry03 in.tftpd[5545]: RRQ from 192.168.2.100 filename > test-dir-1 > > > Conclusion > == > > As can be seen from the log entries of the TFTP server, the access pattern of > barebox has changed. > All of the attempts to access a subdirectory stop at "test-dir-1". > Furthermore, the number of accesses per file is different. > The timestamps indicate which requests belong to one file access attempt. > > I hope this information helps. > Thanks in advance! > > Best regards, > Dennis Menschel > -- Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: TCP

2017-08-30 Thread Antony Pavlov
ed it for several months. AFAIR There were big-endian issues. I have not added any TCP-related demo for picotcp-driven barebox. Any suggestions for TCP demo? telnet? http? > -- > Regards, > Oleksij > -- Best regards,   Antony Pavlov

Re: [PATCH 0/2] readline_simple: return -1 if getc fails

2017-08-09 Thread Antony Pavlov
k0, CP0_STATUS > 1:.setpop > .endm > > But I don't know if this is the right thing to do. > > [1]: > https://www.indiegogo.com/projects/vocore2-4-coin-sized-linux-computer-with-wifi#/ > > ___ > 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

[PATCH v2] gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry

2017-08-04 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Cc: Alexander Shiyan <shc_w...@mail.ru> --- Changes since v1: * change formatting drivers/gpio/gpio-clps711x.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps

[PATCH] gpio: clps711x: clps711x_gpio_dt_ids: add missing sentinel entry

2017-08-02 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Cc: Alexander Shiyan <shc_w...@mail.ru> --- drivers/gpio/gpio-clps711x.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c index d71c606690..e97f468e82 100644 --- a/

Re: v2017.07.0

2017-07-04 Thread Antony Pavlov
argument barebox:/ tftp zbarebox [#] barebox:/ Reverting 944bf0e1 ('fixup! fs: Implement links to directories') and a602bebc ('fs: Implement links to directories') fixes the problem. -- Best regards,   Antony Pavlov ___ barebox mailing l

[PATCH] i2c: mv64xxx: fix indentation

2017-05-22 Thread Antony Pavlov
i2c/busses/i2c-mv64xxx.c:305:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ udelay(2); ^~ Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Cc: Bastian Stender <b...@pengutronix.de> --- drivers/i2c/busses/i2

[PATCH] rtc-lib: drop unused rtc_ydays

2017-05-09 Thread Antony Pavlov
The patch fixes this compiler's warning: drivers/rtc/rtc-lib.c:23:29: warning: ‘rtc_ydays’ defined but not used [-Wunused-const-variable=] static const unsigned short rtc_ydays[2][13] = { ^ Signed-off-by: Antony Pavlov <antonynpav...@gmail.

[PATCH 1/5] MIPS: start*.S: drop redundant .text

2017-05-05 Thread Antony Pavlov
`.text' is equivalent to the `.section .text' directive. The `.text' directive just before `.section ".text_bare_init"' or just before `.section ".text_head_entry"' is redundant so drop it. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boot/st

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