[U-Boot] lookup tables: how can i manage them?

2008-10-19 Thread Luigi 'Comio' Mantellini
Hi ML, in my code (for now a stupid SMI interface) I'm using a jump table like this: struct reg:{ callback_1 c1, callback_2 c2, ... }; struct reg mytable[100]={ . } c1 and c2 are pointer to functions. My problem is that U-boot relocates itself into ram and these

Re: [U-Boot] U-Boot Versioning

2008-08-31 Thread Luigi 'Comio' Mantellini
Il sabato 30 agosto 2008 01:12:31 Wolfgang Denk ha scritto: > Dear Jerry Van Baren, > > In message <[EMAIL PROTECTED]> you wrote: > > Of course, we need silly alphabetical animal names for "code names." > > Do we? > > > No, wait, that's been done before. I know! We can use u-boat names for > > th

Re: [U-Boot] U-Boot Versioning

2008-09-02 Thread Luigi &#x27;Comio' Mantellini
Il lunedì 01 settembre 2008 17:54:08 Robert Schwebel ha scritto: > On Sat, Aug 30, 2008 at 01:12:31AM +0200, Wolfgang Denk wrote: > > Or use colors. > > > > The next release will then be the Yellow Submarine :) > > We've also considered to name toolchain releases after food. So for > example if gcc

