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
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
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
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(-)
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
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:
> >
> >>
+++
> 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
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
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
>
>
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/
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
$ ./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
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
+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.
ret = -ETIMEDOUT;
> + goto free_gpio;
> + }
> }
>
> /*
> --
> 2.5.0
>
>
> _______
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
--
Best regard
---
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
---
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
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.
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:
> >>
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
---
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 +
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
__
; _______
> 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
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
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
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
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
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
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
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
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
/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
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/
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
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
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.
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
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
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
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
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
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
...
> @@ -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) {
>
|| ((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
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
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
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
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
&
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
-$(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
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 @@
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
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 @@
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
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
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
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
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
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/
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
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
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
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.
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
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
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 +++
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
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 |
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
_
| 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
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
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
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
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
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
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
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
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
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
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
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
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
:/ 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
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
601 - 700 of 1599 matches
Mail list logo