05 May, 2014
1 commit
-
Previously offsets handled by dfu_fill_entity_mmc(), defined in boards'
CONFIG_DFU_ALT were treated as hexadecimal regardless of their prefix,
which sometimes led to confusion. This patch forces usage of explicit
numerical base prefixes.Signed-off-by: Mateusz Zalega
Acked-by: Lukasz Majewski
Cc: Tom Rini
Cc: Minkyu Kang
08 Apr, 2014
1 commit
-
Conflicts:
arch/arm/cpu/arm926ejs/mxs/Makefile
include/configs/trats.h
include/configs/trats2.h
include/mmc.h
03 Apr, 2014
1 commit
-
This change enables automatically uuid generation by command gpt.
In case of updating partitions layout user don't need to care about
generate uuid manually.Signed-off-by: Przemyslaw Marczak
Cc: Minkyu Kang
Cc: Piotr Wilczek
Cc: Stephen Warren
Cc: Lukasz Majewski
Cc: trini@ti.com
29 Mar, 2014
1 commit
-
This allows to use exynos random number generator by enabling configs:
- CONFIG_EXYNOS_ACE_SHA
- CONFIG_LIB_HW_RANDSigned-off-by: Przemyslaw Marczak
Acked-by: Lukasz Majewski
cc: Piotr Wilczek
cc: Minkyu Kang
13 Mar, 2014
1 commit
-
Changes:
- update partitions layout
- update dfu entities
to be consistent with Tizen images for trats/trats2Signed-off-by: Przemyslaw Marczak
Acked-by: Łukasz Majewski
cc: Piotr Wilczek
cc: Minkyu Kang
Signed-off-by: Minkyu Kang
12 Mar, 2014
1 commit
-
This patch enables to run Trats board on device tree.
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
CC: Lukasz Majewski
Signed-off-by: Minkyu Kang
05 Mar, 2014
1 commit
-
Copied from Linux sources "include/linux/sizes.h" commit
413541dd66d51f791a0b169d9b9014e4f56be13cSigned-off-by: Alexey Brodkin
Cc: Vineet Gupta
Cc: Tom Rini
Cc: Stefan Roese
Cc: Albert Aribaud
Acked-by: Tom Rini
Acked-by: Stefan Roese
[trini: Add bcm Kona platforms to the patch]
Signed-off-by: Tom Rini
07 Feb, 2014
2 commits
-
This patch modifies envs to enable dual kernel boot
- with separated DTB if the DTB file is loaded successfully;
- with DTB apppended to uImage if DTB file is not found;
This is neccesssary for backward compatibilty.Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Cc: Lukasz Majewski
Signed-off-by: Minkyu Kang -
This patch adds variables describing platform (soc, board, vendor)
to default environment.Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Cc: Lukasz Majewski
Signed-off-by: Minkyu Kang
03 Feb, 2014
6 commits
-
This change allows updating environment stored on MMC by dfu or thor.
New setting:
- "params.bin mmc 0x38 0x8"File params.bin can be generated by: tools/mkenvimage.
e.g. ./mkenvimage -s 4096 -o params.binEvery new env variable in text file should start with a new line.
Sample env text file:
- board/samsung/common/dfu_sample_env.txtRequirements:
- file name: "params.bin"
- file size: 4096 Bytes - the same as CONFIG_ENV_SIZE.
Other size will cause CRC miscalculation at boot.Signed-off-by: Przemyslaw Marczak
CC: Piotr Wilczek
CC: Lukasz Majewski
Acked-by: Lukasz Majewski
Acked-by: Jaehoon Chung
Signed-off-by: Minkyu Kang -
Signed-off-by: Przemyslaw Marczak
Acked-by: Lukasz Majewski
Signed-off-by: Minkyu Kang -
16 bpp mode is required by LCD console mode.
This change updates exynos board files.Signed-off-by: Przemyslaw Marczak
Signed-off-by: Minkyu Kang -
Changes:
- check image bpp instead of resolution when returns logo address
- remove 32bpp logo
- add 16bpp logo in two formats: bmp and gzipped bmp
- init logo address with "0" for unsupported bpp mode
- update boards configs with proper image size for gunzip
- extend structure vidinfo by two fields: logo_x_offset and logo_y_offset.Signed-off-by: Przemyslaw Marczak
Tested-by: Hyungwon Hwang
Signed-off-by: Minkyu Kang -
Changes:
new file:
- board/samsung/common/misc.c
depends on: CONFIG_MISC_COMMON
- move draw_logo() to misc.cconfigs: trats, trats2, universal:
- enable CONFIG_MISC_COMMON,
- enable CONFIG_MISC_INIT_R,
- add misc_init_r() and call draw_logo() in it.Signed-off-by: Przemyslaw Marczak
Signed-off-by: Minkyu Kang -
Old s5p gpio coding method was not clean and was not working properly
for all parts and banks. New method is clean and easy to extend.Gpio coding mask:
0x000000ff - pin number
0x00ffff00 - bank offset
0xff000000 - part numberSigned-off-by: Przemyslaw Marczak
Signed-off-by: Minkyu Kang
17 Jan, 2014
2 commits
-
Disable L2 caches for Trats and Trats2 devices.
It turns out that for data downloading with thordown command L2 cache
disablement brings a significant speed improvement.rootfs - 400 MiB:
- L2 cache enabled: 2.69 MiB/s
- L2 cache disabled: 5.56 MiB/sSuch improvement is possible due to reduction of the need to invalidate
redundant data, which resides in L2 cache.Since the sent USB request size at once is 512B (L1 - 32 KiB in total) -
one can be quite confident that it is already available in L1 and L2 can
be disabled.Signed-off-by: Lukasz Majewski
Acked-by: Minkyu Kang -
This patch adds extra dfu_alt_info entries to support storing the whole BOOT
, DATA and UMS partitions.
This allows upgrade of uImage and device tree blob (dtb) files at once.Now it is also possible to store ext4 rootfs prepared with well established
linux tools (like mkfs.ext4).Signed-off-by: Lukasz Majewski
Acked-by: Minkyu Kang
19 Dec, 2013
1 commit
-
Provide default Poll Timeout value for Trats board.
Signed-off-by: Lukasz Majewski
11 Dec, 2013
1 commit
-
Conflicts:
board/samsung/trats2/trats2.c
include/configs/exynos5250-dt.hSigned-off-by: Tom Rini
05 Dec, 2013
1 commit
-
This patch adapts the s3c24x0 driver to the new i2c framework.
Config file is modified for all the boards that use the driver.Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
CC: Minkyu Kang
CC: Heiko Schocher
CC: Inderpal Singh
CC: David Müller
CC: Chander Kashyap
CC: Lukasz Majewski
Tested-by: Naveen Krishna Chatradhi
Reviewed-by: Naveen Krishna Chatradhi
03 Dec, 2013
1 commit
-
Signed-off-by: Przemyslaw Marczak
Signed-off-by: Minkyu Kang
09 Nov, 2013
1 commit
-
UMS init was implemented in trats board file but mostly it comprises
common code. Due to that it has been moved to common/ums.c to avoid
code duplication in the future.Changes:
- move ums initialization code from trats to common/ums.c
- remove unused CONFIG_USB_GADGET_MASS_STORAGE from trats.hChanges v2:
- move this patch at the top of code cleanups patchesSigned-off-by: Przemyslaw Marczak
Cc: Marek Vasut
Cc: Minkyu Kang
05 Nov, 2013
1 commit
-
Remove platform CONFIG_SYS_HZ definition for configs a-z*.
Signed-off-by: Rob Herring
21 Oct, 2013
1 commit
-
A set of environment variables needs to be updated to provide support for
TIZEN download command (tizendown).Since DFU is used as a flashing backend, it is also necessary to extent
malloc pool size for DFU buffer allocation.
Moreover, for compatibility reasons (Win vs. Lin) new USB idProduct number
for download gadget had to be added.Signed-off-by: Lukasz Majewski
Cc: Marek Vasut
20 Aug, 2013
1 commit
-
New I2C framework, introduced after v2013.07 final release, imposed I2C
code adjustment for some Samsung boards - namely Trats, GONI and Universal_c210.Those boards were using schematic based I2C enumeration (I2C_5, I2C_9).
However, new I2C framework imposes usage of logical I2C adapters numbering
(e.g. I2C_0, I2C_1, etc).Additionally, I2C_GET_* macros were replaced with i2c_*_bus_num() functions.
Trats board gained definition of second soft I2C adapter.
Signed-off-by: Lukasz Majewski
Cc: Minkyu Kang
Cc: Heiko Schocher
24 Jul, 2013
2 commits
-
The sandburst-specific i2c drivers have been deleted, conflict was just
over the SPDX conversion.Conflicts:
board/sandburst/common/ppc440gx_i2c.c
board/sandburst/common/ppc440gx_i2c.hSigned-off-by: Tom Rini
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
23 Jul, 2013
1 commit
-
- added to soft_i2c driver new multibus/multiadpater support
- adapted all config files, which uses this driverSigned-off-by: Heiko Schocher
Cc: Simon Glass
Cc: Stephen Warren
19 Jul, 2013
1 commit
-
Missing space for loaddtb command has been added. When missing, ext4load
fails with wrong number of passed parameters.Acked-by: Minkyu Kang
Signed-off-by: Lukasz Majewski
05 Jul, 2013
1 commit
-
Commit:
dfu: make data buffer size configurable
SHA1: 89a72b2e0e141042c9109185e02d39b2107ffc62replaced statically allocated buffers with one allocated with memalign.
Malloc pool size of 1MiB was too small, since we needed bigger buffer to
transfer for example uImage.Signed-off-by: Lukasz Majewski
Cc: Minkyu Kang
Signed-off-by: Minkyu Kang
13 Jun, 2013
1 commit
-
Signed-off-by: Arkadiusz Wlodarczyk
Signed-off-by: Kyungmin Park
Tested-by: Arkadiusz Wlodarczyk
Cc: Minkyu Kang
Signed-off-by: Minkyu Kang
29 Mar, 2013
1 commit
-
"spl_imgsize" was set as decimal variable by "setexpr"
and this causes wrong image size written by "ext4write".
Preset this val with "0x" prefix allow to fix this issue.Signed-off-by: Przemyslaw Marczak
Signed-off-by: Kyungmin Park
Cc: Minkyu Kang
Signed-off-by: Minkyu Kang
19 Mar, 2013
1 commit
-
This patch enables new "ums" command on Trats board
Signed-off-by: Lukasz Majewski
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
CC: Minkyu Kang
03 Jan, 2013
1 commit
-
Support for a new command (defined at envs) - spl_export generates
the ATAGS image necessary for fast boot. Afterwards, it is stored
at ext4 partition.Generated image format:
CRC [4B] SIZE [4B] PAYLOAD(ATAGS/DT) [SIZE]Remarks:
- CRC is calculated only for PAYLOAD
- SIZE is the size of PAYLOADIt is important to adjust ${splsize} when large image is generated.
It is defined as hex, since ext4 related commands expect it.The ${spladdr} environment variable corresponds to
CONFIG_SYS_SPL_ARGS_ADDRAdditionally definitions for DFU have been refactored and support for
EFI has been added as well.Signed-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
Signed-off-by: Minkyu Kang
20 Dec, 2012
1 commit
-
Conflicts:
README
arch/arm/cpu/armv7/exynos/clock.c
board/samsung/universal_c210/universal.c
drivers/misc/Makefile
drivers/power/power_fsl.c
include/configs/mx35pdk.h
include/configs/mx53loco.h
include/configs/seaboard.h
14 Dec, 2012
1 commit
-
Enable support for GPT partition table restoration at Samsung's Trats
development board.Signed-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
CC: Minkyu Kang
15 Nov, 2012
1 commit
-
SDRAM setup alike to ORIGEN Dev board.
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Acked-by: Jaehoon Chung
Signed-off-by: Minkyu Kang
14 Nov, 2012
3 commits
-
Rename all CONFIG_PMIC* defines to CONFIG_POWER*
Signed-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
Cc: Stefano Babic -
Support for TRATS battery has been added. It is treated as a "normal"
power related device and thereof controlled by pmic/power subsystem.Signed-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
Cc: Minkyu Kang -
FG IC built into the MAX8997 device (compliant to MAX17042) is enabled
at TRATS.Signed-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
Cc: Minkyu Kang