- 25 1月, 2016 1 次提交
-
-
由 Tom Rini 提交于
For compatibility clang will report some gcc version. However since we are checking gcc versions in order to then fail to build, we should limit these tests only to when we are using gcc and not clang. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 15 5月, 2015 1 次提交
-
-
由 Simon Glass 提交于
Commit 47ed5dd0 dropped the .got section from U-Boot binaries. This is needed for some relocations, and causes failures if missing. Add it back. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 28 3月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
Move the option to Kconfig renaming it to CONFIG_HAVE_GENERIC_BOARD. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NAlexey Brodkin <abrodkin@synopsys.com>
-
- 09 1月, 2015 1 次提交
-
-
由 Stefan Agner 提交于
Resynchronize memcpy/memset with kernel 3.17 and build them in Thumb2 mode (unified syntax). Those assembler files can be built and linked in ARM mode too, however when calling them from Thumb2 built code, the stack got corrupted and the copy did not succeed (the exact details have not been traced back). However, the Linux kernel builds those files in Thumb2 mode. Hence U-Boot should build them in Thumb2 mode too when CONFIG_SYS_THUMB_BUILD is set. To build the files without warning, some assembler instructions had to be replaced with their UAL compliant variant (thanks Jeroen for this input). To build the file in Thumb2 mode the implicit-it=always option need to be set to generate Thumb2 compliant IT instructions where needed. We add this option to the general AFLAGS when building for Thumb2. Reviewed-by: NSimon Glass <sjg@chromium.org> Tested-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NStefan Agner <stefan@agner.ch>
-
- 31 7月, 2014 1 次提交
-
-
由 Masahiro Yamada 提交于
CONFIG_${ARCH} is defined by Kconfig. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 28 7月, 2014 1 次提交
-
-
由 Marc Zyngier 提交于
In anticipation of refactoring the HYP/non-secure code to run from secure RAM, add a new linker section that will contain that code. Nothing is using it just yet. Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com> Acked-by: NIan Campbell <ijc@hellion.org.uk>
-
- 08 7月, 2014 1 次提交
-
-
由 Alexey Ignatov 提交于
Fixes a bug when objcopy doesn't put .dtb.init.rodata section to resulting u-boot.bin, so u-boot was unable to find embedded DTB.
-
- 08 4月, 2014 1 次提交
-
-
由 Łukasz Majewski 提交于
After Kbuild introduction, the CROSS_COMPILE environment variable has been set to some default value (prefix arm-linux-). This shall be removed since it breaks building u-boot for native arm target (like qemu ARM). Moreover not all compilers have arm-linux- prefix. Additionally the u-boot cross compiles with CROSS_COMPILE= set explicitly- e.g.: CROSS_COMPILE=/ .... /arm-v7a-linux-gnueabi- make Signed-off-by: NLukasz Majewski <l.majewski@samsung.com> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
- 02 4月, 2014 1 次提交
-
-
由 Stefano Babic 提交于
Signed-off-by: NStefano Babic <sbabic@denx.de>
-
- 07 3月, 2014 1 次提交
-
-
由 Masahiro Yamada 提交于
"checkthumb" makes sense only for ARM architecture. Move it to arch/arm/config.mk. To make sure gcc supports THUMB mode before beginning build, run "checkthumb" during "archprepare". Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
- 05 3月, 2014 2 次提交
-
-
由 Masahiro Yamada 提交于
The syntax CROSS_COMIPLE ?= <cross_compiler_prefix> does not work because config.mk is parsed after exporting CROSS_COMPILE. Like Linux Kernel's arch/$(ARCH)/Makefile, we must write as follows: ifeq ($(CROSS_COMPILE),) CROSS_COMPILE := <cross_compiler_prefix> endif Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Masahiro Yamada 提交于
We had switched to Kbuild so now we can specify PLATFORM_LIBS/PLATFORM_LIBGCC with relative path. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: NTom Rini <trini@ti.com> Acked-by: NSimon Glass <sjg@chromium.org> Tested-by: NSimon Glass <sjg@chromium.org>
-
- 26 2月, 2014 2 次提交
-
-
由 Masahiro Yamada 提交于
This commit avoids generating ./SPL twice. - Fist time descending to spl/ - Second time as a prerequisite of u-boot-with-spl.imx, u-boot-with-nand-spl.imx. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Masahiro Yamada 提交于
Rename OBJCFLAGS to OBJCOPYFLAGS beforehand to use "cmd_objcopy" in scripts/Makefile.lib in an upcoming commit. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
- 25 1月, 2014 1 次提交
-
-
由 Masahiro Yamada 提交于
Before this commit, all arch/arm/cpu/${CPU}/config.mk except ARMv8 had the same option: $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) This commit moves it into arch/arm/config.mk. If the compiler does not support the option, it is ignored by $(call cc-option,...). So this commit gives no harm to ARMv8. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
- 14 1月, 2014 1 次提交
-
-
由 Albert ARIBAUD 提交于
Some targets will build fine but not boot if sections .hash and .got.plt are not present in the binary. Add them back. Also, Exynos machines require .machine_param section in SPL. Add it. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net> Tested-by: NRajeshwari S Shinde <rajeshwari.s@samsung.com>
-
- 09 1月, 2014 1 次提交
-
-
由 David Feng 提交于
Relocation code based on a patch by Scott Wood, which is: Signed-off-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NDavid Feng <fenghua@phytium.com.cn>
-
- 07 12月, 2013 1 次提交
-
-
由 Albert ARIBAUD 提交于
Current LDS files /DISCARD/ a lot of sections when linking ELF files, causing diagnostic tools such as readelf or objdump to produce partial output. Keep all section at link stage, filter only at objcopy time so that .bin remains minimal. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net> Reviewed-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
- 15 10月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Drop changes for PEP 4 following python tools] Signed-off-by: NTom Rini <trini@ti.com>
-
- 24 9月, 2013 1 次提交
-
-
由 Jeroen Hofstee 提交于
To be more EABI compliant and as a preparation for building with clang, use the platform-specific r9 register for gd instead of r8. note: The FIQ is not updated since it is not used in u-boot, and under discussion for the time being. The following checkpatch warning is ignored: WARNING: Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl> cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- 23 9月, 2013 2 次提交
-
-
由 Masahiro Yamada 提交于
Every ARM cpu config.mk (arch/arm/cpu/{CPUDIR}/config.mk) defines: PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float So, this patch moves the common compiler options to arch/arm/config.mk. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
由 Jeroen Hofstee 提交于
The movt/movw instruction can be used to hardcode an memory location in the instruction itself. The linker starts complaining about this if the compiler decides to do so: "relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used" and it is not support by U-boot as well. Prevent their use by requiring word relocations. This allows u-boot to be build at other optimalization levels then -Os. Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl> Cc: TigerLiu@viatech.com.cn Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 15 8月, 2013 1 次提交
-
-
由 Lokesh Vutla 提交于
Adding a new CONFIG_OMAP_COMMON which is included by all boards that needs to build cpu/armv7/omap-common folder. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
-
- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 22 6月, 2013 1 次提交
-
-
由 Albert ARIBAUD 提交于
Add a Makefile target ('checkarmreloc') which fails if the ELF binary contains relocation records of types other than R_ARM_RELATIVE. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net> Tested-by: NLubomir Popov <lpopov@mm-sol.com> Tested-by: NJeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
- 23 5月, 2013 1 次提交
-
-
由 Tom Rini 提交于
While other architectures have enabled these gcc / ld options for some time on U-Boot itself, ARM has only been doing this on SPL. Enable this on full U-Boot as well now. Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Signed-off-by: NTom Rini <trini@ti.com>
-
- 12 4月, 2013 1 次提交
-
-
由 Benoît Thébaudeau 提交于
Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
- 25 3月, 2013 1 次提交
-
-
由 Tom Rini 提交于
All of these platforms have memory starting at 0x80000000, so this is the correct CONFIG_STANDALONE_LOAD_ADDR for all of them. Acked-by: NPeter Korsgaard <jacmet@sunsite.dk> Signed-off-by: NTom Rini <trini@ti.com>
-
- 16 3月, 2013 1 次提交
-
-
由 Simon Glass 提交于
This enables generic board support so that ARM boards can define CONFIG_SYS_GENERIC_BOARD. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 04 10月, 2012 1 次提交
-
-
由 Allen Martin 提交于
Disable sibling call optimization based on binutils version. This is to work around a bug in the assember in binutils versions < 2.22. Branches to weak symbols can be incorrectly optimized in thumb mode to a short branch (b.n instruction) that won't reach when the symbol gets preempted. http://sourceware.org/bugzilla/show_bug.cgi?id=12532Signed-off-by: NAllen Martin <amartin@nvidia.com> Acked-by: NTom Rini <trini@ti.com>
-
- 15 5月, 2012 2 次提交
-
-
由 Tom Rini 提交于
This rule confirms that if we're on ARM and we have enabled THUMB builds that we have a new enough toolchain to produce a working binary. Changes in v2: - Switch to ALL-$(CONFIG_SYS_THUMB_BUILD) in arch/arm/config.mk (Mike F) - Simplfy checkthumb test after doing the above Signed-off-by: NTom Rini <trini@ti.com> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Aneesh V 提交于
Enable Thumb build and ARM-Thumb interworking based on the new config flag CONFIG_SYS_THUMB_BUILD Signed-off-by: NAneesh V <aneesh@ti.com> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 30 3月, 2012 1 次提交
-
-
由 Simon Glass 提交于
This is set by the top level Makefile anyway, so drop it. This does have the effect of changing the order - now the board link script will have preference over the CPU one. But this seems more correct anyway. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 04 11月, 2011 1 次提交
-
-
由 Wolfgang Denk 提交于
U-Boot Makefiles contain a number of tests for compiler features etc. which so far are executed again and again. On some architectures (especially ARM) this results in a large number of calls to gcc. This patch makes sure to run such tests only once, thus largely reducing the number of "execve" system calls. Example: number of "execve" system calls for building the "P2020DS" (Power Architecture) and "qong" (ARM) boards, measured as: -> strace -f -e trace=execve -o /tmp/foo ./MAKEALL <board> -> grep execve /tmp/foo | wc -l Before: After: Reduction: ================================== P2020DS 20555 15205 -26% qong 31692 14490 -54% As a result, built times are significantly reduced, typically by 30...50%. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Andy Fleming <afleming@gmail.com> Cc: Kumar Gala <galak@kernel.crashing.org> Cc: Albert Aribaud <albert.aribaud@free.fr> cc: Graeme Russ <graeme.russ@gmail.com> cc: Mike Frysinger <vapier@gentoo.org> Tested-by: NGraeme Russ <graeme.russ@gmail.com> Tested-by: NMatthias Weisser <weisserm@arcor.de> Tested-by: NSanjeev Premi <premi@ti.com> Tested-by: NSimon Glass <sjg@chromium.org> Tested-by: NMacpaul Lin <macpaul@gmail.com> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 26 7月, 2011 1 次提交
-
-
由 Aneesh V 提交于
Signed-off-by: NAneesh V <aneesh@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- 23 6月, 2011 1 次提交
-
-
由 Michael Schwingen 提交于
Signed-off-by: NMichael Schwingen <michael@schwingen.org>
-
- 30 4月, 2011 1 次提交
-
-
由 Scott Wood 提交于
Currently, some linker scripts are found by common code in config.mk. Some are found using CONFIG_SYS_LDSCRIPT, but the code for that is sometimes in arch config.mk and sometimes in board config.mk. Some are found using an arch-specific rule for looking in CPUDIR, etc. Further, the powerpc config.mk rule relied on CONFIG_NAND_SPL when it really wanted CONFIG_NAND_U_BOOT -- which covered up the fact that not all NAND_U_BOOT builds actually wanted CPUDIR/u-boot-nand.lds. Replace all of this -- except for a handful of boards that are actually selecting a linker script in a unique way -- with centralized ldscript finding. If board code specifies LDSCRIPT, that will be used. Otherwise, if CONFIG_SYS_LDSCRIPT is specified, that will be used. If neither of these are specified, then the central config.mk will check for the existence of the following, in order: $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT) $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT) $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds $(TOPDIR)/$(CPUDIR)/u-boot.lds Some boards (sc3, cm5200, munices) provided their own u-boot.lds that were dead code, because they were overridden by a CPUDIR u-boot.lds under the old powerpc rules. These boards' own u-boot.lds have bitrotted and no longer work -- these lds files have been removed. Signed-off-by: NScott Wood <scottwood@freescale.com> Tested-by: NGraeme Russ <graeme.russ@gmail.com>
-
- 13 4月, 2011 1 次提交
-
-
由 Wolfgang Denk 提交于
Rename STANDALONE_LOAD_ADDR into CONFIG_STANDALONE_LOAD_ADDR and allow that the architecture-specific default value gets overwritten by defining the value in the board header file. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: Tsi Chung Liew <tsi-chung.liew@freescale.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-
- 02 2月, 2011 1 次提交
-
-
由 Stefano Babic 提交于
Commit 8aba9dce breaks ARM boards because for ARM the -pie option is used for partial linking together with -r option. The patch adds the -pie option to link u-boot.bin only. Signed-off-by: NStefano Babic <sbabic@denx.de> CC: Jason Liu <liu.h.jason@gmail.com> CC: lool@dooz.org CC: Wolfgang Denk <wd@denx.de> CC: Albert Aribaud <albert.aribaud@free.fr> Tested-by: NAlexander Holler <holler@ahsoftware.de>
-
- 30 10月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
When this define was introduced, the idea was to provide a soft migration path for ARM boards to get adapted to the new relocation support. However, other recent changes led to a different implementation (ELF relocation), where this no longer works. By now CONFIG_SYS_ARM_WITHOUT_RELOC does not only not help any more, but it actually hurts because it obfuscates the actual code by sprinkling it with lots of dead and non-working debris. So let's make a clean cut and drop CONFIG_SYS_ARM_WITHOUT_RELOC. Signed-off-by: NWolfgang Denk <wd@denx.de> Tested-by: NHeiko Schocher <hs@denx.de> Tested-by: NReinhard Meyer <u-boot@emk-elektronik.de>
-