Re: [PATCH 2/3] x86: Add support for IDE on the legacy I/O ports

2014-04-04 Thread Alexander Aring
Hi Michel, On Sat, Apr 05, 2014 at 08:39:32AM +0200, Michel Stam wrote: > Hello Alex, > > Yes, I used send-email. I did notice that my editor changed some tabs to > spaces, that is already fixed in my local repository. Ill send it after I > tested whether everything still works. > you should n

Re: [PATCH 2/3] x86: Add support for IDE on the legacy I/O ports

2014-04-04 Thread Alexander Aring
On Tue, Mar 25, 2014 at 12:12:00PM +0100, Michel Stam wrote: > --- > arch/x86/boards/x86_generic/generic_pc.c | 71 > drivers/ata/ide-sff.c| 94 > ++-- > drivers/ata/intf_platform_ide.c | 14 - > include/ata_driv

Re: [RESEND PATCH] ppc: P2020RDB: add environment partition support

2014-04-02 Thread Alexander Aring
Hi Renaud, On Wed, Apr 02, 2014 at 03:18:41PM +0100, Renaud Barbier wrote: > Add an environment partition and support commands so that the system > configuration can be permanent. > > Signed-off-by: Renaud Barbier > --- > arch/ppc/boards/freescale-p2020rdb/env/bin/init | 2 ++ > arch/ppc/board

Re: Introducing barebOS

2014-04-01 Thread Alexander Aring
On Tue, Apr 01, 2014 at 11:35:48AM +0200, Alessandro Rubini wrote: > Great news Sascha. > > >> I therefore decided that it's no longer necessary to have the overhead > >> of Linux at all. The project will be renamed to barebOS in the next few > > I believed it, until the "rename" bit. > > Actual

Re: Introducing barebOS

2014-04-01 Thread Alexander Aring
On Tue, Apr 01, 2014 at 11:02:29AM +0200, Sascha Hauer wrote: > Hi All, > > barebox more and more comes in the area that is has everything an > operating system needs: > > - support for all kinds of storage devices > - support for various different fileystems > - Cooperative multitasking with the

Re: Can i access the barebox env from linux

2014-03-30 Thread Alexander Aring
Hi, On Fri, Mar 28, 2014 at 10:52:41AM +0100, Alexander Aring wrote: > On Fri, Mar 28, 2014 at 03:04:40PM +0530, Ashutosh Singh wrote: > > ya i tried with that too please have a look over barebox log after reboot: > > > > nand: ONFI param page 0 valid > > nand: ONFI

Re: Can i access the barebox env from linux

2014-03-26 Thread Alexander Aring
On Wed, Mar 26, 2014 at 12:53:03PM +0100, Michel Stam wrote: > In case anyone is interested; for a barebox x86 project I wrote a library > that overrides fopen/fclose/open/close/etc a while back, which allows read > access to the environment sector if properly configured. I managed to get it > work

Re: Can i access the barebox env from linux

2014-03-26 Thread Alexander Aring
On Wed, Mar 26, 2014 at 12:31:03PM +0100, Alexander Aring wrote: > On Wed, Mar 26, 2014 at 04:44:30PM +0530, Ashutosh Singh wrote: > > Thanks Alex, > > > > The script is quite helpful. > > But since i am saving my barebox.env in nand and want to mount, modify > >

Re: Can i access the barebox env from linux

2014-03-26 Thread Alexander Aring
On Wed, Mar 26, 2014 at 04:44:30PM +0530, Ashutosh Singh wrote: > Thanks Alex, > > The script is quite helpful. > But since i am saving my barebox.env in nand and want to mount, modify > and write it back to nand. > Do you have a safer solution so that complete env data won't corrupted. 1. You ne

Re: Can i access the barebox env from linux

2014-03-25 Thread Alexander Aring
Hi Sascha and Ashutosh, On Wed, Mar 26, 2014 at 07:26:19AM +0100, Sascha Hauer wrote: > On Wed, Mar 26, 2014 at 11:25:07AM +0530, Ashutosh Singh wrote: > > Dear All, > > > > Can i access the barebox env from linux. > > Once the kernel boot if i want to create a directory and store some > > param

Re: i.MX21 ADS NAND flash bad blocks scan. Barebox vs Linux

2014-03-17 Thread Alexander Aring
On Mon, Mar 17, 2014 at 10:25:59PM +, Cristiano De Alti wrote: > Alexander Aring writes: > > > > > Hi, > > > > just an idea... don't asking about why. But can you please disable > > > > ARM_OPTIMZED_STRING_FUNCTIONS > >

Re: Porting barebox to Novena: misc questions

2014-03-17 Thread Alexander Aring
On Mon, Mar 17, 2014 at 08:18:58AM +0100, Sascha Hauer wrote: > On Mon, Mar 17, 2014 at 12:28:28PM +0800, Sean Cross wrote: > > Here is the resulting output and BUG from this run: > > > > barebox 2014.03.0-00628-g7fed07d-dirty #158 Mon Mar 17 12:25:45 SGT 2014 > > > > > > Board: Kosagi i.MX6DL N

Re: i.MX21 ADS NAND flash bad blocks scan. Barebox vs Linux

