[U-Boot] failure to boot GuruPlug with v2010.12-rc2 .kwb

2010-12-04 Thread Clint Adams
Loading the ELF v2010.12-rc2 into RAM with OpenOCD works to boot my GuruPlug, but flashing the u-boot.kwb to /dev/mtd0 results in a brick. What might be the problem here? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/

[U-Boot] [PATCH] Don't add symlink in srctree when using an objtree

2010-12-04 Thread Loïc Minier
When building with srctree != objtree, the build creates arch/soc/cpu specific symlinks in the source tree. This means that the same source tree can't be used for multiple builds at the same time. Also, these symlinks in the source tree are only cleaned up if one passes the same O= to distclean.

Re: [U-Boot] [PATCH 2/6 v2] LZMA: Avoid free on null pointer

2010-12-04 Thread Joakim Tjernlund
> > Dear Luigi 'Comio' Mantellini, > > In message <1291469358-25023-3-git-send-email-luigi.mantell...@idf-hit.com> > you wrote: > > > > Signed-off-by: Luigi 'Comio' Mantellini > > --- > > lib/lzma/LzmaDec.c |4 +++- > > 1 files changed, 3 insertions(+), 1 deletions(-) > > > > diff --git a/li

Re: [U-Boot] [RFC 2/3] tools/env: Support writing to files

2010-12-04 Thread Loïc Minier
On Sat, Dec 04, 2010, Steve Sakoman wrote: > I don't have a big endian target for testing, but perhaps Loïc has > access to one. Otherwise we'll come back to the list with a request for > testing help. (I don't have access to one either) -- Loïc Minier _

Re: [U-Boot] Issues after resetenv!

2010-12-04 Thread Wolfgang Denk
Dear Meisam Farsi, In message you wrote: > > ** MARVELL BOARD: RD-88F6281A LE > > U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14 This is ancient code, and also an out of tree port for which we don;t know the code. Sorry, we cannot help you with that. Try to find out if this bo

[U-Boot] Issues after resetenv!

2010-12-04 Thread Meisam Farsi
Summary: I had some issues with the uboot to many commands that I wanted to remove so i did a resetenv, without RTFM. Thinking that I could do a "resetenv" to clear out the environment variable and start scratch as I got a listing of the known good environment variables. Did a reset Result: uboot

Re: [U-Boot] [PATCH 1/6 v2] Add support for XZ decompression algorithm.

2010-12-04 Thread Wolfgang Denk
Dear Luigi 'Comio' Mantellini, In message <1291469030-24984-2-git-send-email-luigi.mantell...@idf-hit.com> you wrote: > From: Luigi 'Comio' Mantellini > > The code is a cut-down version of XZ Embedded (2010/07/02) and supports only > single-call API. > > Signed-off-by: Luigi 'Comio' Mantellin

Re: [U-Boot] [PATCH 6/6 v2] Enable bootstrap code for QEMU-MIPS board.

2010-12-04 Thread Wolfgang Denk
Dear Luigi 'Comio' Mantellini, In message <1291469358-25023-7-git-send-email-luigi.mantell...@idf-hit.com> you wrote: > > Signed-off-by: Luigi 'Comio' Mantellini > --- > board/qemu-mips/Makefile | 15 ++- > board/qemu-mips/config.mk |7 ++- > board/qemu-mips/

Re: [U-Boot] [PATCH 5/6 v2] Enable bootstrap support for MIPS architecture.

2010-12-04 Thread Wolfgang Denk
Dear Luigi 'Comio' Mantellini, In message <1291469358-25023-6-git-send-email-luigi.mantell...@idf-hit.com> you wrote: > > Signed-off-by: Luigi 'Comio' Mantellini > --- > arch/mips/config.mk |2 +- > arch/mips/cpu/Makefile | 28 ++- > arch/mips/cpu/cpu.c |

Re: [U-Boot] [PATCH 4/6 v2] Add support for Bootstrap infrastructure.

2010-12-04 Thread Wolfgang Denk
Dear Luigi 'Comio' Mantellini, In message <1291469358-25023-5-git-send-email-luigi.mantell...@idf-hit.com> you wrote: > See README file for details regarding ho bootstrap code works. Please provide at least a basic explanation of that this commit is doing in the commitm essage. Not only the co

Re: [U-Boot] [PATCH 3/6 v2] Enable garbage collelction of unused input sections.

2010-12-04 Thread Wolfgang Denk
Dear Luigi 'Comio' Mantellini, In message <1291469358-25023-4-git-send-email-luigi.mantell...@idf-hit.com> you wrote: Typo in subject. > When available, enable the CC -ffunction-sections option and the LD > --gc-sections in order to isolate and remove from final executable the unused > functi

Re: [U-Boot] [PATCH 2/6 v2] LZMA: Avoid free on null pointer

2010-12-04 Thread Wolfgang Denk
Dear Luigi 'Comio' Mantellini, In message <1291469358-25023-3-git-send-email-luigi.mantell...@idf-hit.com> you wrote: > > Signed-off-by: Luigi 'Comio' Mantellini > --- > lib/lzma/LzmaDec.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/lib/lzma/LzmaDec.c b/li

[U-Boot] [PATCH] OMAP3: SPI driver

2010-12-04 Thread Dirk Behme
CC: Ruslan N. Araslanov Signed-off-by: Ruslan Araslanov --- I got this patch in a private mail from Ruslan with the comment: "I have some changes in this driver. It works with SPI flash memory and with other devices." He seems to be too shy to send it himself (?) So I just send it, maybe it's

[U-Boot] [PATCH] at91rm9200ek: fix SDRAM initialistation values

2010-12-04 Thread Andreas Bießmann
Signed-off-by: Andreas Bießmann --- Dear Reinhard, please considre this patch to be added into v2010.12, I misconfigured the SDRAM initialisation values in 99fa97e9 regards Andreas Bießmann include/configs/at91rm9200ek.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] PATCH: enable ext2 on GuruPlug

