This patch updates the pack & pack-v2 scripts with python3
compatible support
Change-Id: I2bf9a1cb2dedbdae94355aed4078d9f792fc7ba9
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
Update pack script to flash bootconfig only for non-apps
image.
Change-Id: I85be15e48b4e4f3ed40826d0c395f2cc8e5d3f88
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
This patch adds support to flash the bootconfig based on the
RDPs.
1. To flash bootconfig based on Multi-RDP
add entry like below in all flash partition xmls
for non-mmc flash partition:
<img_name type="string" bootconfig_type="1">file1_name</img_name>
<img_name type="string" bootconfig_type="2">file2_name</img_name>
<img_name type="string" bootconfig_type="2">file3_name</img_name>
for mmc flash partition:
bootconfig_type_max="2"
filename_img1="file1_name"
filename_img2="file2_name"
and specify which bootconfig to flash on each RDP by adding
entry like below, in config xml under each RDP nodes.
<bootconfig_type>1</bootconfig_type>
2. for single bootconfig case, there is no change.
just add single entry like below in all flash partition xmls
<img_name type="string">file_name</img_name>
Change-Id: I2ca4d2125c70a7f5176478b3de03b1f6fc98ce08
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
(cherry picked from commit 68ae34c1e1)
RDP467 is same as AL02-C4 with PCIE0 enabled with
wkk support.
Change-Id: If6ba645b7c62a3320139a7c86e0b89ec525a0fb7
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
This RDP is based on AL02-C4, with changes in ethernet for GPON enablement
Change-Id: Ic25d9009e685d8646564bda582305fbf1bce2be6
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This change checks if 0:CDT_1 partition exists and then flashes cdt.bin.
Previously, check existed only for 0:CDT. The change allows for creation
of single image with proper cdt_1 name and appends it to the single image.
With this, we can successfully use the CDT_1 alternate partition for images.
Change-Id: I100dc789b54805c699ba6f30d5cb1b74734b1bd9
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This patch removes WKK V1 support. Alder + qcn9000 + qcn9224 Dual MAC V2
image will be used for all qcn9224 supported RDPs and they will have this FW
as WIFI_FW type 1.
Change-Id: I59ee0e50387d99bfb7f86d54fcee792f3f677048
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
AL02-C17 is based on AL02-C4. This variant
enables PCie0 and PCie2.
Change-Id: I67aa500bd13ec661a43b17c4cbcd56c9a6db8abc
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
added boot type based nand or emmc flash selection.
So machid based flash selection becomes obsolete.
Change-Id: I96fa43d31d23397fa249e02f62b905d6e4e67770
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
This patch adds support for new board variant AL02-C19.
This board variant consists of one internal radio,
Waikiki 5G in pci slot 0, Waikiki 6G in pci slot 2 and
SDX in pci slot 3.
Change-Id: I43e3b5890f6bd8f6d182e4c3acc540a89f9c4a34
Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
Same as AP.AL02-C4 RDP, with support for 10G PHY or 10G fiber in UNIPHY0
Change-Id: Ic3935a2cdc0033ed4c7478ae14abd3cf61aef797
Signed-off-by: Hariharan K <quic_harihk@quicinc.com>
This patch adds the following changes,
Machine ID check for qcn9224 V1 flashing which will help to
skip this FW flashing if WIFI_FW is 1.
Updated EMMC image append and flash script generation logic
to skip if filename_img<x> is not given inside wififw_type_max
range.
Increased the start activity string length to get the full
WIFI_FW image name in console during flashing.
Change-Id: Ica9552caa219cd1f4be9fa25a4e9a716b789ca48
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
If detect_qcn9224 command is not supported in Uboot, qcn9224 V1
image will be flashed.
Change-Id: I36c3b7c5959b4736abe69d218cae2880c20cfad1
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
From this change, by default QCN9224 V2 image will be
flashed. If QCN9224 version is V1, then V1 image will be
reflashed.
Change-Id: I205239e1ac4d8136272858aeca784553496e324a
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This RDP is based on AL03-C1.
The extra feature are WK03.2 – 2G+5GL in Pcie 0 &
WK01.7 – 5GH+6G in Pcie 2.
Change-Id: Ic52c71e98e1a06acf36a825d23f1d184601d153a
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This change addressed the missing AL02_C10 and AL03_C1 machine ids
into pack script.
Change-Id: I77398cbcff8b19efd5550536f5b154f5f36d0638
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This RDP is based on AL02-C4.
The extra feature is QCN90xx on PCIE0
Change-Id: Ic153279dbe18daf9f602bf44f0bf7539f43ba5f8
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This RDP is based on AL02-C6.
The extra feature is W5GL-4 in Pcie 1.
In U-boot, RDP is based on AL02-C4 as Interface enablement
is same as AL02-C12.
Change-Id: If81b5950d02b47c021aea3d52fdf5feb3fcb7035
Signed-off-by: Saahil Tomar <quic_saahtoma@quicinc.com>
This is RDP is based on AL02-C4. The extra feature is Alder 2G.
Change-Id: I175938c886c0ebd8f39659ba28be2a946d5b7494
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This patch packs the QCN9224 specific partition bin into single image
Change-Id: I300a6774dc570d459a14eca5702cd79398248fa5
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
1. This patch packs the QCN9224 specific partition bin into single image
2. Flash MIBIB/GPT based on machid
3. Use flash offsets and size from selected partition table
4. In commit 3a52cc6de2523628698edece70c6abb663ba8369, above support were
added for nand-2k & norplusnand-2k flash types and enabled for AL02-C4 alone,
this patch extends the support to other flashes emmc, norplusemmc, nand-4k
and norplusnand-4k.
5. Enabled for AL02-C4, AL02-C6, AL02-C7 and AL02-C8.
Change-Id: I68c0193b1fc133ce1ed434fa62502002dc501523
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
This patch packs the Al02-C4 specific system parition bin into single image,
flash mibib based on machid, use the offsets and size from the selected system
partition table
Change-Id: If645357c63c79c99a69f2b30dca31a387467fa5e
Signed-off-by: Karthick Shanmugham <quic_kartshan@quicinc.com>
IPQ5018 uses option qcn6122 to enable wifi fw selection.
This patch adds a new generic name 'multi_wifi_fw' to do
the same.
Change-Id: I6ca01e5c16537ea6d9f5e53f956d7e68566dc5ae
Signed-off-by: Rajkumar Ayyasamy <quic_arajkuma@quicinc.com>
This patch adds support for sbl partition layout switch on IPQ9574
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
(cherry picked from commit aa841af6f70823ec782b6efb0ba459f58068f9c6)
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
Change-Id: Idd950aef614a225c9cb6afd456967f53da6e4993
'flash wifi_fw' command writes into flash based
on 'rootfs' partition offset. After sysupgrade,
flashing single image at u-boot write wifi firmware
into failsafe partitions because post sysupgarde
primary and failsafe partitions are swapped vice-versa.
Single image always boots with primary partitions, and
the wifi firmware flashed into failsafe partition won't
be loaded subsequently q6 will crash.
This patch resolves issue by using "ubi" command's instead
of "flash wifi_fw" command.
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I9a89872ade5cbd753272e11fd15e7b8f06d4f92c
This change is to update the section name for wififw
in single-image with the QCN IDs when multiple wififw
images get packed.
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I56ab611a127b9958c38737684d856c51fabf7cd2
rootfs_data partition is not required with the
latest fs tools OpenWRT package as the logical volume
inside the rootfs partition will be used for overlay
and it is removed from the parttion table. So making it
as optional
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: Ia5489b714833548fd7f1aa4491c61eb70efdfdfa
rootfs_data partition is not required with the
latest fs tools OpenWRT package as the logical volume
inside the rootfs partition will be used for overlay
and it is removed from the parttion table. So making it
as optional
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: Ia5489b714833548fd7f1aa4491c61eb70efdfdfa
This change adds support to pack different wifi firmware
images as listed in XML into single-images and flash wififw
image based on machid mapped with 'wififw_type' attribute
in config XML.
The partition XML files are generic flash layouts to be used
for any SP, so it contains wififw names for default(internal),
QCN9000 and QCN9100 supported SPs.
- For QCN9100 support, specify "--qcn9100" argument for
LM256/LM512 profile builds.
- For 16M builds, the argument is not required as packing and
flashing is based on image availability in ipq/ directory.
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I3e8dac6c0f916eeb0b4c7b5ffa04afcdab8821b9