This change involves:
1. pack the hk10 specific system-partition binaries into single-image
2. flash the MIBIB partition based on the machid
3. update the offsets and sizes in the partiton table based on the
selected system-partiton image.
Note: HK10 changes applicable to nand-2k and norplusnand-2k only.
Change-Id: I513e4ffc379ca9a7862e61dab7901f32d5aa9fe6
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This patch updates the pack script to handle the
change required in nand-audio 2k single image name.
Change-Id: If15925e29e985bc4161a45666d6a67e17d76e93a
Signed-off-by: speriaka <speriaka@codeaurora.org>
This change adds support to skip only the specific flash type's
single-image generation if the size of any of its image components
does not fit into layout size, instead of exiting entire pack
process of generating other single-images.
Change-Id: I68486abf5950c06bc4129eedfb38f069734eaf40
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Updated section name to 'lkboot' that will be
used to display while flashing the image.
Change-Id: I38e66f03963bc008bdee3036e980fb4c6b930ec0
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
lkboot doesn't understand FIT image and requires
kernel image to be packed using skales.
Change-Id: I27d746b459571fe15f837f08196a219fb1fa9082
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
LK bootloader needs kernel image with a different
image header format. Hence, we need to pack the
single image with a custom kernel image.
Change-Id: I326fa92a72beace40f92753eac13b638705aeb14
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Added an additional option '--lk'.
With this option '--lk' included, pack script will
use lkboot.mbn instead of u-boot.mbn for APPSBL.
This option applies to 'emmc' only image.
Other flash types will discard this option.
Applies to ipq806x and ipq40xx SoCs.
Change-Id: Ic3b5a3398e3d007fe1d144e069e62a6157b9a2ef
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Added an additional option '--lk'.
With this option '--lk' included, pack script will
use lkboot.mbn instead of u-boot.mbn for APPSBL.
This option applies to 'emmc' only image.
Other flash types will discard this option.
Applies to ipq807x SoCs.
Change-Id: Id2b6f6946f66d26e1d6c9c1c5dcec0d0fb5d26a8
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
nand-4k is auto picked only for nand and not for norplusnand.
Change-Id: Id78940ebebde7d8e814a8334d11b65f69ac1520e
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
This change adds "optional" property to avoid pack error
on unavailability of wififw version-specific binaries and
abort while flashing.
Change-Id: I7351e3e717f12b1e730db710b4364404d177768d
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This change adds support to flash V1 images as if default version is 1,
if the soc version information are not supported in boot loader.
Change-Id: I7867ae3b26032215da45d2a97d61ea7398e152d9
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This change modifies the pack script to generate soc-version
specific names for images to be packed into single image.
Change-Id: Ic6406fe0fc164d8c6e7b2622c97915aac2afaac8
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
This kw issue occurred with below message:
"Use of free memory (access) - possible".
In order to fix this issue, we have removed all
dereferenced buffer after freeing the buffer..
Change-Id: I080c45b17397333c3f897b960bdf6fca01b7a53e
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
Kw issues occurred with below message:
"Array 'buf'of size 256 may use index value(s) -2..0".
In order to fix this issue, error message will be
returned with array index out of index if buffer
size isless than 0 or if it increases buffer size.
Change-Id: I5a7885b0ee2fd6e9c0ac3083b28366f1ae5ceaee
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
Currently we are reading the .bin files who are having the type
in their image names, but this has problem when the image type
is overlapping in two file names ex. wififw_ubi.bin and ubi.bin.
To avoid this problem, we will take files whose names starts
with our image type.
Change-Id: Ib3ab64fb2bbf5c9c59b1ec644c409dee31be77a1
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>