Re: How to change filesystem size of root

2017-04-17 Thread Alexander Aring
Hi, On 04/14/2017 05:40 AM, 张忠山 wrote: > When transfer a large file to root through tftp. "Out of memory" error like > this: > > # tftp /xy7520/output_file.rbf a.rbf > T [###write: Out of memory ] > > My board has 1G ddr but the file jus 23M. So the

[PATCH 2/2] ifup: fix handling when ip env is not given

2016-06-13 Thread Alexander Aring
This patch handles the ip env to "" if no ip env is given. Otherwise we get a NULL pointer derefence. Signed-off-by: Alexander Aring --- net/ifup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ifup.c b/net/ifup.c index 17e1b2f..59df069 100644 --- a/net/ifup.c +++ b/

[PATCH 1/2] ifup: remove deletion of ip env

2016-06-13 Thread Alexander Aring
in network env: use the ip="dhcp" from shell Signed-off-by: Alexander Aring --- Don't know if this patch breaks to much handling with previous env handling, but I would except such handling. Also don't know if the example is correct or I mixed something with global/local envs

[PATCH RFC] common: env: handle var="" not as var=NULL

2016-06-13 Thread Alexander Aring
known ip env. Note: Also check commit e7ed69d5 ("setenv: be robust against setenv(, NULL") which says that hush will handle "" and NULL as the same. Another check would be: $ grep -r "NULL" | grep setenv which should show the behaviour in case of deleting env. Signed

Re: Ethernet PHY KSZ9031 is not working

2016-03-09 Thread Alexander Aring
Hi, On Thu, Mar 03, 2016 at 03:42:01PM +0100, Holger Schurig wrote: > > USB Host-A has to be tested, but if I type: > > > >>> usb > >> USB: scanning bus for devices... > >> Bus 001 Device 001: ID : EHCI Host Controller > >> 1 USB Device(s) found > > > > so I can suppose the host controller

Re: [RFC] device probe order

2015-12-25 Thread Alexander Aring
On Thu, Dec 24, 2015 at 07:10:29PM +0300, Peter Mamonov wrote: > Let me summarize my efforts: > > "Global variable" solution works fine, however it is not elegant enough: > > diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c > index 862444b..d06e001 100644 > --- a/drivers/usb

Re: [RFC] device probe order

2015-12-24 Thread Alexander Aring
compatible = "generic-uhci"; > reg = <0x 0x200>; > status = "disabled"; > }; > > Probably, we can add "companion = <&ehci>;" into the uhci node and > check if the ehci has

Re: [RFC] device probe order

2015-12-23 Thread Alexander Aring
On Wed, Dec 23, 2015 at 07:56:44PM +0300, Peter Mamonov wrote: > On Wed, 23 Dec 2015 17:35:51 +0100 > Alexander Aring wrote: > > > On Wed, Dec 23, 2015 at 07:10:58PM +0300, Peter Mamonov wrote: > > > Dear All, > > > > > > I've ported an UHCI

Re: [RFC] device probe order

2015-12-23 Thread Alexander Aring
On Wed, Dec 23, 2015 at 07:10:58PM +0300, Peter Mamonov wrote: > Dear All, > > I've ported an UHCI driver from the u-boot to the barebox (WIP). To > interoperate with the EHCI driver, the UHCI driver should be probed > ater the EHCI driver. Both drivers are binded via the device tree > mechanism.

[PATCH 0/7] bcm283x: add support for raspberry pi 2

2015-12-19 Thread Alexander Aring
hat I changed are the Kconfig entries only. The complete mach-bcm283x doesn't support devicetree handling which may be the next step. Also there is still no support for dwc2 usb. - Alex Alexander Aring (7): memtest: fix missing arguments in help string led: add missing includes arm: bc

[PATCH 2/7] led: add missing includes

2015-12-19 Thread Alexander Aring
The led header use some parts which are missing when include the this header. This patch adds them. Signed-off-by: Alexander Aring --- include/led.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/led.h b/include/led.h index ddf8d90..000267c 100644 --- a/include/led.h +++ b

[PATCH 6/7] rpi: sync revision detection with u-boot

2015-12-19 Thread Alexander Aring
This patch adds parts from u-boot code for doing RPi revision detection and take care about the "warranty bit". I got this bit on my RPi2. Signed-off-by: Alexander Aring --- arch/arm/boards/raspberry-pi/rpi.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/

[PATCH 1/7] memtest: fix missing arguments in help string

2015-12-19 Thread Alexander Aring
This patch adds some missing arguments in help string of memtest. 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 d784a5c..99d4864 100644 --- a/commands/memtest.c +++ b

[PATCH 5/7] bcm283x: mbox: align to cachesize

2015-12-19 Thread Alexander Aring
). Signed-off-by: Alexander Aring --- arch/arm/mach-bcm283x/include/mach/mbox.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h index 4c3fd77..09b31f2 100644 --- a/arch/arm/mach-bcm283x

[PATCH 7/7] arm: bcm283x: add rpi2 support

2015-12-19 Thread Alexander Aring
This patch adds Raspberry Pi 2 support in barebox. The features should be the same like the current RPi status in barebox. Signed-off-by: Alexander Aring --- arch/arm/Kconfig | 5 + arch/arm/boards/Makefile | 2 +- arch/arm/boards/raspberry

