| f8cd15a1 | 19-Sep-2017 |
Seung-Woo Kim <sw0312.kim@samsung.com> |
UPSTREAM: spl: spl_mmc: add __maybe_unused to mmc_load_image_raw_sector()
If there are no CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION, CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR and CONFIG_SPL_O
UPSTREAM: spl: spl_mmc: add __maybe_unused to mmc_load_image_raw_sector()
If there are no CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION, CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR and CONFIG_SPL_OS_BOOT, there is unused-function build warning. Add __maybe_unused macro to remove the warning.
Change-Id: Ibd880ebc42fdb4610106a8f53645bfd61825dc9e Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit b016b585425b66ea53eef6b8600aff78a4205b9e)
show more ...
|
| 344f8eb9 | 07-Sep-2017 |
Bin Meng <bmeng.cn@gmail.com> |
UPSTREAM: dm: usb: storage: Fix broken read/write when both EHCD and xHCD are enabled
When EHCD and xHCD are enabled at the same time, USB storage device driver will fail to read/write from/to the s
UPSTREAM: dm: usb: storage: Fix broken read/write when both EHCD and xHCD are enabled
When EHCD and xHCD are enabled at the same time, USB storage device driver will fail to read/write from/to the storage device attached to the xHCI interface, due to its transfer blocks exceeds the xHCD driver limitation.
With driver model, we have an API to get the controller's maximum transfer size and we can use that to determine the storage driver's capability of read/write.
Note: the non-DM version driver is still broken with xHCD and the intent here is not to fix the non-DM one, since the xHCD itself is already broken in places like 3.0 hub support, etc.
Change-Id: Id95b187ad7c34d80b236f425cd1cf3da7b954589 Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit ea7fad91019654fb21e6cd04f963e0482869dba5)
show more ...
|
| 86b376c4 | 07-Sep-2017 |
Bin Meng <bmeng.cn@gmail.com> |
UPSTREAM: usb: storage: Refactor to use max_xfer_blk from struct us_data
This adds a new memeber max_xfer_blk in struct us_data to record the maximum number of transfer blocks for the storage device
UPSTREAM: usb: storage: Refactor to use max_xfer_blk from struct us_data
This adds a new memeber max_xfer_blk in struct us_data to record the maximum number of transfer blocks for the storage device.
It is set per HCD setting, and so far is to 65535 for EHCD and 20 for everything else.
Change-Id: I53b942501431471c981b3f82ae1028ecd7b45069 Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 6158d0b42411165d34635a2ddfea17e12dce3329)
show more ...
|
| d18ad2e6 | 15-Sep-2017 |
York Sun <york.sun@nxp.com> |
UPSTREAM: spl: Fix compiling warning on gunzip argument
common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ from incompatible pointer type [-Wincompatible-pointer-types] src,
UPSTREAM: spl: Fix compiling warning on gunzip argument
common/spl/spl_fit.c:201:12: warning: passing argument 4 of ‘gunzip’ from incompatible pointer type [-Wincompatible-pointer-types] src, &length))
Change-Id: I58ddaf516e012064afaea3710abb4e4d9710487b Signed-off-by: York Sun <york.sun@nxp.com> Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de> CC: Jean-Jacques Hiblot <jjhiblot@ti.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 933f67aa56ea742f014b21bfe50a16a00e97b9bd)
show more ...
|
| 286803a6 | 11-Sep-2017 |
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
UPSTREAM: bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL
For timing our bootstages on the RK3368, which has a minimal TPL (and where we consequently don't want to tim
UPSTREAM: bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL
For timing our bootstages on the RK3368, which has a minimal TPL (and where we consequently don't want to time the bootstages) and a full-featured SPL (where we can bootstage recording), we need to adjust the Makefile.
Use the $(SPL_TPL_) macro in the Makefile for bootstage.o
Change-Id: Ib3cd45000bfbfb37377c96c9f41a467a760650aa Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 148a139d65b7fdb93326d7870b40c618d4601a8a)
show more ...
|
| 988a4042 | 04-Sep-2017 |
Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
UPSTREAM: fit: Introduce methods for applying overlays on fit-load
Introduce an overlay based method for constructing a base DT blob to pass to the kernel.
It is based on a specific method now to g
UPSTREAM: fit: Introduce methods for applying overlays on fit-load
Introduce an overlay based method for constructing a base DT blob to pass to the kernel.
It is based on a specific method now to get the FDT from a FIT image named boot_get_fdt_fit().
Change-Id: I98e0526edd594e63b1c29bdd916e4c66774f4337 Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 169043d826e6b0db3c67a60acbedfc72c43aae5d)
show more ...
|
| 06686a7b | 04-Sep-2017 |
Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
UPSTREAM: fit: Do not throw away extra configuration on fit_image_load()
fit_image_load() threw away the extra configuration parts when loading. We need them around for applying extra overlays for b
UPSTREAM: fit: Do not throw away extra configuration on fit_image_load()
fit_image_load() threw away the extra configuration parts when loading. We need them around for applying extra overlays for building the boot fdt.
Change-Id: Icad7d35f5efb4ebb16a2dba969a9228674d7fb39 Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 7c3dc776b91a683b2f7dd40ed91361124a3a91c0)
show more ...
|
| 75488a38 | 04-Sep-2017 |
Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
UPSTREAM: fit: Allow multiple images per property
As part of the fdt overlay support which need it, allow a list of configurations per property.
Change-Id: I3068dcdd2bd823fd2ee5cfa0d337c4589e2a9588
UPSTREAM: fit: Allow multiple images per property
As part of the fdt overlay support which need it, allow a list of configurations per property.
Change-Id: I3068dcdd2bd823fd2ee5cfa0d337c4589e2a9588 Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit ad026adbcf0d719e736eb58a9059cbbebb2d2423)
show more ...
|
| 0939009d | 04-Sep-2017 |
Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
UPSTREAM: fdt: Introduce helper method fdt_overlay_apply_verbose()
Introduce fdt_overlay_apply_verbose, a method that applies an overlay but in the case of an error produces a helpful message.
In a
UPSTREAM: fdt: Introduce helper method fdt_overlay_apply_verbose()
Introduce fdt_overlay_apply_verbose, a method that applies an overlay but in the case of an error produces a helpful message.
In addition if a base tree is found to be missing the __symbols__ node the message will point out that the probable reason is that the base tree was miscompiled without the -@ option.
Change-Id: I22cc210c6a7bb0aaa9655197c859f54677532099 Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit fc7c31891c40dd1aac2e71e9d1546727ca2b3556)
show more ...
|
| 7a001d4f | 01-Aug-2017 |
Anatolij Gustschin <agust@denx.de> |
UPSTREAM: spl: add newline in debug output
With debug enabled, SPL output following these debug prints is on the same line and it is hard to read. Fix it.
Change-Id: I6b0983a285f1deb38cac7e0292c9c2
UPSTREAM: spl: add newline in debug output
With debug enabled, SPL output following these debug prints is on the same line and it is hard to read. Fix it.
Change-Id: I6b0983a285f1deb38cac7e0292c9c286ca6e901b Signed-off-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 2d2531be861cb7ec25aa7980b1099ca4f5f46d86)
show more ...
|
| ee0f94fe | 31-Jul-2017 |
Andrew F. Davis <afd@ti.com> |
image: Add TI PMMC image type
Add a new image type representing TI Power Management Micro-Controller (PMMC) Firmware image type.
Change-Id: I28a8132dfd5549ffde3d81e6da7399c3768ac1e7 Signed-off-by:
image: Add TI PMMC image type
Add a new image type representing TI Power Management Micro-Controller (PMMC) Firmware image type.
Change-Id: I28a8132dfd5549ffde3d81e6da7399c3768ac1e7 Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 6442c9643e82966ae8fff391bab3fcc763662564)
show more ...
|
| ebec805a | 15-Aug-2017 |
York Sun <york.sun@nxp.com> |
UPSTREAM: spl: fit: Add booting OS first
If CONFIG_SPL_OS_BOOT is enabled, boot OS if kernel image is found in FIT structure.
Change-Id: I6fcb0a0ac05e4d548b2bce93f9def04c12294998 Signed-off-by: Yor
UPSTREAM: spl: fit: Add booting OS first
If CONFIG_SPL_OS_BOOT is enabled, boot OS if kernel image is found in FIT structure.
Change-Id: I6fcb0a0ac05e4d548b2bce93f9def04c12294998 Signed-off-by: York Sun <york.sun@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit c8bc3c0c9ff7ce649b2af1416919b50ecf504874)
show more ...
|
| 0ea10b9f | 15-Aug-2017 |
York Sun <york.sun@nxp.com> |
UPSTREAM: spl: fit: Support both external and embedded data
SPL supports U-Boot image in FIT format which has data outside of FIT structure. This adds support for embedded data for normal FIT images
UPSTREAM: spl: fit: Support both external and embedded data
SPL supports U-Boot image in FIT format which has data outside of FIT structure. This adds support for embedded data for normal FIT images.
Change-Id: Iad87ee9d443259a6af53f0473dc1b97db083df8d Signed-off-by: York Sun <york.sun@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 5fd13d973613d308663f97b51059ecd9179baf09)
show more ...
|
| b81c4739 | 15-Aug-2017 |
York Sun <york.sun@nxp.com> |
UPSTREAM: spl: fit: Eanble GZIP support for image decompression
Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for SPL boot, eg. falcon boot compressed kernel image.
Change-Id: I
UPSTREAM: spl: fit: Eanble GZIP support for image decompression
Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for SPL boot, eg. falcon boot compressed kernel image.
Change-Id: I68f64aca8ecad26478f2ce25676253cee7e57d30 Signed-off-by: York Sun <york.sun@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 7264f2928b46c5f5685e39ed607652c8991e47b6)
show more ...
|
| 570fb7e3 | 12-Jan-2018 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: rkimg: update some error handling
Use 'int' instead of 'ulong' as type of image size, and return err if can not find MISC partition.
Change-Id: I661a221a8a4049f2a7d9ee45b8a4d987ae515188 S
rockchip: rkimg: update some error handling
Use 'int' instead of 'ulong' as type of image size, and return err if can not find MISC partition.
Change-Id: I661a221a8a4049f2a7d9ee45b8a4d987ae515188 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| ec82a6c9 | 03-Jan-2018 |
Joseph Chen <chenjh@rock-chips.com> |
common: boot_rkimg: append boot media type to bootargs
Android need this property for bring up.
Change-Id: I0fb5367221079e3bfcf36db4e5b58fc994848dcd Signed-off-by: Joseph Chen <chenjh@rock-chips.co
common: boot_rkimg: append boot media type to bootargs
Android need this property for bring up.
Change-Id: I0fb5367221079e3bfcf36db4e5b58fc994848dcd Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| b7195498 | 08-Dec-2017 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: unify boot mode in rockchip_get_boot_mode()
There are two ways to get boot mode: misc partition and CONFIG_ROCKCHIP_BOOT_MODE_REG, we unify them in the rockchip_get_boot_mode() function.
rockchip: unify boot mode in rockchip_get_boot_mode()
There are two ways to get boot mode: misc partition and CONFIG_ROCKCHIP_BOOT_MODE_REG, we unify them in the rockchip_get_boot_mode() function.
Change-Id: Ia2dd452e8df8a8d736300048f131ed43ec2ec3a3 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 1225f03e | 27-Dec-2017 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: fix blk_dread return value check error
blk_dread returns negtive error code or blocks number that read successfully.
Change-Id: I0f2afe98cfb64fe8e83a065fa64b91481856f5be Signed-off-by: Jo
rockchip: fix blk_dread return value check error
blk_dread returns negtive error code or blocks number that read successfully.
Change-Id: I0f2afe98cfb64fe8e83a065fa64b91481856f5be Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 65f7800c | 27-Dec-2017 |
Joseph Chen <chenjh@rock-chips.com> |
common: boot_rkimg: fix 'krenel' typo
Change-Id: I4f4d4bce863208b7297ed57aa51afecada4c8f37 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 0aec9aff | 27-Dec-2017 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: boot_rkimg: fix wrong variable
part -> part_info.
Change-Id: Icbcd4191a02115b87d4d552355680691f63ad2e1 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> |
| 6639be8f | 14-Dec-2017 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: boot_rkimg: add CRC verify for images
Change-Id: I8b5cc6e6ae455eafb46ea022ea1f3a93d04972eb Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 93a905c1 | 20-Dec-2017 |
Kever Yang <kever.yang@rock-chips.com> |
spl: atf: pass NULL for bl32_ep pc
Change-Id: Ibfd0054936fffed3603103226e304e4878598c84 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> |
| 1a3726ad | 14-Dec-2017 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: boot_rkimg: fix wrong size for bootloader_message
size in byte for malloc, and in block/512bytes for blk read.
Change-Id: I0534a13838ff00452d9ca472d7caea03502cc058 Signed-off-by: Kever Ya
rockchip: boot_rkimg: fix wrong size for bootloader_message
size in byte for malloc, and in block/512bytes for blk read.
Change-Id: I0534a13838ff00452d9ca472d7caea03502cc058 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| 891380b5 | 23-Nov-2017 |
Kever Yang <kever.yang@rock-chips.com> |
cmd: boot_android: support legacy aosp image from rockchip
New cmd usage: boot_android mmc 0
update boot_android: - do not need provide argv for misc partition and slot - If CONFIG_ROCKCHIP_RESOURC
cmd: boot_android: support legacy aosp image from rockchip
New cmd usage: boot_android mmc 0
update boot_android: - do not need provide argv for misc partition and slot - If CONFIG_ROCKCHIP_RESOURCE_IMAGE is enabled, try to get dtb from resource partition.
Change-Id: I7242880f9cde916ca10d677ddac07790c66a07a4 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| 270f9eac | 07-Dec-2017 |
Kever Yang <kever.yang@rock-chips.com> |
image-android: add a api to get fdt from boot img
Get the dtb file from boot img second position or inside resource for Rockchip image.
Change-Id: I843366b32f79ea8fb320d695d79420607a496d68 Signed-o
image-android: add a api to get fdt from boot img
Get the dtb file from boot img second position or inside resource for Rockchip image.
Change-Id: I843366b32f79ea8fb320d695d79420607a496d68 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|