Commit graph

36587 commits

Author SHA1 Message Date
anusha
37ba618100 ipq9048: Enable LZMA decompression support
Change-Id: Ia285fc51f36746378af33e7283287ddadebbe9d5
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 22:25:05 -08:00
anusha
e39523dc9e ipq9048: Enable support to change dts params using env
Change-Id: I0913bff6c1fecd8e98f7374669d0b930a24e0ee4
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 22:25:01 -08:00
anusha
e62b67bcba ipq9048: enable xpu config test support
Change-Id: Ic44661621c02e6e55f8844a0fd2fc92d4e9a2127
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 22:24:58 -08:00
anusha
ab45e2c811 ipq9048: Enable support to flash individual ubi volumes
Change-Id: If7d7cf31bf93eb9d464da87bca6e2c51c48d9e54
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 22:24:55 -08:00
anusha
46a5e7fa71 ipq9048: enable elf image authentication
Change-Id: If18e5dc8a982798d5cedda04c5fdef81d0529488
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 22:24:51 -08:00
anusha
b85e009d2b ipq9048: enable run and flash command
Change-Id: I5ae7ef31b7c794c58f2c513374deef62bd8b19f0
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 22:24:47 -08:00
anusha
793be6811f ipq9048: enable mtest support
Change-Id: I741bba84cfe57ebff69c40fb4426d57d481f02e6
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 22:24:43 -08:00
anusha
48eb4b8ced ipq9048: enabling imxtract command support
Change-Id: Ib0f5d1f7913e13e03822f934f9855389ce544b45
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 22:24:32 -08:00
anusha
127bfa372b ipq9048: Enabled DEVICE_NULLDEV
Enabled DEVICE_NULLDEV to redirect unwanted console prints.

Change-Id: Ieb630f5c5220748421f6ef050898160a549de819
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 21:55:23 -08:00
anusha
123e771583 ipq9048: Enabling bootipq command
Change-Id: I59284e9b96ca5dc741554725c9f1c78a02d58d31
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-30 21:50:49 -08:00
anusha
46ad9dc379 qca: ipq9048: Enable SMEM_VERSION_C support
Added config to enable smem version C.
Updated SYS_TEXT_BASE and SMEM_BASE addresses.

Change-Id: If6cdb1dffc3ad37e0eba833cf1538487a8f3045c
Signed-off-by: anusha <anusharao@codeaurora.org>
2020-12-31 10:27:00 +05:30
Linux Build Service Account
0536539bd9 Merge "arch: arm: ipq9048: Add support for spi-nor" 2020-12-30 16:07:21 -08:00
Selvam Sathappan Periakaruppan
7bff1c67f4 qca: Move the function set_platform_specific_default_env
This patch moves the set_platform_specific_default_env
function outside of CONFIG_QCA_MMC as this function is
not dependent on that config.

This will cause unexpected behaviour if suppose MMC
config is disabled.

Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
Change-Id: I9bfc35afb054103bfb60b837cff04eed1d94decd
2020-12-30 16:13:45 +05:30
Md Sadre Alam
5c027bbc3d arch: arm: ipq9048: Add support for spi-nor
Added support for spi-nor in bam mode.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I3b38396c3fd92705cfce446d512f555258e863bb
2020-12-30 14:53:54 +05:30
Linux Build Service Account
ce59750a4d Merge "qca: ipq9048: Adding support for IPQ9048" 2020-12-28 22:06:23 -08:00
c_nguruj
c731f6790a Merge remote-tracking branch 'origin/win.coretech.1.0'
Change-Id: I7d23f9025357d5f0a1fe46dd30c906f938bab240
Signed-off-by: c_nguruj <dharilak@codeaurora.org>
2020-12-24 17:13:36 +05:30
Linux Build Service Account
05a60f1d5a Merge "drivers: mtd: qpic_nand: Read one complete page for serial trainig" 2020-12-22 19:09:01 -08:00
anusha
dc32ceba50 qca: ipq9048: Adding support for IPQ9048
Added config, dts and initial board support code for ipq9048.