[PATCH 3/7] arm: bcm2835: fix indentation

2015-12-19 Thread Alexander Aring
This patch fix indentation in core.h of mach-bcm2835. Signed-off-by: Alexander Aring --- arch/arm/mach-bcm2835/include/mach/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-bcm2835/include/mach/core.h b/arch/arm/mach-bcm2835/include/mach/core.h index

[PATCH 4/7] bcm2835: introduce mach-bcm283x

2015-12-19 Thread Alexander Aring
option. Signed-off-by: Alexander Aring --- arch/arm/Kconfig | 18 +++--- arch/arm/Makefile | 2 +- arch/arm/configs/rpi_defconfig | 70 -- arch/arm/{mach-bcm2835 => mach-bcm283x}/Kcon

Re: rpi2 support

2015-11-30 Thread Alexander Aring
Hi, On Mon, Nov 30, 2015 at 05:17:58AM -0500, Dave Thompson wrote: > Thanks for the quick replies > rpi have only sold 7M, so not that big in the grand scheme of things > But the rpi2 has only been out for 8 months, > I am sure it will be popular > > And now,, out only a few days,, the pizero, a

[RFC] regulator: add runtime disable/enable support

2015-11-22 Thread Alexander Aring
This patch adds support to call disable/enable for a specific regulator by name. This can be useful to test various linux boot tests in different regulator states or adding workarounds inside the bootloader when linux doesn't support to enable the regulator for probing. Signed-off-by: Alex

Re: memtest updates

2015-10-28 Thread Alexander Aring
Hi, On Wed, Oct 28, 2015 at 07:17:55AM +0100, Sascha Hauer wrote: > On Tue, Oct 27, 2015 at 05:55:04PM +0100, Alexander Aring wrote: > > On Tue, Oct 27, 2015 at 09:29:53AM +0100, Sascha Hauer wrote: > > > This series has some updates for the memory test. The output and the &

Re: memtest updates

2015-10-27 Thread Alexander Aring
On Tue, Oct 27, 2015 at 06:27:42PM +0100, Alexander Aring wrote: > On Tue, Oct 27, 2015 at 05:54:59PM +0100, Alexander Aring wrote: > > On Tue, Oct 27, 2015 at 09:29:53AM +0100, Sascha Hauer wrote: > > > This series has some updates for the memory test. The output and the > &

Re: memtest updates

2015-10-27 Thread Alexander Aring
On Tue, Oct 27, 2015 at 05:54:59PM +0100, Alexander Aring wrote: > On Tue, Oct 27, 2015 at 09:29:53AM +0100, Sascha Hauer wrote: > > This series has some updates for the memory test. The output and the > > code are made more compact and some additional options are added. Also >

Re: memtest updates

2015-10-27 Thread Alexander Aring
On Tue, Oct 27, 2015 at 09:29:53AM +0100, Sascha Hauer wrote: > This series has some updates for the memory test. The output and the > code are made more compact and some additional options are added. Also > the remap_range function is reworked. > I currently try to build next with memtest, I got

[PATCH 2/3] checkpatch: fix left brace warning

