[PATCH 0/6] MIPS: ath79: sync dts stuff with linux v4.7-rc2

2016-06-13 Thread Antony Pavlov
At the moment linux v4.7-rc2 has AR9331 device tree support. This patchseries syncs barebox AR9331 device tree stuff with linux v4.7-rc2. Antony Pavlov (6): clk: ar933x: fix copyright header MIPS: ath79: dts: sync clk stuff with linux v4.7-rc2 MIPS: ath79: dts: sync uart stuff with linux

[PATCH 4/6] MIPS: ath79: dts: sync spi stuff with linux v4.7-rc2

2016-06-13 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/dts/ar9331.dtsi | 9 +++-- drivers/spi/ath79_spi.c | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/mips/dts/ar9331.dtsi b/arch/mips/dts/ar9331.dtsi index 05ef93f..6e20bc5 100644 --- a/arc

[PATCH 1/6] clk: ar933x: fix copyright header

2016-06-13 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/clk/clk-ar933x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-ar933x.c b/drivers/clk/clk-ar933x.c index 373f8cc..ffbd4df 100644 --- a/drivers/clk/clk-ar933x.c +++ b/drivers/c

[PATCH] MIPS: dts: add generated files to clean rule

2016-06-10 Thread Antony Pavlov
022e3a Author: Sascha Hauer <s.ha...@pengutronix.de> Date: Fri May 9 09:11:49 2014 +0200 ARM: dts: Add generated files to clean rule Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

barebox dts/ directory has no updates for several mouths

2016-06-09 Thread Antony Pavlov
8 2016 +0100 Merge tag 'v4.7-rc2-dts-raw' Linux 4.7-rc2 Can we switch to using of kernel.org's devicetree-rebasing.git repo for updating barebox dts/ dir? --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infrad

Re: [PATCH 12/12] arm: boards: add virt board

2016-06-07 Thread Antony Pavlov
On Tue, 7 Jun 2016 13:53:49 +0200 Raphaël Poggi <poggi.r...@gmail.com> wrote: > 2016-06-07 13:00 GMT+02:00 Antony Pavlov <antonynpav...@gmail.com>: > > On Thu, 2 Jun 2016 10:06:58 +0200 > > Raphael Poggi <poggi.r...@gmail.com> wrote: > > > >>

Re: [PATCH 12/12] arm: boards: add virt board

2016-06-07 Thread Antony Pavlov
+++ > arch/arm/boards/virt/env/bin/boot | 38 +++++ ... skipped ... --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH v2] imd: make it work on big-endian machines

2016-05-19 Thread Antony Pavlov
This patch fixes the problem by adding necessary conversion via imd_read_type(). Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- Changes since v1: * fix typos in the commit message. common/imd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com

Re: [PATCH] imd: make it work on big-endian machine

2016-05-19 Thread Antony Pavlov
On Fri, 20 May 2016 00:05:59 +0300 Antony Pavlov <antonynpav...@gmail.com> wrote: > The commit > > commit 5e335773e0814173b40873a891964a7858d64688 > Author: Sascha Hauer <s.ha...@pengutronix.de> > Date: Tue Mar 29 10:06:46 2016 +0200 > >

[PATCH] imd: make it work on big-endian machine

2016-05-19 Thread Antony Pavlov
This patch fixes the problem by adding necessary convertion via imd_read_type(). Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- common/imd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/imd.c b/common/imd.c index 159b73a..a8a10fc 100644 --- a/

Re: How to run barebox gui on linux, fb or x?

2016-04-30 Thread Antony Pavlov
On Sat, 30 Apr 2016 12:39:20 + DU HUANPENG <no_re...@hotmail.com> wrote: > On Sat, Apr 30, 2016 at 02:19:37PM +0300, Antony Pavlov wrote: > > On Sat, 30 Apr 2016 10:13:28 + > > DU HUANPENG <no_re...@hotmail.com> wrote: > > > > > Hello, I wa

Re: How to run barebox gui on linux, fb or x?

2016-04-30 Thread Antony Pavlov
$ ./barebox Inside barebox enable fbconsole0 output: barebox@barebox sandbox:/ fbconsole0.active=oe fb0: framebuffer console 80x30 activated --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.in

Re: [PATCH] NULL: remove other definition of NULL

2016-04-13 Thread Antony Pavlov
lib_private.h ---*/ > /*---------*/ > -- > 1.9.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

[PATCH] common: add dependency !SANDBOX on imd target tool

2016-04-07 Thread Antony Pavlov
+0100 common: add dependency !SANDBOX on target tools The build of target tools fails on sandbox architecture. We don't need any target tools in this case, so add a dependency. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Cc: Alexander Aring <alex.