2010-12-04 Thread Clint Adams
ext2 is just as useful on the guru as on the sheeva >From cc232be56fa7e62a4bcdec7a9061a1ed4437eeb4 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 4 Dec 2010 15:44:15 -0500 Subject: [PATCH] Enable ext2 support on GuruPlug --- include/configs/guruplug.h |1 + 1 files changed, 1 inserti

[U-Boot] Pull request: u-boot-video/master

2010-12-04 Thread Anatolij Gustschin
Dear Wolfgang, The following changes since commit 49733aa0b9d29803384ad4bce74985f4bbe7e9aa: Merge branch 'master' of /home/wd/git/u-boot/custodians (2010-11-30 22:13:32 +0100) are available in the git repository at: git://git.denx.de/u-boot-video.git master Anatolij Gustschin (2): v

Re: [U-Boot] [RFC 0/3] Enhance env tools

2010-12-04 Thread Wolfgang Denk
Dear Steve Sakoman, In message <1291436933-26861-1-git-send-email-st...@sakoman.com> you wrote: > > There are circustances where it is desirable to run the environment tools > on your build machine in order to create an environment image that can > be written to the target machine at a later time

Re: [U-Boot] [PATCH] at91rm9200: fix lowlevel_init() SMRDATA size

2010-12-04 Thread Albert ARIBAUD
Hi Andreas, Le 04/12/2010 14:14, Andreas Bießmann a écrit : >>> 1. In start.s the vector table is relocated from _start to 0x00. But at >>> this time 0x00 is remaped to nor flash. >> >> Hmm... This copy (not a relocation) should be done after cpu_init_crit / >> lowlevel_init, which should have a

[U-Boot] gen_atmel_mci freeze on at91sam9g45

2010-12-04 Thread eric cariat
Hi, I'm currently working on a custom board with an at91sam9g45 : I followed the instruction in README.atmel_mci. In U-boot, if I use the command mmcinfo, the system hang. The uSD is working correctly with at91bootstrap and linux. In U-boot everything seems fine, the card exchange a few command an

Re: [U-Boot] [RFC 2/3] tools/env: Support writing to files