Re: [U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board

2008-09-06 Thread Luigi &#x27;Comio' Mantellini
Il sabato 06 settembre 2008 12:17:54 naveen yadav ha scritto: > Hi All, > > I want to run hello_world.c example with printf enable . I load tftp > hello_world.bin using at 0x20 > > >tftp 0x2 hello_world.bin > >go 0x20 the address where you load is different that the address where you j

Re: [U-Boot] [PATCH 1/1 V3] Add support for LZMA uncompression algorithm.

2008-09-08 Thread Luigi &#x27;Comio' Mantellini
Hi Jean-Christophe, Hi U-boot ml, thanks for the rebasing this patch. best regards, luigi Il lunedì 08 settembre 2008 02:46:13 Jean-Christophe PLAGNIOL-VILLARD ha scritto: > From: Luigi 'Comio' Mantellini <[EMAIL PROTECTED]> > > Signed-off-by: Luigi 'Comio

[U-Boot] phys_size_t not defined in mips arch.

2008-09-11 Thread Luigi &#x27;Comio' Mantellini
Hi ML, i'm working on a mips SoC using the u-boot trunk (updated to 9 Sept). I noticed that the phys_szie_t is not defined for this cpu. is it a known problem or I have some problem on my u-boot tree? Thanks and best regards. luigi -- Luigi Mantellini R&D - Software Industrie Dial Face S.p.A

Re: [U-Boot] phys_size_t not defined in mips arch.

2008-09-11 Thread Luigi &#x27;Comio' Mantellini
Hi Shinya Il giovedì 11 settembre 2008 17:01:18 Shinya Kuribayashi ha scritto: > Luigi 'Comio' Mantellini wrote: > > or I have some problem on my u-boot tree? > > It seems you do. > > http://git.denx.de/?p=u-boot.git;a=blob;f=include/asm-mips/types.h;hb=HEAD#

Re: [U-Boot] [PATCH 1/1 V3] Add support for LZMA uncompression algorithm.

2008-09-13 Thread Luigi &#x27;Comio' Mantellini
i 'Comio' Mantellini <[EMAIL PROTECTED]> > > Signed-off-by: Luigi 'Comio' Mantellini <[EMAIL PROTECTED]> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> > --- > Add missing lzma/Makefile > Makefile

Re: [U-Boot] [Announce][RFC] CFG_ macro re naming

2008-09-13 Thread Luigi &#x27;Comio' Mantellini
Hi Jean-Christophe, Hi Wolfgang, Can you create a "deprecated_cfg.h" file that contains directives like: #ifdef CFG_OLD_PARAMATER #error "CFG_OLD_PARAMETER renamed! Use CONIFIG_NEW_PARAMETER instead!" #endif for each CFG_* renamed directive? This should avoid to "lost" some configuration parame

Re: [U-Boot] [Announce][RFC] CFG_ macro re naming

2008-09-13 Thread Luigi &#x27;Comio' Mantellini
Hi J. see inline comments. Il sabato 13 settembre 2008 23:41:55 Jean-Christophe PLAGNIOL-VILLARD ha scritto: > On 23:38 Sat 13 Sep , Luigi 'Comio' Mantellini wrote: > > Hi Jean-Christophe, > > Hi Wolfgang, > > > > Can you create a "deprecated

Re: [U-Boot] [PATCH 1/1 V3] Add support for LZMA uncompression algorithm.

2008-09-13 Thread Luigi &#x27;Comio' Mantellini
Sorry again, but I cannot use git-send-email. This is the corrected patch. Best regards, luigi Il domenica 14 settembre 2008 00:58:10 Wolfgang Denk ha scritto: > Dear "Luigi 'Comio' Mantellini", > > In message <[EMAIL PROTECTED]> you wrote: > > I noticed

[U-Boot] Watchdog support.

2008-09-13 Thread Luigi &#x27;Comio' Mantellini
Hi ML, I'm working on a mips based SoC with an external watchdog. The watchdog should be touched every 5 seconds in order to avoid the system reboot. I tried to define macros like CONFIG_HW_WATCHDOG / CONFIG_WATCHDOG, but I'm not happy for the result. For example, the serial port driver (ns165

Re: [U-Boot] Watchdog support.

2008-09-14 Thread Luigi &#x27;Comio' Mantellini
2cents but I'm interested to community opinions. thanks and best regards, luigi Il domenica 14 settembre 2008 12:28:54 hai scritto: > Dear "Luigi 'Comio' Mantellini", > > In message <[EMAIL PROTECTED]> you wrote: > > I'm working on a mips b

Re: [U-Boot] Watchdog support.

2008-09-15 Thread Luigi &#x27;Comio' Mantellini
ear "Luigi 'Comio' Mantellini", > > In message <[EMAIL PROTECTED]> you wrote: > > Anyway, I'm not sure that the common infrastructure covers all scenarios. > > For example in /common/main.c we have the code: > > As menrioned before, I

Re: [U-Boot] Watchdog support.

2008-09-15 Thread Luigi &#x27;Comio' Mantellini
ear "Luigi 'Comio' Mantellini", > > In message <[EMAIL PROTECTED]> you wrote: > > Anyway, I'm not sure that the common infrastructure covers all scenarios. > > For example in /common/main.c we have the code: > > As menrioned before, I

Re: [U-Boot] [U-Boot-Users] [PATCH] Add support for LZMA uncompression algorithm.

2008-09-16 Thread Luigi &#x27;Comio' Mantellini
Il martedì 16 settembre 2008 10:48:19 Xinhe Guo ha scritto: > Hi Luigi, > > > > I am trying to add lzma decompress support in my u-boot-1.1.6 source > code to load a lzma compressed linux initrd. Is there a lzma patch for > u-boot source code available for download? Warning! the initrd decompressi

Re: [U-Boot] [U-Boot-Users] [PATCH] Add support for LZMA uncompression algorithm.

2008-09-17 Thread Luigi &#x27;Comio' Mantellini
; -> into U-boot ciao luigi > > > Thanks > > > > Xinhe Guo > > > > > > From: Luigi 'Comio' Mantellini [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2008 10:16 PM > To: u-boot@l

[U-Boot] Refresh LZMA-lib to v4.65 (v2)

2009-07-21 Thread Luigi \&#x27;Comio\' Mantellini
___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Refresh LZMA-lib to v4.65 (v3 resend)

2009-07-21 Thread Luigi &#x27;Comio' Mantellini
___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Refresh LZMA-lib to 4.65

2009-07-21 Thread Luigi &#x27;Comio' Mantellini
ear Luigi 'Comio' Mantellini, > > In message <1246985548-24183-1-git-send-email-luigi.mantellini...@gmail.com> you wrote: > > --===1785671948== > > > > From: Luigi 'Comio' Mantellini > > > > --- > > common/cmd_bootm.c

Re: [U-Boot] [PATCH] Refresh LZMA-lib to v4.65

2009-07-22 Thread Luigi &#x27;Comio' Mantellini
thanks > Dear Luigi 'Comio' Mantellini, > > In message > <1248165949-5845-2-git-send-email-luigi.mantellini...@gmail.com> > you wrote: >> --=======0963718385== >> >> From: Luigi 'Comio' Mantellini >> >> >&

[U-Boot] [PATCH] Fix LZMA string.h header inclusion issue and remove unused variables.

2009-07-28 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- lib_generic/lzma/LzmaDec.c |2 +- lib_generic/lzma/LzmaTools.c |1 - lib_generic/lzma/Makefile|2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib_gene

[U-Boot] [PATCH] MII Bus BitBang Imlementation for MPC85xx FCC ports

2009-09-19 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini This patch add a MII Bus support for FCC port using a simple bitbang implementation (derived from miiphy driver). In order to enable mii bus, you need to define the following additional macros: CONFIG_MPC85XX_BITBANGMII - Enable the mii bus su

[U-Boot] [PATCH] Add MII bus implementation for FCC ports (using bitbanging)

2009-09-19 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- cpu/mpc85xx/ether_fcc.c | 400 --- 1 files changed, 379 insertions(+), 21 deletions(-) diff --git a/cpu/mpc85xx/ether_fcc.c b/cpu/mpc85xx/ether_fcc.c in

[U-Boot] [PATCH] Add MII bus implementation for FCC ports (using bitbanging)

2009-09-19 Thread Luigi &#x27;Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- cpu/mpc85xx/ether_fcc.c | 400 --- 1 files changed, 379 insertions(+), 21 deletions(-) diff --git a/cpu/mpc85xx/ether_fcc.c b/cpu/mpc85xx/ether_fcc.c index 5f1414d..7d8234e 100644 --- a/c

[U-Boot] [PATCH] MII Bus BitBang Imlementation for MPC85xx FCC ports

2009-09-19 Thread Luigi &#x27;Comio' Mantellini
regards, luigi Luigi 'Comio' Mantellini (1): [OLT] Add MII bus implementation for FCC ports (using bitbanging) cpu/mpc85xx/ether_fcc.c | 400 --- 1 files changed, 379 insertions(+), 21 deletions(-) ___

[U-Boot] [PATCH 0/3] New MIIPHYBB implementation with multi-bus support

2009-09-22 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini This patch rewrites the miiphybb ( Bit-banged MII bus driver ) in order to support an arbitrary number of buses. This feature is useful when your board uses different mii buses for different phys and all (or a part) of these buses are implemented via b

[U-Boot] [PATCH 3/3] Update all board to support new bbmiiphy driver (with multibus support)

2009-09-22 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- include/configs/ISPAN.h |3 +++ include/configs/MPC8260ADS.h |2 ++ include/configs/MPC8266ADS.h |3 +++ include/configs/MPC8560ADS.h |3 +++ include/configs/Rattler.h|3

[U-Boot] [PATCH 1/3] Bit-banged MII driver with multi-bus support.

2009-09-22 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- drivers/net/phy/miiphybb.c | 321 +++- include/miiphy.h | 22 +++ 2 files changed, 247 insertions(+), 96 deletions(-) diff --git a/drivers/

[U-Boot] [PATCH 2/3] Add bb_miiphy_init call before any ethernet bring-up code.

2009-09-22 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- lib_arm/board.c |3 +++ lib_avr32/board.c|3 +++ lib_blackfin/board.c |3 +++ lib_i386/board.c |3 +++ lib_m68k/board.c |3 +++ lib_mips/board.c |3

[U-Boot] [PATCH 0/3 v2] New MIIPHYBB implementation with multi-bus support

2009-09-22 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini This patch rewrites the miiphybb ( Bit-banged MII bus driver ) in order to support an arbitrary number of buses. This feature is useful when your board uses different mii buses for different phys and all (or a part) of these buses are implemented via b

[U-Boot] [PATCH 1/3 v2] Bit-banged MII driver with multi-bus support.

2009-09-22 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- drivers/net/phy/miiphybb.c | 322 +++- include/miiphy.h | 22 +++ 2 files changed, 248 insertions(+), 96 deletions(-) diff --git a/drivers/

[U-Boot] [PATCH 3/3 v2] Update all board to support new bbmiiphy driver (with multibus support)

2009-09-22 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- include/configs/ISPAN.h |3 +++ include/configs/MPC8260ADS.h |2 ++ include/configs/MPC8266ADS.h |3 +++ include/configs/MPC8560ADS.h |3 +++ include/configs/Rattler.h|3

[U-Boot] [PATCH 2/3 v2] Add bb_miiphy_init call before any ethernet bring-up code.

2009-09-22 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- lib_arm/board.c |3 +++ lib_avr32/board.c|3 +++ lib_blackfin/board.c |3 +++ lib_i386/board.c |3 +++ lib_m68k/board.c |3 +++ lib_mips/board.c |3

[U-Boot] [PATCH 0/3 v3] New MIIPHYBB implementation with multi-bus support

2009-09-23 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini This patch rewrites the miiphybb ( Bit-banged MII bus driver ) in order to support an arbitrary number of buses. This feature is useful when your board uses different mii buses for different phys and all (or a part) of these buses are implemented via b

[U-Boot] [PATCH 1/3 v3] Bit-banged MII driver with multi-bus support.

2009-09-23 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- drivers/net/phy/miiphybb.c | 324 +++- include/miiphy.h | 22 +++ 2 files changed, 250 insertions(+), 96 deletions(-) diff --git a/drivers/

[U-Boot] [PATCH 2/3 v3] Add bb_miiphy_init call before any ethernet bring-up code.

2009-09-23 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- lib_arm/board.c |3 +++ lib_avr32/board.c|3 +++ lib_blackfin/board.c |3 +++ lib_i386/board.c |3 +++ lib_m68k/board.c |3 +++ lib_mips/board.c |3

[U-Boot] [PATCH 3/3 v3] Update all board to support new bbmiiphy driver (with multibus support)

2009-09-23 Thread Luigi &#x27;Comio' Mantellini
From: Luigi 'Comio' Mantellini Signed-off-by: Luigi 'Comio' Mantellini --- include/configs/ISPAN.h |3 +++ include/configs/MPC8260ADS.h |2 ++ include/configs/MPC8266ADS.h |3 +++ include/configs/MPC8560ADS.h |3 +++ include/configs/Rattler.h|3

Re: [U-Boot] [PATCH 1/3 v3] Bit-banged MII driver with multi-bus support.

2009-09-24 Thread Luigi &#x27;Comio' Mantellini
(autoreview) Hi Ben, I make some changes to the patch, but I will post after your review. See my annotation, that will be present into the next patch release. best regards. Il mercoledì 23 settembre 2009 15:10:54 Luigi 'Comio' Mantellini ha scritto: > From: Luigi '

[U-Boot] [PATCH 0/3 v4] New MIIPHYBB implementation with multi-bus support

2009-10-06 Thread Luigi &#x27;Comio' Mantellini
s_num = sizeof(bb_miiphy_buses) / sizeof(bb_miiphy_buses[0]); Patch Changelog: v1 -- First (broken) release v2 -- Fix some typos and disable callbacks pointers relacation (if CONFIG_RELOC_FIXUP_WORKS is not defined) v3 -- Do not relocate NULL pointers v4 -- Code Cleanup. Luigi 'Comio' Man

[U-Boot] [PATCH 1/3 v4] New Bit-banged MII driver (MIIPHYBB) implementation with multi-bus support.

2009-10-06 Thread Luigi &#x27;Comio' Mantellini
s_num = sizeof(bb_miiphy_buses) / sizeof(bb_miiphy_buses[0]); Signed-off-by: Luigi 'Comio' Mantellini --- drivers/net/phy/miiphybb.c | 346 +++- include/miiphy.h | 25 +++- 2 files changed, 266 insertions(+), 105 deletions(-) diff --git a/

[U-Boot] [PATCH 2/3] Add bb_miiphy_init call before any ethernet bring-up code.

2009-10-06 Thread Luigi &#x27;Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- lib_arm/board.c |7 +++ lib_avr32/board.c|7 +++ lib_blackfin/board.c |7 +++ lib_i386/board.c |9 - lib_m68k/board.c |7 +++ lib_mips/board.c |7 +++ lib_ppc/board.c

[U-Boot] [PATCH 3/3] Update all board to support new bbmiiphy driver (with multibus support)

2009-10-06 Thread Luigi &#x27;Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- include/configs/ISPAN.h |4 include/configs/MPC8260ADS.h |3 +++ include/configs/MPC8266ADS.h |4 include/configs/MPC8560ADS.h |4 include/configs/Rattler.h|4 include/configs/SBC8540.h

[U-Boot] [PATCH 0/3 v5] New MIIPHYBB implementation with multi-bus support

2009-10-10 Thread Luigi &#x27;Comio' Mantellini
sizeof(bb_miiphy_buses[0]); Patch Changelog: v1 -- First (broken) release v2 -- Fix some typos and disable callbacks pointers relacation (if CONFIG_RELOC_FIXUP_WORKS is not defined) v3 -- Do not relocate NULL pointers v4 -- Code Cleanup. v5 -- Fix typos and clea

[U-Boot] [PATCH 3/3 v5] Update all board to support new bbmiiphy driver (with multibus support)

2009-10-10 Thread Luigi &#x27;Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- include/configs/ISPAN.h |4 include/configs/MPC8260ADS.h |3 +++ include/configs/MPC8266ADS.h |4 include/configs/MPC8560ADS.h |4 include/configs/Rattler.h|4 include/configs/SBC8540.h

[U-Boot] [PATCH 1/3 v5] Rewrite the miiphybb (Bit-banged MII bus driver) in order to support an arbitrary number of mii buses.

2009-10-10 Thread Luigi &#x27;Comio' Mantellini
dio_active = b1_mdio_active, ... }, { .name = miibus#2, .init = b2_init, .mdio_active = b2_mdio_active, ... }, ... int bb_miiphy_buses_num = sizeof(bb_miiphy_buses) / sizeof(bb_miiphy_buses[0]); Signed-off-by: Luigi 'Comio' Mantellini --- doc/README.bitbangMII |

[U-Boot] [PATCH 2/3 v5] Add bb_miiphy_init call before any ethernet bring-up code.

2009-10-10 Thread Luigi &#x27;Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- lib_arm/board.c |7 +++ lib_avr32/board.c|7 +++ lib_blackfin/board.c |7 +++ lib_i386/board.c |9 - lib_m68k/board.c |7 +++ lib_mips/board.c |7 +++ lib_ppc/board.c

[U-Boot] Help on U-Boot and Linux integration on PPC cpus

2009-10-23 Thread Luigi &#x27;Comio' Mantellini
py it into the flash (for example)? 2) is there a how-to or a survey regarding the fdt usage into u-boot (and linux kernel)? thanks for help, luigi -- Luigi 'Comio' Mantellini R&D - Software Industrie Dial Face S.p.A. Via Canzo, 4 20068 Peschiera Borromeo (MI), Italy Tel.: +39 02

Re: [U-Boot] Help on U-Boot and Linux integration on PPC cpus

2009-10-23 Thread Luigi &#x27;Comio' Mantellini
Hi Jerry and Wolfgang, Thanks for your suggestions. ciao ciao luigi venerdì 23 ottobre 2009 13:39 Jerry Van Baren ha scritto: Luigi 'Comio' Mantellini wrote: > Hi Ml, > > I'm working on a ppc8541 based board. I ported the U-boot board just creationg >

[U-Boot] Low BogoMIPS on MPC8541

2009-10-27 Thread Luigi &#x27;Comio' Mantellini
help, ciao luigi -- Luigi 'Comio' Mantellini R&D - Software Industrie Dial Face S.p.A. Via Canzo, 4 20068 Peschiera Borromeo (MI), Italy Tel.: +39 02 5167 2813 Fax: +39 02 5167 2459 Email: luigi.mantell...@idf-hit.com ___ U-Boot

[U-Boot] qemu-mips usage

2009-01-26 Thread Luigi &#x27;Comio' Mantellini
Hi ML, I'm evaluating the qemu-mips to simulate a mips 4kec/24kec board. I'm working on the high level booting sequence (linux init scripts), and qemu+uboot should be a good choice to emulate a basic system (flash + dram + 4kec cpu). Furthermore, also following the doc/README.qemu_mips, I'm not

Re: [U-Boot] qemu-mips usage

2009-01-26 Thread Luigi &#x27;Comio' Mantellini
PLAGNIOL-VILLARD wrote: > On 10:13 Mon 26 Jan , Luigi 'Comio' Mantellini wrote: > > Hi ML, > > > > I'm evaluating the qemu-mips to simulate a mips 4kec/24kec board. I'm > > working on the high level booting sequence (linux init scripts), and > &g

[U-Boot] IP_t should be a "packed" struct

2009-01-27 Thread Luigi &#x27;Comio' Mantellini
Hi ML, I'm working on a mips target and I used qemu_mips target to simulate my target (that I hope to have in the next week...) Following my activities I noticed that IP_t structure is no defined with attribute "packed". I noticed this issue because using a self-made toolchain (gcc4.2.4+binuti

Re: [U-Boot] IP_t should be a "packed" struct

2009-01-28 Thread Luigi &#x27;Comio' Mantellini
Hi ML, I noticed that also the others headers structs have the same potential problem. I attached the patch to fix the net.h header file. best regards, luigi On Tuesday 27 January 2009 19:32:10 Luigi 'Comio' Mantellini wrote: > Hi ML, > > I'm working on a mips tar

[U-Boot] [RFC] Double-stage u-boot to reduce footprint

2010-11-29 Thread Luigi &#x27;Comio' Mantellini
mbols (CONFIG_BOOTSTRAP_*) and provides a linker script, and the lowlevel init code for the ram. Thanks for any comments, luigi -- Luigi 'Comio' Mantellini R&D - Software Industrie Dial Face S.p.A. Via Canzo, 4 20068 Peschiera Borromeo (MI) Italy Tel.: +39 02 5167 2813 Fax: +39 0

[U-Boot] [RFC] Double-stage u-boot to reduce footprint

2010-11-29 Thread Luigi &#x27;Comio' Mantellini
mbols (CONFIG_BOOTSTRAP_*) and provides a linker script, and the lowlevel init code for the ram. Thanks for any comments, luigi -- Luigi 'Comio' Mantellini R&D - Software Industrie Dial Face S.p.A. Via Canzo, 4 20068 Peschiera Borromeo (MI) Italy Tel.: +39 02 5167 2813 Fax: +39 0

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

2010-11-30 Thread Luigi &#x27;Comio' Mantellini
igi.mantell...@idf-hit.com ha scritto: > From: Luigi 'Comio' Mantellini > > Hi All, > > The following patches introduce the bootstrap support that enable to have a > compressed U-Boot image. The bootstrap code supports the uncompressed as > well as compressed payloads,

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

2010-12-04 Thread Luigi &#x27;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

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

2010-12-04 Thread Luigi &#x27;Comio' Mantellini
es and will also be slower. You will not be able to use "gprof" on all systems if you specify this option and you may have problems with debugging if you specify both this option and -g. Signed-off-by: Luigi 'Comio' Mantellini --- config.mk | 13 + 1 files changed

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

2010-12-04 Thread Luigi &#x27;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 supp

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

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

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

2010-12-04 Thread Luigi &#x27;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_b

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

2010-12-04 Thread Luigi &#x27;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.l

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

2010-12-04 Thread Luigi &#x27;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

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

2010-12-04 Thread Luigi &#x27;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

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

2010-12-04 Thread Luigi &#x27;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/rese

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

2010-12-04 Thread Luigi &#x27;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 +++

[U-Boot] [PATCH] LZMA: Avoid free on null pointer.

2010-12-05 Thread Luigi &#x27;Comio' Mantellini
all malloc/free of the code during a code profiling session. Kindly, add this fix in the master branch. best regards, luigi Luigi 'Comio' Mantellini (1): LZMA: Avoid free on null pointer. lib/lzma/LzmaDec.c |6 -- 1 files changed, 4 insertions(+), 2 delet

[U-Boot] [PATCH] LZMA: Avoid free on null pointer.

2010-12-05 Thread Luigi &#x27;Comio' Mantellini
On structure Initialization, LZMA code tries to free the dictionary and probs buffers, also when these are null pointers. Add some check in order to prevent the free on null pointers. Signed-off-by: Luigi 'Comio' Mantellini --- lib/lzma/LzmaDec.c |6 -- 1 files changed, 4

[U-Boot] [PATCH] Enable garbage collection of unused input sections.

2010-12-05 Thread Luigi &#x27;Comio' Mantellini
le 'post/libpost.o' powerpc-linux-gnu-ld: Removing unused section '.text.image_get_magic' in file 'post/libpost.o' powerpc-linux-gnu-ld: Removing unused section '.text.image_get_hcrc' in file 'post/libpost.o' powerpc-linux-gnu-ld: Removing unused

[U-Boot] [PATCH] Enable garbage collection of unused input sections.

2010-12-05 Thread Luigi &#x27;Comio' Mantellini
ill also be slower. You will not be able to use "gprof" on all systems if you specify this option and you may have problems with debugging if you specify both this option and -g. Signed-off-by: Luigi 'Comio' Mantellini --- config.mk |9 + 1 files changed, 9 inse

[U-Boot] [PATCH 2/2] Add XZ compressed uImage support

2010-12-05 Thread Luigi &#x27;Comio' Mantellini
This patch permits to use XZ compressed uImages using the XZ embedded library code. Signed-off-by: Luigi 'Comio' Mantellini --- common/cmd_bootm.c | 27 +-- common/image.c |1 + include/image.h|1 + 3 files changed, 27 insertions(+), 2

[U-Boot] [PATCH] *** SUBJECT HERE ***

2010-05-26 Thread Luigi &#x27;Comio' Mantellini
This trivial patch remove the 64-bit division into print_size code. Luigi 'Comio' Mantellini (1): [OLT-M68K] Avoid 64bit division in print_size lib/display_options.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) ___

[U-Boot] [PATCH] [OLT-M68K] Avoid 64bit division in print_size

2010-05-26 Thread Luigi &#x27;Comio' Mantellini
Signed-off-by: Luigi 'Comio' Mantellini --- lib/display_options.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/display_options.c b/lib/display_options.c index 86df05d..eca5415 100644 --- a/lib/display_options.c +++ b/lib/display_options.c

Re: [U-Boot] [PATCH] [OLT-M68K] Avoid 64bit division in print_size

2010-05-26 Thread Luigi &#x27;Comio' Mantellini
: > On Wed, May 26, 2010 at 9:01 AM, Luigi 'Comio' Mantellini > > wrote: > > Signed-off-by: Luigi 'Comio' Mantellini > > --- > > You're a little late: > > http://git.denx.de/?p=u-boot.git;a=commit;h=f2d76ae4fdde180e120ea2d29d6ef88 > 1