| #
a132f770 |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Record time taken to set up the live device tree
This time is interesting as a comparision with the flat device tree time. Add it to the record.
Signed-off-by: Simon Glass <sjg@chromium.
bootstage: Record time taken to set up the live device tree
This time is interesting as a comparision with the flat device tree time. Add it to the record.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
824bb1b4 |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Support SPL
At present bootstage only supports U-Boot proper. But SPL can also consume boot time so it is useful to have the record start there.
Add bootstage support to SPL. Also suppor
bootstage: Support SPL
At present bootstage only supports U-Boot proper. But SPL can also consume boot time so it is useful to have the record start there.
Add bootstage support to SPL. Also support stashing the timing information when SPL finishes so that it can be picked up and reported by U-Boot proper. This provides a full boot time record, excluding only the time taken by the boot ROM.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
9d2542d0 |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Adjust to use const * where possible
There are a few places that should use const *, such as bootstage_unstash(). Update these to make it clearer when parameters are changed.
Signed-off-
bootstage: Adjust to use const * where possible
There are a few places that should use const *, such as bootstage_unstash(). Update these to make it clearer when parameters are changed.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
e003310a |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Tidy up error return values
We should return a proper error number instead of just -1. This helps the caller to determine what when wrong. Update a few functions to fix this.
Signed-off-
bootstage: Tidy up error return values
We should return a proper error number instead of just -1. This helps the caller to determine what when wrong. Update a few functions to fix this.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
63c5bf48 |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Record the time taken to set up driver model
Driver model is set up ones before relocation and once after. Record the time taken in each case.
Signed-off-by: Simon Glass <sjg@chromium.or
bootstage: Record the time taken to set up driver model
Driver model is set up ones before relocation and once after. Record the time taken in each case.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
25e7dc6a |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Support relocating boostage data
Some boards cannot access pre-relocation data after relocation. Reserve space for this and copy it during preparation for relocation.
Signed-off-by: Simo
bootstage: Support relocating boostage data
Some boards cannot access pre-relocation data after relocation. Reserve space for this and copy it during preparation for relocation.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
cbcd6970 |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Fix up code style and comments
There are several code style and comment nits. Fix them and also remove the comment about passing bootstage to the kernel being TBD. This is already support
bootstage: Fix up code style and comments
There are several code style and comment nits. Fix them and also remove the comment about passing bootstage to the kernel being TBD. This is already supported.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
b383d6c0 |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Convert to use malloc()
At present bootstage uses the data section of the image to store its information. There are a few problems with this:
- It does not work on all boards (e.g. those
bootstage: Convert to use malloc()
At present bootstage uses the data section of the image to store its information. There are a few problems with this:
- It does not work on all boards (e.g. those which run from flash before relocation) - Allocated strings still point back to the pre-relocation data after relocation
Now that U-Boot has a pre-relocation malloc() we can use this instead, with a pointer to the data in global_data. Update bootstage to do this and set up an init routine to allocate the memory.
Now that we have a real init function, we can drop the fake 'reset' record and add a normal one instead.
Note that part of the problem with allocated strings remains. They are reallocated but this will only work where pre-relocation memory is accessible after relocation.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
c87dc38d |
| 22-May-2017 |
Simon Glass <sjg@chromium.org> |
bootstage: Require timer_get_boot_us() to be defined
At present we provide a default version of this function for use by bootstage. However it uses the system timer and therefore likely requires dri
bootstage: Require timer_get_boot_us() to be defined
At present we provide a default version of this function for use by bootstage. However it uses the system timer and therefore likely requires driver model. This makes it impossible to time driver-model init.
Drop the function and require boards to provide their own. Add a sandbox version also. There is a default implememtation in lib/time.c for boards which use CONFIG_SYS_TIMER_COUNTER.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
dc557e9a |
| 18-Jun-2016 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
|
| #
496c5483 |
| 07-Jun-2016 |
Heiko Schocher <hs@denx.de> |
bootstage: call show_boot_progress also in SPL
show_boot_progress() is now called from SPL also.
Signed-off-by: Heiko Schocher <hs@denx.de>
|
| #
ec8fb48c |
| 24-May-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
|
| #
62afc601 |
| 17-May-2016 |
Michal Simek <michal.simek@xilinx.com> |
image: Add boot_get_fpga() to load fpga with bootm
Add function boot_get_fpga() which find and load bitstream to programmable logic if fpga entry is present. Function is supported on Xilinx devices
image: Add boot_get_fpga() to load fpga with bootm
Add function boot_get_fpga() which find and load bitstream to programmable logic if fpga entry is present. Function is supported on Xilinx devices for full and partial bitstreams in BIN and BIT format.
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Remove additional blankline in image.h
show more ...
|
| #
84a07dbf |
| 21-May-2015 |
Karl Apsite <karl.apsite@dornerworks.com> |
add boot_get_loadables() to load listed images
Added a trimmed down instance of boot_get_<thing>() to satisfy the minimum requierments of the added feature. The function follows the normal patterns
add boot_get_loadables() to load listed images
Added a trimmed down instance of boot_get_<thing>() to satisfy the minimum requierments of the added feature. The function follows the normal patterns set by other boot_get<thing>'s, which should make it a bit easier to combine them all together into one boot_get_image() function in a later refactor.
Documentation for the new function can be found in source: include/image.h
Signed-off-by: Karl Apsite <Karl.Apsite@dornerworks.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
28b5404c |
| 04-May-2015 |
Simon Glass <sjg@chromium.org> |
bootstage: Add IDs for SPI flash reading and decompression
We maintain an accumulator for time spent reading from SPI flash, since this can be significant on some platforms. Also add one for decompr
bootstage: Add IDs for SPI flash reading and decompression
We maintain an accumulator for time spent reading from SPI flash, since this can be significant on some platforms. Also add one for decompression time.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
show more ...
|
| #
b939689c |
| 05-May-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
ee2b2434 |
| 03-Mar-2015 |
Simon Glass <sjg@chromium.org> |
Kconfig: Move CONFIG_BOOTSTAGE to Kconfig
Move CONFIG_BOOT_STAGE and its associated options to Kconfig. Adjust existing users and code.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
e1cc4d31 |
| 24-Feb-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge remote-tracking branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
e72d3443 |
| 13-Feb-2015 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
db7a7dee |
| 10-Feb-2015 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-x86
|
| #
1b15fac1 |
| 02-Feb-2015 |
Bin Meng <bmeng.cn@gmail.com> |
bootstage: Fix typos in the comment
There are two typos in the comment block in bootstage.h, fix them.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
|
| #
abbdb262 |
| 28-Jan-2015 |
Simon Glass <sjg@chromium.org> |
scsi: bootstage: Measure time taken to scan the bus
On some hardware this time can be significant. Add bootstage support for measuring this. The result can be obtained using 'bootstage report' or pa
scsi: bootstage: Measure time taken to scan the bus
On some hardware this time can be significant. Add bootstage support for measuring this. The result can be obtained using 'bootstage report' or passed on to the Linux via the device tree.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| #
90268b87 |
| 20-Oct-2014 |
Simon Glass <sjg@chromium.org> |
x86: Support loading kernel setup from a FIT
Add a new setup@ section to the FIT which can be used to provide a setup binary for booting Linux on x86. This makes it possible to boot x86 from a FIT.
x86: Support loading kernel setup from a FIT
Add a new setup@ section to the FIT which can be used to provide a setup binary for booting Linux on x86. This makes it possible to boot x86 from a FIT.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
e20cc2ca |
| 18-Aug-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://88.191.163.10/u-boot-arm
Fixup an easy conflict over adding the clk_get prototype and USB_OTG defines for am33xx having moved.
Conflicts: arch/arm/include/asm/arch-a
Merge branch 'master' of git://88.191.163.10/u-boot-arm
Fixup an easy conflict over adding the clk_get prototype and USB_OTG defines for am33xx having moved.
Conflicts: arch/arm/include/asm/arch-am33xx/hardware.h
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| #
7f442e36 |
| 05-Aug-2013 |
Heiko Schocher <hs@denx.de> |
bootstage: get more BOOTSTAGE_ID* in show_boot_progress()
In case CONFIG_BOOTSTAGE is not defined, call from bootstage_mark_name() show_boot_progress(), so get more BOOTSTAGE_ID* ids in show_boot_pr
bootstage: get more BOOTSTAGE_ID* in show_boot_progress()
In case CONFIG_BOOTSTAGE is not defined, call from bootstage_mark_name() show_boot_progress(), so get more BOOTSTAGE_ID* ids in show_boot_progress() if CONFIG_BOOTSTAGE is not defined.
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@ti.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|