How to create firmware file for Archer C20 V5

Hello Folks
I am new to custom router firmware so this might be a noon question.
I am trying to install OpenWrt on my Archer C20 V5

The issue is that since this is the first installation, I should install using the Firmware OpenWrt Install file but there is no URL for that for my router only the upgrade file.

I searched the forum and saw that you need to create the firmware file using the instructions in this link but I am not sure how to run this code?

The DD and CAT commands do I need to install image builder to run them and does anyone know of a way to install image builder on WSL 2 running Ubuntu
Thanks

See the Wiki device page

1 Like

dd is available for windows, google it.

the cat can be replaced by copy /b boot.bin + owrt.bin outfile.bin in win

2 Likes

I used Luci to download the 10 partitions, then stitched them together with a windows app called filejoiner.

[    0.784765] spi-nor spi0.0: en25qh64 (8192 Kbytes)
[    0.789762] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.796226] Creating 7 MTD partitions on "spi0.0":
[    0.801101] 0x000000000000-0x000000030000 : "factory-uboot" ,192K,  C20.mtd0.bin
[    0.807971] 0x000000030000-0x000000050000 : "boot"          ,128K,  C20.mtd1.bin
[    0.813922] 0x000000050000-0x0000007c0000 : "firmware"      ,7616K, C20.mtd2.bin
[    0.824010] 2 tplink-fw partitions found on MTD device firmware
[    0.830083] Creating 2 MTD partitions on "firmware":
[    0.835138] 0x000000000000-0x0000001e823f : "kernel"        ,1953K, C20.mtd3.bin
[    0.841292] 0x0000001e8240-0x000000770000 : "rootfs"        ,5663K, C20.mtd4.bin
[    0.847380] mtd: device 4 (rootfs) set to be root filesystem
[    0.855310] 1 squashfs-split partitions found on MTD device rootfs
[    0.861679] 0x0000004f0000-0x000000770000 : "rootfs_data"   ,2560K, C20.mtd5.bin
[    0.868402] 0x0000007c0000-0x0000007d0000 : "config"          ,64K, C20.mtd6.bin
[    0.874581] 0x0000007d0000-0x0000007e0000 : "rom"             ,64K, C20.mtd7.bin
[    0.880549] 0x0000007e0000-0x0000007f0000 : "romfile"         ,64K, C20.mtd8.bin
[    0.886784] 0x0000007f0000-0x000000800000 : "radio"           ,64K, C20.mtd9.bin
[    0.893639] libphy: Fixed MDIO Bus: probed

1 Like

No, they're included as a basic part of any Linux such as WSL or any live ISO.

1 Like

Yeah these commands can be run on any Linux system WSL included, Idk why my WSL was giving me an error on this.
I added sudo in front of them, they were not running otherwise

Anyway, I used the command to make the boot.bin file and am running OpenWRT on my router, I am using it as a wifi repeater seems to be working fine for now. Yay

Yup correct, Idk my WSL was giving me an error. I ran apt-update and reset a couple of settings and the commands were working fine.

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