How to flash IPQ40xx qcom_ap-dk01.1-c1 via uboot

Hello Everyone

how to forcefully Flash the openwrt-19.07.1-ipq40xx-generic-qcom_ap-dk01.1-c1-squashfs-sysupgrade.bin firmware using uboot onto my board?

Uboot Version:-U-Boot 2012.07 [Chaos Calmer 15.05.1,unknown] (May 29 2019 - 16:16:55)

smeminfo:- (IPQ40xx) # smeminfo

flash_type: 0x6
flash_index: 0x0
flash_chip_select: 0x0
flash_block_size: 0x10000
flash_density: 0x1000000
partition table offset 0x0
No.: Name Attributes Start Size
0: 0:SBL1 0x0000ffff 0x0 0x40000
1: 0:MIBIB 0x001040ff 0x40000 0x20000
2: 0:QSEE 0x0000ffff 0x60000 0x60000
3: 0:CDT 0x0000ffff 0xc0000 0x10000
4: 0:DDRPARAMS 0x0000ffff 0xd0000 0x10000
5: 0:APPSBLENV 0x0000ffff 0xe0000 0x10000
6: 0:APPSBL 0x0000ffff 0xf0000 0x80000
7: 0:ART 0x0000ffff 0x170000 0x10000
8: rootfs 0x0100ffff 0x0 0x4000000
(IPQ40xx) #

-> Please help me understanding these partitions as i am newbie to openwrt. these are some of flash details

smem ram ptable found: ver: 1 len: 3
DRAM: 256 MiB
machid : 0x8010100
NAND: spi_nand: spi_nand_flash_probe SF NAND ID c8:b1:48:c8
SF: Detected GD5F1GQ4XC with page size 2 KiB, total 128 MiB
SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
ipq_spi: page_size: 0x100, sector_size: 0x10000, size: 0x1000000
144 MiB
MMC:
In: serial
Out: serial
Err: serial
machid: 8010100
flash_type: 0

-> I was able to run the ramfs-Uimage into the RAM; but could not flash it.
how to consider the erase and copy flash addresses and what are the uboot commands to do so?

Bump! please

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.