2015-10-26 Thread Alexander Aring
. ... lot of weird things ... )\(.*\).*\s{ <-- HERE / at ./scripts/checkpatch.pl line 2016. This patch fix these warning, an similar commit was done in linux kernel commit: 4e5d56bdf892e18832a6540b63ebf709966bce2a ("checkpatch: fix left brace warning"). Signed-off-by: Alexander Aring

[PATCH 1/3] loadb: add missing brackets in help

2015-10-26 Thread Alexander Aring
This patch adds missing brackets in the help text of loadb command. Signed-off-by: Alexander Aring --- commands/loadb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/loadb.c b/commands/loadb.c index be5830d..aabb00a 100644 --- a/commands/loadb.c +++ b/commands

[PATCH 3/3] amba: check if on remove callback

2015-10-26 Thread Alexander Aring
Signed-off-by: Alexander Aring --- drivers/amba/bus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index b934e11..ddd9661 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c @@ -70,7 +70,8 @@ static void amba_remove(struc

Re: BeagleBoard-Xm: memtest return error

2015-06-03 Thread Alexander Aring
Hi, On Wed, Jun 03, 2015 at 05:08:31PM +0300, Валерий Ныров wrote: > Hello everyone! I am a newbie and trying to run the barebox on > BeagleBoard-Xm rev.C with 512MB DDR on board. > > To support 512MB I did the following: > > 1) file: arm/boards/beagle/board.c, func: beagle_mem_init(), change li

Re: [PATCH 10/10] ARM: pbl: Add an option to validate DRAM

2015-05-23 Thread Alexander Aring
Hi, On Sat, May 23, 2015 at 11:48:41AM -0700, Andrey Smirnov wrote: > On Tue, May 19, 2015 at 12:06 AM, Sascha Hauer wrote: > > Hi Andrey, > > > > On Wed, May 13, 2015 at 07:54:27PM -0700, Andrey Smirnov wrote: > >> Add an option to perform DRAM region validation before using it. The > >> framewo

Re: [PATCH] makfiles: add emacs syntax highlighting hint

2015-04-02 Thread Alexander Aring
On Thu, Apr 02, 2015 at 10:59:41AM +0200, Marc Kleine-Budde wrote: > On 04/02/2015 10:55 AM, Lucas Stach wrote: > > Am Donnerstag, den 02.04.2015, 10:35 +0200 schrieb Jean-Christophe > > PLAGNIOL-VILLARD: > >> On 00:33 Wed 01 Apr , Marc Kleine-Budde wrote: > >>> This patches makes a standard em

Re: D-Link DNS-320 build

2015-03-05 Thread Alexander Aring
Hi, On Thu, Mar 05, 2015 at 03:45:13PM +0300, Alexander wrote: > Hello! > > I am trying build barebox for D-Link DNS-320 NAS. > > There is a file dts/src/arm/kirkwood-dns320.dts > However, there is no instructions how to build for this model. > Anyone has such experience? > I ported successful

Re: [RFC] [JUST DEMO] commands: implement 'fbputs' command

2015-02-02 Thread Alexander Aring
Hi, On Sun, Jan 25, 2015 at 05:21:30PM +0300, Antony Pavlov wrote: > Mainline barebox at the moment has no framebuffer > console support. > The 'fbputs' demo command displays a text string > on fb device. > > This quick-n-dirty patch demonstates that barebox > framebuffer console can be easely re

Re: [RFC, PATCH] i.MX6: phytec: Do not hardcode default environment

2014-12-31 Thread Alexander Aring
Hi, On Wed, Dec 31, 2014 at 08:49:50AM -0800, Andrey Smirnov wrote: > By default i.MX6 phytec image hardcodes its default environment in > initialization code. Define phytec specific defonfig and use > CONFIG_DEFAULT_ENVIRONMENT_PATH instead. > > Signed-off-by: Andrey Smirnov > --- > > Not sure

Re: [PATCH 5/7] sha2: fix invalid length check

2014-10-20 Thread Alexander Aring
Hi Lucas, On Mon, Oct 20, 2014 at 08:15:59PM +0200, Lucas Stach wrote: > length is unsigned an thus can never be <0. > > Signed-off-by: Lucas Stach > --- > crypto/sha2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/crypto/sha2.c b/crypto/sha2.c > index 26162e8..e495

Re: [PATCH] commands: add lodvar - load variable from file content

2014-09-06 Thread Alexander Aring
On Sat, Sep 06, 2014 at 03:03:07PM +0200, Sebastian Block wrote: > Hi Alex, > > > On Sat, Sep 06, 2014 at 02:25:08PM +0200, Sebastian Block wrote: > >> This adds a command to load a variable from file content. > >> It is a work-a-round for "var=$(cat file)". > >> > > > > doesn't commands/readf.c

Re: [PATCH] commands: add lodvar - load variable from file content

2014-09-06 Thread Alexander Aring
Hi Sebastian, On Sat, Sep 06, 2014 at 02:25:08PM +0200, Sebastian Block wrote: > This adds a command to load a variable from file content. > It is a work-a-round for "var=$(cat file)". > doesn't commands/readf.c do similar things? - Alex ___ barebox

Re: [PATCH 1/5] ARM: phyCORE-AM335x: Updated SPI NOR dts entries

2014-09-05 Thread Alexander Aring
On Fri, Sep 05, 2014 at 08:51:22AM +0200, Sascha Hauer wrote: > On Fri, Sep 05, 2014 at 08:32:00AM +0200, Alexander Aring wrote: > > Hi Sascha, > > > > On Fri, Sep 05, 2014 at 07:37:33AM +0200, Sascha Hauer wrote: > > > Hi Teresa, > > > > > >

Re: [PATCH 1/5] ARM: phyCORE-AM335x: Updated SPI NOR dts entries

2014-09-04 Thread Alexander Aring
Hi Sascha, On Fri, Sep 05, 2014 at 07:37:33AM +0200, Sascha Hauer wrote: > Hi Teresa, > > On Thu, Sep 04, 2014 at 08:50:36AM +0200, Teresa Gámez wrote: > > Updated the SPI NOR flash entries. NOR flash got > > detected but did not work. > > > > - Updated muxing > > - Fixed frequency > > - Fixed C

Re: [PATCH 5/5] ARM: phyCORE-AM335x: Update partition table

2014-09-04 Thread Alexander Aring
On Thu, Sep 04, 2014 at 09:12:58AM +0200, Alexander Aring wrote: > Hi Teresa, > > On Thu, Sep 04, 2014 at 08:50:40AM +0200, Teresa Gámez wrote: > > Added device tree partition and made rootfs partition > > variable size depending on nand flash size. > > >

Re: [PATCH 5/5] ARM: phyCORE-AM335x: Update partition table

2014-09-04 Thread Alexander Aring
Hi Teresa, On Thu, Sep 04, 2014 at 08:50:40AM +0200, Teresa Gámez wrote: > Added device tree partition and made rootfs partition > variable size depending on nand flash size. > > Signed-off-by: Teresa Gámez > --- > arch/arm/dts/am335x-phytec-phycore.dts | 22 ++ > 1 files

Re: [BUG] readline history

2014-09-01 Thread Alexander Aring
Hi Sascha, On Mon, Sep 01, 2014 at 10:30:33AM +0200, Sascha Hauer wrote: > Hi Teresa, > > On Thu, Aug 28, 2014 at 09:50:05AM +0200, Teresa Gamez wrote: > > Hello Sascha, > > > > I noticed a bug on the latest master. > > When no history is present and I hit the arrow up key, I get: > > > > unabl

Re: [PATCH] mtd: add mtdram device (which build mtd over ram area - useful for FRAM oder MRAM)

2014-08-28 Thread Alexander Aring
On Thu, Aug 28, 2014 at 10:59:51AM +0200, ba...@linux-source.de wrote: > This adds support for MTD in RAM devices (like FRAM or MRAM). ah, non volatile memory. Okay. :-) - Alex ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead

Re: [PATCH] mtd: add mtdram device (which build mtd over ram area - useful for FRAM oder MRAM)

2014-08-28 Thread Alexander Aring
Hi Sebastian, On Thu, Aug 28, 2014 at 10:59:51AM +0200, ba...@linux-source.de wrote: > This adds support for MTD in RAM devices (like FRAM or MRAM). > > Signed-off-by: Sebastian Block > for what do you need something like this? If for testing I thought about to porting nandsim to barebox [0].

Re: [BUG] readline history

2014-08-28 Thread Alexander Aring
Hi, another possible solution which less of runtime decisions. diff --git a/lib/readline.c b/lib/readline.c index b70bca8..f9cfa4b 100644 --- a/lib/readline.c +++ b/lib/readline.c @@ -28,7 +28,9 @@ struct history { struct list_head list; }; -static LIST_HEAD(history_list); +static st

Re: [BUG] readline history

2014-08-28 Thread Alexander Aring
Hi, the issues is that hist_prev or hist_next runs: "list_entry(history_current->next, struct history, list);" on an empty list with no entries and history->line is a dangling pointer. because the list head don't include a char *line and on an empty list the attributes are prev == next. I hacke

Re: [BUG] readline history

2014-08-28 Thread Alexander Aring
On Thu, Aug 28, 2014 at 09:50:05AM +0200, Teresa Gamez wrote: > Hello Sascha, > > I noticed a bug on the latest master. > When no history is present and I hit the arrow up key, I get: > > unable to handle NULL pointer dereference at address 0x0001 > pc : [<9fe243ba>]lr : [<9fe268cf>] > sp

Re: [PATCH 1/2] nand: Add Marvell Orion NAND driver

2014-08-26 Thread Alexander Aring
Hi, On Sat, Aug 23, 2014 at 05:19:22PM -0300, Ezequiel Garcia wrote: > This commit adds NAND support for the controller present in Kirkwood SoCs. > cool! I will test it on my DNS-325 platform, if I find some free time. Thanks for doing this. > Signed-off-by: Ezequiel Garcia > --- > drivers/m

Re: [PATCH] commands: saveenv: Fix comment about directories in help text

2014-07-31 Thread Alexander Aring
Hi Sascha, On Fri, Aug 01, 2014 at 08:17:10AM +0200, Sascha Hauer wrote: > envfs indeed handles directories, at least since 2007: > > | commit 913691eccd13c1509470eb8b059aa0beecc6d8d8 > | Author: Sascha Hauer > | Date: Tue Sep 25 12:58:52 2007 +0200 > | > | add directory handling for envir

Re: does beaglebone black device tree need to specify amount of eMMC flash?

2014-07-07 Thread Alexander Aring
quot;. > Am Montag, den 07.07.2014, 09:06 +0200 schrieb Alexander Aring: > [...] > > > > btw.: that's why eMMC is evil. > > > > Raw-Flash: > > > > Disadvantage: > > - you can't replace it. > > > > Advantage: > > - n

Re: does beaglebone black device tree need to specify amount of eMMC flash?