Re: [PATCH 07/16] fec_imx: Impelemnt reset timeout

2016-03-15 Thread Antony Pavlov
ret = -ETIMEDOUT; > + goto free_gpio; > + } > } > > /* > -- > 2.5.0 > > > _______ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox -- --  Best regard

[PATCH] fixup! MIPS: add initial R4000-style cache support

2016-03-09 Thread Antony Pavlov
--- arch/mips/lib/c-r4k.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/lib/c-r4k.c b/arch/mips/lib/c-r4k.c index 4fe046a..ba77d18 100644 --- a/arch/mips/lib/c-r4k.c +++ b/arch/mips/lib/c-r4k.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include

[PATCH] fixup! MIPS: flush cache on shutdown

2016-03-09 Thread Antony Pavlov
--- arch/mips/lib/c-r4k.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/lib/c-r4k.c b/arch/mips/lib/c-r4k.c index 63e8f1c..1502058 100644 --- a/arch/mips/lib/c-r4k.c +++ b/arch/mips/lib/c-r4k.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include

Re: [PATCH 05/15] MIPS: add initial R4000-style cache support

2016-03-09 Thread Antony Pavlov
On Wed, 9 Mar 2016 14:28:14 +0100 Sascha Hauer <s.ha...@pengutronix.de> wrote: > Hi Antony, > > On Mon, Mar 07, 2016 at 04:30:16PM +0300, Antony Pavlov wrote: > > Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> > > Signed-off-by: Peter Mamonov <pmamo.

Re: [PATCH 00/15] MIPS: ar9331: use cache and fix gpio

2016-03-09 Thread Antony Pavlov
On Wed, 9 Mar 2016 09:45:11 +0100 Yegor Yefremov <yegorsli...@googlemail.com> wrote: > On Wed, Mar 9, 2016 at 8:31 AM, Sascha Hauer <s.ha...@pengutronix.de> wrote: > > Hi Antony, > > > > On Mon, Mar 07, 2016 at 04:30:11PM +0300, Antony Pavlov wrote: > >>

[PATCH 13/15] MIPS: black-swift: enable GPIO key

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/dts/black-swift.dts | 11 +++ arch/mips/mach-ath79/Kconfig | 1 + 2 files changed, 12 insertions(+) diff --git a/arch/mips/dts/black-swift.dts b/arch/mips/dts/black-swift.dts index b0fa3b0..d19c381 100644 ---

[PATCH 15/15] MIPS: tplink-mr3020: fix "WPS" and "3G" LEDs

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h b/arch/mips/boards/tplink-mr3020/include

[PATCH 00/15] MIPS: ar9331: use cache and fix gpio

2016-03-07 Thread Antony Pavlov
This patchseries introduces initial MIPS cache support. Though the cache code is usable for many MIPS-based chips at the moment the code is tested mostly on AR9331 SoC. So I have decided to submit only AR9331-related cache patches and add AR9331 GPIO-related patches to the series. Antony Pavlov

[PATCH 12/15] MIPS: black-swift: enable GPIO LED

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- .../boards/black-swift/include/board/board_pbl_start.h| 6 ++ arch/mips/dts/black-swift.dts | 15 +++ 2 files changed, 21 insertions(+) diff --git a/arch/mips/boards/black-swift/i

[PATCH 14/15] MIPS: black-swift_defconfig: enable gpio-related stuff

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/configs/black-swift_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/configs/black-swift_defconfig b/arch/mips/configs/black-swift_defconfig index dda863d..1a72cfb 100644 --- a/arch/mips/c

[PATCH 05/15] MIPS: add initial R4000-style cache support

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Signed-off-by: Peter Mamonov <pmamo...@gmail.com> --- arch/mips/include/asm/cacheops.h | 7 ++ arch/mips/include/asm/io.h | 3 +++ arch/mips/lib/c-r4k.c| 48 3 files

[PATCH 01/15] MIPS: probe_scache(): use MIPS_CONF_M linux kernel macro

2016-03-07 Thread Antony Pavlov
We already have MIPS_CONF_M macro in so we have no need in homebrew CONFIG_M macro. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Cc: Peter Mamonov <pmamo...@gmail.com> --- arch/mips/lib/c-r4k.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arc

[PATCH 09/15] MIPS: tplink-mr3020_defconfig: use cached memory region

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/configs/tplink-mr3020_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/configs/tplink-mr3020_defconfig b/arch/mips/configs/tplink-mr3020_defconfig index f2ba2da..93fb10d 100644 --- a/arch/mips/c

[PATCH 03/15] MIPS: black-swift: pbl: init cache

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boards/black-swift/include/board/board_pbl_start.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boards/black-swift/include/board/board_pbl_start.h b/arch/mips/boards/black-swift/include

[PATCH 10/15] MIPS: black-swift_defconfig: use cached memory region

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/configs/black-swift_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/configs/black-swift_defconfig b/arch/mips/configs/black-swift_defconfig index 7444968..dda863d 100644 --- a/arch/mips/configs

[PATCH 04/15] MIPS: tplink-mr3020: pbl: init cache

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h b/arch/mips/boards/tplink-mr3020/include

[PATCH 08/15] MIPS: dtb: register only one memory bank

2016-03-07 Thread Antony Pavlov
From: Peter Mamonov <pmamo...@gmail.com> Signed-off-by: Peter Mamonov <pmamo...@gmail.com> Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boot/dtb.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/mips/boot/dtb.c b/ar

[PATCH 06/15] MIPS: flush cache on shutdown

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Signed-off-by: Peter Mamonov <pmamo...@gmail.com> --- arch/mips/include/asm/cache.h | 6 ++ arch/mips/lib/Makefile| 1 + arch/mips/lib/c-r4k.c | 23 +++ arch/mips/lib/shutdown

[PATCH 02/15] MIPS: pbl: import cache init code from U-Boot v2016.01-212-ga3ab2ae

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/include/asm/cacheops.h | 29 arch/mips/include/asm/mipsregs.h | 8 +++ arch/mips/include/asm/pbl_macros.h | 133 + 3 files changed, 170 insertions(+) diff --git a/arc

[PATCH 07/15] MIPS: implement dma_sync_* functions

2016-03-07 Thread Antony Pavlov
From: Peter Mamonov <pmamo...@gmail.com> Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Signed-off-by: Peter Mamonov <pmamo...@gmail.com> --- arch/mips/Kconfig | 1 + arch/mips/include/asm/dma-mapping.h | 11 ++- arch/mips/lib/Makefile

[PATCH 11/15] MIPS: ath79: pbl: add pbl_ar9331_mdio_gpio_enable macro

2016-03-07 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/mach-ath79/include/mach/pbl_macros.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/mips/mach-ath79/include/mach/pbl_macros.h b/arch/mips/mach-ath79/include/mach/pbl_macros.h index 24cfd60..8f4d09a

Re: [PATCH] ehci-hcd: remove useless timeout

2016-03-05 Thread Antony Pavlov
rying to convince you to add SOB to your patch, so if any of the > > above explanations are insufficient for you, I am afraid we are going > > to have to agree to disagree on this subject. > > I asked a simple question - still no use case of SOB in Barebox. Of course there is a use case f

Re: [PATCH] ehci-hcd: remove useless timeout

2016-03-04 Thread Antony Pavlov
difficult to trace origins of this patch: https://github.com/openwrt/openwrt/blob/master/target/linux/ar71xx/patches-4.4/200-MIPS-ath79-fix-ar933x-wmac-reset.patch > > 04.03.2016, 14:33, "Antony Pavlov" <antonynpav...@gmail.com>: > > On Fri, 04 Mar 2016 13:42:14 +

Re: [PATCH] ehci-hcd: remove useless timeout

2016-03-04 Thread Antony Pavlov
1 (Sign your work). > 04.03.2016, 10:11, "Sascha Hauer" <s.ha...@pengutronix.de>: > > > Also, like you other patches this one lacks a SoB. Please commit with > > git commit -s. -- --  Best regards,   Antony Pavlov __

Re: [PATCH 1/2] poller: allow safely remove pollers in any time

2016-03-03 Thread Antony Pavlov
; _______ > 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: Ethernet PHY KSZ9031 is not working

2016-03-03 Thread Antony Pavlov
On Thu, 3 Mar 2016 14:47:26 +0100 gianluca <gianlucare...@eurek.it> wrote: > On 03/03/2016 02:52 PM, Antony Pavlov wrote: > > Before digging on the Datasheet for the explanation of all MII PHY > registers, here is the output of the command you wrote above: > > > bar

Re: Ethernet PHY KSZ9031 is not working

2016-03-03 Thread Antony Pavlov
mething goes wrong. May be a failure > on board, but at this time this board is the ONLY BOARD I can use. Use 'miitool -v -v' command to check your phy registers and the link status. --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH v5 3/3] fs: add support for SquashFS 4.0

2016-03-01 Thread Antony Pavlov
sli...@googlemail.com> Tested-by: Antony Pavlov <antonynpav...@gmail.com> > --- > Changes: > v5: - simplify squashfs_read > > v4: - add promt to mount examples > - rework squashfs_read to enable non linear reading > - embed

Re: [PATCH v4 2/3] linux/fs.h: add types and routines needed for SquashFS

2016-02-26 Thread Antony Pavlov
TY_TIME) > > +static inline loff_t i_size_read(const struct inode *inode) > +{ > +return inode->i_size; checkpatch.pl reports about an error here: ERROR: code indent should use tabs where possible > +} > + > #endif /* _LIN

[PATCH 3/4] MIPS: tplink-mr3020: pbl: use more lowlevel init code from U-Boot_mod

2016-02-25 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h b/arch/mips/boards/tplink-mr3020/i

[PATCH 2/4] MIPS: ath79: pbl: import hornet_1_1_war routine from U-Boot_mod

2016-02-25 Thread Antony Pavlov
necessary code from u-boot_mod/u-boot/cpu/mips/start_bootstrap.S. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/mach-ath79/include/mach/pbl_macros.h | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch/mips/mach-ath79/include/mach/pbl_ma

[PATCH 4/4] MIPS: black-swift: pbl: use more lowlevel init code from U-Boot_mod

2016-02-25 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boards/black-swift/include/board/board_pbl_start.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/mips/boards/black-swift/include/board/board_pbl_start.h b/arch/mips/boards/black-swift/include

[PATCH 0/4] MIPS: ath79: pbl: use more lowlevel init code from U-Boot_mod

2016-02-25 Thread Antony Pavlov
U-Boot_mod is a popular bootloader for Atheros AR93xx chips, please see https://github.com/pepe2k/u-boot_mod for details. It's reasonable to import some lowlevel AR9331 initialization code from U-Boot_mod. Antony Pavlov (4): MIPS: ath79: pbl: import AR9331 CP0 init routine from U-Boot_mod

[PATCH 1/4] MIPS: ath79: pbl: import AR9331 CP0 init routine from U-Boot_mod

2016-02-25 Thread Antony Pavlov
/cpu/mips/start_bootstrap.S. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/mach-ath79/include/mach/pbl_macros.h | 44 ++ 1 file changed, 44 insertions(+) diff --git a/arch/mips/mach-ath79/include/mach/pbl_macros.h b/arch/mips/mach-ath79/includ

[PATCH] MIPS: dts: ar9331.dtsi: fix whitespace

2016-02-24 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/dts/ar9331.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/dts/ar9331.dtsi b/arch/mips/dts/ar9331.dtsi index 99ede9e..efc0531 100644 --- a/arch/mips/dts/ar9331.dtsi +++ b/arch/mips/dts/

Re: [PATCH v2] input: usb keyboard: fix CTRL+C

2016-02-24 Thread Antony Pavlov
f5bf5..8ccdf31 100644 > --- a/include/input/keyboard.h > +++ b/include/input/keyboard.h > @@ -7,5 +7,6 @@ > > extern uint8_t keycode_bb_keys[NR_KEYS]; > extern uint8_t keycode_bb_shift_keys[NR_KEYS]; > +extern uint8_t keycode_bb_ctrl_keys[NR_KEYS]; > > #en

Re: [PATCH v3 3/3] fs: add support for SquashFS 4.0

2016-02-23 Thread Antony Pavlov
On Fri, 19 Feb 2016 15:49:15 +0100 yegorsli...@googlemail.com wrote: > From: Yegor Yefremov <yegorsli...@googlemail.com> > > The driver was imported from Linux 4.4. > > Current implementation supports only XZ decompressor. > > Cc: Antony Pavlov <antonynpav...@gma

[PATCH] commands: magicvar: make locally used magicvar_find() static

2016-02-23 Thread Antony Pavlov
The patch fixes this compiler's warning: commands/magicvar.c:27:22: warning: no previous prototype for 'magicvar_find' [-Wmissing-prototypes] struct magicvar_dyn *magicvar_find(const char *name) ^ Signed-off-by: Antony Pavlov <antonynpav...@gmail.

[PATCH] fs: fat: fix copy-paste typo

2016-02-19 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- fs/fat/fat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/fat/fat.c b/fs/fat/fat.c index ece937d..49cd78f 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -1,7 +1,7 @@ /* - * ramfs.c - a malloc

[PATCH] fs: ext4: make locally used ext4fs_get_indir_block() static

2016-02-16 Thread Antony Pavlov
blkno) ^ Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- fs/ext4/ext4_common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c index 590f54d..1ecbb8d 100644 --- a/fs/ext4/ext4_common.c +++ b/f

[PATCH] drivers: video: fb: make locally used fb_set_shadowfb() static

2016-02-04 Thread Antony Pavlov
The patch fixes this compiler's warning: drivers/video/fb.c:233:5: warning: no previous prototype for 'fb_set_shadowfb' [-Wmissing-prototypes] int fb_set_shadowfb(struct param_d *p, void *priv) ^ Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/vide

[PATCH] drivers: video: drop unused of_get_display_timing()

2016-02-04 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/video/of_display_timing.c | 25 - 1 file changed, 25 deletions(-) diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c index eb29ec6..6a5bf62 100644 --- a/drivers

Re: [PATCH] Terasic DE0 NANO-SoC: add support

2016-02-01 Thread Antony Pavlov
me as the "Terasic DE-0" or isn't it? > From the website it at least seems like it. > > With the other dts you then should be able to remove > > > +#include "socfpga.dtsi" > > + > > +/ { > > + model = "Terasic DE0-Nano(Atlas)"; It looks like Steffen is right. The board model name is wrong. Here is the DE0-Nano-SoC (Atlas-SoC) board: http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English=941 it is based on Cyclone V SE 5CSEMA4U23C6N. And this is DE0-Nano http://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English=139=593 it is based on Cyclone IV EP4CE22F17C6N. --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: Barebox vs Raspberry PI

2016-01-25 Thread Antony Pavlov
No such file or directory Maybe you have to create the partition. running /env/bin/init... Hit any key to stop autoboot: 3 barebox@RaspberryPi Model B+ (BCM2835/ARM1176JZF-S):/ # --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lis

Re: [PATCH 1/6] rtc: ds1307: Add code to support ds1337/1341

2016-01-06 Thread Antony Pavlov
... > @@ -263,6 +299,61 @@ static int ds1307_probe(struct device_d *dev) > ds1307->read_block_data = ds1307_read_block_data; > ds1307->write_block_data = ds1307_write_block_data; > > + Extra empty line here. > + switch (ds1307->type) { >

Re: [PATCH 3/6] rtc-lib: Check tm_wday for validity in rtc_valid_tm()

2016-01-06 Thread Antony Pavlov
|| ((unsigned)tm->tm_hour) >= 24 > -- > 2.5.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

Re: [PATCH v2] GPIO: add Microchip MCP23017 / MCP23008 GPIO driver

2015-12-15 Thread Antony Pavlov
2C */ ... > diff --git a/include/platform_data/mcp23s08.h > b/include/platform_data/mcp23s08.h > new file mode 100644 > index 000..b5289ab > --- /dev/null > +++ b/include/platform_data/mcp23s08.h > @@ -0,0 +1,4 @@ > +struct mcp23s08_platform_data { > + /* &quo

Re: [PATCH 5/7] commands: Add 'hwmon' command

2015-12-10 Thread Antony Pavlov
t)abs(value % > 1000)); > + break; > + default: > + printf("%s -- unknow type of sensor\n", s->name); > + break; > + } > + } > + > + return 0; > +} > + > +#if 0 > +BAREBOX_CMD_HELP_START(hwmon) > +BAREBOX_CMD_HELP_END > +#endif > + Please complete help stuff. -- --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [RFC 3/9] MIPS: add virt_to_phys() and phys_to_virt()

2015-12-08 Thread Antony Pavlov
On Mon, 7 Dec 2015 11:27:44 +0100 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Sun, Dec 06, 2015 at 05:50:51PM +0300, Antony Pavlov wrote: > > On Fri, 4 Sep 2015 08:20:48 +0200 > > Sascha Hauer <s.ha...@pengutronix.de> wrote: > > > > > On Fri, Aug 2

Re: [PATCH v2 9/9] fs: Add pstore filesystem

2015-12-08 Thread Antony Pavlov
e for more details. > + * > + * You should have received a copy of the GNU General Public License > + * along with this program; if not, see <http://www.gnu.org/licenses/>. > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include &

Re: [RFC 3/9] MIPS: add virt_to_phys() and phys_to_virt()

2015-12-06 Thread Antony Pavlov
On Fri, 4 Sep 2015 08:20:48 +0200 Sascha Hauer <s.ha...@pengutronix.de> wrote: > On Fri, Aug 28, 2015 at 06:46:14PM +0300, Antony Pavlov wrote: > > On Fri, 28 Aug 2015 08:34:32 +0200 > > Sascha Hauer <s.ha...@pengutronix.de> wrote: > > > > > On Fri

Re: [PATCH 9/9] fs: Add pstore filesystem

2015-12-02 Thread Antony Pavlov
-$(CONFIG_FS_SMHFS) += smhfs.o > +obj-y+= pstore/ Can we use obj-$(CONFIG_FS_PSTORE) += pstore/ ? > diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig > new file mode 100644 > index ..2455b5629cb1 > --- /dev/null > +++ b/fs/pstore/Kconfig > @@ -0,0 +1,88 @@ > +menuconfig FS_PSTORE > + bool > + prompt "pstore fs support" --  Best regards,   Antony Pavlov ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH 1/2] net: tap: make locally used functions static

2015-12-02 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/net/tap.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/tap.c b/drivers/net/tap.c index ca53f12..dfa9bc2 100644 --- a/drivers/net/tap.c +++ b/drivers/net/tap.c @@ -29,7 +29,7 @@

[PATCH 0/2] net: tap: trivial fixes

2015-12-02 Thread Antony Pavlov
Antony Pavlov (2): net: tap: make locally used functions static net: tap: fix whitespaces drivers/net/tap.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) -- 2.6.2 ___ barebox mailing list barebox@lists.infradead.org

[PATCH 2/2] net: tap: fix whitespaces

2015-12-02 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/net/tap.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/tap.c b/drivers/net/tap.c index dfa9bc2..4277956 100644 --- a/drivers/net/tap.c +++ b/drivers/net/tap.c @@ -99,14 +99,15 @@

[PATCH] environment: support env on at24 eeprom

2015-11-26 Thread Antony Pavlov
unprotect(), erase() and protect() return EOPNOTSUPP errno code for at24 I2C eeproms, so envfs_save() doesn't store data to these eeproms without this patch. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- common/environment.c | 12 ++-- 1 file changed, 6 insertions

[RFC] at24: get devfs name from dt aliase

2015-11-26 Thread Antony Pavlov
256 /dev/ddc crw--- 131072 /dev/eeprom cr256 /dev/spd Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/eeprom/at24.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/eeprom/at24.c b/d

Re: [PATCH] MIPS: import optimized string functions from Linux

2015-11-25 Thread Antony Pavlov
reorder > +1: PTR_ADDIU a0, 64 > + f_fill64 a0, -64, FILL64RG > + bne t1, a0, 1b > + .setnoreorder > + > +.Lmemset_partial: > + PTR_LA t1, 2f /* where to start */ > +#if LONGSIZE == 4 > + PTR_SUBUt1, FILLPTR

Re: [PATCH] MIPS: import optimized string functions from Linux

2015-11-25 Thread Antony Pavlov
linux there is prefetch support, but we can add it to barebox in the future. Acked-by: Antony Pavlov <antonynpav...@gmail.com> > --- > arch/mips/Kconfig | 8 ++ > arch/mips/include/asm/string.h | 9 +- > arch/mips/lib/Makefile | 3

Re: [PATCH] MIPS: import optimized string functions from Linux

2015-11-24 Thread Antony Pavlov
1, a0, 1b > + .setnoreorder > + > +.Lmemset_partial: > + PTR_LA t1, 2f /* where to start */ > +#if LONGSIZE == 4 > + PTR_SUBUt1, FILLPTRG > +#else > + .setnoat > + LONG_SRLAT, FILLPTRG, 1 > + PTR_SUBUt1, AT > + .setat > +#endif > + jr t1 > + PTR_ADDUa0, t0 /* dest ptr */ > + > + .setpush > + .setnoreorder > + .setnomacro > + /* ... but first do longs ... */ > + f_fill64 a0, -64, FILL64RG > +2: .setpop > + andia2, STORMASK/* At most one long to go */ > + > + beqza2, 1f > + PTR_ADDUa0, a2 /* What's left */ > +#ifdef __MIPSEB__ > + LONG_S_Ra1, -1(a0) > +#else > + LONG_S_La1, -1(a0) > +#endif > +1: jr ra > + movea2, zero > + > +.Lsmall_memset: > + beqza2, 2f > + PTR_ADDUt1, a0, a2 > + > +1: PTR_ADDIU a0, 1 /* fill bytewise */ > + bne t1, a0, 1b > + sb a1, -1(a0) > + > +2: jr ra /* done */ > + movea2, zero > + END(memset) > -- > 2.5.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

[just RFC 1/2] serial: ns16550: introduce custom divisor latch setter

2015-11-22 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/serial/serial_ns16550.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index 1af226a..6a5e013 100644 --- a/drivers/

[just RFC 0/2] serial: ns16550: add Ralink UART support

2015-11-22 Thread Antony Pavlov
Please dont apply this patchseries! It's for review only! This patchseries adds support for ns16550-like UART used in Ralink/Mediatek SoCs. This UART uses non-standard register addresses. This patchseries was tested on MT7620N SoC. Antony Pavlov (2): serial: ns16550: introduce custom divisor

[just RFC 2/2] serial: ns16550: add Ralink UART support

2015-11-22 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/serial/Kconfig | 8 + drivers/serial/serial_ns16550.c | 76 + 2 files changed, 84 insertions(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 1

[PATCH] net: usb: asix: make rx_fixup ax_skb buffer aligned

2015-11-22 Thread Antony Pavlov
exceptions. At the moment barebox on MIPS can't parry these unalignment access exceptions, so the Asix USB Ethernet chips, that need receive fixup workaround, are completely unusable on MIPS without this patch. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/net/usb/asix

[PATCH] net: usb: asix: fix 'no previous prototype' warning

2015-11-22 Thread Antony Pavlov
Here is the warning message: drivers/net/usb/asix.c:427:5: warning: no previous prototype for 'asix_rx_fixup_internal' [-Wmissing-prototypes] int asix_rx_fixup_internal(struct usbnet *dev, void *buf, int len, ^ Signed-off-by: Antony Pavlov <antonynpav...@gmail.

[RFC 1/2] i2c: import multiplexed I2C bus core support from linux kernel

2015-11-18 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/i2c/Kconfig | 7 +++ drivers/i2c/Makefile | 1 + drivers/i2c/i2c-mux.c | 118 ++ include/i2c/i2c-mux.h | 40 + include/i2c/i2c.h | 6 ++- 5

[RFC 2/2] i2c: add pca954x bus multiplexer driver

2015-11-18 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/i2c/Kconfig | 2 + drivers/i2c/Makefile| 2 +- drivers/i2c/muxes/Kconfig | 15 +++ drivers/i2c/muxes/Makefile | 4 + drivers/i2c/muxes/pca954x.c | 254 i

[RFC 0/2] add multiplexed I2C bus support

2015-11-18 Thread Antony Pavlov
ap.nr = -1; ret = i2c_add_numbered_adapter(>adap); Antony Pavlov (2): i2c: import multiplexed I2C bus core support from linux kernel i2c: add pca954x bus multiplexer driver drivers/i2c/Kconfig | 9 ++ drivers/i2c/Makefile| 3 +- drivers/i2c/i2c-mux.c | 118 +++

[PATCH 2/2] i2c: add pca954x bus multiplexer driver

2015-11-18 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- drivers/i2c/Kconfig | 2 + drivers/i2c/Makefile| 2 +- drivers/i2c/muxes/Kconfig | 14 ++ drivers/i2c/muxes/Makefile | 4 + drivers/i2c/muxes/i2c-mux-pca954x.c

[PATCH 0/2] add multiplexed I2C bus support

2015-11-18 Thread Antony Pavlov
nts; * sync with linux-v4.4-rc1. Antony Pavlov (2): i2c: import multiplexed I2C bus core support from linux kernel i2c: add pca954x bus multiplexer driver drivers/i2c/Kconfig | 9 ++ drivers/i2c/Makefile| 3 +- drivers/i2c/i2c-mux.c |

Re: [PATCH] lib: readline support ctrl-l to clear screen

2015-11-15 Thread Antony Pavlov
Y_ERASE_TO_EOL: > ERASE_TO_EOL(); > break; > -- > 1.9.1 > > > ___ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox -- --  Best regards,   Antony Pavlov _

Re: [RFC 0/4] FIT Support

2015-11-13 Thread Antony Pavlov
| Bin 0 -> 1023 bytes > > key.dts| 27 ++ > > sign-configs.itb | Bin 0 -> 2453 bytes > > 17 files changed, 1247 insertions(+), 20 deletions(-) > > create mode 100644 common/image-fit.c > > create mode 10

[PATCH v2 1/3] MIPS: pbl: add pbl_blt macro

2015-11-11 Thread Antony Pavlov
checks if current pc is lower than the first argument (ROM start address). If so then next instruction executed is defined by the second argument of the macro. Signed-off-by: Oleksij Rempel <li...@rempel-privat.de> Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Tested-by: Yegor

[PATCH v2 2/3] MIPS: black-swift: skip pbl lowlevel init if running from RAM

2015-11-11 Thread Antony Pavlov
Black Swift has 16 MiB flash boot ROM. The standard board's bootloader (U-Boot_mod) remaps boot ROM to 0xbf00. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> Tested-by: Yegor Yefremov <yegorsli...@googlemail.com> --- arch/mips/boards/black-swift/include/board/board_pbl

[PATCH v2 3/3] MIPS: tplink-mr3020: skip pbl lowlevel init if running from RAM

2015-11-11 Thread Antony Pavlov
TP-Link MR3020 has 4 MiB flash boot ROM. Usually boot ROM is mapped to 0xbfc0. However, as AR9331 allows to remap boot ROM to 0xbf00 it's better to assume that boot ROM starts at 0xbf00. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boards/tplink-mr3020/i

[PATCH v2 0/3] MIPS: ath79: skip pbl lowlevel init if running from RAM

2015-11-11 Thread Antony Pavlov
Changes since v1: * fix commit messages (thanks to Dmitry Smagin); * assume that tplink-mr3020's ROM start address is 0xbf00; * add 'Tested-by: Yegor Yefremov <yegorsli...@googlemail.com>'. Antony Pavlov (2): MIPS: black-swift: skip pbl lowlevel init if running from RAM

Re: [PATCH 0/3] MIPS: ath79: skip pbl lowlevel init if running from RAM

2015-11-11 Thread Antony Pavlov
On Wed, 11 Nov 2015 04:09:12 +0300 Antony Pavlov <antonynpav...@gmail.com> wrote: Hi Sascha! Please don't apply this patchseries. I'm working on cosmetic fixes. I'll send the v2 in a few hours. > Antony Pavlov (2): > MIPS: black-swift: skip pbl lowlevel init if running from

[PATCH 1/3] MIPS: pbl: add pbl_blt macro

2015-11-10 Thread Antony Pavlov
board dependend. The pbl_blt macro checks if current pc is lower than the first argument (ROM start address). If so then next instruction executed is defined by the second argument of the macro. Signed-off-by: Oleksij Rempel <li...@rempel-privat.de> Signed-off-by: Antony Pavlov <antonynp

[PATCH 3/3] MIPS: tplink-mr3020: skip pbl lowlevel init if running from RAM

2015-11-10 Thread Antony Pavlov
TP-Link MR3020 has 4 MiB flash boot ROM that is mapped to 0xbfc0. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/boards/tplink-mr3020/include

[PATCH 2/3] MIPS: black-swift: skip pbl lowlevel init if running from RAM

2015-11-10 Thread Antony Pavlov
Black Swift has 16 MiB flash boot ROM that can be remapped to 0xbf00. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/boards/black-swift/include/board/board_pbl_start.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/boards/black-swift/include

[PATCH 0/3] MIPS: ath79: skip pbl lowlevel init if running from RAM

2015-11-10 Thread Antony Pavlov
Antony Pavlov (2): MIPS: black-swift: skip pbl lowlevel init if running from RAM MIPS: tplink-mr3020: skip pbl lowlevel init if running from RAM Oleksij Rempel (1): MIPS: pbl: add pbl_blt macro arch/mips/boards/black-swift/include/board/board_pbl_start.h | 3 +++ .../boards/tplink-mr3020

[PATCH 2/4] MIPS: avoid excessive exception

2015-11-09 Thread Antony Pavlov
This commit clears ERL (ERror Level) flag on start. If this flag is set then we get 'TLB miss on load or ifetch' just after return from exception. Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/include/asm/pbl_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH 0/4] MIPS: support return from exception; allow user to pass incorrect address to md command

2015-11-09 Thread Antony Pavlov
will get this barebox:/ md -l 0xa003+4 a003: Ooops, address error on load or ifetch! ... ### ERROR ### Please RESET the board ### The patchseries is tested on QEMU Malta and Black Swift boards. Antony Pavlov (4): MIPS: traps.c: separate registers print stuff

[PATCH 3/4] MIPS: import exception registers restoring macros from linux kernel

2015-11-09 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/include/asm/stackframe.h | 87 ++ 1 file changed, 87 insertions(+) diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h index 0266ec6..abfa2d2

[PATCH 4/4] MIPS: allow user to pass incorrect address to md command

2015-11-09 Thread Antony Pavlov
:/ md -l 0xa003+4 a003: Ooops, address error on load or ifetch! ... ### ERROR ### Please RESET the board ### Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/include/asm/barebox.h | 2 +- arch/mips/lib/genex.S | 6 + arch/mi

[PATCH 1/4] MIPS: traps.c: separate registers print stuff to show_regs()

2015-11-09 Thread Antony Pavlov
Signed-off-by: Antony Pavlov <antonynpav...@gmail.com> --- arch/mips/lib/traps.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/arch/mips/lib/traps.c b/arch/mips/lib/traps.c index 0a5914e..d69697d 100644 --- a/arch/mips/lib/traps.c +++ b/arch/mi

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