2014-03-16 Thread Alexander Aring
Hi, just an idea... don't asking about why. But can you please disable ARM_OPTIMZED_STRING_FUNCTIONS and test it again? I will check something there... - Alex ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/lis

Re: [PATCH 6/6] ARM: pfla02: Set new ethernet phy tx timings

2014-03-16 Thread Alexander Aring
On Mon, Mar 17, 2014 at 07:24:35AM +0100, Sascha Hauer wrote: > On Fri, Mar 14, 2014 at 05:01:33PM +0100, Alexander Aring wrote: > > On Fri, Mar 14, 2014 at 02:30:20PM +0100, Sascha Hauer wrote: > > > From: Christian Hemp > > > > > > TX_CLK line is approx. 5

Re: [PATCH 6/6] ARM: pfla02: Set new ethernet phy tx timings

2014-03-14 Thread Alexander Aring
On Fri, Mar 14, 2014 at 02:30:20PM +0100, Sascha Hauer wrote: > From: Christian Hemp > > TX_CLK line is approx. 54mm longer than other TX lines which adds > a delay of 0.36ns. RGMII need a delay of min. 1.0ns. This mean we have to add > a delay of 0.64ns. We choose 0.78 to have a little gap. This

Re: [PATCH 1/5] mtd: Update internal API to support 64-bit device size

2014-03-12 Thread Alexander Aring
Hi Sascha, On Wed, Mar 12, 2014 at 09:28:48PM +0100, Sascha Hauer wrote: > On Mon, Mar 10, 2014 at 02:39:49PM +0300, Dmitry Lavnikevich wrote: > > MTD internal API presently uses 32-bit values to represent device > > size. This patch updates them to 64-bits but leaves the external API > > unchange

Re: [PATCH 1/5] mtd: Update internal API to support 64-bit device size

2014-03-11 Thread Alexander Aring
On Tue, Mar 11, 2014 at 06:29:22AM +0100, Sascha Hauer wrote: > > offset but we should do it right at first time. > > Yes, right. We should make this uint64_t. > There are also more things which needs a uint64_t like the offset parameter of libmtd_* functions. :-/ - Alex __

Re: [PATCH 1/5] mtd: Update internal API to support 64-bit device size

2014-03-10 Thread Alexander Aring
Hi Sascha, we talked some time ago about >= 4GB mtd support. This patch series add only a size for uint64_t. But then we also need to change uint32_t master_offset; in mtd_info to: uint64_t master_offset; otherwise we can't create mtd partitions with a uint64_t offset. Or I am wrong with that?

Re: [RFC 1/3] ramfs: add foofs for testing

2014-03-03 Thread Alexander Aring
Hi Sascha, On Mon, Mar 03, 2014 at 09:36:20AM +0100, Sascha Hauer wrote: > On Fri, Feb 28, 2014 at 08:44:26AM +0100, Alexander Aring wrote: > > Signed-off-by: Alexander Aring > > --- > > fs/ramfs.c | 69 > > +++

Re: [RFC 3/3] libbb: read_full: use read return instead size

2014-03-03 Thread Alexander Aring
Hi Sascha, On Mon, Mar 03, 2014 at 09:30:50AM +0100, Sascha Hauer wrote: > > So our read_file implementation doesn't work procfs like filesystems where > all sizes are 0. Your patch doesn't change this though. In 2/3 you > remove the if (!size) check and call the fs drivers read function with > s

Re: [RFC 3/3] libbb: read_full: use read return instead size

2014-02-28 Thread Alexander Aring
On Fri, Feb 28, 2014 at 06:12:07PM +0100, Alexander Aring wrote: > Hi Sascha, > > On Fri, Feb 28, 2014 at 03:21:18PM +0100, Sascha Hauer wrote: > > On Fri, Feb 28, 2014 at 09:03:34AM +0100, Alexander Aring wrote: > > > On Fri, Feb 28, 2014 at 08:44:28AM +010

Re: [RFC 3/3] libbb: read_full: use read return instead size

2014-02-28 Thread Alexander Aring
Hi Sascha, On Fri, Feb 28, 2014 at 03:21:18PM +0100, Sascha Hauer wrote: > On Fri, Feb 28, 2014 at 09:03:34AM +0100, Alexander Aring wrote: > > On Fri, Feb 28, 2014 at 08:44:28AM +0100, Alexander Aring wrote: > > > Signed-off-by: Alexander Aring > > > --- > > &g

Re: [PATCH 1/1] cfi_flash: fix NULL pointer dereference

2014-02-28 Thread Alexander Aring
I don't get this patch. Was it send with barebox mailinglist in cc? - Alex ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [RFC 3/3] libbb: read_full: use read return instead size

2014-02-28 Thread Alexander Aring
On Fri, Feb 28, 2014 at 08:44:28AM +0100, Alexander Aring wrote: > Signed-off-by: Alexander Aring > --- > lib/libbb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/libbb.c b/lib/libbb.c > index 189a170..c8d0835 100644 > --- a/lib/lib

Re: [RFC 1/3] ramfs: add foofs for testing

2014-02-27 Thread Alexander Aring
On Fri, Feb 28, 2014 at 08:44:26AM +0100, Alexander Aring wrote: > + > + /* just for test zero file read */ > + n = ramfs_get_inode(); > + n->name = strdup("foobar"); > + n->mode = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO; > + n->parent =