Signed-off-by: anusha <anusharao@codeaurora.org>
Change-Id: Ib4d0da9aedd5c98b02c59dd83d9efa78baada335
2020-12-22 18:18:01 +05:30
Selvam Sathappan Periakaruppan
8d1a99097c ipq6018: Increase MDC, MDIO gpios drive strength
This patch updates the MDC and MDIO gpio strength from 2MA
to 8MA.

Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
Change-Id: Ie510d7ecaca1d22c97e4c8522050a76ba9b1b22c
2020-12-18 19:18:07 +05:30
Md Sadre Alam
82f1b86949 drivers: mtd: qpic_nand: Read one complete page for serial trainig
This change will change serial training data read to one complete
page instead of 64-bytes read. Partial page read will cause some
data curroption issue if read request failed so read one complete page.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ibad101f096440e5dc10dfb4b3329a0aa6bddee7d
2020-12-18 17:34:40 +05:30
Linux Build Service Account
ab45ee8b60 Merge "driver: nand: qpic_nand: Fix proper clock source macro in set_clk_rate function." 2020-12-11 05:06:53 -08:00
Prasanna Kumar Thoorvas Samyrao Muralidharan
26cfdff7c1 tools: pack.py: Support ATF and tiny-nor single image
Change-Id: Ib3a132105d325f8f840a73811a2214a4bd8a618a
Signed-off-by: Prasanna Kumar Thoorvas Samyrao Muralidharan <ptsm@codeaurora.org>
2020-12-07 15:17:39 +05:30
Manikanta Mylavarapu
33024894ca ipq5018: Fix usb hsphy clock
It will resolve usb probe failure in hs phy
without ss phy. It enables utmi clock instead
of pipe clock in hs phy only configuration.

Change-Id: Idaf140d2cbe068304f1ce87c443c8e2196e3433e
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
2020-12-07 14:35:22 +05:30
Md Sadre Alam
d60219d19c driver: nand: qpic_nand: Fix proper clock source macro in set_clk_rate function.
This change will fix proper clock source macro in set_clk_rate function.
Currently we are passing the wrong value to qpic_set_clk_rate for clock
source.

wrong:
qpic_set_clk_rate(IO_MACRO_CLK_200_MHZ, QPIC_IO_MACRO_CLK, NAND_QSPI_MSTR_CONFIG);

The last argument should be clock source not register base address.

correct:
qpic_set_clk_rate(IO_MACRO_CLK_200_MHZ, QPIC_IO_MACRO_CLK, GPLL0_CLK_SRC);

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ie9e07c253220924fd0c9287f7f0e2c5d42351128
2020-12-07 11:13:51 +05:30
Linux Build Service Account
1a756e2b23 Merge "ipq5018: bt: fix hci cmd" 2020-11-27 05:09:42 -08:00
Rajkumar Ayyasamy
e98d1a5311 ipq5018: bt: fix hci cmd
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: Ideeec55d3fe062f1cdc07f81f379c017224dbf0c
2020-11-26 16:54:35 +05:30
Linux Build Service Account
41c00461e4 Merge "mmc: fix dest address" 2020-11-26 01:09:17 -08:00
Linux Build Service Account
8b4babe301 Merge "tools: add script to convert files in squashfs img to hex array" 2020-11-26 01:09:17 -08:00
Linux Build Service Account
276df92d06 Merge "fdt_fixup: Set mtdids if not present in bootm path" 2020-11-25 16:09:27 -08:00
Linux Build Service Account
27ebbe15c7 Merge "ipq5018: Add BT beaconing support" 2020-11-25 16:09:26 -08:00
Rajkumar Ayyasamy
f5838b7edc mmc: fix dest address
After reading data from mmc, dest pointer will point to
the end address. To calculate the start of dest pointer
number of bytes copied has to be subtracted.

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I24610a3b3bb498c4ee4ebba58e557d109c6af1ef
2020-11-25 04:18:37 -08:00
Rajkumar Ayyasamy
2343ff363f ipq5018: Add BT beaconing support
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: Ibe8dc716d0f4bafbbf1ec7f3b776bb4a6f891f45
2020-11-25 12:49:07 +05:30
Rajkumar Ayyasamy
5f474cadf3 ipq5018: add BT IPC over shared memory driver
https://source.codeaurora.org/quic/qsdk/oss/kernel/linux-msm/tree/drivers/soc/qcom/bt?h=win.coretech.1.0

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: If52b52ebe8774063f52f7b597991fbb562526db6
2020-11-24 22:48:24 -08:00
Rajkumar Ayyasamy
76d4b7de87 mmc: fix dest address
After reading data from mmc, dest pointer will point to
the end address. To calculate the start of dest pointer
number of bytes copied has to be subtracted.

Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I24610a3b3bb498c4ee4ebba58e557d109c6af1ef
2020-11-24 04:45:14 -08:00
Prasanna Kumar Thoorvas Samyrao Muralidharan
f6379ca513 fdt_fixup: Set mtdids if not present in bootm path
When bootm is called from uboot command prompt mtdids env is not set.
Set the mtdids env variable to proper value so that kernel can populate
the mtd partitions.

