- Jun 12, 2016
-
-
Simon Glass authored
At present CONFIG_SKIP_LOWLEVEL_INIT prevents U-Boot from calling lowlevel_init(). This means that the instruction cache is not enabled and the board runs very slowly. What is really needed in many cases is to skip the call to lowlevel_init() but still perform CP15 init. Add an option to handle this. Reviewed-by:
Heiko Schocher <hs@denx.de> Tested-on: smartweb, corvus, taurus, axm Tested-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Andreas Bießmann <andreas@biessmann.org>
-
- Feb 29, 2016
-
-
Yuichiro Goto authored
Fix typo in comment about position of 'A' bit in several start.S. Signed-off-by:
Yuichiro Goto <goto.yuichiro@espark.co.jp>
-
- Mar 24, 2015
-
-
Rob Herring authored
Various files are needlessly rebuilt every time due to the version and build time changing. As version.h is not actually needed, remove the include. Signed-off-by:
Rob Herring <robh@kernel.org> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Stefano Babic <sbabic@denx.de> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Tom Warren <twarren@nvidia.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Macpaul Lin <macpaul@andestech.com> Cc: Wolfgang Denk <wd@denx.de> Cc: York Sun <yorksun@freescale.com> Cc: Stefan Roese <sr@denx.de> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Cc: Simon Glass <sjg@chromium.org> Cc: Philippe Reynes <tremyfr@yahoo.fr> Cc: Eric Jarrige <eric.jarrige@armadeus.org> Cc: "David Müller" <d.mueller@elsoft.ch> Cc: Phil Edworthy <phil.edworthy@renesas.com> Cc: Robert Baldyga <r.baldyga@samsung.com> Cc: Torsten Koschorrek <koschorrek@synertronixx.de> Cc: Anatolij Gustschin <agust@denx.de> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Reviewed-by:
Łukasz Majewski <l.majewski@samsung.com>
-
- May 15, 2014
-
-
Albert ARIBAUD authored
Exception handling is basically identical for all ARM targets. Factorize it out of the various start.S files and into a single vectors.S file, and adjust linker scripts accordingly. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Albert ARIBAUD authored
Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Albert ARIBAUD authored
arch/arm/cpu/arm1136/start.S contain a cache flushing function. Remove the function and move its code into arch/arm/lib/cache.c. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Feb 26, 2014
-
-
Albert ARIBAUD authored
Remove the last uses of symbol offsets in ARM U-Boot. Remove some needless uses of _TEXT_BASE. Remove all _TEXT_BASE definitions. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Oct 14, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Jun 10, 2013
-
-
Tom Rini authored
The omap2420H4 was the only mainline omap24xx board. Prior to being fixed by Jon Hunter in time for v2013.04 it had been functionally broken for a very long time. Remove this board as there's not been interest in it in U-Boot for quite a long time. Signed-off-by:
Tom Rini <trini@ti.com>
-
- May 30, 2013
-
-
Albert ARIBAUD authored
Replace all relocate_code routines from ARM start.S files with a single instance in file arch/arm/lib/relocate.S. For PXA, this requires moving the dcache unlocking code from within relocate_code into c_runtime_cpu_setup. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Tested-by:
Simon Glass <sjg@chromium.org>
-
Albert ARIBAUD authored
Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Tested-by:
Simon Glass <sjg@chromium.org>
-
- Apr 13, 2013
-
-
Tetsuyuki Kobayashi authored
When swi instruction is executed, it is expected to get message "software interrupt" in console and dump registers and reboot, as do_software_interrupt() in arch/arm/lib/interrupts.c. But, actually it causes data abort accessing wrong address in get_bad_stack_swi macro in arch/arm/cpu/v7/start.S. This patch fixes this problem. The same mistake in arch/arm/cpu/{arm1136,arm1176,pxa}/start.S. Signed-off-by:
Tetsuyuki Kobayashi <koba@kmckk.co.jp>
-
- Apr 12, 2013
-
-
Benoît Thébaudeau authored
Commit e05e5de7 made the 2 1st parameters of ARM's relocate_code() useless since it moved the code handling them to crt0.S. So, drop these parameters. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Use __image_copy_end instead of __bss_start for the end of the image to relocate. This is the same as commit 033ca724, but applied to all ARM start.S. This is a more appropriate symbol naming for an image copy & relocate feature, and this also saves a useless copy of data put between __image_copy_end and __bss_start in linker scripts (e.g. relocation information, or MMU initialization tables used only before jumping to the relocated image). Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Commit e05e5de7 made ARM's relocate_code() return to its caller, but it did not update its declaration accordingly. Fixing this function declaration fixes dropped C code following calls to relocate_code(). Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
_TEXT_BASE must be set to CONFIG_SPL_TEXT_BASE for generic SPL, and to CONFIG_SYS_TEXT_BASE for non-SPL builds. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
- Mar 15, 2013
-
-
Simon Glass authored
Note this is a tree-wide change affecting multiple architectures. At present we use __bss_start, but mostly __bss_end__. This seems inconsistent and in a number of places __bss_end is used instead. Change to use __bss_end for the BSS end symbol throughout U-Boot. This makes it possible to use the asm-generic/sections.h file on all archs. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Jan 08, 2013
-
-
Albert ARIBAUD authored
Move all the C runtime setup code from every start.S in arch/arm into arch/arm/lib/crt0.S. This covers the code sequence from setting up the initial stack to calling into board_init_r(). Also, rewrite the C runtime setup and make functions board_init_*() and relocate_code() behave according to normal C semantics (no jumping across the C stack any more, etc). Some SPL targets had to be touched because they use start.S explicitly or for some reason; the relevant maintainers and custodians are cc:ed. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Oct 26, 2012
-
-
Stefano Babic authored
This patch modifies start.S for the arm1136 to make it conform to start.S in armv7 architecture, to make it usable if the SPL framework is used. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
- Oct 04, 2012
-
-
Zhong Hongbo authored
When the u-boot address of destination equal to __start, no relocation. relocation offset(r9) = 0. Signed-off-by:
Zhong Hongbo <bocui107@gmail.com> Tested-by:
Stefano Babic <sbabic@denx.de>
-
- Jul 20, 2012
-
-
Zhong Hongbo authored
In currently, when __bss_start is equal to __bss_end__, The bss loop will clear all the things in memory space. But just only when __bss_end__ greater than __bss_start__, we do the clear bss section operation. Signed-off-by:
Zhong Hongbo <bocui107@gmail.com> Acked-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
- Aug 04, 2011
-
-
Albert ARIBAUD authored
There was a mix of UTF-8 and ISO-8859 files in the U-Boot source tree, which could cause issues with the patchwork review system. This commit converts all ISO-8859 files to UTF-8. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Jul 26, 2011
-
-
Aneesh V authored
replace all occurences of CONFIG_PRELOADER with CONFIG_SPL_BUILD Signed-off-by:
Aneesh V <aneesh@ti.com>
-
- Jul 04, 2011
-
-
Aneesh V authored
Replace the cache related CONFIG flags with more meaningful names. Following are the changes: CONFIG_L2_OFF -> CONFIG_SYS_L2CACHE_OFF CONFIG_SYS_NO_ICACHE -> CONFIG_SYS_ICACHE_OFF CONFIG_SYS_NO_DCACHE -> CONFIG_SYS_DCACHE_OFF Signed-off-by:
Aneesh V <aneesh@ti.com> V2: * Changed CONFIG_L2_OFF -> CONFIG_SYS_NO_L2CACHE V4: * Changed all three flags to the final names suggested as above and accordingly changed the commit message
-
- Mar 27, 2011
-
-
Po-Yu Chuang authored
Monitor protection region in FLASH did not cover .rel.dyn and .dynsym sections, because it uses __bss_start to compute monitor_flash_len. Use _end instead. Add _end to linker scripts for end of u-boot image Add _end_ofs to all the start.S. Signed-off-by:
Po-Yu Chuang <ratbert@faraday-tech.com>
-
Po-Yu Chuang authored
Currently, _end is used for end of BSS section. We want _end to mean end of u-boot image, so we rename _end to __bss_end__ first. Signed-off-by:
Po-Yu Chuang <ratbert@faraday-tech.com>
-
- Feb 21, 2011
-
-
Fabio Estevam authored
Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Fabio Estevam authored
Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Magnus Lilja <lilja.magnus@gmail.com> Tested-by:
Magnus Lilja <lilja.magnus@gmail.com>
-
- Feb 01, 2011
-
-
Liu Hui-R64343 authored
Remove the useless code from start.S Signed-off-by:
Jason Liu <r64343@freescale.com> Tested-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
- Dec 13, 2010
-
-
Wolfgang Denk authored
Make code build with older tool chains. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Dec 09, 2010
-
-
Andreas Bießmann authored
r8 is used for global_data and should therefore be left alone! For C code the compiler flag --fixed-r8 does the job, but in assembler we need to be aware of that fact. Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Andreas Bießmann authored
In case we are still at relocation target address before relocation we do not need to load the registers needed for relocation. We should instead skip the whole relocation part and jump over to clear_bss immediately. Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Andreas Bießmann authored
This patch uses r1 as scratch register for copy_loop(). Therefore we do not longer need r7 for the storage of relocate_code()'s 'addr_moni' (the destination address of relocation). Therefore r7 can be used later on for other purposes. Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
- Dec 08, 2010
-
-
Heiko Schocher authored
suggested from Daniel Hobi<daniel.hobi@schmid-telecom.ch> Tested on following boards: arm1136: qong armv7: omap3_beagle arm926ejs: magnesium, tx25 Signed-off-by:
Heiko Schocher <hs@denx.de> cc: Daniel Hobi <daniel.hobi@schmid-telecom.ch> cc: Albert ARIBAUD <albert.aribaud@free.fr>
-
- Nov 17, 2010
-
-
Albert Aribaud authored
older ld emitted all ELF relocations in input sections named .rel.dyn, whereas newer ld uses names of the form .rel*. The linker script only collected .rel.dyn input sections. Rewrite to collect all .rel* input sections. Signed-off-by:
Albert Aribaud <albert.aribaud@free.fr>
-
- Oct 29, 2010
-
-
Wolfgang Denk authored
For ARM systems, before ELF relocation was introduced, CONFIG_SKIP_RELOCATE_UBOOT coul be used to prevent *COPYING* the U-Boot image from whereever it was loaded to it's link address (CONFIG_SYS_TEXT_BASE). The name was badly chosen, as no relocation was performed at all, it was just a memcpy(). With ELF relocation, this does not work like that any more, and related boards need to be fixed anyway. So don't keep this relict any longer. Signed-off-by:
Wolfgang Denk <wd@denx.de> Tested-by:
Heiko Schocher <hs@denx.de> Tested-by:
Reinhard Meyer <u-boot@emk-elektronik.de>
-
Wolfgang Denk authored
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:
Wolfgang Denk <wd@denx.de> Tested-by:
Heiko Schocher <hs@denx.de> Tested-by:
Reinhard Meyer <u-boot@emk-elektronik.de>
-