[RFC 3/3] libbb: read_full: use read return instead size

2014-02-27 Thread Alexander Aring
Signed-off-by: Alexander Aring --- lib/libbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libbb.c b/lib/libbb.c index 189a170..c8d0835 100644 --- a/lib/libbb.c +++ b/lib/libbb.c @@ -162,7 +162,7 @@ int read_full(int fd, void *buf, size_t size) int now

[RFC 0/3] current read implementation and POSIX

2014-02-27 Thread Alexander Aring
ilesystem and other commands can't deal with it and maybe we don't want to fix this issue and accept the current behaviour. :-( Another hint: Sascha had some problems with zero files in tftpfs maybe there is some relationship between this issue and the zero file tftpfs files... because t

[RFC 1/3] ramfs: add foofs for testing

2014-02-27 Thread Alexander Aring
Signed-off-by: Alexander Aring --- fs/ramfs.c | 69 ++ 1 file changed, 69 insertions(+) diff --git a/fs/ramfs.c b/fs/ramfs.c index f45a454..4b93c2e 100644 --- a/fs/ramfs.c +++ b/fs/ramfs.c @@ -608,6 +608,48 @@ static int ramfs_probe

[RFC 2/3] fs: read: handle zero files

2014-02-27 Thread Alexander Aring
Signed-off-by: Alexander Aring --- fs/fs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/fs.c b/fs/fs.c index 1b43c61..9584495 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -804,9 +804,6 @@ static ssize_t __read(FILE *f, void *buf, size_t count) if (f->size != FILE_SIZE_STREAM &

Re: [PATCH 3/4] memtest: exclude page starting at address 0.

2014-02-27 Thread Alexander Aring
Hi Renaud, thanks for finding this issue... I introduce it so sorry for that! - Alex ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 3/4] environment: Add function to load envfs from buffer

2014-02-22 Thread Alexander Aring
On Sat, Feb 22, 2014 at 07:28:51PM +0100, Sascha Hauer wrote: > Hi Alex, > > On Thu, Feb 20, 2014 at 04:16:05PM +0100, Alexander Aring wrote: > > Hi Sascha, > > > > > - printf("Open %s %s\n", filename, errno_str()); > > > -

Re: [PATCH 3/4] environment: Add function to load envfs from buffer

2014-02-20 Thread Alexander Aring
Hi Sascha, some little (maybe interesting) note, but all patches in this series looks fine for me. :-) On Thu, Feb 20, 2014 at 02:49:28PM +0100, Sascha Hauer wrote: > Signed-off-by: Sascha Hauer > --- > common/environment.c | 181 > +-- > include

Re: [PATCH 6/7] lib/math.c: Fix possible crash

2014-02-16 Thread Alexander Aring
On Mon, Feb 17, 2014 at 08:08:09AM +0100, Sascha Hauer wrote: > On Sun, Feb 16, 2014 at 08:40:49AM +0400, Alexander Shiyan wrote: > > Crash can be caused if xzalloc() for "numstack" fails. > > xzalloc doesn't fail. > Some little offtopic to this issue: I am falling sometimes in the same trap and

Re: [PATCH 1/8] mtd: Simplify partitions

2014-02-13 Thread Alexander Aring
On Thu, Feb 13, 2014 at 07:45:33PM +0100, Sascha Hauer wrote: > On Thu, Feb 13, 2014 at 03:01:55PM +0100, Alexander Aring wrote: > > On Thu, Feb 13, 2014 at 02:34:30PM +0100, Sascha Hauer wrote: > > > On Thu, Feb 13, 2014 at 12:08:58PM +0100, Alexander Aring wrote:

Re: [PATCH 1/8] mtd: Simplify partitions

2014-02-13 Thread Alexander Aring
On Thu, Feb 13, 2014 at 02:34:30PM +0100, Sascha Hauer wrote: > On Thu, Feb 13, 2014 at 12:08:58PM +0100, Alexander Aring wrote: > > Hi Sascha, > > > > only some small nitpicks. > > > > On Thu, Feb 13, 2014 at 11:25:28AM +0100, Sascha Hauer wrote: > > >

Re: [PATCH 1/8] mtd: Simplify partitions

2014-02-13 Thread Alexander Aring
Hi Sascha, only some small nitpicks. On Thu, Feb 13, 2014 at 11:25:28AM +0100, Sascha Hauer wrote: > Embed the partition information in struct mtd_info. This makes the > mtd partition code simpler. > > Signed-off-by: Sascha Hauer > --- > drivers/mtd/partition.c | 75 >

[PATCH 2/2] bpkfs: fix compiler warning

2014-02-09 Thread Alexander Aring
Correct formatstring of size_t is %zu otherwise we get: fs/bpkfs.c: In function ‘bpkfs_probe’: fs/bpkfs.c:440:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ [-Wformat=] dev_dbg(dev, "%d: offset = %d\n", i, d->offset); Signed-off-by: Al

[PATCH 1/2] bpkfs: remove twice include of fs.h

