Re: [U-Boot] [PATCH] PowerPC: Change -fpic flag to -fPIC flag in the config.mk

2012-04-27 Thread Joakim Tjernlund
Scott Wood wrote on 2012/04/26 23:26:52: > > On 04/26/2012 01:53 AM, Joakim Tjernlund wrote: > > Scott Wood wrote on 2012/04/25 21:01:00: > >> > >> On 04/18/2012 05:07 AM, Joakim Tjernlund wrote: > >>> Your linker file is buggy I think. I found u-boot-nand_spl.lds, is that > >>> the one? > >> >

Re: [U-Boot] [PATCH] PowerPC: Change -fpic flag to -fPIC flag in the config.mk

2012-04-27 Thread Joakim Tjernlund
> > Scott Wood wrote on 2012/04/26 23:26:52: > > > > On 04/26/2012 01:53 AM, Joakim Tjernlund wrote: > > > Scott Wood wrote on 2012/04/25 21:01:00: > > >> > > >> On 04/18/2012 05:07 AM, Joakim Tjernlund wrote: > > >>> Your linker file is buggy I think. I found u-boot-nand_spl.lds, is that > > >>

Re: [U-Boot] Can't read kernel if bad blocks are present in partition

2012-04-27 Thread Alexandre Gambier
Hi, Did you use "nand write.i" to write the kernel and "nand read.i" to read the kernel? the ".i" tells u-boot to skip bad blocks... No I use "nand read $load_addr AppKernel" cause I didn't know we can use "nand read.i" - "help nand" doesn't display this information. I tried "nand read.i" and

[U-Boot] [PATCH] powerpc/ppc4xx: Remove typedefs for gdsys FPGA

2012-04-27 Thread Dirk Eibach
Signed-off-by: Dirk Eibach Cc: Stefan Roese --- board/gdsys/405ep/405ep.c|3 +- board/gdsys/405ep/dlvision-10g.c |4 +- board/gdsys/405ep/io.c |4 +- board/gdsys/405ep/iocon.c|2 +- board/gdsys/405ep/neo.c |2 +- board/gdsys/405ex/405ex.c

Re: [U-Boot] "make menuconfig" does not work

2012-04-27 Thread Thomas Petazzoni
Le Thu, 26 Apr 2012 08:26:21 +1000, Graeme Russ a écrit : > (it would be great to get U-Boot added to buildroot as well - One > build for bootloader + kernel + root filesystem :) That's already the case, since a looong time. make menuconfig -> Bootloaders -> U-Boot We even have support f

Re: [U-Boot] "make menuconfig" does not work

2012-04-27 Thread Thomas Petazzoni
Le Thu, 26 Apr 2012 14:18:11 +0200, Wolfgang Denk a écrit : > > (it would be great to get U-Boot added to buildroot as well - One > > build for bootloader + kernel + root filesystem :) > > Buildroot? Isn't this kind of a dead horse now? I thought everybody > is using Yocto now... Since the la

Re: [U-Boot] Can't read kernel if bad blocks are present in partition

2012-04-27 Thread Peter Barada
On 04/27/2012 03:16 AM, Alexandre Gambier wrote: > Hi, > > >>> Did you use "nand write.i" to write the kernel and "nand read.i" to >>> read the kernel? the ".i" tells u-boot to skip bad blocks... > No I use "nand read $load_addr AppKernel" cause I didn't know we can use > "nand read.i" - "help na

[U-Boot] [PATCH] include/video.h: drop unused video_printf()

2012-04-27 Thread Anatolij Gustschin
There is no such function in the code, so remove this prorotype. Signed-off-by: Anatolij Gustschin --- include/video.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/video.h b/include/video.h index efcc682..9519cea 100644 --- a/include/video.h +++ b/include/vide

[U-Boot] [PATCH] cmd_bmp.c: make bmp_display() usable by drivers or board code

2012-04-27 Thread Anatolij Gustschin
Currently bmp_display() is static and can not be used directly in the driver or board code. Export it for other users. Signed-off-by: Anatolij Gustschin --- common/cmd_bmp.c |3 +-- include/lcd.h|1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cmd_bmp.c b/c

[U-Boot] [PATCH 1/3] common/lcd.c: use ARRAY_SIZE

