13 Jul, 2013
5 commits
-
Signed-off-by: Tom Rini
-
A recent bootm fix left the error path incomplete. If CONFIG_TRACE is
set it may still not be a supported command, so cover that with the
unsupported subcommand print. Once we handle BOOTM_STATE_OS_GO, we can
just move into the error handler itself, no need for a goto there.Signed-off-by: Simon Glass
[trini: Update slightly based on Simon's changes to also cover
CONFIG_TRACE/BOOTM_STATE_FAKE_OS_GO]
Signed-off-by: Tom Rini -
The driver triggered a BUG() in nand_base.c:3214/nand_scan_tail()
because the ecc.strength was not set in NAND_ECC_HW_SYNDROME ECC
mode.Signed-off-by: Marek Vasut
Cc: Benoit Thebaudeau
Cc: Fabio Estevam
Cc: Scott Wood
Cc: Stefano Babic -
A FIT image with a ramdisk that sets the entry or load points to 0x0
must be treated as meaning "leave in place" and NOT "relocate to 0x0".
This regression was introduced in a51ec63.Signed-off-by: Stefano Babic
12 Jul, 2013
21 commits
-
Fix a trivial conflict in arch/arm/dts/exynos5250.dtsi about gpio and
serial.Conflicts:
arch/arm/dts/exynos5250.dtsiSigned-off-by: Tom Rini
-
The arguments were out of place since commit 983c72f, since this file was
missed and not tested. Correct this.Signed-off-by: Simon Glass
-
If a specific configuraion is selected by the bootm command, e.g. with
'bootm 84000000#recoveryconf' we must honour this for not just the kernel,
but also the ramdisk and FDT.In the conversion to using a common fit_image_load() function for loading
images from FITs (commits a51ec63 and 53f375f) this feature was lost.
Reinstate it by passing the selected configuration back from
fit_image_load() to boot_get_kernel(), then use this configuration
(which is stored in images->fit_uname_cfg) in both boot_get_ramdisk()
and boot_get_fdt().Signed-off-by: Simon Glass
-
The OS function is now always called with the PREP stage. Adjust the
remaining bootm OS functions to deal with this correctly.Signed-off-by: Simon Glass
-
This is not needed as we already print 'OK' later in all cases.
Signed-off-by: Simon Glass
-
With ELDK4.2 we were getting a warning that load_end may be used
uninitialized in calling lmb_reserve. This could not be the case,
however. If we re-order the checks (and make them slightly clearer as
well) the warning goes away. bootm_load_os may only return 0 on
success, BOOTM_ERR_OVERLAP in a non-fatal overlap (already covered in
comments) or a fatal BOOTM_ERR that is covered in the error handler.Signed-off-by: Tom Rini
-
OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.Signed-off-by: Otavio Salvador
Acked-by: Fabio Estevam -
OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.Signed-off-by: Otavio Salvador
Acked-by: Stefano Babic -
OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.Signed-off-by: Otavio Salvador
Acked-by: Fabio Estevam -
OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.Signed-off-by: Otavio Salvador
Acked-by: Fabio Estevam -
OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.Signed-off-by: Otavio Salvador
Acked-by: Fabio Estevam -
OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.Signed-off-by: Otavio Salvador
Acked-by: Jason Liu -
The MX28 multi-layer AHB bus can be too slow and trigger the
FEC DMA too early, before all the data hit the DRAM. This patch
ensures the data are written in the RAM before the DMA starts.
Please see the comment in the patch for full details.This patch was produced with an amazing help from Albert Aribaud,
who pointed out it can possibly be such a bus synchronisation
issue.Signed-off-by: Marek Vasut
Cc: Albert ARIBAUD
Cc: Fabio Estevam
Cc: Stefano Babic
Tested-by: Fabio Estevam
Tested-by: Alexandre Pereira da Silva -
Remove incorrectly called and duplicate flush_dcache_range() call
from fec_mxc driver. The call is not needed, since the caches are
already flushed in fec_tbd_init(), moreover the second argument should
be the ending address, not size.Signed-off-by: Marek Vasut
Reported-by: Albert Aribaud
Cc: Stefano Babic
Cc: Tom Rini -
this is usefull when writing an UBI image which contains
and UBIFS volume (check README.nand and UBI FAQ for more
details)Signed-off-by: Marek Vasut
Cc: Stefano Babic -
Signed-off-by: Stephen Warren
Signed-off-by: Tom Warren -
Signed-off-by: Stephen Warren
Signed-off-by: Tom Warren -
Add USB EHCI, storage and network support.
Tested on Tegra30 Cardhu, and Tegra114 Dalmore
platforms. All works well.Signed-off-by: Jim Lin
Signed-off-by: Tom Warren -
Tegra30 and Tegra114 are compatible except PLL parameters.
Tested on Tegra30 Cardhu, and Tegra114 Dalmore
platforms. All works well.Signed-off-by: Jim Lin
Signed-off-by: Tom Warren -
Add DT node for USB EHCI function.
Add support for T30-Cardhu, T30-Beaver, T114-Dalmore boards.Signed-off-by: Jim Lin
Reviewed-by: Stephen Warren
Tested-by: Stephen Warren
Signed-off-by: Tom Warren
11 Jul, 2013
3 commits
-
Newer gcc versions warn about unused variables. This patch corrects a few of
those warnings that popped up in a build for the palmtreo680 board.Signed-off-by: Mike Dunn
-
The DFU's state machine original implementation author and copyright were
missing.Signed-off-by: Lukasz Majewski
Acked-by: Stefan Schmidt
10 Jul, 2013
8 commits
-
As a zImage does not have a U-Boot header, we cannot really do what
BOOTM_STATE_FINDOTHER does, exactly. Break the ramdisk/fdt portions of
bootm_find_other into bootm_find_ramdisk/fdt which can be called in both
cases.Signed-off-by: Tom Rini
-
Like 'bootm', 'bootz' needs to consume 'bootz' so that the rest of the
state functions will work.Signed-off-by: Tom Rini
-
In the recent bootm refactor, the PREP stage was missing in the bootz
command. This causes unpredictable behaviour.The use of a local variable means that the reset of cmd_bootm.c does not
in fact use the same image structure, so remove this.Also manually set the OS type to Linux, since this is the only possibility
at present, and we need to select the right boot function.Signed-off-by: Simon Glass
-
This function has no prototype in the headers and passes void * around, thus
requiring several casts. Tidy this up.- Add new patch to clean up bootz_setup() function
Signed-off-by: Simon Glass
-
The original bootm code (before commit 35fc84f) did not check for a valid
boot function in the subcommand case, which was incorrect.This check was introduced in all cases, but in fact we should only check
for the function when we need it. Otherwise in some cases the check fires
before the OS type is known.Signed-off-by: Simon Glass
-
With the move of the interrupt code to earlier in the sequence, we
exposed a problem where the interrupts are disabled at each bootm
stage. This is not correct - it should be done only once. Let's disable
interrupts in the LOAD stage. Put the code in a function for clarity.Also, bootz lost its interrupt code altogether, so reinstate it.
Signed-off-by: Simon Glass
-
This patch resolves the below mentioned compilation error of i2c driver
for non-FDT caseCompilation error:
s3c24x0_i2c.c: In function 'board_i2c_init':
s3c24x0_i2c.c:544:18: error: 'CONFIG_MAX_I2C_NUM' undeclared (first use
in this function) s3c24x0_i2c.c:544:18: note: each undeclared
identifier is reported only once for each function it appears in
s3c24x0_i2c.c:545:3: warning: implicit declaration of functionSigned-off-by: Rajeshwari Shinde
Signed-off-by: Amar
Signed-off-by: Minkyu Kang
09 Jul, 2013
2 commits
-
There are differnce with clock calcuation by cpu variations.
This patch will fix it according to user manual.Signed-off-by: Minkyu Kang
Signed-off-by: Rajeshwari Shinde -
Code for checking "splashpos" environment variable is
duplicated in drivers, move it to the common function.
Call this function also in the bmp display command to
consider "splashpos" settings.Signed-off-by: Anatolij Gustschin
Acked-by: Otavio Salvador
05 Jul, 2013
1 commit
-
Add support for disabling battery charging with ctrl+C keyboard
combination pressed.
Moreover the battery update is done more frequently.Signed-off-by: Lukasz Majewski
Cc: Tom Rini
Signed-off-by: Minkyu Kang