2014-02-09 Thread Alexander Aring
Signed-off-by: Alexander Aring --- fs/bpkfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/bpkfs.c b/fs/bpkfs.c index b3b45be..ae7681a 100644 --- a/fs/bpkfs.c +++ b/fs/bpkfs.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include -- 1.8.5.4

Re: [PATCH 2/3] ARM: dts: i.MX53: tqma53: Add barebox specifics

2014-01-22 Thread Alexander Aring
Hi Sascha, On Wed, Jan 22, 2014 at 07:33:14AM +0100, Sascha Hauer wrote: > On Tue, Jan 21, 2014 at 09:17:55AM +0100, Sascha Hauer wrote: > > On Mon, Jan 20, 2014 at 07:25:50PM +0100, Alexander Aring wrote: > > > Hi Sascha, > > > > > > On Mon, Jan 20, 2014 at

Re: [PATCH 2/3] ARM: dts: i.MX53: tqma53: Add barebox specifics

2014-01-20 Thread Alexander Aring
Hi Sascha, On Mon, Jan 20, 2014 at 02:23:55PM +0100, Sascha Hauer wrote: > - add chosen node with > - environment > - linux,stdout-path > - add dsr value to eMMC > - add provide-mac-address property to iim node > > Signed-off-by: Sascha Hauer > --- > arch/arm/dts/imx53-mba53.dts | 17

Re: [PATCH 02/22] ARM: phyCARD-i.MX27: increase barebox partition

2014-01-19 Thread Alexander Aring
On Sat, Jan 18, 2014 at 08:16:25PM +0100, Alexander Aring wrote: > Hi, > > On Fri, Jan 17, 2014 at 04:03:12PM +0100, Sascha Hauer wrote: > > More place for barebox. > > > > Signed-off-by: Sascha Hauer > > --- > > arch/arm/boards/phycard-i.MX27/env/con

Re: [PATCH 02/22] ARM: phyCARD-i.MX27: increase barebox partition

2014-01-18 Thread Alexander Aring
Hi, On Fri, Jan 17, 2014 at 04:03:12PM +0100, Sascha Hauer wrote: > More place for barebox. > > Signed-off-by: Sascha Hauer > --- > arch/arm/boards/phycard-i.MX27/env/config | 2 +- > arch/arm/boards/phycard-i.MX27/pca100.c | 5 +++-- > 2 files changed, 4 insertions(+), 3 deletions(-) > > di

Re: [PATCH 20/22] ARM: dts: phycard-i.MX27: Add sdhc2 pinctrl

2014-01-18 Thread Alexander Aring
Hi Sascha, On Fri, Jan 17, 2014 at 04:03:30PM +0100, Sascha Hauer wrote: > Signed-off-by: Sascha Hauer > --- > arch/arm/dts/imx27-phytec-phycard-s-rdk.dts | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/dts/imx27-phytec-phycard-s-rdk.dts > b/arch/arm/dts/imx27-phytec-ph

Re: [PATCH 1/2] ARM: dts: rename imx6q-dmo-realq7.dts to imx6q-dmo-edmqmx6.dts

2014-01-16 Thread Alexander Aring
On Thu, Jan 16, 2014 at 02:28:09PM +0100, Sascha Hauer wrote: > On Wed, Jan 15, 2014 at 10:41:56AM +0100, Alexander Aring wrote: > > Hi Sascha, > > > > On Wed, Jan 15, 2014 at 10:36:07AM +0100, Sascha Hauer wrote: > > > On Wed, Jan 15, 2014 at 08:26:33AM +0100, Sasch

Re: [PATCH 1/2] ARM: dts: rename imx6q-dmo-realq7.dts to imx6q-dmo-edmqmx6.dts

2014-01-15 Thread Alexander Aring
Hi Sascha, On Wed, Jan 15, 2014 at 10:36:07AM +0100, Sascha Hauer wrote: > On Wed, Jan 15, 2014 at 08:26:33AM +0100, Sascha Hauer wrote: > > As this name is used in the Kernel. > > > > Signed-off-by: Sascha Hauer > > --- > > arch/arm/dts/Makefile| 4 ++--

Re: [PATCH 3/4] mci: imx-esdhc: add DSR support

2014-01-14 Thread Alexander Aring
Hi, On Tue, Jan 14, 2014 at 09:23:36AM +0100, Markus Niebel wrote: > From: Markus Niebel > > having DSR support in mci-core we need a way to > forward the DSR value to the driver. Add it to > platform data for imx-esdhc > > TODO: implement the same for other host controller > drivers > > Signe

Re: [JUST RFC] ARM: DIGIC: add csrc-dummy

2013-12-15 Thread Alexander Aring
On Mon, Dec 16, 2013 at 08:41:59AM +0100, Sascha Hauer wrote: > On Sun, Dec 15, 2013 at 07:02:05PM +0400, Antony Pavlov wrote: > > The clocksource csrc-timer driver that uses DIGIC > > hardware TIMER2 perfectrly works on Canon A1100, > > but does not works on Canon EOS 600D. > > IMHO we need additi

Re: [JUST RFC] ARM: DIGIC: add csrc-dummy

