Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01, v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04, v2018.07 |
|
#
83d290c5 |
| 06-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one.
Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
#
423effc0 |
| 23-Mar-2018 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-arc
Alexey: 1. Significantly rework cache-related functionality. In particular that fixes coherency problems in some corner-cases, allows us to enable and dis
Merge git://git.denx.de/u-boot-arc
Alexey: 1. Significantly rework cache-related functionality. In particular that fixes coherency problems in some corner-cases, allows us to enable and disable caches in run-time and still have properly running system, finally support execution from real flash (before we used to run from DDR from the very beginning).
2. Remove string routines implemented in assembly. That allows us to build and run U-Boot on wide range of ARC cores with different configurations. I.e. whatever tuning is used on GCC's command-line we'll get code for desired flavor of ARC. Otherwise for each and every corner-case we would need to add ifdefs in assembly code to accommodate missing instructions etc.
3. Get use of GCC's garbage collector which helps to slim-down resulting image quite a bit.
4. Also now we may disable U-Boot self-relocation for ARC if needed either by platform or for debugging purposes.
show more ...
|
Revision tags: v2018.03 |
|
#
2178817c |
| 24-Jan-2018 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: Get rid of handwritten string routines
U-Boot is a bit special piese of software because it is being only executed once on power-on as compared to operating system for example. That's why we do
arc: Get rid of handwritten string routines
U-Boot is a bit special piese of software because it is being only executed once on power-on as compared to operating system for example. That's why we don't care much about performance optimizations instead we're more concerned about size. And up-to-date compilers might produce much smaller code compared to performance-optimized routines copy-pasted from the Linux kernel.
Here's an example: ------------------------------->8-------------------------- --- size_asm_strings.txt +++ size_c_strings.txt @@ -1,2 +1,2 @@ text data bss dec hex filename - 121260 3784 3308 128352 1f560 u-boot + 120448 3784 3308 127540 1f234 u-boot ------------------------------->8--------------------------
See we were able to shave off ~800 bytes of .text section.
Also usage of string routines implemented in C gives us an ability to support more HW flavors for free: generated instructions will match our target as long as correct compiler option is used.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
Revision tags: v2018.01, v2017.11 |
|
#
1c694102 |
| 21-Mar-2017 |
Vlad Zakharov <vzakhar@synopsys.com> |
arc: use timer driver for ARC boards
This commit replaces legacy timer code with usage of arc timer driver.
It removes arch/arc/lib/time.c file and selects CONFIG_CLK, CONFIG_TIMER and CONFIG_ARC_T
arc: use timer driver for ARC boards
This commit replaces legacy timer code with usage of arc timer driver.
It removes arch/arc/lib/time.c file and selects CONFIG_CLK, CONFIG_TIMER and CONFIG_ARC_TIMER options for all ARC boards by default. Therefore we remove CONFIG_CLK option from less common axs101 and axs103 defconfigs.
Also it removes legacy CONFIG_SYS_TIMER_RATE config symbol from axs10x.h, tb100.h and nsim.h configs files as it is no longer required.
Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
5cf618ee |
| 24-Mar-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-arc
This replaces legacy arch/arc/lib/timer.c implementation and allows us to describe ARC Timers in Device Tree. Among other things that way we may properly inherit T
Merge git://git.denx.de/u-boot-arc
This replaces legacy arch/arc/lib/timer.c implementation and allows us to describe ARC Timers in Device Tree. Among other things that way we may properly inherit Timer's clock from CPU's clock s they really run synchronously.
show more ...
|
#
3daa7c7b |
| 21-Mar-2017 |
Vlad Zakharov <vzakhar@synopsys.com> |
arc: use timer driver for ARC boards
This commit replaces legacy timer code with usage of arc timer driver.
It removes arch/arc/lib/time.c file and selects CONFIG_CLK, CONFIG_TIMER and CONFIG_ARC_T
arc: use timer driver for ARC boards
This commit replaces legacy timer code with usage of arc timer driver.
It removes arch/arc/lib/time.c file and selects CONFIG_CLK, CONFIG_TIMER and CONFIG_ARC_TIMER options for all ARC boards by default. Therefore we remove CONFIG_CLK option from less common axs101 and axs103 defconfigs.
Also it removes legacy CONFIG_SYS_TIMER_RATE config symbol from axs10x.h, tb100.h and nsim.h configs files as it is no longer required.
Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
9bef24d0 |
| 03-Aug-2016 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: No need in sections defined in sources with newer tools
Starting from arc-2016.03 GNU tools linker properly works with symbols defined in linker script and so external declarations are no longe
arc: No need in sections defined in sources with newer tools
Starting from arc-2016.03 GNU tools linker properly works with symbols defined in linker script and so external declarations are no longer required, dump them.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
Revision tags: v2016.07, openbmc-20160624-1, v2016.01-rc1, v2015.10, v2015.10-rc5, v2015.10-rc4, v2015.10-rc3, v2015.10-rc2, v2015.10-rc1, v2015.07, v2015.07-rc3, v2015.07-rc2, v2015.07-rc1, v2015.04 |
|
#
c175f306 |
| 10-Apr-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-arc
|
#
a811492e |
| 10-Apr-2015 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: fix separate compilation of start.o
While testing "arc: make sure _start is in the beginning of .text section" I haven't done proper clean-up of built binaries and so missed another tiny bit th
arc: fix separate compilation of start.o
While testing "arc: make sure _start is in the beginning of .text section" I haven't done proper clean-up of built binaries and so missed another tiny bit that lead to the following error: --->8--- LD u-boot arc-linux-ld.bfd: cannot find arch/arc/lib/start.o Makefile:1107: recipe for target 'u-boot' failed make: *** [u-boot] Error 1 --->8---
Fix is trivial: put "start.o" in "extra-y".
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
#
89576072 |
| 10-Apr-2015 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: make sure _start is in the beginning of .text section
This is important to have entry point in the beginning of .text section because it allows simple loading and execution of U-Boot.
For exam
arc: make sure _start is in the beginning of .text section
This is important to have entry point in the beginning of .text section because it allows simple loading and execution of U-Boot.
For example pre-bootloader loads U-Boot in memory starting from offset 0x81000000 and then just jumps to the same address.
Otherwise pre-bootloader would need to find-out where entry-point is. In its turn if it deals with binary image of U-Boot there's no way for pre-bootloader to get required value.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
#
b491d975 |
| 10-Apr-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master'
|
#
d68df028 |
| 03-Apr-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-arc
|
Revision tags: v2015.04-rc5, v2015.04-rc4, v2015.04-rc3 |
|
#
3fb80163 |
| 24-Feb-2015 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: clean-up init procedure
Intention behind this work was elimination of as much assembly-written code as it is possible.
In case of ARC we already have relocation fix-up implemented in C so why
arc: clean-up init procedure
Intention behind this work was elimination of as much assembly-written code as it is possible.
In case of ARC we already have relocation fix-up implemented in C so why don't we use C for U-Boot copying, .bss zeroing etc.
It turned out x86 uses pretty similar approach so we re-used parts of code in "board_f.c" initially implemented for x86.
Now assembly usage during init is limited to stack- and frame-pointer setup before and after relocation.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Simon Glass <sjg@chromium.org>
show more ...
|
#
8ee28251 |
| 24-Feb-2015 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: move low-level interrupt and exception handlers in a separate file
This separation makes maintenance of code easier because those low-level interrupt- or exception handling routines are pretty
arc: move low-level interrupt and exception handlers in a separate file
This separation makes maintenance of code easier because those low-level interrupt- or exception handling routines are pretty static and usually require not much care while start-up code is a subject of modifications and enhancements.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
#
4d93617d |
| 19-Feb-2015 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: merge common start-up code between ARC and ARCv2
Even though ARCompact and ARCv2 are not binary compatible most of assembly instructions are used in both. With this change we'll get rid of dupl
arc: merge common start-up code between ARC and ARCv2
Even though ARCompact and ARCv2 are not binary compatible most of assembly instructions are used in both. With this change we'll get rid of duplicate code.
Still IVTs are implemented differently so we're keeping them in separate files.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
#
e1cc4d31 |
| 24-Feb-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge remote-tracking branch 'u-boot/master' into 'u-boot-arm/master'
|
Revision tags: v2015.04-rc2 |
|
#
e72d3443 |
| 13-Feb-2015 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
#
10918c03 |
| 09-Feb-2015 |
Tom Rini <trini@ti.com> |
Merge git://git.denx.de/u-boot-arc
|
#
a67ef280 |
| 03-Feb-2015 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: build libgcc in U-Boot
This way we may have very limited set of functions implemented so we save some space.
Also it allows us to build U-Boot for any ARC core with the same one toolchain beca
arc: build libgcc in U-Boot
This way we may have very limited set of functions implemented so we save some space.
Also it allows us to build U-Boot for any ARC core with the same one toolchain because we don't rely on pre-built libgcc.
For example: * we may use little-endian toolchain but build U-Boot for ether endianess * we may use non-multilibbed uClibc toolchain but build U-Boot for whatever ARC CPU flavour that current GCC supports
Private libgcc built from generic C implementation contributes only 144 bytes to .text section so we don't see significant degradation of size: --->8--- $ arc-linux-size u-boot.libgcc-prebuilt text data bss dec hex filename 222217 24912 214820 461949 70c7d u-boot.libgcc-prebuilt
$ arc-linux-size u-boot.libgcc-private text data bss dec hex filename 222361 24912 214820 462093 70d0d u-boot.libgcc-private --->8---
Also I don't notice visible performance degradation compared to pre-built libgcc (where at least "*div*" functions are had-written in assembly) on typical operations of downloading 10Mb uImage over TFTP and bootm.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
show more ...
|
Revision tags: v2015.04-rc1 |
|
#
768f6096 |
| 20-Jan-2015 |
Tom Rini <trini@ti.com> |
Merge git://git.denx.de/u-boot-arc
|
Revision tags: v2015.01, v2015.01-rc4 |
|
#
660d5f0d |
| 27-Dec-2014 |
Alexey Brodkin <abrodkin@synopsys.com> |
arc: move common sources in library
"reset.c" and "cpu.c" have no architecture-specific code at all. Others are applicable to either ARC CPU.
This change is a preparation to submission of ARCv2 arc
arc: move common sources in library
"reset.c" and "cpu.c" have no architecture-specific code at all. Others are applicable to either ARC CPU.
This change is a preparation to submission of ARCv2 architecture port.
Even though ARCv1 and ARCv2 ISAs are not binary compatible most of built-in modules still have the same programming model - AUX registers are mapped in the same addresses and hold the same data (new featues extend existing ones).
So only low-level assembly code (start-up, interrupt handlers) is left as CPU(actually ISA)-specific. This significantyl simplifies maintenance of multiple CPUs/ISAs.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Igor Guryanov <guryanov@synopsys.com>
show more ...
|
Revision tags: v2015.01-rc3, v2015.01-rc2, v2015.01-rc1, v2014.10, v2014.10-rc3, v2014.10-rc2, v2014.10-rc1, v2014.07, v2014.07-rc4, v2014.07-rc3, v2014.07-rc2, v2014.07-rc1, v2014.04, v2014.04-rc3, v2014.04-rc2 |
|
#
1ad6364e |
| 05-Mar-2014 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-arm
|
Revision tags: v2014.04-rc1 |
|
#
22723828 |
| 04-Feb-2014 |
Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
arc: add library functions
These are library functions used by ARC700 architecture.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Francois Bedard
arc: add library functions
These are library functions used by ARC700 architecture.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Francois Bedard <fbedard@synopsys.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
show more ...
|