2014-07-07 Thread Alexander Aring
On Mon, Jul 07, 2014 at 08:53:45AM +0200, Sascha Hauer wrote: > On Sat, Jul 05, 2014 at 06:47:36AM -0400, Robert P. J. Day wrote: > > > > (aside: i'm digging into device trees in barebox and will certainly > > have a number of questions shortly so i can write some tutorials for > > an upcoming c

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-27 Thread Alexander Aring
On Thu, Jun 26, 2014 at 10:42:32PM +0200, Sascha Hauer wrote: > On Thu, Jun 26, 2014 at 10:49:15AM +0200, Holger Schurig wrote: > > ... and it's defined only when CONFIG_OFTREE_MEM_GENERIC is on. > > > > Signed-off-by: Holger Schurig > > --- > > drivers/of/base.c |6 ++ > > 1 file change

Re: [PATCH v2] pinctrl: mvebu: add pinctrl drivers for Dove and Kirkwood

2014-06-26 Thread Alexander Aring
Hi, On Thu, Jun 26, 2014 at 07:56:58AM +0200, Sascha Hauer wrote: > On Wed, Jun 25, 2014 at 02:40:08PM +0200, Alexander Aring wrote: > > Hi, > > > > I resend this mail. My last one was malformed, because I tried to > > answert this mail via smartphone while b

Re: [PATCH] imx6:phyFLEX: Fix ENTRY_FUNCTION

2014-06-26 Thread Alexander Aring
Hi, On Thu, Jun 26, 2014 at 04:09:17PM +0200, Christian Hemp wrote: > For some phyFLEX-i.MX6 modules the call __barebox_arm_head() was not removed. > With this function the barebox does not start. > > Signed-off-by: Christian Hemp > --- > arch/arm/boards/phytec-phyflex-imx6/lowlevel.c |6 --

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Alexander Aring
On Thu, Jun 26, 2014 at 11:43:10AM +0200, Holger Schurig wrote: > Your patch alone isn't all that's needed, the definition must still be > uncommented. Otherwise we'll get: > > drivers/of/base.c:1700:5: error: redefinition of 'of_add_memory' > include/of.h:233:50: note: previous definition of 'of_

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Alexander Aring
On Thu, Jun 26, 2014 at 11:37:01AM +0200, Alexander Aring wrote: > Hi Holger, > > can you please check if this is also a solution for this? > > diff --git a/include/of.h b/include/of.h > index e6993fd..76845e7 100644 > --- a/include/of.h > +++ b/include/of.h &g

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Alexander Aring
On Thu, Jun 26, 2014 at 11:37:01AM +0200, Alexander Aring wrote: > Hi Holger, > > can you please check if this is also a solution for this? > > diff --git a/include/of.h b/include/of.h > index e6993fd..76845e7 100644 > --- a/include/of.h > +++ b/include/of.h &g

Re: [PATCH 2/4] sandbox: only access of_add_memory_bank if it's defined

2014-06-26 Thread Alexander Aring
Hi Holger, can you please check if this is also a solution for this? diff --git a/include/of.h b/include/of.h index e6993fd..76845e7 100644 --- a/include/of.h +++ b/include/of.h @@ -227,7 +227,14 @@ int of_parse_partitions(struct cdev *cdev, struct device_node *node); int of_device_is_stdout_pa

Re: [RFC 2/2] dns325: initial support for D-Link DNS-325

2014-06-26 Thread Alexander Aring
Hi, On Thu, Jun 26, 2014 at 08:53:02AM +0200, Sebastian Hesselbarth wrote: > On 06/26/2014 06:27 AM, Alexander Aring wrote: > > On Sun, Jun 22, 2014 at 11:50:56PM +0200, Sebastian Hesselbarth wrote: > >> On 06/22/2014 10:34 PM, Alexander Aring wrote: > >>> This patch

Re: [PATCH] kconfig: Fix compiler warning

2014-06-26 Thread Alexander Aring
Hi Sascha, I get this warning about 1 month and it makes me crazy and I am unsing "gcc (GCC) 4.9.0 20140604 (prerelease)". Why I didn't sent any patches? Because you say it here it's a compiler bug and the linux world doesn't fix it this way. Look at [0]. "... since we will still want to catch

Re: [RFC 2/2] dns325: initial support for D-Link DNS-325

2014-06-25 Thread Alexander Aring
Hi, On Sun, Jun 22, 2014 at 11:50:56PM +0200, Sebastian Hesselbarth wrote: > On 06/22/2014 10:34 PM, Alexander Aring wrote: > > This patch add a basic support for the D-Link DNS-325. > > > > Currently only booting via uart with kwboot is supported. The barebox > > kwb

Re: [PATCH v2] pinctrl: mvebu: add pinctrl drivers for Dove and Kirkwood

2014-06-25 Thread Alexander Aring
Hi, I resend this mail. My last one was malformed, because I tried to answert this mail via smartphone while boring lecture at university. On Wed, Jun 25, 2014 at 08:56:15AM +0200, Sascha Hauer wrote: > On Tue, Jun 24, 2014 at 12:43:48PM +0200, Sebastian Hesselbarth wrote: > > This adds pinctrl d

Re: [PATCH] commands: ls: add ll as an alias for ls -l

2014-06-23 Thread Alexander Aring
On Mon, Jun 23, 2014 at 09:44:28AM +0200, Sascha Hauer wrote: > On Mon, Jun 23, 2014 at 09:20:40AM +0200, Holger Schurig wrote: > > Wouldn't it be better if barebox's shell gets the "alias" command? > > This would solve a problem like this, and we also could get rid of one > > of "edit"/"sedit" com

[PATCH] common: resource: print conflicts as warning

2014-06-23 Thread Alexander Aring
e are many other outputs. This patch replace the debug print to a warning printout. A conflict should normally never happen. If there is a conflict it's much easier to see it with this patch. Signed-off-by: Alexander Aring --- common/resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: [RFC 1/2] kirkwood: add support for booting via oftree probe

2014-06-22 Thread Alexander Aring
On Sun, Jun 22, 2014 at 11:45:57PM +0200, Sebastian Hesselbarth wrote: > On 06/22/2014 10:34 PM, Alexander Aring wrote: > > This patch initialize memory only if we boot a kirkwood arch with > > device-tree probing. Otherwise some devices like timer or uart will > > be probed t

Re: [RFC 2/2] dns325: initial support for D-Link DNS-325

2014-06-22 Thread Alexander Aring
On Sun, Jun 22, 2014 at 11:50:56PM +0200, Sebastian Hesselbarth wrote: > On 06/22/2014 10:34 PM, Alexander Aring wrote: > > This patch add a basic support for the D-Link DNS-325. > > > > Currently only booting via uart with kwboot is supported. The barebox > > kwboot

[RFC 2/2] dns325: initial support for D-Link DNS-325

2014-06-22 Thread Alexander Aring
This patch add a basic support for the D-Link DNS-325. Currently only booting via uart with kwboot is supported. The barebox kwboot utility doesn't work at the moment. Use kwboot utility from u-boot instead. Signed-off-by: Alexander Aring --- I got the kwbimage values from u-boot with chan

[RFC 1/2] kirkwood: add support for booting via oftree probe

2014-06-22 Thread Alexander Aring
This patch initialize memory only if we boot a kirkwood arch with device-tree probing. Otherwise some devices like timer or uart will be probed twice. Signed-off-by: Alexander Aring --- I don't know if this is right. The guruplug is the other kirkwood platform but don't have devictr

Re: [PATCH 09/10] beautify PHY driver names

2014-05-30 Thread Alexander Aring
On Fri, May 30, 2014 at 11:30:27AM +0200, Holger Schurig wrote: > I changed them because (before my patches) the driver list in > "devinfo" looked ugly, with my drvinfo command that one looked ugly. > Those driver names sticked out like a sore thumb. > > Now, if I do "diff linux/driver/net/phy/mic

Re: [PATCH 09/10] beautify PHY driver names

2014-05-30 Thread Alexander Aring
Hi, On Fri, May 30, 2014 at 11:07:35AM +0200, Holger Schurig wrote: > Some device names where texts like "Atheros 8035 ethernet" or similar. They > now got a prefix "phy-" and just their name and look now much more like the > other driver names. > these names are taken from linux kernel code to h

Re: [PATCH] commands: add 'findstr' to get string from file

2014-05-20 Thread Alexander Aring
On Tue, May 20, 2014 at 10:29:20PM +0200, Christoph Fritz wrote: > Hi Alexander > > On Tue, 2014-05-20 at 20:08 +0200, Alexander Aring wrote: > > On Tue, May 20, 2014 at 07:27:55PM +0200, Christoph Fritz wrote: > > > > +config CMD_FINDSTR > > > + trist

Re: [PATCH] commands: add 'findstr' to get string from file

2014-05-20 Thread Alexander Aring
On Tue, May 20, 2014 at 07:27:55PM +0200, Christoph Fritz wrote: > Command 'findstr' can be for example used to find the string > "MAC=1C:BA:8C:F3:82:BB" in file /dev/eeprom0 to set the > appropriate variable: > > $ findstr -o 4 -l 17 -t eth0.ethaddr MAC /dev/eeprom0 > > Usage: findstr [OPTIONS]

[PATCH] i2c: correct string format type

2014-05-20 Thread Alexander Aring
The parameter count is u16, otherwise we get: drivers/i2c/i2c.c:186:2: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 5 has type ‘int’ [-Wformat=] dev_dbg(&client->dev, "%s: %zu@%u --> %d\n", __func__, Signed-off-by: Alexander Aring --- drivers/i2c/

Re: [PATCH 4/6] oftree: remove dump support

2014-05-20 Thread Alexander Aring
On Tue, May 20, 2014 at 10:01:01AM +0200, Alexander Aring wrote: > Hi Sascha, > > On Mon, May 19, 2014 at 10:59:42PM +0200, Sascha Hauer wrote: > > This can now be done with the of_dump command. > > > > Signed-off-by: Sascha Hauer > > --- > > commands/

Re: [PATCH 4/6] oftree: remove dump support

2014-05-20 Thread Alexander Aring
Hi Sascha, On Mon, May 19, 2014 at 10:59:42PM +0200, Sascha Hauer wrote: > This can now be done with the of_dump command. > > Signed-off-by: Sascha Hauer > --- > commands/Kconfig | 2 -- > commands/oftree.c | 42 +++--- > 2 files changed, 3 insertions(+), 4

Re: [PATCH v2 4/4] phycore-am335x: Added bbu nand xloadslots handler

2014-05-15 Thread Alexander Aring
On Thu, May 15, 2014 at 11:48:11AM +0200, Alexander Aring wrote: > On Thu, May 15, 2014 at 11:41:08AM +0200, Wadim Egorov wrote: > > Added bbu nand xloadslots handler to phycore-am335x. > > > > Signed-off-by: Wadim Egorov > > --- > > v2: > >

Re: [PATCH v2 4/4] phycore-am335x: Added bbu nand xloadslots handler

2014-05-15 Thread Alexander Aring
On Thu, May 15, 2014 at 11:41:08AM +0200, Wadim Egorov wrote: > Added bbu nand xloadslots handler to phycore-am335x. > > Signed-off-by: Wadim Egorov > --- > v2: > - changed method to pass device files > --- > arch/arm/boards/phytec-phycore-am335x/board.c |9 + > 1 files changed, 9

Re: New driver crashes with "unable to handle paging request"

2014-05-13 Thread Alexander Aring
Hi, i am not Christoph but I want to told you my opinion about this. One year ago there was some guy at #barebox in irc.freenode.net with the nickname "honshu" (or it was a girl). "honshu" asked if somebody worked at the musb support. Nobody known worked on this support... So he begun to hack th

Re: [PATCH 3/4] ARM: omap: barebox update nand xloadslots handler

2014-05-13 Thread Alexander Aring
Hi, some hints about your string handling in this code... On Mon, May 12, 2014 at 02:24:21PM +0200, Wadim Egorov wrote: ... > + > + devfilecopy = (char *)malloc(strlen(data->devicefile)); > + if (!devfilecopy) { > + pr_err("could not allocate enough memory: %s\n", errno_str())

Re: [PATCH] mtd: nand-bb: use list_for_each_entry_safe

2014-05-03 Thread Alexander Aring
Hi Sascha, On Tue, Apr 29, 2014 at 08:06:46AM +0200, Sascha Hauer wrote: > We need list_for_each_entry_safe in dev_remove_bb_dev since the > list entries are removed during iteration over the list. > > Signed-off-by: Sascha Hauer > Reported-by: Alexander Aring > --- >

Re: [PATCH v3] imx6: Add support for phyCARD-i.MX6

2014-04-30 Thread Alexander Aring
On Wed, Apr 30, 2014 at 12:01:36PM +0200, Christian Hemp wrote: > Add support for Phytec phyCARD-i.MX6. > - 1GB RAM on two banks > - 1GB RAM on one bank > - 2GB RAM on two banks > > Signed-off-by: Christian Hemp > --- > v2: - remove IP addresses from env > - remove boot/net

Re: [PATCH] mtd: nand-bb: use list_for_each_entry_safe

2014-04-29 Thread Alexander Aring
Hi, thanks Sascha. On Tue, Apr 29, 2014 at 08:06:46AM +0200, Sascha Hauer wrote: > We need list_for_each_entry_safe in dev_remove_bb_dev since the > list entries are removed during iteration over the list. > > Signed-off-by: Sascha Hauer > Reported-by: Alexander Aring >

Re: [PATCH 1/2] Add initial regulator support

2014-04-28 Thread Alexander Aring
On Mon, Apr 28, 2014 at 10:00:30PM +0200, Sascha Hauer wrote: > On Mon, Apr 28, 2014 at 08:51:21PM +0200, Alexander Aring wrote: > > Hi, > > > > On Mon, Apr 28, 2014 at 08:47:02PM +0200, Sascha Hauer wrote: > > > > > > I think both functions shoul

Re: [PATCH 1/2] Add initial regulator support

2014-04-28 Thread Alexander Aring
Hi, On Mon, Apr 28, 2014 at 08:47:02PM +0200, Sascha Hauer wrote: > > I think both functions should return 0 without a valid gpio instead. > Anyway, there's something wrong here. > maybe checking on this at probe time, at the beginning or can this gpio changed at runtime? Maybe you don't need

Re: [PATCH 1/2] Add initial regulator support

2014-04-28 Thread Alexander Aring
On Mon, Apr 28, 2014 at 06:30:15PM +0200, Alexander Aring wrote: > Hi Sascha, > > On Mon, Apr 28, 2014 at 10:18:40AM +0200, Sascha Hauer wrote: > > Provide minimal regulator support. Only supported operations are enabling > > and disabling regulators. Association of devices

Re: [PATCH 1/2] Add initial regulator support

2014-04-28 Thread Alexander Aring
Hi Sascha, On Mon, Apr 28, 2014 at 10:18:40AM +0200, Sascha Hauer wrote: > Provide minimal regulator support. Only supported operations are enabling > and disabling regulators. Association of devices with their regulators is > limited to devicetree only. If regulator support is disabled the API ex

Re: [PATCH 3/6] mtd: nand: bb: use mtd api directly

2014-04-28 Thread Alexander Aring
Hi Sascha, On Mon, Apr 28, 2014 at 11:49:36AM +0200, Sascha Hauer wrote: > The devfs layer just adds an addition indirection between mtd > and the bb devices with no purpose. Drop it. > > Signed-off-by: Sascha Hauer > --- > drivers/mtd/nand/nand-bb.c | 122 > +++

Re: [PATCH 1/4] imx6:mmdc: Move register defines to header file

2014-04-26 Thread Alexander Aring
On Fri, Apr 25, 2014 at 02:54:41PM +0200, Alexander Aring wrote: > Hi, > > On Fri, Apr 25, 2014 at 01:54:25PM +0200, Christian Hemp wrote: > > Move mmdc register defines to mmdc header file. > > > > Signed-off-by: Christian Hemp > > --- > > arch/arm/m

Re: [PATCH 4/4] imx6: Add support for phyCARD-i.MX6

2014-04-25 Thread Alexander Aring
On Fri, Apr 25, 2014 at 03:16:48PM +0200, Lucas Stach wrote: > Am Freitag, den 25.04.2014, 15:10 +0200 schrieb Alexander Aring: > > Hi, > > > > On Fri, Apr 25, 2014 at 01:54:28PM +0200, Christian Hemp wrote: > > > Add support for Phytec phyCARD-i.MX6. > > >

Re: [PATCH 4/4] imx6: Add support for phyCARD-i.MX6

2014-04-25 Thread Alexander Aring
Hi, On Fri, Apr 25, 2014 at 01:54:28PM +0200, Christian Hemp wrote: > Add support for Phytec phyCARD-i.MX6. > - 1GB RAM on two banks > - 1GB RAM on one bank > - 2GB RAM on two banks ... > + > +extern char __dtb_imx6q_phytec_pbaa03_start[]; > + > +ENTRY_FUNCTION(start_phytec_pbaa0

Re: [PATCH 1/4] imx6:mmdc: Move register defines to header file

2014-04-25 Thread Alexander Aring
Hi, On Fri, Apr 25, 2014 at 01:54:25PM +0200, Christian Hemp wrote: > Move mmdc register defines to mmdc header file. > > Signed-off-by: Christian Hemp > --- > arch/arm/mach-imx/imx6-mmdc.c | 37 -- > arch/arm/mach-imx/include/mach/imx6-mmdc.h | 39 > ++

Re: [PATCH 1/4] imx6:mmdc: Move register defines to header file

2014-04-25 Thread Alexander Aring
On Fri, Apr 25, 2014 at 02:54:41PM +0200, Alexander Aring wrote: > Hi, > > On Fri, Apr 25, 2014 at 01:54:25PM +0200, Christian Hemp wrote: > > Move mmdc register defines to mmdc header file. > > > > Signed-off-by: Christian Hemp > > --- > > arch/arm/m

Re: [PATCH 0/3] memtest: small cleanup

2014-04-23 Thread Alexander Aring
On Wed, Apr 23, 2014 at 12:25:40PM +0200, Sascha Hauer wrote: > On Thu, Apr 10, 2014 at 02:04:03PM +0200, Alexander Aring wrote: > > Hi, > > > > this are three patches to cleanup the memtest command. It removes the the > > first > > and last if condition in the

[PATCH 2/3] memtest: cleanup requests of regions

2014-04-10 Thread Alexander Aring
This patch removes the first and last entry check inside the loop. There should be no functional changes there. Signed-off-by: Alexander Aring --- commands/memtest.c | 66 +++--- 1 file changed, 28 insertions(+), 38 deletions(-) diff --git a

[PATCH 3/3] memtest: copyright to UPPER case and fix typo

2014-04-10 Thread Alexander Aring
Signed-off-by: Alexander Aring --- common/memtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/memtest.c b/common/memtest.c index 5303c92..541d008 100644 --- a/common/memtest.c +++ b/common/memtest.c @@ -1,7 +1,7 @@ /* - * memory_test.c + * memtest.c

[PATCH 0/3] memtest: small cleanup

2014-04-10 Thread Alexander Aring
banks, again... - Alex (People that I know they have more than one banks boards): Cc: Sascha Hauer Cc: Teresa Gámez Cc: Christian Hemp Cc: Jan Weitzel Alexander Aring (3): memtest: cleanup error handling memtest: cleanup requests of regions memtest: copyright to UPPER case and fix typo

[PATCH 1/3] memtest: cleanup error handling

2014-04-10 Thread Alexander Aring
Signed-off-by: Alexander Aring --- commands/memtest.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/memtest.c b/commands/memtest.c index a71576e..dc05e9e 100644 --- a/commands/memtest.c +++ b/commands/memtest.c @@ -232,12 +232,12 @@ out: if

Re: [PATCH] 2048: port to barebox

2014-04-08 Thread Alexander Aring
Hi Marc, On Tue, Apr 08, 2014 at 11:50:42PM +0200, Marc Kleine-Budde wrote: ... > diff --git a/common/Makefile b/common/Makefile > index 204241c..b40a078 100644 > --- a/common/Makefile > +++ b/common/Makefile > @@ -44,6 +44,7 @@ obj-$(CONFIG_SHELL_HUSH)+= hush.o > obj-$(CONFIG_SHELL_SIMPLE)

Re: RFC: barebox-x86 as a coreboot payload

2014-04-05 Thread Alexander Aring
On Sat, Apr 05, 2014 at 11:02:45PM +0400, Alexander Shiyan wrote: > Sat, 5 Apr 2014 23:00:29 +0400 от Antony Pavlov : > > Hi! > > > > I have seen your recent activity on barebox-x86 improvements. > > > > IMHO using barebox-x86 as a coreboot payload can be beneficial for barebox > > promotion. >

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

2014-04-05 Thread Alexander Aring
On Sat, Apr 05, 2014 at 09:20:10AM +0200, Michel Stam wrote: > :) the keyword is soon. I want to test that I didnt break anything first, but > theyre in my local repository. ah, sorry. Ok sounds good. - Alex ___ barebox mailing list barebox@lists.infr

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

2014-04-05 Thread Alexander Aring
On Sat, Apr 05, 2014 at 09:12:15AM +0200, Michel Stam wrote: > Hey Alex, > > Therell be a v3 soon as well... > I don't see that, I also don't see v3 on the mailinglist archives [0]. - Alex [0] http://lists.infradead.org/pipermail/barebox/ ___ barebo

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

2014-04-05 Thread Alexander Aring
On Sat, Apr 05, 2014 at 08:56:25AM +0200, Michel Stam wrote: > Hello Alex, > > I think we misunderstood eachother; I was talking about space changes in .c > files caused by an editor. send-email came after the editing. > > Reading back I think you were talking about directly editing patches, wh

  1   2   3   4   >