- Apr 17, 2014
-
-
Vitaly Andrianov authored
This patch add basic support for the architecture timer found on recent ARMv7 based SoCs. Signed-off-by:
Vitaly Andrianov <vitalya@ti.com> Signed-off-by:
Murali Karicheri <m-karicheri2@ti.com>
-
Karicheri, Muralidharan authored
This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage format. It re-uses gph header to store the size and loadaddr as done in omapimage.c Signed-off-by:
Vitaly Andrianov <vitalya@ti.com> Signed-off-by:
Murali Karicheri <m-karicheri2@ti.com> Acked-by:
Tom Rini <trini@ti.com>
-
Vitaly Andrianov authored
The keystone2 SOC requires to fix all 32 bit aliased addresses to their 36 physical format. This has to happen after all fdt nodes are added or modified. Signed-off-by:
Vitaly Andrianov <vitalya@ti.com> Signed-off-by:
Murali Karicheri <m-karicheri2@ti.com> Acked-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Convert to using the common config files. This requires a little more flexibility in the common files than we had been using before. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Tested on AM335x GP EVM, AM335x EVM SK, Beaglebone White, Beaglebone Black, AM437xx GP EVM, OMAP5 uEVM, OMAP4 Pandaboard Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
We previously only supported QSPI_1 (single) support. Add QSPI_4 (quad) read support as well. This means we can be given one of two boot device values, but don't care which it is, so perform a fixup on the QSPI_4 value. We add a qspiboot build target to better show how you would use QSPI as a boot device in deployment. When we boot from QSPI, we can check the environment for 'boot_os' to control Falcon Mode. Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
This is only useful with the _spiboot build target anyhow, so only include it then. Drop CONFIG_SPL_OS_BOOT support then as the flash is small and didn't include a spot for the device tree already. Signed-off-by:
Tom Rini <trini@ti.com>
-
Poddar, Sourav authored
Bulk erase is not happening properly on dra7 due to erase timing constraints, add a delay so that erase timing constraints are properly met. Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> Tested-by:
Yebio Mesfin <ymesfin@ti.com>
-
Tom Rini authored
In general, we want to load the DT at base+128MB, so that we ahve sufficient room for the kernel and a larger device tree. In the case of OMAP3, use 64MB instead as we have a number of boards with 128MB DDR. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
The size of the environment depends on the backing store, move this to the board config files. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
To deal with a reoccurring problem properly we need to specify addresses for the Linux kernel, Flatted Device Tree and ramdisk that obey the constraints within the kernel's Documentation/arm/Booting file but also make sure that we relocate things within a valid address range. It is possible with these addresses to also set fdt_high and initrd_high to the value of 0xffffffff. We don't do this by default to allow for the most likely success of people using custom addresses however. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
We add two new environment variables, falcon_args_file and falcon_image_file, which when set will override the compiled in default values for falcon mode. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
This change makes the behaviour slightly more rebust and will match other implementations which can use getenv_yesno directly. Acked-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
We use the same variable as a3m071 in the environment to determine if we should boot into Linux or U-Boot. This is useful on boards like Beaglebone Black or AM335x GP EVM where we have persistent storage for the environment. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Acked-by:
Scott Wood <scottwood@freescale.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
This mainly converts the am335x_spl_bch driver to the "normal" format which means a slight change to nand_info within the driver. Acked-by:
Scott Wood <scottwood@freescale.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
With 452a2722 we moved to allocating these variables on the stack. So they will never now be NULL so remove these checks. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Inside of SPL we only concern ourself with one MMC device, so instead of being able to use CONFIG_SYS_MMC_ENV_DEV we need to use 0 in SPL. Switch the code to use a 'dev' variable to facilitate this. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
We currently limit ourself to 16 characters for the device name to read the environment from. This is insufficient for /dev/mmcblk0boot1 to work for example. Switch to '%ms' which gives us a dynamically allocated buffer instead. We're short lived enough to not bother free()ing the buffer. Signed-off-by:
Tom Rini <trini@ti.com>
-
Nishanth Menon authored
Similar to OMAP5uEVM, PandaBoard, BeagleBoard-XM has a USB based ethernet without MAC address embedded. So fake a MAC address following the similar strategy used on OMAP5 and PandaBoard family. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
introduce get_die_id() function which allows generation of information such as fake MAC address from the processor ID code. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
TI platforms such as OMAP5uevm, PandaBoard, use equivalent logic to generate fake USB MAC address from device unique DIE ID. Consolidate this to a generic location such that other TI platforms such as BeagleBoard-XM can also use the same. NOTE: at this point in time, I dont yet see a need for a generic dummy ethernet MAC address creation function, but if there is a need in the future, this can be further abstracted out. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Wolfgang Denk authored
Replace the custom bit manipulation function sr32() by standard I/O accessors. A major motivation for this cleanup was the fact, that a number of calls of that function resulted in 32 bit wide shift operations on u32 data, which according to the C-ISO/IEC-9899-Standard provokes undefined behaviour: 6.5.7 Bitwise shift operators ... If the value of the right operand is negative or is greater than or equal to the width of the promoted left operand, the behavior is undefined. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Wolfgang Denk authored
The only remaining user of the custom bit manipulation function sr32() is arch/arm/cpu/armv7/omap3/clock.c, so make it a static function in that file to prepare complete removal. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Wolfgang Denk authored
Replace the custom sr32() bit manipulation function in arch/arm/cpu/armv7/omap3/board.c and board/ti/panda/panda.c by standard I/O accessors. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
- Apr 11, 2014
-
-
Andreas Bießmann authored
Commit d016dc42 changed the layout of BCH8 SW on omap3 boards. We need to adopt the ecc layout for the nand_spl_simle driver to avoid wrong ecc errors. Signed-off-by:
Andreas Bießmann <andreas.biessmann@corscience.de> Cc: Thomas Weber <thomas.weber@corscience.de> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Andreas Bießmann authored
Signed-off-by:
Andreas Bießmann <andreas.biessmann@corscience.de> Cc: Thomas Weber <thomas.weber@corscience.de> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Andreas Bießmann authored
Commit 89088058 introduced EEPROM parsing and board detection but faild to return a valid tricorder_eeprom struct for backup case. When pressing S200 while reading EEPROM we ignore the value. We returned falsely a tricorder_eeprom struct with uninitialized data which is just garbage. Initialize it by zeroing the whole structure. Signed-off-by:
Andreas Bießmann <andreas.biessmann@corscience.de> Cc: Thomas Weber <thomas.weber@corscience.de> Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
Łukasz Majewski authored
During switch to device tree, commit 1ecab0f3 has removed this code. INFORM4 and INFORM5 registers are used by TRATS2 first stage bootloader for providing recovery. For normal operation, those two must be cleared out. This error emerges when one force reset from u-boot's command line for three times. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Acked-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Masahiro Yamada authored
In some use cases, SPL linker script was not updated even when it should be. For instance, $ make tricoder_config all [ build complete ] ... modify include/configs/tricoder.h $ make spl/u-boot-spl.lds should be updated in this case, but it wasn't. To fix this problem, linker scripts generation should be handled by $(call if_changed_dep,...) rather than by $(call if_changed,...). Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Reported-by:
Andreas Bießmann <andreas.devel@googlemail.com> Tested-by:
Andreas Bießmann <andreas.devel@googlemail.com>
-
- Apr 08, 2014
-
-
Albert ARIBAUD authored
Conflicts: arch/arm/cpu/arm926ejs/mxs/Makefile include/configs/trats.h include/configs/trats2.h include/mmc.h
-
- Apr 07, 2014
-
-
David Feng authored
This patch add gicv3 support to uboot armv8 platform. Changes for v2: - rename arm/cpu/armv8/gic.S with arm/lib/gic_64.S - move smp_kick_all_cpus() from gic.S to start.S, it would be implementation dependent. - Each core initialize it's own ReDistributor instead of master initializeing all ReDistributors. This is advised by arnab.basu <arnab.basu@freescale.com>. Signed-off-by:
David Feng <fenghua@phytium.com.cn>
-
Mela Custodio authored
The conditional is using a variable that is not defined. Signed-off-by:
Rommel G Custodio <sessyargc+u-boot@gmail.com>
-
Leo Yan authored
When flush the d$ with set/way instruction, it need calculate the way's offset = log2(Associativity); but in current uboot's code, it use below formula to calculate the offset: log2(Associativity * 2 - 1), so finally it cannot flush data cache properly. Signed-off-by:
Leo Yan <leoy@marvell.com>
-
York Sun authored
For ARMv8, U-boot has been running at EL3 with cache and MMU enabled. Without proper setup for EL2, cache and MMU are both disabled (out of reset). Before switching, we need to flush the dcache to make sure the data is in the main memory. Signed-off-by:
York Sun <yorksun@freescale.com> Acked-by:
David.Feng <fenghua@phytium.com.cn>
-