2013-12-15 Thread Alexander Aring
On Mon, Dec 16, 2013 at 12:40:13AM +0400, Antony Pavlov wrote: > On Sun, 15 Dec 2013 20:30:16 +0100 > Alexander Aring wrote: > > > Hi Antony, > > > > On Sun, Dec 15, 2013 at 07:02:05PM +0400, Antony Pavlov wrote: > > > The clocksource csrc-timer driver t

Re: [JUST RFC] ARM: DIGIC: add csrc-dummy

2013-12-15 Thread Alexander Aring
Hi Antony, On Sun, Dec 15, 2013 at 07:02:05PM +0400, Antony Pavlov wrote: > The clocksource csrc-timer driver that uses DIGIC > hardware TIMER2 perfectrly works on Canon A1100, > but does not works on Canon EOS 600D. > IMHO we need additional timer initialisation. > > This patch introduces a quic

Re: Porting barebox (devicetree) to Variscite iMX6 SOM

2013-12-12 Thread Alexander Aring
Hi, some little notice... this should not fix your problem. On Thu, Dec 12, 2013 at 01:56:14PM -0500, Michael Burkey wrote: > Additionally, here are the dts and dtsi files I added for the Variscite part: > ... > partition@0 { > label = "barebox"; > reg = <0x0 0x

[PATCH] cpsw: fix dt probe for one port ethernet

2013-12-11 Thread Alexander Aring
the loop. Signed-off-by: Alexander Aring --- I think we need this, too. Only compile tested. drivers/net/cpsw.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index 5e68e1b..f82117c 100644 --- a/drivers/net/cpsw.c +++ b/drivers/net/cpsw.c @@ -1076,6

Re: [PATCH] of: gpio: Fix Kconfig variables to depend on

2013-12-11 Thread Alexander Aring
On Thu, Dec 12, 2013 at 01:29:55AM +0400, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > drivers/of/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig > index cdf7ac7..c4525cb 100644 > --- a/drivers/of/Kconfig

Re: Porting barebox (devicetree) to Variscite iMX6 SOM

2013-12-11 Thread Alexander Aring
Hi Michael, I think I would speak for all "Is there any chance to show some code?" Maybe just send it as "rfc". On Wed, Dec 11, 2013 at 12:07:17PM -0500, Michael Burkey wrote: > I figured I'd just throw this out to everyone.. > ... > > Are there any steps I'm missing or anything major I'm doing

Re: How to debug Ethernet connectivity

2013-12-10 Thread Alexander Aring
On Tue, Dec 10, 2013 at 07:24:40PM +0400, Antony Pavlov wrote: > On Tue, 10 Dec 2013 14:31:23 +0100 > Atilla Filiz wrote: > > > Ok, then my problem is slightly more clear, that /dev/phy0 does not exist. > > I do define a struct fec_platform_data with > > xcv_type=PHY_INTERFACE_MODE_MII and regist

Re: [PATCH] scripts: add arch/x86/lib/barebox.lds to gitignore

2013-12-10 Thread Alexander Aring
On Tue, Dec 10, 2013 at 03:42:53PM +0800, Kevin Du Huanpeng wrote: > I want to say "thank you" to Alex, :) you are welcome - Alex ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 7/7] samsa5d3xek: update defconfig

2013-12-09 Thread Alexander Aring
On Mon, Dec 09, 2013 at 03:53:51PM +0100, Eric Bénard wrote: > Hi Jean-Christophe, > > Le Mon, 9 Dec 2013 14:31:25 +0100, > Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > more comment here > > On 10:37 Sat 07 Dec , Eric B??nard wrote: > > > Signed-off-by: Eric Bénard > > > --- > > > arch

[PATCH] memtest: add missing newline at usagestring

2013-12-09 Thread Alexander Aring
All other commands have a newline at the end of usagestring. Add this for memtest as well. Signed-off-by: Alexander Aring --- commands/memtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/memtest.c b/commands/memtest.c index c82badc..e988132 100644 --- a

Re: How much ram is needed to run barebox by default config?

2013-12-08 Thread Alexander Aring
On Mon, Dec 09, 2013 at 08:24:39AM +0100, Sascha Hauer wrote: > On Sat, Dec 07, 2013 at 12:19:31AM +0800, Kevin Du Huanpeng wrote: > > I am porting barebox to my router, ar9331 MIPS 24kc 400MHz, 32MB RAM, 4MB > > Flash. > > I don't know what is the proper size to set the stack and malloc. > > 8Mi

Re: [PATCH] serial: add missing depends on ARCH_ZYNQ

2013-12-08 Thread Alexander Aring
Hi Steffen, now I figoure out that this is a bigger problem. There are architecture which not use the COMMON_CLK framework and has it own clock framework implementation (for me it was ARCH_AT91). Then the build failed. So now we could make a depends on !ARCH_AT91 in COMMON_CLK and a depends on C

[PATCH] scripts: add kernel-install-target to gitignore

2013-12-08 Thread Alexander Aring
Signed-off-by: Alexander Aring --- scripts/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/.gitignore b/scripts/.gitignore index 3cb3a0b..fddc04b 100644 --- a/scripts/.gitignore +++ b/scripts/.gitignore @@ -4,6 +4,7 @@ fix_size gen_netx_image kallsyms kernel-install

Re: ipv6 support in barebox?

