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 Kevin Du Huanpeng
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/.gitignore. Maybe it still not merged to master now yet. ... DuHuanpeng -

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: > > scripts/fix_size > >

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 [

[.gitignore] please add generated file to .gitignore

2013-12-04 Thread Kevin Du Huanpeng
Hi, is anyone know the these two files used for: scripts/fix_size scripts/kernel-install it seem generated and it's a binary executable file , if so please add it to .gitignore 1. git clone 2. set ARCH & CROSS_COMPILE 3. make qemu-malta_defconfig 4. make 5. git status dev@bog

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] mtd: mtdraw: drop ioctl callback for mtdraw device

2013-12-04 Thread Robert Jarzmik
Sascha Hauer writes: > On Tue, Dec 03, 2013 at 11:04:45PM +0100, Robert Jarzmik wrote: > For MEMGETINFO we can directly call into _mtd_ioctl(), but for > MEM[SG]ETBADBLOCK the offsets would have to be corrected first. Is this > worth the effort? Otherwise we could do something like: > > int mtdra

barebox logo

2013-12-04 Thread Antony Pavlov
Hello! Jean-Christophe ! Just now the 'barebox' articles in Wikipedia don't contain any barebox logo. I have uploaded a logo to Wikimedia Commons as you have encouraged users "to use the logo for the purpose of advertising support for Barebox". But wikicommons folks removed the logo because of "

Re: [PATCH 0/2] SOCFPGA: update to v13.1 preloader files

2013-12-04 Thread Steffen Trumtrar
On Wed, Dec 04, 2013 at 05:34:10PM +0100, Sascha Hauer wrote: > On Wed, Dec 04, 2013 at 01:10:38PM +0100, Steffen Trumtrar wrote: > > Hi! > > > > This updates the SocFPGA sequencer to the one generated by quartus v13.1. > > Previously this was generated with the v13.0 quartus. > > > > Tested on t

Re: [PATCH 0/2] SOCFPGA: update to v13.1 preloader files

2013-12-04 Thread Sascha Hauer
On Wed, Dec 04, 2013 at 01:10:38PM +0100, Steffen Trumtrar wrote: > Hi! > > This updates the SocFPGA sequencer to the one generated by quartus v13.1. > Previously this was generated with the v13.0 quartus. > > Tested on the SocKit. > The Socrates is only compile tested. Applied, thanks. Does th

Re: [PATCH] mtd: mtdraw: drop ioctl callback for mtdraw device

2013-12-04 Thread Sascha Hauer
On Tue, Dec 03, 2013 at 11:04:45PM +0100, Robert Jarzmik wrote: > Sascha Hauer writes: > > > Do not call mtd_ioctl for mtdraw devices. mtd_ioctl will derefence > > the priv pointer to a struct mtd_info whereas with mtdraw devices it will be > > a struct mtdraw pointer. We do not need ioctls for m

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

2013-12-04 Thread Sascha Hauer
On Wed, Dec 04, 2013 at 11:38:39AM +0100, Alexander Aring wrote: > 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. Also added to .gitignore while applying Sascha -- Pengutronix e.K.

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

2013-12-04 Thread Sascha Hauer
On Wed, Dec 04, 2013 at 12:06:38AM +0100, Michael Grzeschik wrote: > This patch adds the crc32 command to be build > as host and optionally as target tool. > This used to be: > - fd = open(filename, O_RDONLY); > - if (fd < 0) { > - printf("open %s: %s\n", filename, errno_str(

Re: [PATCH 0/2] MIPS: import exception stuff from linux kernel

2013-12-04 Thread Sascha Hauer
On Wed, Dec 04, 2013 at 12:48:53AM +0400, Antony Pavlov wrote: > This patch series imports registers saving code from linux kernel. > Just now it makes possible to dump registers state on exception; > this dump is very valuable for debugging purposes. > > [PATCH 1/2] MIPS: add asm-offsets.h genera

Re: [PATCH 0/8] tegra-next

2013-12-04 Thread Sascha Hauer
On Tue, Dec 03, 2013 at 08:56:53PM +0100, Lucas Stach wrote: > In an attempt to sneak those into -next before the .12 release, > just a quick dump. > For the first time barebox is now able to load and boot a > Linux kernel from SDcard on Tegra. Makes it a lot more useful in > the real world. Indee

Re: [Makefile bug] make barebox.s : dead loop

2013-12-04 Thread Kevin Du Huanpeng
Hi, I tested it. works. 1. save the patch to file named x86.patch 2. git apply x86.patch 3. export ARCH=x86 4. make generic_defconfig 5. make [ no error] 6. make barebox.s 7. endless loop again. - - - - - - CHK include/generated/compile.h CHK include/generated/version.h CHK includ

[PATCH 1/2] ARM: socfgpa: update sequencer

2013-12-04 Thread Steffen Trumtrar
Quartus II v13.1 generates updated sequencer.[ch] files. Integrate the changes into the current driver. Signed-off-by: Steffen Trumtrar --- arch/arm/mach-socfpga/include/mach/sequencer.c | 59 ++ 1 file changed, 41 insertions(+), 18 deletions(-) diff --git a/arch/arm/mac

[PATCH 0/2] SOCFPGA: update to v13.1 preloader files

2013-12-04 Thread Steffen Trumtrar
Hi! This updates the SocFPGA sequencer to the one generated by quartus v13.1. Previously this was generated with the v13.0 quartus. Tested on the SocKit. The Socrates is only compile tested. Regards, Steffen Steffen Trumtrar (2): ARM: socfgpa: update sequencer ARM: socfgpa: sockit: update s

[PATCH 2/2] ARM: socfgpa: sockit: update sequencer_defines

2013-12-04 Thread Steffen Trumtrar
Use the new Quartus II v13.1 generated sequencer_defines.h file. Signed-off-by: Steffen Trumtrar --- arch/arm/boards/terasic-sockit/sequencer_defines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boards/terasic-sockit/sequencer_defines.h b/arch/arm/boards/

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 __