2010-12-04 Thread Steve Sakoman
On Sat, 2010-12-04 at 12:23 +0100, Stefano Babic wrote: > On 12/04/2010 05:28 AM, Steve Sakoman wrote: > > -static int flash_bad_block (int fd, uint8_t mtd_type, loff_t *blockstart) > > +static int flash_bad_block (int fd, uint8_t mtd_type, loff_t *blockstart, > > + int is_mtd

Re: [U-Boot] [RFC 1/3] tools/env: Default to the config specified in FW_CONFIG_FILE

2010-12-04 Thread Steve Sakoman
On Sat, 2010-12-04 at 05:34 -0500, Mike Frysinger wrote: > On Friday, December 03, 2010 23:28:51 Steve Sakoman wrote: > > + if (!config_file || !strlen(config_file)) { > > strlen is a bad bad idea. if you only want to see if it's non-empty, check > the first byte. I'll correct this in the nex

Re: [U-Boot] [RFC 1/3] tools/env: Default to the config specified in FW_CONFIG_FILE

2010-12-04 Thread Steve Sakoman
On Sat, 2010-12-04 at 11:59 +0100, Stefano Babic wrote: > On 12/04/2010 05:28 AM, Steve Sakoman wrote: > > From: Loïc Minier > > > > Hi, > > > #if defined(CONFIG_FILE) > > + /* Default to the config file specified in FW_CONFIG_FILE */ > > + char *config_file = getenv("FW_CONFIG_FILE"); >

Re: [U-Boot] [RFC 2/3] tools/env: Support writing to files

2010-12-04 Thread Steve Sakoman
On Sat, 2010-12-04 at 05:37 -0500, Mike Frysinger wrote: > On Friday, December 03, 2010 23:28:52 Steve Sakoman wrote: > > - ioctl (fd, MEMLOCK, &erase); > > + if (is_mtd) { > > + ioctl (fd, MEMLOCK, &erase); > > + } > > useless braces Good catch, I

Re: [U-Boot] [PATCH 0/6 v2] Support for Bootstrap Code

2010-12-04 Thread Luigi Mantellini
Please ignore double post. My apologies. The patch 1/6 is ~104K and awaits moderator approval. Sorry also for this. ciao luigi On Sat, Dec 4, 2010 at 2:23 PM, Luigi 'Comio' Mantellini wrote: > From: Luigi 'Comio' Mantellini > > The following patch set add the support for Bootstrap code. > Thi

[U-Boot] Your Email Id Has Been Awarded 315, 810.00GBP In United Nation Xmas Online Promo.For Claims Send

2010-12-04 Thread at-802a
Name: Country: Occupation TeL ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 2/6 v2] LZMA: Avoid free on null pointer

2010-12-04 Thread Luigi 'Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- lib/lzma/LzmaDec.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/lzma/LzmaDec.c b/lib/lzma/LzmaDec.c index f941da2..b2a3aec 100644 --- a/lib/lzma/LzmaDec.c +++ b/lib/lzma/LzmaDec.c @@ -

[U-Boot] [PATCH 5/6 v2] Enable bootstrap support for MIPS architecture.

2010-12-04 Thread Luigi 'Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- arch/mips/config.mk |2 +- arch/mips/cpu/Makefile | 28 ++- arch/mips/cpu/cpu.c | 12 - arch/mips/cpu/reset.c | 39 arch/mips/cpu/reset_bootstrap.c | 39

[U-Boot] [PATCH 4/6 v2] Add support for Bootstrap infrastructure.

2010-12-04 Thread Luigi 'Comio' Mantellini
From: Luigi 'Comio' Mantellini See README file for details regarding ho bootstrap code works. Signed-off-by: Luigi 'Comio' Mantellini --- .gitignore | 25 ++- Makefile | 174 +++- README | 47

[U-Boot] [PATCH 0/6 v2] Support for Bootstrap Code

2010-12-04 Thread Luigi 'Comio' Mantellini
From: Luigi 'Comio' Mantellini The following patch set add the support for Bootstrap code. This permits to have a compressed full featured U-Boot binary. See README file in the U-Boot root. The patchset includes also the XZ format support and a fix to LZMA code. Luigi 'Comio' Mantellini (6):

[U-Boot] [PATCH 6/6 v2] Enable bootstrap code for QEMU-MIPS board.

2010-12-04 Thread Luigi 'Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- board/qemu-mips/Makefile | 15 ++- board/qemu-mips/config.mk |7 ++- board/qemu-mips/qemu-mips_bootstrap.c | 48 + board/qemu-mips/u-boot-bootstrap.lds | 73 +

[U-Boot] [PATCH 5/6 v2] Enable bootstrap support for MIPS architecture.

2010-12-04 Thread Luigi 'Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- arch/mips/config.mk |2 +- arch/mips/cpu/Makefile | 28 ++- arch/mips/cpu/cpu.c | 12 - arch/mips/cpu/reset.c | 39 arch/mips/cpu/reset_bootstrap.c | 39 arch/mips/cpu/start_bootstrap.S |

[U-Boot] [PATCH 4/6 v2] Add support for Bootstrap infrastructure.

2010-12-04 Thread Luigi 'Comio' Mantellini
See README file for details regarding ho bootstrap code works. Signed-off-by: Luigi 'Comio' Mantellini --- .gitignore | 25 ++- Makefile | 174 +++- README | 47 common/Makefile

[U-Boot] [PATCH 0/6 v2] Support for Bootstrap Code

2010-12-04 Thread Luigi 'Comio' Mantellini
The following patch set add the support for Bootstrap code. This permits to have a compressed full featured U-Boot binary. See README file in the U-Boot root. The patchset includes also the XZ format support and a fix to LZMA code. Luigi 'Comio' Mantellini (6): Add support for XZ decompression

[U-Boot] [PATCH 3/6 v2] Enable garbage collelction of unused input sections.

2010-12-04 Thread Luigi 'Comio' Mantellini
When available, enable the CC -ffunction-sections option and the LD --gc-sections in order to isolate and remove from final executable the unused functions. >From ld manpages: --gc-sections --no-gc-sections Enable garbage collection of unused input sections. It is ignored on targets that do

[U-Boot] [PATCH 2/6 v2] LZMA: Avoid free on null pointer

2010-12-04 Thread Luigi 'Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- lib/lzma/LzmaDec.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/lzma/LzmaDec.c b/lib/lzma/LzmaDec.c index f941da2..b2a3aec 100644 --- a/lib/lzma/LzmaDec.c +++ b/lib/lzma/LzmaDec.c @@ -913,7 +913,9 @@ SRes LzmaDec_Deco

Re: [U-Boot] [PATCH alternate version] at91rm9200: fix lowlevel_init() SMRDATA size

2010-12-04 Thread Andreas Bießmann
Dear Jens Scharsig, Am 04.12.2010 um 11:53 schrieb Jens Scharsig: > diff --git a/arch/arm/cpu/arm920t/at91/lowlevel_init.S > b/arch/arm/cpu/arm920t/at91/lowlevel_init.S > index eaea9d2..1143c7e 100644 > --- a/arch/arm/cpu/arm920t/at91/lowlevel_init.S > +++ b/arch/arm/cpu/arm920t/at91/lowlevel_in

Re: [U-Boot] [PATCH] at91rm9200: fix lowlevel_init() SMRDATA size

2010-12-04 Thread Andreas Bießmann
Dear all, Am 04.12.2010 um 13:04 schrieb Albert ARIBAUD: > Le 04/12/2010 12:37, Jens Scharsig a écrit : >> Dear Andreas, >> >>> It would be great if you can test that pllloop thing to indicate the wrong >>> counter (80 instead of 40) did (or not) break anything. So the question is >>> do we ne

Re: [U-Boot] [PATCH alternate version] at91rm9200: fix lowlevel_init() SMRDATA size

2010-12-04 Thread Andreas Bießmann
Dear Jens Scharsig, Am 04.12.2010 um 11:53 schrieb Jens Scharsig: [snip] > So we should resolve this in a future-proof way (see below) > > arch/arm/cpu/arm920t/at91/lowlevel_init.S |9 ++--- > 1 files changed, 6 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/cpu/arm920t/at91/lo

Re: [U-Boot] [PATCH] at91rm9200: fix lowlevel_init() SMRDATA size

2010-12-04 Thread Albert ARIBAUD
Le 04/12/2010 12:37, Jens Scharsig a écrit : > Dear Andreas, > >> It would be great if you can test that pllloop thing to indicate the wrong >> counter (80 instead of 40) did (or not) break anything. So the question is >> do we need that specific patch in v2010.12 to get arm920t/at91 boards >> w

Re: [U-Boot] [PATCH] at91rm9200: fix lowlevel_init() SMRDATA size

2010-12-04 Thread Jens Scharsig
Dear Andreas, > It would be great if you can test that pllloop thing to indicate the wrong > counter (80 instead of 40) did (or not) break anything. So the question is do > we need that specific patch in v2010.12 to get arm920t/at91 boards working or > is it a 'nice to have' for future releases

Re: [U-Boot] [RFC 2/3] tools/env: Support writing to files

2010-12-04 Thread Stefano Babic
On 12/04/2010 05:28 AM, Steve Sakoman wrote: > -static int flash_bad_block (int fd, uint8_t mtd_type, loff_t *blockstart) > +static int flash_bad_block (int fd, uint8_t mtd_type, loff_t *blockstart, > + int is_mtd) You add an additional parameter to the flash function to ch

Re: [U-Boot] [RFC 0/2] Add support for bootstrap stage and compressed U-Boot image

2010-12-04 Thread Luigi Mantellini
Hi Shunya, On Sat, Dec 4, 2010 at 3:32 AM, Shinya Kuribayashi wrote: > Hi, > > On 11/30/2010 11:35 PM, Luigi 'Comio' Mantellini wrote: >> Look the following benchmark (qemu-mips board): >> ... >> Bootstrap code using LZMA compression >> 89456 bytes u-boot-bootstrap.bin >> -->size 50% <-- BEST >>

Re: [U-Boot] [RFC 1/3] tools/env: Default to the config specified in FW_CONFIG_FILE

2010-12-04 Thread Stefano Babic
On 12/04/2010 05:28 AM, Steve Sakoman wrote: > From: Loïc Minier > Hi, > #if defined(CONFIG_FILE) > + /* Default to the config file specified in FW_CONFIG_FILE */ > + char *config_file = getenv("FW_CONFIG_FILE"); What about to pass the configuration file on the command line instead of

Re: [U-Boot] [PATCH alternate version] at91rm9200: fix lowlevel_init() SMRDATA size

2010-12-04 Thread Jens Scharsig
Signed-off-by: Jens Scharsig --- Am 03.12.2010 08:26, schrieb Andreas Bießmann: > SMRDATA in a/a/c/arm920t/at91/lowlevel_init.c has wrong size. This patch > reduces it to correct size of 40 byte. > > Signed-off-by: Andreas Bießmann > --- > Dear all, > > I thougt about a problem in lowlevel_ini

Re: [U-Boot] OMAP: Hang after memory init

2010-12-04 Thread Albert ARIBAUD
Le 04/12/2010 10:33, Dirk Behme a écrit : >> Also make sure that the r8 register is not trashed by the relocation >> code in the start.S used for this board. See Andreas' patch for that. > > Thanks for the hint! Most probably you mean > > http://lists.denx.de/pipermail/u-boot/2010-December/082807.

Re: [U-Boot] [RFC 2/3] tools/env: Support writing to files

2010-12-04 Thread Mike Frysinger
On Friday, December 03, 2010 23:28:52 Steve Sakoman wrote: > - ioctl (fd, MEMLOCK, &erase); > + if (is_mtd) { > + ioctl (fd, MEMLOCK, &erase); > + } useless braces -mike signature.asc Description: This is a digitally signed message part. __

Re: [U-Boot] [RFC 1/3] tools/env: Default to the config specified in FW_CONFIG_FILE

2010-12-04 Thread Mike Frysinger
On Friday, December 03, 2010 23:28:51 Steve Sakoman wrote: > + if (!config_file || !strlen(config_file)) { strlen is a bad bad idea. if you only want to see if it's non-empty, check the first byte. -mike signature.asc Description: This is a digitally signed message part. __

[U-Boot] Please pull u-boot-ubi/master (update)

2010-12-04 Thread Stefan Roese
Hi Wolfgang, The following changes since commit 49733aa0b9d29803384ad4bce74985f4bbe7e9aa: Merge branch 'master' of /home/wd/git/u-boot/custodians (2010-11-30 22:13:32 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-ubi.git master Ricardo Ribalda Delgado (1):

Re: [U-Boot] [PATCH v2] UBI/UBIFS: Automatically unmount UBIFS volume upon UBI partition change

2010-12-04 Thread Stefan Roese
On Friday 03 December 2010 18:23:23 Stefan Roese wrote: > Automatically unmount UBIFS partition when user changes the UBI device. > Otherwise the following UBIFS commands will crash. Applied to u-boot-ubi/master (instead of the 1st patch version). Cheers, Stefan -- DENX Software Engineering Gmb

Re: [U-Boot] OMAP: Hang after memory init

2010-12-04 Thread Dirk Behme
On 04.12.2010 09:07, Albert ARIBAUD wrote: > Le 04/12/2010 07:51, Dirk Behme a écrit : >> On 03.12.2010 22:11, Carlo Caione wrote: >>> On Thu, 2010-12-02 at 20:40 -0800, Prafulla Wadaskar wrote: > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@li

Re: [U-Boot] OMAP: Hang after memory init, was: [STATUS] v2010.12-rc2 released

2010-12-04 Thread Albert ARIBAUD
Le 04/12/2010 07:51, Dirk Behme a écrit : > On 03.12.2010 22:11, Carlo Caione wrote: >> On Thu, 2010-12-02 at 20:40 -0800, Prafulla Wadaskar wrote: >>> -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Carlo Caione S