2013-12-06 Thread Alexander Aring
On Fri, Dec 06, 2013 at 06:08:03PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 16:39 Thu 05 Dec , Sascha Hauer wrote: > > On Thu, Dec 05, 2013 at 01:48:35AM +0100, Alexander Aring wrote: > > > Hi, > > > > > > I need a new challenge in my free tim

Re: [PATCH 1/3] ARM: start kernel: find a valid address for the atags list automatically

2013-12-06 Thread Alexander Aring
Hi Sascha, On Fri, Dec 06, 2013 at 10:42:59AM +0100, Sascha Hauer wrote: > If a board does not specify a place for the atags list default to > SDRAM start + 0x100. The vast majority of boards uses this place > anyway, so the call to armlinux_set_bootparams() can be removed > fo most boards. s/fo/f

Re: How to debug Ethernet connectivity

2013-12-06 Thread Alexander Aring
On Fri, Dec 06, 2013 at 01:39:25PM +0100, Sascha Hauer wrote: > On Fri, Dec 06, 2013 at 01:18:52PM +0100, Atilla Filiz wrote: > > Sorry, figured it out. Just most verbose output is funny as well: > > :/ miitool -vvv /dev/mc13xxx > > Don't know what miitool does in this case, but mc13xxx is not you

Re: How to debug Ethernet connectivity

2013-12-06 Thread Alexander Aring
On Fri, Dec 06, 2013 at 01:18:52PM +0100, Atilla Filiz wrote: > Sorry, figured it out. Just most verbose output is funny as well: > :/ miitool -vvv /dev/mc13xxx > 10 Mbit, half duplex, no link > registers for MII PHY: > > 00

Re: [PATCH] serial: add missing depends on ARCH_ZYNQ

2013-12-06 Thread Alexander Aring
On Fri, Dec 06, 2013 at 12:59:55PM +0100, Alexander Aring wrote: > Hi Steffen, > > On Fri, Dec 06, 2013 at 10:07:32AM +0100, Steffen Trumtrar wrote: > > Hi! > > > > On Thu, Dec 05, 2013 at 12:28:11AM +0100, Alexander Aring wrote: > > > The cadence serial driv

Re: [PATCH] serial: add missing depends on ARCH_ZYNQ

2013-12-06 Thread Alexander Aring
Hi Steffen, On Fri, Dec 06, 2013 at 10:07:32AM +0100, Steffen Trumtrar wrote: > Hi! > > On Thu, Dec 05, 2013 at 12:28:11AM +0100, Alexander Aring wrote: > > The cadence serial driver is some ARCH_ZYNQ specific driver. > > Add a depends on ARCH_ZYNQ for this driver. &

Re: ipv6 support in barebox?

2013-12-05 Thread Alexander Aring
On Thu, Dec 05, 2013 at 04:39:57PM +0100, Sascha Hauer wrote: > On Thu, Dec 05, 2013 at 01:48:35AM +0100, Alexander Aring wrote: > > Hi, > > > > I need a new challenge in my free time. :-) > > > > So maybe I could try to implement a ipv6 stack for barebox. Are t

Re: ipv6 support in barebox?

2013-12-05 Thread Alexander Aring
On Fri, Dec 06, 2013 at 12:13:51AM +0800, Kevin Du Huanpeng wrote: > How about support fastboot? What do you mean with fastboot? barebox already contains a fastboot feature out of the box. :-) - Alex ___ barebox mailing list barebox@lists.infradead.or

Re: [.gitignore] please add generated file to .gitignore

2013-12-04 Thread Alexander Aring
On Thu, Dec 05, 2013 at 11:38:46AM +0800, Kevin Du Huanpeng wrote: > I clone the code yesterday, maybe today for you. > git clone git://git.pengutronix.de/git/barebox.git > When I invoke > git cherry-pick 2bd891b0ae266bd7cac58805092fc3f4ae67e55e > I can see `fix_size kernel-install ` in script/.g

Re: [.gitignore] please add generated file to .gitignore

2013-12-04 Thread Alexander Aring
On Thu, Dec 05, 2013 at 04:04:16AM +0100, Alexander Aring wrote: > Hi Kevin (if this is your first name, I am still unsure by chinese > names), > > On Thu, Dec 05, 2013 at 10:21:03AM +0800, Kevin Du Huanpeng wrote: > > Hi, is anyone know the these two files used for: > &

Re: [.gitignore] please add generated file to .gitignore

2013-12-04 Thread Alexander Aring
Hi Kevin (if this is your first name, I am still unsure by chinese names), On Thu, Dec 05, 2013 at 10:21:03AM +0800, Kevin Du Huanpeng wrote: > Hi, is anyone know the these two files used for: > scripts/fix_size > scripts/kernel-install This is already fixed by Alexander Shiyan, see [

idea of alias command

2013-12-04 Thread Alexander Aring
Hi, maybe one of you know this... you type vim but means edit, but this reminds you that you are in barebox and need to press ctrl-d instead :wq or :x. After this you are happy to be in linux. :-) So maybe we could add a "alias" command or a alias builtin function. Don't know what's better to imp

ipv6 support in barebox?