Change-Id: Ibaa7d196fb2fd3163fa14b9128becdad3b6c13f2
Signed-off-by: Prasanna Kumar Thoorvas Samyrao Muralidharan <ptsm@codeaurora.org>
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-11-24 17:59:42 +05:30
Rajkumar Ayyasamy
b1bf73dfbf tools: add script to convert files in squashfs img to hex array
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I3aa88737f832713a3ab371310f56025e5da30287
2020-11-24 01:11:39 -08:00
Karthick Shanmugham
35fb2435e2 ipq: Removed usb_init during board recovery flow
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: Ib8dd62084d82477eb9bebcaa33a7b134c41d9afc
2020-11-23 08:12:26 -08:00
Linux Build Service Account
2e249ffd6b Merge "ipq5018: dts: Update TB-MP04 device tree" 2020-11-20 14:08:03 -08:00
Linux Build Service Account
e4d92f922c Merge "ipq5018: dts: Update MP03.4 device tree" 2020-11-20 12:09:50 -08:00
Pavithra Palanisamy
cb7d4f966d ipq5018: dts: Update TB-MP04 device tree
TB-MP04 baord is based on MP03.3 RDP.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I06ee9973bc7db73e49174cc820c5d2385e1ca943
2020-11-19 20:28:51 +05:30
Pavithra Palanisamy
007a5446e8 ipq5018: dts: Update MP03.4 device tree
MP03.4-C1 and MP03.4-C2 RDPs are based on MP03.3 and
MP03.3-C2 respectively.

Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I016eb422f3628e1a7733d71754613b2fa51245f1
2020-11-19 20:23:21 +05:30
Rajkumar Ayyasamy
940366ed72 tools: pack: make rootfs_data optional
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
2020-11-18 23:37:59 -08:00
Pavithra Palanisamy
d6dd5e226b ipq5018: dts: Add support for TB-MP04 RDP
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: I8e048ecfea8c1b32db382b663a6ca54198b31607
2020-11-18 00:04:36 -08:00
Pavithra Palanisamy
63891397f5 ipq5018: dts: Add support for MP03.4-C1/C2 RDPs
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
Change-Id: Iee9d3663a0232a40e6791dc925a5d0a4805155c5
2020-11-18 00:03:30 -08:00
Md Sadre Alam
3cf90dc5c7 driver: nand: qpic: Fix memory leak problem in serial training.
This change will fix memory leak problem in serial training.

For serial tarining we are allocating memory to hold the training
pattern buf. For any failure we are freeing the buffer but due to
wrong lavel used memory was not getting freed due to this memory leak
problem is happening.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I35ffd27df9b24ea53aed9e9f0623d8890ba66f06
2020-11-16 04:50:33 -08:00
Rajkumar Ayyasamy
8f22bd73ef tools: pack: make rootfs_data optional
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
2020-11-10 16:30:30 +05:30
Vandhiadevan Karunamoorthy
9f5a786d58 dts: ipq50xx: Add MP03.1-C3 RDP
This RDP is the combination of MP03.1 + NAPA.
This RDP support Nor & nand flash.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia39cdf8ae21ad9800ee1c00c7af44c9bc1af03dc
2020-11-05 22:19:27 -08:00
Vandhiadevan Karunamoorthy
c33fb86ed0 dts: ipq50xx: Enable MP03.5 RDP build
This changes add Machid , USB Power gpio and enable build support.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I99e2da23f54da4d5e4edc9312f08340b88f7c59a
2020-11-04 11:53:11 +05:30
Vandhiadevan Karunamoorthy
e3ccad69cf dts: ipq5018: Add MP03.5 RDP
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ica56c52ee16051b0b9d13bbb68c5cd90e27e7cb3
2020-11-04 11:48:25 +05:30
Pavithra Palanisamy
f59f46b51d ipq5018: Flash wififw image specific to the RDP
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
2020-10-30 06:37:53 -07:00