28 Apr, 2015
1 commit
23 Apr, 2015
4 commits
-
The timer clock is system clock divided by 4, not fixed 12MHz.
This is common to the SoC, not board specific. Primary core is
fixed when u-boot still runs in board_f. Secondary cores are
fixed by reading a variable set by u-boot.Signed-off-by: York Sun
CC: Mark Rutland -
Add built-in memory test to catch errors after DDR is initialized, before
any other transactions. To enable this test, define CONFIG_FSL_DDR_BIST.
An environmental variable "ddr_bist" is checked before starting test.
It takes a while (several seconds) depending on system memory size.Signed-off-by: York Sun
-
Some SoCs have more than two I2C busses. Instead of adding ifdef
to the driver, macros are put into board header file where
CONFIG_SYS_I2C_MXC is defined.Signed-off-by: York Sun
CC: Heiko Schocher -
This reverts commit 562f8df18da62ae02c4ace1e530451fe82c3312d.
Note: Even un-reverting this patch couldn't works as expected, based
on the latest testing from Heiko Schocher.Signed-off-by: Jagannadha Sutradharudu Teki
Cc: Heiko Schocher
20 Apr, 2015
1 commit
19 Apr, 2015
2 commits
-
Move CONFIG_BOOT_STAGE and its associated options to Kconfig. Adjust
existing users and code.Signed-off-by: Simon Glass
-
Finish eliminating CamelCase from net.c and other failures
Signed-off-by: Joe Hershberger
Acked-by: Simon Glass
18 Apr, 2015
1 commit
-
Sometimes, for example if the display is mounted in portrait mode or even if it
is mounted landscape but rotated by 180 degrees, we need to rotate our content
of the display respectively the framebuffer, so that user can read the messages
which are printed out.For this we introduce the feature called "CONFIG_LCD_ROTATION", this may be
defined in the board-configuration if needed. After this the lcd_console will
be initialized with a given rotation from "vl_rot" out of "vidinfo_t" which is
provided by the board specific code.If CONFIG_LCD_ROTATION is not defined, the console will be initialized with
0 degrees rotation.Signed-off-by: Hannes Petermaier
Signed-off-by: Hannes Petermaier
Acked-by: Nikita Kiryanov
[agust: fixed 'struct vidinfo' has no member named 'vl_rot' errors]
Signed-off-by: Anatolij Gustschin
10 Apr, 2015
1 commit
-
introduce CONFIG_SPL_PANIC_ON_RAW_IMAGE.
An SPL which define this will panic() if the
image it has loaded does not have a mkimage
signature.Signed-off-by: Albert ARIBAUD (3ADEV)
31 Mar, 2015
1 commit
-
The CONFIG_MTD_NAND_VERIFY_WRITE has been removed from Linux for some
time and a more generic method of NAND verification now exists in U-Boot.Signed-off-by: Peter Tyser
Tested-by: Heiko Schocher
Acked-by: Heiko Schocher
28 Mar, 2015
1 commit
-
Move the option to Kconfig renaming it to CONFIG_HAVE_GENERIC_BOARD.
Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
Reviewed-by: Alexey Brodkin
13 Mar, 2015
5 commits
-
The Driver Model description in README was removed by commit
65eb659e56fa (README: remove description about driver model
configuration options), and was revived by mistake by commit
b79dadf846e5 when resolving the conflict.Signed-off-by: Masahiro Yamada
Cc: Tom Rini
Acked-by: Simon Glass -
621766: Under a specific set of conditions, executing a sequence of
NEON or vfp load instructions can cause processor deadlock
Impacts: Every Cortex-A8 processors with revision lower than r2p1
Work around: Set L1NEON to 1Based on ARM errata Document revision 20.0 (13 Nov 2010)
Signed-off-by: Nishanth Menon
Tested-by: Matt Porter
Reviewed-by: Tom Rini -
430973: Stale prediction on replaced inter working branch causes
Cortex-A8 to execute in the wrong ARM/Thumb state
Impacts: Every Cortex-A8 processors with revision lower than r2p1
Work around: Set IBE to 1Based on ARM errata Document revision 20.0 (13 Nov 2010)
Signed-off-by: Nishanth Menon
Tested-by: Matt Porter
Reviewed-by: Tom Rini -
454179: Stale prediction may inhibit target address misprediction on
next predicted taken branch
Impacts: Every Cortex-A8 processors with revision lower than r2p1
Work around: Set IBE and disable branch size mispredict to 1Also provide a hook for SoC specific handling to take place if needed.
Based on ARM errata Document revision 20.0 (13 Nov 2010)
Signed-off-by: Nishanth Menon
Tested-by: Matt Porter
Reviewed-by: Tom Rini -
Add workaround for Cortex-A15 ARM erratum 798870 which says
"If back-to-back speculative cache line fills (fill A and fill B) are
issued from the L1 data cache of a CPU to the L2 cache, the second
request (fill B) is then cancelled, and the second request would have
detected a hazard against a recent write or eviction (write B) to the
same cache line as fill B then the L2 logic might deadlock."Implementations for SoC families such as Exynos, OMAP5/DRA7 etc
will be widely different.Every SoC has slightly different manner of setting up access to L2ACLR
and similar registers since the Secure Monitor handling of Secure
Monitor Call(smc) is diverse. Hence an weak function is introduced
which may be overriden to implement SoC specific accessor implementation.Based on ARM errata Document revision 18.0 (22 Nov 2013)
Signed-off-by: Nishanth Menon
Tested-by: Matt Porter
Reviewed-by: Tom Rini
11 Mar, 2015
1 commit
-
Conflicts:
READMESigned-off-by: Tom Rini
06 Mar, 2015
1 commit
-
All the DM-related configuration options are described in Kconfig
helps. They should not be duplicated in README.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
05 Mar, 2015
3 commits
-
At present SPL uses a single stack, either CONFIG_SPL_STACK or
CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and
environment) require a lot of stack, some boards set CONFIG_SPL_STACK to
point into SDRAM. They then set up SDRAM very early, before board_init_f(),
so that the larger stack can be used.This is an abuse of lowlevel_init(). That function should only be used for
essential start-up code which cannot be delayed. An example of a valid use is
when only part of the SPL code is visible/executable, and the SoC must be set
up so that board_init_f() can be reached. It should not be used for SDRAM
init, console init, etc.Add a CONFIG_SPL_STACK_R option, which allows the stack to be moved to a new
address before board_init_r() is called in SPL.The expected SPL flow (for CONFIG_SPL_FRAMEWORK) is documented in the README.
Signed-off-by: Simon Glass
For version 1:
Acked-by: Albert ARIBAUD
Reviewed-by: Stefan Roese
Tested-by: Bo Shen
Acked-by: Bo Shen
Acked-by: Heiko Schocher
Tested-by: Heiko SchocherSigned-off-by: Tom Rini
-
When the CPU is in non-secure (NS) mode (when running U-Boot under a
secure monitor), certain actions cannot be taken, since they would need
to write to secure-only registers. One example is configuring the ARM
architectural timer's CNTFRQ register.We could support this in one of two ways:
1) Compile twice, once for secure mode (in which case anything goes) and
once for non-secure mode (in which case certain actions are disabled).
This complicates things, since everyone needs to keep track of
different U-Boot binaries for different situations.
2) Detect NS mode at run-time, and optionally skip any impossible actions.
This has the advantage of a single U-Boot binary working in all cases.(2) is not possible on ARM in general, since there's no architectural way
to detect secure-vs-non-secure. However, there is a Tegra-specific way to
detect this.This patches uses that feature to detect secure vs. NS mode on Tegra, and
uses that to:* Skip the ARM arch timer initialization.
* Set/clear an environment variable so that boot scripts can take
different action depending on which mode the CPU is in. This might be
something like:
if CPU is secure:
load secure monitor code into RAM.
boot secure monitor.
secure monitor will restart (a new copy of) U-Boot in NS mode.
else:
execute normal boot processSigned-off-by: Stephen Warren
Signed-off-by: Tom Warren
02 Mar, 2015
1 commit
26 Feb, 2015
1 commit
-
Currently only normal hashing is supported using hardware acceleration.
Added support for progressive hashing using hardware.Signed-off-by: Ruchika Gupta
Signed-off-by: Gaurav Rana
CC: Simon Glass
Reviewed-by: Simon Glass
Reviewed-by: York Sun
25 Feb, 2015
1 commit
-
Add sync of refresh for multiple DDR controllers. DDRC initialization
needs to complete first. Code is re-ordered to keep refresh close.Signed-off-by: York Sun
17 Feb, 2015
1 commit
-
A SoC like the i.MX6 supports more then one i2c bus. In oder to be
able to use the eeprom command add a new define to specify the
i2c bus to use. If CONFIG_SYS_I2C_EEPROM_BUS is not defined there
is no functional change, else a call to i2c_set_bus_num(..) is
done before calling i2c_read(..) and i2c_write(..).Signed-off-by: Christian Gmeiner
Acked-by: Stefano Babic
08 Feb, 2015
1 commit
-
make the HW WDT timeout configurable through the define
CONFIG_AT91_HW_WDT_TIMEOUT.Signed-off-by: Heiko Schocher
30 Jan, 2015
3 commits
-
Modify rsa_verify to use the rsa driver of DM library .The tools
will continue to use the same RSA sw library.CONFIG_RSA is now dependent on CONFIG_DM. All configurations which
enable FIT based signatures have been modified to enable CONFIG_DM
by default.Signed-off-by: Ruchika Gupta
CC: Simon Glass
Acked-by: Simon Glass -
Some image types, like "KeyStone GP", do not have magic numbers to
distinguish them from other image types. Thus, the automatic image
type discovery does not work correctly.This patch also fix some integer type mismatches.
Signed-off-by: Guilherme Maciel Ferreira
16 Jan, 2015
1 commit
-
All the 74xx_7xx boards are still non-generic boards:
P3G4, ZUMA, ppmc7xx, ELPPC, mpc7448hpc2Acked-by: Marek Vasut
Acked-by: Stefan Roese
Acked-by: York Sun
Signed-off-by: Masahiro Yamada
Cc: Wolfgang Denk
Cc: Nye Liu
Cc: Roy Zang
06 Jan, 2015
2 commits
-
Fix various spelling and grammatical errors in the README.
Signed-off-by: Jeremiah Mahler
Acked-by: Simon Glass -
All the MPC824X boards are still non-generic boards:
A3000, CPC45, CU824, eXalion, MVBLUE, MUSENKI, Sandpoint824x, utx8245Signed-off-by: Masahiro Yamada
Cc: Wolfgang Denk
Cc: Josef Wagner
Cc: Torsten Demke
Cc: Jim Thompson
Cc: Greg Allen
02 Jan, 2015
1 commit
19 Dec, 2014
1 commit
-
Implement an API that can be used by drivers to allocate memory from a
pool that is mapped uncached. This is useful if drivers would otherwise
need to do extensive cache maintenance (or explicitly maintaining the
cache isn't safe).The API is protected using the new CONFIG_SYS_NONCACHED_MEMORY setting.
Boards can set this to the size to be used for the non-cached area. The
area will typically be right below the malloc() area, but architectures
should take care of aligning the beginning and end of the area to honor
any mapping restrictions. Architectures must also ensure that mappings
established for this area do not overlap with the malloc() area (which
should remain cached for improved performance).While the API is currently only implemented for ARM v7, it should be
generic enough to allow other architectures to implement it as well.Signed-off-by: Thierry Reding
Signed-off-by: Simon Glass
Signed-off-by: Tom Warren
18 Dec, 2014
1 commit
-
Implement a feature to allow fastboot to write the downloaded image
to the space reserved for the Protective MBR and the Primary GUID
Partition Table.
Additionally, prepare and write the Backup GUID Partition Table.Signed-off-by: Steve Rae
Tested-by: Lukasz Majewski
[Test HW: Exynos4412 - Trats2]
09 Dec, 2014
1 commit
08 Dec, 2014
1 commit
-
Raw images of U-Boot can be stored inside MMC partitions, so it makes sense to
read the partition table, looking for a partition number instead of using
a fixed sector address.Signed-off-by: Paul Kocialkowski
Reviewed-by: Tom Rini
[trini: Only add mmc_load_image_raw_partition() when
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION to avoid warning, add missing
conversion in spl_mmc_load_image()]
Signed-off-by: Tom Rini
06 Dec, 2014
1 commit
-
When device is configured to load RCW from NAND flash IFC_A[16:31] are driven
low after RCW loading. Hence Devices connected on IFC_CS[1:7] and using
IFC_A[16:31] lines are not accessible.Workaround is already in-place.
Put the errata number to adhere errata handling framework.Signed-off-by: Prabhakar Kushwaha
Reviewed-by: York Sun
05 Dec, 2014
1 commit
-
CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION ought to be called
CONFIG_SYS_MMCSD_FS_BOOT_PARTITION to keep it consistent with other config
options such as: CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR.In addition, it is not related to raw mode booting but to fs mode instead.
Signed-off-by: Paul Kocialkowski
Reviewed-by: Tom Rini