2013-12-04 Thread Alexander Aring
Hi, I need a new challenge in my free time. :-) So maybe I could try to implement a ipv6 stack for barebox. Are there some interest to apply a ipv6 stack into barebox? I don't need to begin any work if there are no interest to add a ipv6 support. ... and yes I know that's maybe a really big pro

[PATCH] serial: add missing depends on ARCH_ZYNQ

2013-12-04 Thread Alexander Aring
The cadence serial driver is some ARCH_ZYNQ specific driver. Add a depends on ARCH_ZYNQ for this driver. Signed-off-by: Alexander Aring --- drivers/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 11fc155..d520dda 100644

Re: [PATCH] scripts: bareboxcrc32 as host and target userspacetool

2013-12-04 Thread Alexander Aring
Hi Michael, maybe we should add such command to .gitignore directly... but there is currently a patch to add fix_size and kernel_install in next branch. Just for notice, we should send a patch for kernel-install-target and bareboxcrc32 command in the next days. :-) - Alex __

Re: [PATCH] Makefile: add a target 'barebox.s'

2013-12-02 Thread Alexander Aring
Hi, that's a nice patch, thank you! But... what is the different between dead loop and endless loop? :-) - Alex ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 2/6] ARM: introduce machine description

2013-11-28 Thread Alexander Aring
On Thu, Nov 28, 2013 at 08:00:43PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 19:19 Thu 28 Nov , Alexander Aring wrote: > > Hi, > > > > there are only some little nitpicks... maybe not important. > > > > On Thu, Nov 28, 2013 at 07:06:43PM +0100,

Re: [PATCH 2/6] ARM: introduce machine description

2013-11-28 Thread Alexander Aring
Hi, there are only some little nitpicks... maybe not important. On Thu, Nov 28, 2013 at 07:06:43PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > This will allow to do not check in each board which machine we are running > from. This work on DT & non-DT board. > > If only one board is enable

Re: Barebox on Karo TX25

2013-11-27 Thread Alexander Aring
On Thu, Nov 28, 2013 at 08:20:14AM +0100, Sascha Hauer wrote: > On Thu, Nov 28, 2013 at 05:16:46AM +0100, Alexander Aring wrote: > > Hi Sascha, > > > > On Wed, Nov 27, 2013 at 09:54:22PM +0100, Sascha Hauer wrote: > > > On Wed, Nov 27, 2013 at 09:15:31PM +0100, Eric

Re: Barebox on Karo TX25

2013-11-27 Thread Alexander Aring
Hi Sascha, On Wed, Nov 27, 2013 at 09:54:22PM +0100, Sascha Hauer wrote: > On Wed, Nov 27, 2013 at 09:15:31PM +0100, Eric Bénard wrote: > > Hi John, > > > > Le Wed, 27 Nov 2013 19:45:09 +, > > John Parker a écrit : > > > > > Oh, and just notices that after a few moments barebox hangs, no lo

[PATCH] mmci: add missing depends on ARM_AMBA

2013-11-27 Thread Alexander Aring
The mmci implementation uses some specific arm amba functions, so add a depends on ARM_AMBA. Signed-off-by: Alexander Aring --- drivers/mci/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig index bd85424..1efb40a 100644 --- a/drivers/mci

Re: [PATCH 04/17] ARM: am335x phytec phyCORE: Switch to devicetree probe support

2013-11-26 Thread Alexander Aring
Hi Sascha, nice patchstack. On Tue, Nov 26, 2013 at 05:45:54PM +0100, Sascha Hauer wrote: > This switches the am335x Phytec phyCORE to devicetree probe support. > For now we use a linked in dtb. > > Signed-off-by: Sascha Hauer > --- > arch/arm/boards/pcm051/Makefile | 2 +- > arch/arm/

Re: [PATCH 1/2] OMAP4: fix writel data/address swap regression

2013-11-24 Thread Alexander Aring
On Mon, Nov 25, 2013 at 08:31:44AM +0100, Sascha Hauer wrote: > On Sat, Nov 23, 2013 at 08:58:23PM +0100, Vicente Bergas wrote: > > --- > > arch/arm/mach-omap/omap4_clock.c | 176 > > +++ > > 1 file changed, 88 insertions(+), 88 deletions(-) > > > > diff --git

Re: [PATCH 1/2] OMAP4: fix writel data/address swap regression

2013-11-24 Thread Alexander Aring
Hi, nice catch. :D - Alex ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH next] of: gpio: add missing type of config symbol

2013-11-22 Thread Alexander Aring
On commit: e306e5a724f9a2e68f636899ae2807e9a9e603d4 the type of config symbol is missing. This patch adds the necessary config symbol type to avoid a Kconfig warning. Signed-off-by: Alexander Aring --- drivers/of/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/Kconfig b

Re: [PATCH] of: gpio: Add Kconfig variable to depend on

2013-11-22 Thread Alexander Aring
Hi Sascha, On Fri, Nov 22, 2013 at 03:55:22PM +0100, Sascha Hauer wrote: > Signed-off-by: Sascha Hauer > --- > drivers/of/Kconfig | 5 + > drivers/of/Makefile | 2 +- > include/of_gpio.h | 6 +++--- > 3 files changed, 9 insertions(+), 4 deletions(-) > > diff --git a/drivers/of/Kconfig b/