2012-04-27 Thread Anatolij Gustschin
Use available macro for obtaining the size of bmp_logo_palette[] Signed-off-by: Anatolij Gustschin --- common/lcd.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index bf1a6a9..0ea45d0 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -523,

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Tom Rini
On 04/26/2012 10:34 PM, Mike Frysinger wrote: On Thursday 26 April 2012 18:46:35 Tom Rini wrote: --- /dev/null +++ b/include/config_fallbacks.h @@ -0,0 +1,16 @@ +/* + * Copyright 2012 Texas Instruments + * + * This file is licensed under the terms of the GNU General Public + * License Version 2.

[U-Boot] [PATCH 2/3] common/lcd.c: reduce some CONFIG_LCD_*_LOGO ifdefs

2012-04-27 Thread Anatolij Gustschin
Move CONFIG_LCD_LOGO && !CONFIG_LCD_INFO_BELOW_LOGO ifdefs to lcd_drawchars() func. Signed-off-by: Anatolij Gustschin --- common/lcd.c | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 0ea45d0..ab78525 100644 --- a/common/l

[U-Boot] [PATCH 3/3] common/lcd.c: reduce one CONFIG_LCD_LOGO ifdef

2012-04-27 Thread Anatolij Gustschin
Drop ifdef around bitmap_plot(). Signed-off-by: Anatolij Gustschin --- common/lcd.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index ab78525..fe3545a 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -594,6 +594,8 @@ void bitmap_plot (

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Tom Rini
On 04/26/2012 11:31 PM, Wolfgang Denk wrote: Dear Tom Rini, In message<1335480396-29478-1-git-send-email-tr...@ti.com> you wrote: We provide a default table of { 9600, 19200, 38400, 57600, 115200 } in which mkconfig places after in the generated config file. This is used when a board has no

Re: [U-Boot] [PATCH v3 0/7] tegra: Add NAND flash support

2012-04-27 Thread Stephen Warren
On 04/26/2012 11:10 PM, Thierry Reding wrote: > * Stephen Warren wrote: >> On 04/26/2012 12:32 PM, Thierry Reding wrote: >>> The problem is that neither the format of the BCT nor that of the PT is >>> documented anywhere. It seems like the BCT contains a reference to where in >>> the flash the PT s

Re: [U-Boot] [PATCH v2] powerpc/p1022ds: Add sdcard and spi boot support to P1022DS

2012-04-27 Thread Tabi Timur-B04825
On Thu, Apr 26, 2012 at 8:57 AM, Dirk Eibach wrote: > Signed-off-by: Dirk Eibach > Cc: Timur Tabi > --- > Changes in v2: > - add Cc > - split up original patch series > >  board/freescale/p1022ds/p1022ds.c |    4 ++ >  board/freescale/p1022ds/tlb.c     |   10 ++ >  boards.cfg                

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Wolfgang Denk
Dear Tom Rini, In message <4f9ab2ee.3070...@ti.com> you wrote: > > > Argh... But you cannot change this without explicit ACK from the > > respective board maintainers. > > Then we're really SOL here. Even if we limit it to "I dropped > 300/600/900/1200/2400/4800 baud rate support, is that ok".

[U-Boot] [PATCH v2 0/4] patman fixes

2012-04-27 Thread Vikram Narayanan
This patchset fixes a few typo. And also addresses creation of patman config file. Changes from v1: Improved the patch with comments from Simon Glass Vikram Narayanan (4): patman: Fix a typo error patman: Add meaningful statements instead of blah blah patman: Change the location of patman

[U-Boot] [PATCH v2 1/4] patman: Fix a typo error

2012-04-27 Thread Vikram Narayanan
Replace gti with git in README file Signed-off-by: Vikram Narayanan Cc: Simon Glass --- tools/patman/README |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/patman/README b/tools/patman/README index 587c97f..d9820ab 100644 --- a/tools/patman/README +++ b/tools/pa

[U-Boot] [PATCH v2 2/4] patman: Add meaningful statements instead of blah blah

2012-04-27 Thread Vikram Narayanan
Add example statements for commit message and series messages Signed-off-by: Vikram Narayanan Cc: Simon Glass --- tools/patman/README |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/patman/README b/tools/patman/README index d9820ab..d98f081 100644 --- a/to

[U-Boot] [PATCH v2 3/4] patman: Change the location of patman path

2012-04-27 Thread Vikram Narayanan
Fix the location of patman path in README Signed-off-by: Vikram Narayanan Cc: Simon Glass --- tools/patman/README |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/patman/README b/tools/patman/README index d98f081..4913510 100644 --- a/tools/patman/README +++ b

[U-Boot] [PATCH v2 4/4] patman: Handle creation of patman config

2012-04-27 Thread Vikram Narayanan
patman shouts when it couldn't find a $(HOME)/.config/patman file. Handle it in a sane way by creating a new one for the user. It looks for a user.name and user.email in the global .gitconfig file, waits for the user input if it can't find those. Signed-off-by: Vikram Narayanan Cc: Simon Glass

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Tom Rini
On 04/27/2012 09:17 AM, Wolfgang Denk wrote: Dear Tom Rini, In message<4f9ab2ee.3070...@ti.com> you wrote: Argh... But you cannot change this without explicit ACK from the respective board maintainers. Then we're really SOL here. Even if we limit it to "I dropped 300/600/900/1200/2400/480

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Wolfgang Denk
Dear Tom, In message <4f9acdb8.8000...@ti.com> you wrote: > > >> Then we're really SOL here. Even if we limit it to "I dropped > >> 300/600/900/1200/2400/4800 baud rate support, is that ok". > > > > What's wrong with keeping a customizes #define for the boards that use > > nonstandard settings? >

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Tom Rini
On 04/27/2012 10:19 AM, Wolfgang Denk wrote: Dear Tom, In message<4f9acdb8.8000...@ti.com> you wrote: Then we're really SOL here. Even if we limit it to "I dropped 300/600/900/1200/2400/4800 baud rate support, is that ok". What's wrong with keeping a customizes #define for the boards that

Re: [U-Boot] Can't read kernel if bad blocks are present in partition

2012-04-27 Thread Scott Wood
On 04/27/2012 09:29 AM, Peter Barada wrote: > On 04/27/2012 03:16 AM, Alexandre Gambier wrote: >> Hi, >> >> Did you use "nand write.i" to write the kernel and "nand read.i" to read the kernel? the ".i" tells u-boot to skip bad blocks... >> No I use "nand read $load_addr AppKernel" cause

Re: [U-Boot] Can't read kernel if bad blocks are present in partition

2012-04-27 Thread Scott Wood
On 04/27/2012 02:16 AM, Alexandre Gambier wrote: > Hi, > > >>> Did you use "nand write.i" to write the kernel and "nand read.i" to >>> read the kernel? the ".i" tells u-boot to skip bad blocks... > No I use "nand read $load_addr AppKernel" cause I didn't know we can use > "nand read.i" - "help n

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Tom Rini
On 04/26/2012 11:31 PM, Wolfgang Denk wrote: Dear Tom Rini, In message<1335480396-29478-1-git-send-email-tr...@ti.com> you wrote: We provide a default table of { 9600, 19200, 38400, 57600, 115200 } in which mkconfig places after in the generated config file. This is used when a board has no

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Mike Frysinger
On Friday 27 April 2012 14:03:28 Tom Rini wrote: > On 04/26/2012 11:31 PM, Wolfgang Denk wrote: > > Tom Rini wrote: > >> We provide a default table of { 9600, 19200, 38400, 57600, 115200 } > >> in which mkconfig places after in > >> the generated config file. This is used when a board has not se

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Wolfgang Denk
Dear Tom Rini, In message <4f9adf70.4080...@ti.com> you wrote: > > > Technically, I don't like the name "config_fallbacks.h"; how about > > "config_defaults.h" instead? > > We have config_defaults.h today, which comes before Yes, why not use it for this purpose as well? It seems the appropriat

Re: [U-Boot] [PATCH v2 1/2] CONFIG_SYS_BAUDRATE_TABLE: Add , place there

2012-04-27 Thread Tom Rini
On 04/27/2012 11:40 AM, Wolfgang Denk wrote: Dear Tom Rini, In message<4f9adf70.4080...@ti.com> you wrote: Technically, I don't like the name "config_fallbacks.h"; how about "config_defaults.h" instead? We have config_defaults.h today, which comes before Yes, why not use it for this purp