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
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
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
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
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
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
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#
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
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
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
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
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
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
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
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
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
;
-> 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 mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
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
thanks
> Dear Luigi 'Comio' Mantellini,
>
> In message
> <1248165949-5845-2-git-send-email-luigi.mantellini...@gmail.com>
> you wrote:
>> --=======0963718385==
>>
>> From: Luigi '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
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
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
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
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(-)
___
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
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
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/
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
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
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/
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
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
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
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/
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
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
(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 '
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
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/
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
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
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
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
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 |
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
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
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
>
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
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
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
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
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
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
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
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,
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
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
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
See README file for details regarding ho bootstrap code works.
Signed-off-by: Luigi 'Comio' Mantellini
---
.gitignore | 25 ++-
Makefile | 174 +++-
README | 47
commo
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
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
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
From: Luigi 'Comio' Mantellini
See README file for details regarding ho bootstrap code works.
Signed-off-by: Luigi 'Comio' Mantellini
---
.gitignore | 25 ++-
Makefile | 174
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
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
+++
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
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
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
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
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
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(-)
___
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
:
> 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
75 matches
Mail list logo