in U-Boot.
>
> Note that the mainline ARM kernel does not make use of this; instead,
> it adds the preloader anyway. I never understood why.
Seems zImage is quite widespread now; would it make sense to allow
builing u-boot without that code and rely on the kernel code to unpack?
Or sh
aining the table of magic values
for uImage / uInitrd generation; a problem I described recently on
another list:
http://lists.linaro.org/pipermail/linaro-dev/2010-August/000493.html
So we'd be happy if you'd take patches to have U-Boot accept this
"dumber" format.
Chee
GE and
CONFIG_ZIMAGE instead?
> But I don't think that this solves your problem - you still need
> information at least about the entry point address, which then has to
> be stored separate from the image file, which just shifts the problem
g to build
with defaults when config.h isn't present?
Thanks!
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Signed-off-by: Loïc Minier
---
tools/env/Makefile |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/env/Makefile b/tools/env/Makefile
index 28b73da..07634bc 100644
--- a/tools/env/Makefile
+++ b/tools/env/Makefile
@@ -41,6 +41,7 @@ all: $(obj)fw_printenv
# Some
tclean (with or without objdir)
and tested combinations like a-d-d, a-b-d-d, a-b-c-d-d, then checked
whether any file remained with git clean -x -d -n
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
-offsets.c instead of sizeof(struct
global_data)
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Sat, Dec 18, 2010, Loïc Minier wrote:
> > Don't make it that complicated. Just change the line into
> > @rm -fr$(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
> I think I had this in my first version, but had an issue with it; I
> will retest
This
The eNET (x86) build fails with "invalid application of 'sizeof' to
incomplete type 'struct global_data'" because x86 doesn't define
struct global_data. Change sizeof(struct global_data) to sizeof(gd_t)
which is always available.
Cc: Graeme Russ
Signe
ch/*/include/asm/global_data.h, but it is still useful to define
struct global_data in arch/i386/include/asm/global_data.h for
consistency.
Signed-off-by: Loïc Minier
Cc: Graeme Russ
---
arch/i386/include/asm/global_data.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/
lso add struct global_data to
arch/i386/include/asm/global_data.h.
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
rticular point; see
<20110103170050.gb10...@bee.dooz.org> for the rationale for picking
this option rather than the other one.
I've sent a second patch to also define struct global_data; feel free
to cherry pick any of the two patches or both
Thanks!
--
Loïc Minier
Signed-off-by: Loïc Minier
---
tools/kwbimage.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 7b26920..964796e 100644
--- a/tools/kwbimage.c
+++ b/tools/kwbimage.c
@@ -33,7 +33,7 @@
* Supported commands for configuration
ned-off-by: Loïc Minier
---
doc/mkimage.1 |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/mkimage.1 b/doc/mkimage.1
index 7985f5a..f27da6b 100644
--- a/doc/mkimage.1
+++ b/doc/mkimage.1
@@ -41,22 +41,22 @@ mkimage lists the information contained in the header of an
directory, instead of a
symlink. Update cleanup code accordingly.
Signed-off-by: Loïc Minier
---
Makefile |2 +-
mkconfig |3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 9055028..7c02096 100644
--- a/Makefile
+++ b/Makefile
@@ -1243,7 +1
.boards.depend was created in the source tree even when calling make
with O=objtree, and distclean O=objtree wouldn't clean it. Create
.boards.depend in objtree instead as to clean it up properly.
---
Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Ma
've noticed the same thing, this seems to break all ARM configs for
me
[ full build logs at:
http://hudson.dooz.org/job/u-boot_master/63/ ]
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
and 5.2 might have been more consistent,
I think we need to switch board/efikamx/efikamx.c to the linux name
MACH_MX51_EFIKAMX.
Thanks!
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Upstream linux moved from MACH_TYPE_MX51_LANGE51 to
MACH_TYPE_MX51_EFIKAMX.
---
board/efikamx/efikamx.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c
index 4efbeaf..f735260 100644
--- a/board/efikamx/efikamx.c
+++ b/boar
---
arch/arm/cpu/arm920t/at91rm9200/ether.c |2 +-
arch/sparc/cpu/leon2/cpu_init.c |4 ++--
arch/sparc/cpu/leon3/cpu_init.c |4 ++--
common/cmd_usb.c|2 +-
common/usb_storage.c|2 +-
drivers/net/at91_emac.c
y included from imximage.c, so drop this include to fix the build.
Signed-off-by: Loïc Minier
---
tools/imximage.h |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/tools/imximage.h b/tools/imximage.h
index 38ca6be..d126a46 100644
--- a/tools/imximage.h
+++ b/tools/
Signed-off-by: Loïc Minier
---
Changes for V2:
* add Signed-off-by
arch/arm/cpu/arm920t/at91rm9200/ether.c |2 +-
arch/sparc/cpu/leon2/cpu_init.c |4 ++--
arch/sparc/cpu/leon3/cpu_init.c |4 ++--
common/cmd_usb.c|2 +-
common
Upstream linux moved from MACH_TYPE_MX51_LANGE51 to
MACH_TYPE_MX51_EFIKAMX.
Signed-off-by: Loïc Minier
---
Changes for V2:
* Add Signed-off-by
board/efikamx/efikamx.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c
other similarly looking message in the file (with ***) so I didn't
change the casing.
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Signed-off-by: Loïc Minier
---
Changes for V3:
* tweak casing of string in common/cmd_usb.c to "No device available"
Changes for V2:
* add Signed-off-by
arch/arm/cpu/arm920t/at91rm9200/ether.c |2 +-
arch/sparc/cpu/leon2/cpu_init.c |4 ++--
arch/sparc/cpu/leon3/
t found; is there any recommendation in doing this?
Cheers,
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
sure what
broke this -- Cc:ing Thomas Lange, the board's maintainer, in case he
has an idea
Thanks,
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
s, like mkimage
which might be used during the build but are also interesting to build
for the target architecture. Ideally when cross-compiling these should
be built twice, but I realize it's a pain to implement)
--
Loïc Minier
___
U-Boot ma
mtd/mtd-user.h is missing on FreeBSD hosts; add a macro to test whether
a specific host header is present and use it to decide to build
fw_printenv if mtd/mtd-user.h is present.
---
How about this approach?
If it's ok, then I could extend it to handle the MTD_VERSION=old case as well,
perhaps
ent :-)
I'll likely replace MTD_OLD with similar logic and hence avoid passing
it down; it will just be autodetected.
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Would it be possible to introduce a QEMU Versatile board in U-Boot
derived from the regular Versatile board's config? It would disable
the things that aren't (yet) supported in QEMU or too painful to
support.
--
Loïc Minier
___
U-Boot ma
the same ifdef for
versatile and vexpress boards (QEMU_NO_FLASH?) and prefix the board
names with qemu; e.g. qemu_versatile_foo?
Could you share your recipe for getting the versatileqemu config to
start? I'm using Ubuntu's qemu (Linaro-based,
0.14.50-2011.06-0-0ubuntu1).
--
Loïc Minier
__
sense to publish such a list of broken boards and
corresponding maintainers? (Maybe some makeall + scripts magic?)
This is a sample list of Debian packages not declaring the upstream
"Homepage" properly:
http://lists.debian.org/debian-de
ystem-arm command line, but didn't have more luck
than with arm-linux-gnueabi-gcc-4.6.
I'll try gdbing into this
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
ver, setting the real physical address for
> SDRAM it does not work - maybe this a qemu related issue ?
Vexpress works for me out of the box (not changing any code outside of
the QEMU config patch I've sent); the versatile work doesn't work at
all, I don't get any s
I'm seeing and which I bet others will see in the
future too, but I didn't get to that so far.
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
ion type. I think distros would prefer not using
these features and having a DTB-aware bootloader though.
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
) to load zImages.
Other architectures like x86 and sh seem to use zboot, perhaps we
should stick to zboot for all architectures rather than introducing
bootm -z or bootz? AFAIK the file formats are slightly different per
architecture, but the U-Boot cmdline usage would be the same.
Signed-off-by: Loïc Minier
---
Makefile |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 0ccc3bf..be9fadf 100644
--- a/Makefile
+++ b/Makefile
@@ -369,6 +369,10 @@ ifneq ($(CONFIG_IMX_CONFIG),)
ALL-y += $(obj)u-boot.imx
endif
+ifneq
Signed-off-by: Loïc Minier
---
Makefile |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 294c762..0ccc3bf 100644
--- a/Makefile
+++ b/Makefile
@@ -365,6 +365,10 @@ ALL-$(CONFIG_MMC_U_BOOT) +=
$(obj)mmc_spl/u-boot-mmc-spl.bin
ALL-$(CONFIG_SPL
t.kwb when
it's obvious that these are desired.
However, I didn't manage to find hints in the u-boot tree on when
"u-boot.img" should be generated, and when u-boot.bin is enough;
apparently one can mkimage -T firmware for any board config. Ideas
welcome on how to detec
ce ...
That's what I tried at first, but CONFIG_IMX_CONFIG is actually the
name of the config file to pass to mkimage; same for u-boot.kwb.
CONFIG_IMX_CONFIG is set in boards.cfg.
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
eded
That'd be a fine solution for me if others agree it's the right
approach; ideally, we would even set CONFIG_UBOOT_IMX when
CONFIG_IMX_CONFIG is set (not sure where though).
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
spl/Makefile; I care that it's consistent and
that related things are kept together as to update them together. I
guess we can follow the OMAP approach for other boards.
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
s ok; however we could try defining the
u-boot.imx rule in a common i.MX makefile snippet somewhere.
Perhaps arch/arm/cpu/armv7/config.mk or
arch/arm/cpu/armv7/mx5/Makefile, or a new file; I don't have a strong
opinion.
--
Loïc Minier
__
; would also build the right one, or perhaps "make
install" or some other special target which represents the final
deliverables for that board. ]
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
s.
What did you think of some kind of "install" or "dist" rule?
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
On Tue, Feb 08, 2011, Thomas Lange wrote:
> See patch from daniel.schwierz...@googlemail.com
> sent 2011-02-03.
Aha, I'll try with 17a990b55008fd79636e4880d9d10b7172ca87ce from
u-boot-mips.git which seems to be the V2 of the patch (removing
board/dbau1x00/flash.c entirely)
Thank
This sounds similar to the ARM failure, but -pie isn't used here.
Thanks,
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
ist, but it only had patches from
October. Is there another git tree where you usually stage your series?
Thanks!
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
FTR, the patch I picked for the Debian package was:
x86: Align config.mk and linker scripts with other arches
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
; +ifeq ($(CONFIG_SYS_THUMB_BUILD),y)
> +# Enable Thumb mode build if compiler supports it
> +PLATFORM_CPPFLAGS += $(call cc-option,-mthumb -mthumb-interwork)
> +endif
> --
> 1.7.0.4
>
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
you, but I would expect that code udner arch/arm/cpu/armv7/ would
build with -march=armv7 (maybe not -a though), with specific overrides
where that's not the case; it would feel a bit odd to me to have this
as a "config" option.
--
Loïc Minier
_
Signed-off-by: Loïc Minier
---
common/cmd_nvedit.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index fb69c24..c9ee3ed 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -65,7 +65,7 @@ DECLARE_GLOBAL_DATA_PTR
Hi
This series fixes "make tools" when u-boot isn't configured which regressed
recently (with timestamp_generated.h and ublimage support). This is used in
e.g. Debian/Ubuntu to provide a board-independent mkimage.
Cheers,
e.o ublimage.c -c
In file included from ublimage.c:37:0:
ublimage.h:31:20: fatal error: config.h: No such file or directory
Cc: Heiko Schocher
Cc: patc...@linaro.org
Signed-off-by: Loïc Minier
---
tools/ublimage.h | 11 ---
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git
Generate timestamp_autogenerated.h as safely as version_autogenerated.h.
Cc: patc...@linaro.org
Signed-off-by: Loïc Minier
---
Makefile |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 0892908..2991357 100644
--- a/Makefile
+++ b/Makefile
ude/timestamp.h:27:37: fatal error: timestamp_autogenerated.h: No
such file or directory
Cc: patc...@linaro.org
Signed-off-by: Loïc Minier
---
Makefile | 19 ++-
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/Makefile b/Makefile
index 77140eb..0892908 100644
On Tue, Oct 19, 2010, Sanjeev Premi wrote:
> +#undef CONFIG_FAST_BOOT
I wonder whether CONFIG_FAST_BOOT would cause confusion if u-boot gains
support for Android fastboot someday?
http://en.wikipedia.org/wiki/Fastboot
http://android-dls.com/wiki/index.php?title=Fastboot
--
Loïc Min
d
u-boot config stripping down u-boot to be smaller and faster; I'm not
sure whether there's anything similar in u-boot.
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
their config
and passing -cpu on the qemu command-line
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
: Trying to execute code outside RAM or ROM at 0x3400
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
ugs; yes
> One last question:
> > qemu: fatal: Trying to execute code outside RAM or ROM at 0x3400
>
> Does this mean that qemu does not simulate data or instruction
> aborts? Not that it is required for u-boot, but it *could* be useful
> sometimes.
I think the on
master/workspace/BOARD/omap3_evm/arch/arm/cpu/armv7'
Thanks,
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
65
> ---
> 4 files changed, 36 insertions(+), 70 deletions(-)
> create mode 100644 arch/arm/include/asm/arch-armv7/sys_proto.h
> delete mode 100644 board/armltd/vexpress/u-boot.lds
--
Loïc Minier
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
rr presented Patchwork recently at Plumbers, the slides are at
http://www.linuxplumbersconf.org/2010/ocw//system/presentations/297/original/patchwork-lpc2010.pdf
maybe this helps a bit? Videos weren't uploaded yet
--
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
directory, instead of a
symlink. Update cleanup code accordingly.
Signed-off-by: Loïc Minier
---
Makefile |4 +++-
mkconfig |3 +--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 87a383d..8a3f3e0 100644
--- a/Makefile
+++ b/Makefile
@@ -1
68 matches
Mail list logo