| e945f6dc | 08-May-2014 |
Michal Simek <michal.simek@xilinx.com> |
microblaze: Move architecture to use generic board init
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing.
Signed-off-by: Michal Simek <micha
microblaze: Move architecture to use generic board init
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|
| 61d7b1bb | 19-Jan-2015 |
Andreas Bießmann <andreas.devel@googlemail.com> |
common/board_r: manual relocation for cmd table
This is required for architectures still need manual relocation like avr32, mk68 and others.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemai
common/board_r: manual relocation for cmd table
This is required for architectures still need manual relocation like avr32, mk68 and others.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|
| 2b8b38ea | 21-Jan-2015 |
Heiko Schocher <hs@denx.de> |
common/board_f: add at91 wdt
call hw_watchdog_init() also if CONFIG_AT91SAM9_WATCHDOG is used.
Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-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 ...
|
| 8e3da9dd | 30-Jan-2015 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-dm |
| 2d73f0d6 | 26-Jan-2015 |
Michal Simek <michal.simek@xilinx.com> |
fpga: Extend dump description
There are missing parameters in help which fpga dump command requires.
Signed-off-by: Michal Simek <michal.simek@xilinx.com> |
| 89fc8bbf | 19-Jan-2015 |
Bin Meng <bmeng.cn@gmail.com> |
cmd: Fix gettime command help
Remove the additional ',' and '\n' from the gettime command help.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
| b37b46f0 | 23-Jan-2015 |
Ruchika Gupta <ruchika.gupta@freescale.com> |
rsa: Use checksum algorithms from struct hash_algo
Currently the hash functions used in RSA are called directly from the sha1 and sha256 libraries. Change the RSA checksum library to use the progres
rsa: Use checksum algorithms from struct hash_algo
Currently the hash functions used in RSA are called directly from the sha1 and sha256 libraries. Change the RSA checksum library to use the progressive hash API's registered with struct hash_algo. This will allow the checksum library to use the hardware accelerated progressive hash API's once available.
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> CC: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> (Fixed build error in am335x_boneblack_vboot due to duplicate CONFIG_DM)
Change-Id: Ic44279432f88d4e8594c6e94feb1cfcae2443a54
show more ...
|
| 2dd90027 | 23-Jan-2015 |
Ruchika Gupta <ruchika.gupta@freescale.com> |
Use hash.c in mkimage
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> CC: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org> |
| 46fe2c04 | 23-Jan-2015 |
Ruchika Gupta <ruchika.gupta@freescale.com> |
hash: Add function to find hash_algo struct with progressive hash
The hash_algo structure has some implementations in which progressive hash API's are not defined. These are basically the hardware b
hash: Add function to find hash_algo struct with progressive hash
The hash_algo structure has some implementations in which progressive hash API's are not defined. These are basically the hardware based implementations of SHA. An API is added to find the algo which has progressive hash API's defined. This can then be integrated with RSA checksum library which uses Progressive Hash API's.
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> CC: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 49cad547 | 26-Jan-2015 |
Martin Dorwig <dorwig@tetronik.com> |
Export redesign
this is an atempt to make the export of functions typesafe. I replaced the jumptable void ** by a struct (jt_funcs) with function pointers. The EXPORT_FUNC macro now has 3 fixed para
Export redesign
this is an atempt to make the export of functions typesafe. I replaced the jumptable void ** by a struct (jt_funcs) with function pointers. The EXPORT_FUNC macro now has 3 fixed parameters and one variadic parameter The first is the name of the exported function, the rest of the parameters are used to format a functionpointer in the jumptable,
the EXPORT_FUNC macros are expanded three times, 1. to declare the members of the struct 2. to initialize the structmember pointers 3. to call the functions in stubs.c
Signed-off-by: Martin Dorwig <dorwig@tetronik.com> Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org> (resending to the list since my tweaks are not quite trivial)
show more ...
|
| 25ab4b03 | 25-Jan-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Provide an offset length parameter where needed
Rather than assuming that the chip offset length is 1, allow it to be provided. This allows chips that don't use the default offset length to
dm: i2c: Provide an offset length parameter where needed
Rather than assuming that the chip offset length is 1, allow it to be provided. This allows chips that don't use the default offset length to be used (at present they are only supported by the command line 'i2c' command which sets the offset length explicitly).
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
show more ...
|
| f9a4c2da | 13-Jan-2015 |
Simon Glass <sjg@chromium.org> |
dm: i2c: Rename driver model I2C functions to permit compatibility
Add a dm_ prefix to driver model I2C functions so that we can keep the old ones around.
This is a little unfortunate, but on refle
dm: i2c: Rename driver model I2C functions to permit compatibility
Add a dm_ prefix to driver model I2C functions so that we can keep the old ones around.
This is a little unfortunate, but on reflection it is too difficult to change the API. We can undo this rename when most boards and drivers are converted to use driver model for I2C.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| a02af4ae | 06-Jan-2015 |
Simon Glass <sjg@chromium.org> |
dm: demo: Add a simple GPIO demonstration
Add a new 'demo light' command which uses GPIOs to control imaginary lights. Each light is assigned a bit number in the overall value. This provides an exam
dm: demo: Add a simple GPIO demonstration
Add a new 'demo light' command which uses GPIOs to control imaginary lights. Each light is assigned a bit number in the overall value. This provides an example driver for using the new GPIO API.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 0365ffcc | 14-Jan-2015 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
generic-board: show model name in board_init_f() too
The common/board_r.c has show_model_r() to display the model name if the DTB has a "model" property. It sounds useful to have a similar function
generic-board: show model name in board_init_f() too
The common/board_r.c has show_model_r() to display the model name if the DTB has a "model" property. It sounds useful to have a similar function in common/board_f.c too because most of the boards show their board name before relocation.
Instead of implementing the same function in both common/board_f.c and common/board_r.c, let's split it up into common/show_board_info.c.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 5468461d | 19-Dec-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
cmd_i2c: change variable type for 10bit addressing support
To store 10bit chip address, the variable type should not be uchar, but uint.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> C
cmd_i2c: change variable type for 10bit addressing support
To store 10bit chip address, the variable type should not be uchar, but uint.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher<hs@denx.de>
show more ...
|
| e3046ba4 | 15-Jan-2015 |
Michal Simek <michal.simek@xilinx.com> |
common: bootm: Document fake bootm sub-command
Fake option is enabled only when CONFIG_TRACE is enabled in common/bootm.c:do_boot_states().
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Rev
common: bootm: Document fake bootm sub-command
Fake option is enabled only when CONFIG_TRACE is enabled in common/bootm.c:do_boot_states().
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 39931f96 | 15-Jan-2015 |
Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> |
dumpimage: fit: extract FIT images
The dumpimage is able to extract components contained in a FIT image:
$ ./dumpimage -T flat_dt -i CONTAINER.ITB -p INDEX FILE
The CONTAINER.ITB is a regular FI
dumpimage: fit: extract FIT images
The dumpimage is able to extract components contained in a FIT image:
$ ./dumpimage -T flat_dt -i CONTAINER.ITB -p INDEX FILE
The CONTAINER.ITB is a regular FIT container file. The INDEX is the poisition of the sub-image to be retrieved, and FILE is the file (path+name) to save the extracted sub-image.
For example, given the following kernel.its to build a kernel.itb:
/dts-v1/; / { ... images { kernel@1 { description = "Kernel 2.6.32-34"; data = /incbin/("/boot/vmlinuz-2.6.32-34-generic"); type = "kernel"; arch = "ppc"; os = "linux"; compression = "gzip"; load = <00000000>; entry = <00000000>; hash@1 { algo = "md5"; }; }; ... }; ... };
The dumpimage can extract the 'kernel@1' node through the following command:
$ ./dumpimage -T flat_dt -i kernel.itb -p 0 kernel Extracted: Image 0 (kernel@1) Description: Kernel 2.6.32-34 Created: Wed Oct 22 15:50:26 2014 Type: Kernel Image Compression: gzip compressed Data Size: 4040128 Bytes = 3945.44 kB = 3.85 MB Architecture: PowerPC OS: Linux Load Address: 0x00000000 Entry Point: 0x00000000 Hash algo: md5 Hash value: 22352ad39bdc03e2e50f9cc28c1c3652
Which results in the file 'kernel' being exactly the same as '/boot/vmlinuz-2.6.32-34-generic'.
Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
show more ...
|
| 067d1560 | 15-Jan-2015 |
Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> |
imagetool: make the image_save_datafile() available to all image types
Move the image_save_datafile() function from an U-Multi specific file (default_image.c) to a file common to all image types (im
imagetool: make the image_save_datafile() available to all image types
Move the image_save_datafile() function from an U-Multi specific file (default_image.c) to a file common to all image types (image.c). And rename it to genimg_save_datafile(), to make clear it is useful for any image type.
Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
show more ...
|
| c72b65cc | 12-Jan-2015 |
Pieter Voorthuijsen <pieter.voorthuijsen@prodrive-technologies.com> |
common: add cache flush to imxtract function
A cache flush is required when an image is extracted that is required on another core.
Signed-off-by: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive-
common: add cache flush to imxtract function
A cache flush is required when an image is extracted that is required on another core.
Signed-off-by: Pieter Voorthuijsen <pieter.voorthuijsen@prodrive-technologies.com>
show more ...
|
| e86df6ef | 05-Jan-2015 |
Sjoerd Simons <sjoerd.simons@collabora.co.uk> |
part: let list put the list in an environment variable
Add an optional third argument to the "part list" command which puts a space seperated list of valid partitions into the given environment vari
part: let list put the list in an environment variable
Add an optional third argument to the "part list" command which puts a space seperated list of valid partitions into the given environment variable. This is useful for allowing boot scripts to iterate of all partitions of a device.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| 1a1ad8e0 | 05-Jan-2015 |
Sjoerd Simons <sjoerd.simons@collabora.co.uk> |
fs: Add command to retrieve the filesystem type
New command to determine the filesystem type of a given partition. Optionally stores the filesystem type in a environment variable.
Signed-off-by: Sj
fs: Add command to retrieve the filesystem type
New command to determine the filesystem type of a given partition. Optionally stores the filesystem type in a environment variable.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| f82eb2fa | 14-Jan-2015 |
Nikita Kiryanov <nikita@compulab.co.il> |
common: convert compulab splash load code to common code
Move board/compulab/common/splash.c code to common/splash_source.c to make it available for everybody. This move renames cl_splash_screen_pre
common: convert compulab splash load code to common code
Move board/compulab/common/splash.c code to common/splash_source.c to make it available for everybody. This move renames cl_splash_screen_prepare() to splash_source_load(), and the compilation of this code is conditional on CONFIG_SPLASH_SOURCE.
splash_source features: * Provide a standardized way for declaring board specific splash screen locations * Provide existing routines for auto loading the splash image from the locations as declared by the board * Introduce the "splashsource" environment variable, which makes it possible to select the splash image source.
cm-t35 and cm-fx6 are updated to use the modified version.
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Cc: Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Anatolij Gustschin <agust@denx.de> Reviewed-by: Tom Rini <trini@ti.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
show more ...
|
| 2af13d6b | 28-Jan-2015 |
Bo Shen <voice.shen@atmel.com> |
lcd: fix console address is not initialized
This commit 904672e (lcd: refactor lcd console stuff into its own file), which cause lcd console address is not initialized.
This patch initialize the lc
lcd: fix console address is not initialized
This commit 904672e (lcd: refactor lcd console stuff into its own file), which cause lcd console address is not initialized.
This patch initialize the lcd console use the default value, will be update when splash screen is enabled.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
show more ...
|
| e860d012 | 27-Jan-2015 |
Stefan Roese <sr@denx.de> |
spl: Change printf to puts for "Unsupported boot-device"
Microblaze currently doesn't use printf in SPL. So this one line was the only reference to it and resulted in the printf functionality to be
spl: Change printf to puts for "Unsupported boot-device"
Microblaze currently doesn't use printf in SPL. So this one line was the only reference to it and resulted in the printf functionality to be pulled in. Exceeding the 4k size limit. Lets change the printf back to puts so that Microblaze is fixed again. The only drawback is that the detected boot-device number will not be printed. But this message alone should be helpful enough to get an idea where the boot process is broken.
Signed-off-by: Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Michal Simek <michal.simek@xilinx.com> Acked-by: Michal Simek <michal.simek@xilinx.com>
show more ...
|