Re: [SPAM] [PATCH 15/16] ARM: am33xx: compile SoC files for pbl aswell

2013-11-22 Thread Alexander Aring
On Fri, Nov 22, 2013 at 07:35:19PM +0100, Sascha Hauer wrote: > On Fri, Nov 22, 2013 at 07:23:46PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 15:54 Fri 22 Nov , Sascha Hauer wrote: > > > This is necessary for successful pbl compilation on am33xx. > > > > > > Signed-off-by: Sascha

Re: [PATCH 1/3] ARM: introduce machine description

2013-11-20 Thread Alexander Aring
Hi, On Thu, Nov 21, 2013 at 08:13:53AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > This will allow to do not check in each board which machine we are running > from. This work on DT & non-DT board. > > If only one board is enable autoselect it > > Signed-off-by: Jean-Christophe PLAGNIOL-VI

Re: Lowlevel questions

2013-11-19 Thread Alexander Aring
Hi Sascha, very nice explanation. Thanks. - Alex ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH 1/2] scripts: fix kernel-install-target config

2013-11-18 Thread Alexander Aring
On Tue, Nov 19, 2013 at 02:08:12AM +0100, Alexander Aring wrote: > Signed-off-by: Alexander Aring > --- > This confused me a little bit... commit id > 61cf2b51bccbf18c3df505a77db759454e8574ca looks different than the commit > on barebox mailinglist [1]. What's happend the

[PATCH 1/2] scripts: fix kernel-install-target config

2013-11-18 Thread Alexander Aring
Signed-off-by: Alexander Aring --- This confused me a little bit... commit id 61cf2b51bccbf18c3df505a77db759454e8574ca looks different than the commit on barebox mailinglist [1]. What's happend there? :-) [1] http://lists.infradead.org/pipermail/barebox/2013-September/016457.html sc

[PATCH 2/2] common: add dependency !SANDBOX on target tools

2013-11-18 Thread Alexander Aring
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: Alexander Aring --- common/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index ccfbc80..06edbc2 100644

[PATCH] mmci: remove include of mmci.h header

2013-11-17 Thread Alexander Aring
We need #include "mmci.h" only and not #include which don't exists. Signed-off-by: Alexander Aring --- drivers/mci/mmci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mci/mmci.c b/drivers/mci/mmci.c index 66ca450..d93b3cb 100644 --- a/drivers/mci/mmci.c +++ b/dri

Re: [PATCH] barebox: remove double semicolons

2013-11-14 Thread Alexander Aring
Maybe I should split this for each file, or it's okay? - Alex ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

[PATCH] barebox: remove double semicolons

2013-11-14 Thread Alexander Aring
Signed-off-by: Alexander Aring --- I was bored during a lecture. Just did a grep for find them. This isn't compile tested. arch/arm/mach-imx/imx-bbu-internal.c | 3 ++- drivers/ata/ahci.c | 2 +- drivers/mci/mci-core.c | 2 +- drivers/net/altera_

Re: [PATCH 3/4] gpiolib: make gpiolib command more verbose

2013-11-11 Thread Alexander Aring
On Mon, Nov 11, 2013 at 09:07:27AM +0100, Sascha Hauer wrote: > On Mon, Nov 11, 2013 at 02:30:20AM +0100, Alexander Aring wrote: > > Hi Sebastian, > > > > On Sat, Nov 09, 2013 at 02:24:08PM +0100, Sebastian Hesselbarth wrote: > > > This adds some more printf inform

Re: [PATCH 3/4] gpiolib: make gpiolib command more verbose

2013-11-10 Thread Alexander Aring
Hi Sebastian, On Sat, Nov 09, 2013 at 02:24:08PM +0100, Sebastian Hesselbarth wrote: > This adds some more printf information to gpiolib command, like the > gpiochip handling a specific gpio. Also, current direction and value > of the gpio are printed, if the gpiochip provides the corresponding >

Re: [PATCH] partitions: dos: improve guess of disk size

2013-11-07 Thread Alexander Aring
On Fri, Nov 08, 2013 at 01:50:37AM +0100, Uwe Kleine-König wrote: > On Fri, Nov 08, 2013 at 01:16:31AM +0100, Uwe Kleine-König wrote: > > The code used to ineffectively take the end of the last partition as guess > > for the disk size. Better use the end of the partition that has its end > > rearmo

[PATCH] dlmalloc: fix compiler warning

2013-11-06 Thread Alexander Aring
: Alexander Aring --- common/dlmalloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/dlmalloc.c b/common/dlmalloc.c index b4341fe..f006206 100644 --- a/common/dlmalloc.c +++ b/common/dlmalloc.c @@ -1745,6 +1745,7 @@ void *calloc(size_t n, size_t elem_size

Re: how to create a new file under barebox prompt

2013-11-06 Thread Alexander Aring
On Thu, Nov 07, 2013 at 06:06:33AM +0100, Alexander Aring wrote: > On Thu, Nov 07, 2013 at 12:06:03PM +0800, zzs wrote: > > Barebox hasn't 'touch' command, How can I create new file > > > type 'edit $FILE' then save it 'ctrl

<    1   2   3   4   >