Compiling ath10k-ct sources

Hello, I am a bit outside my comfort zone but I would like to learn more about this process of compiling sources for a driver. I have worked on this for a week and I'm getting stuck now. My hardware device is 8devices Jalapeno with IPQ4018 chipset. I want IBSS adhoc support on the wireless driver so I can run BATMAN.

I am using github.com/8devices/lede-8dev and using the branch "spi-drivers" I can compile this OK with normal ath10k drivers and wireless works to connect to a wireless network and ping the internet but I have no IBSS adhoc support with this driver (determined by using "iw list" and noticing that batctl says no interface).

I try to use the ath10k-ct driver instead of ath10k and then manually put up firmware for the 4019 chipset. However, I don't notice the ath10k_pci come online during boot. iw list shows nothing. I tried rmmod the ath10k_pci,ath10k_core,ath,mac80211, then insmod in reverse order but nothing.

So I figure best thing is to use newest sources from github.com/greearb/ath10k-ct so I now what firmware matches from candelatech. I clone that repo and then do the following:

bryanc@bryanc-Aspire-V3-771 ~ $ cd Candelatech/
bryanc@bryanc-Aspire-V3-771 ~/Candelatech $ ls
ath10k  ath10k-4.13  ath10k-4.4  ath10k-4.9  build_me.sh  openwrt  patches  README.txt  refresh.bash  tmp
bryanc@bryanc-Aspire-V3-771 ~/Candelatech $ ./build_me.sh 
rm: cannot remove 'tmp/ath10k.build': No such file or directory
Enter your kernel's build directory:
/home/bryanc/jalapeno2/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/linux-4.9.44
Enter kernel version to build for: 4.4, 4.7, 4.9, 4.13  (or enter for default which is 4.7 currently):
4.9
 * These flags are used with the ampdu_action() callback in
 * @ampdu_action: Perform a certain A-MPDU action
	int (*ampdu_action)(struct ieee80211_hw *hw,
 * @RX_FLAG_ONLY_MONITOR: Report frame only to monitor interfaces without
	RX_FLAG_ONLY_MONITOR		= BIT(24),
Running tmp/ath10k.build/build_me.sh
make: Entering directory '/home/bryanc/jalapeno2/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/linux-4.9.44'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.


  WARNING: Symbol version dump ./Module.symvers
           is missing; modules will have no dependencies and modversions.

  Building modules, stage 2.
scripts/Makefile.modpost:42: include/config/auto.conf: No such file or directory
make[1]: *** No rule to make target 'include/config/auto.conf'.  Stop.
Makefile:1494: recipe for target 'modules' failed
make: *** [modules] Error 2
make: Leaving directory '/home/bryanc/jalapeno2/build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.4.0_musl_eabi/linux-4.9.44'

I wrote up all of this to help give everyone an idea of how little I know about what I am doing. But I am willing to learn and read alot. I think I am not putting the ath10k-ct sources into the correct folder to compile them?? I am also concerned that I am not pointing at the correct build_dir area since I get that error the autoconf.h is missing. I just reached a spot where I really don't know what to search for to learn more. I did follow this link openwrt viewtopic.php?id=20066 to make my own hello world module. But that example is too simplistic to understand how to get the ath10k-ct sources compiled.

Wouldnt it be easier to just use 8devices branch and port their changes to current LEDE master and use Candeltech firmware that can be selected in LEDE?

Also,where did you purchase Jalapeno?
I am looking for it for a while now

Ok, that is what I was hoping for. I did not realize I could do that. I will try to examine what has been changed to port Jalapeno over to the current LEDE master. Could you help direct me to a way to understand how to port the changes? Otherwise I will fuddle with it. Also, I purchase Jalapeno from lian-mueller.com website.

Also, I am not conviced that the LEDE master currently supports the newest versions of the candelatech driver, but I'm willing to try that to see what it gives me for functionality. Thank you much for that help, I get focused in the wrong area.

Well,you should be able to pretty much change everything 8devices changed.
Differences should not be so big.

I can attempt to port it tommorow but I cant test them.

As for firmware,you can see all current firmware versions here

Ok, I will look into what they changed and try to port it. I know there were some typos in their master branch that wouldn't let the jalapeno sysupgrade work, but that is fixed in the spi-drivers branch. It had to do with upper and lower case j in jalapeno name in one of the files.

That is easily resolvable.
I dont like that they used a patch to modify generic IPQ4019 DTS instead of including everything needed in Jalapeno DTS.

Also If you need newer Candeltech firmware you can change ath10k-firmware Makefile to include them.

Perhaps I could send you a Jalapeno Dev Kit so you have one to play with. That could help us both. Let me know if that sounds interesting. I am trying the port today.

You have a PM so we dont go off topic here

I ported in the changes by looking at the commits in the spi-drivers branch of the 8devices LEDE. I skipped the add spi driver stuff since it was removed on the next commit. I think I notice what you are talking about with the IPQ4019 DTS. I copied the qcom-ipq4019-ap.dk01.1.dtsi file and used it just like they did. It seemed like I could move those changes into the qcom-ipq40xx-ap.jalapeno.dts file to make it cleaner, but I did not try that yet. I am building and will see what happens.

That can easily be done later, first getting it to work at all is primary.
Datasheet would be really helpful but there is not a leaked one, at least I have not found one.

Also, I think that Candel tech firmware for IPQ4018/4019 is missing in lede master.
So that should be added and default firmware should be unchecked

Also,can I get link to your Github branch?

I ran into trouble as you may expect with the DTS. Newer patches don't apply correctly. Patches with 864 and up are newer than the 8dev project.

Applying /home/bryanc/LEDE-Project/target/linux/ipq806x/patches-4.9/864-00-v3-1-2-dts-ipq4019-Fix-pinctrl-node-name.patch using plaintext: 
patching file arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi
Hunk #1 FAILED at 40.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi.rej

Do I need to take the qcom-ipq4019-ap.dk01.1.dtsi file from build_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-5.5.0_musl_eabi/linux-4.9.67/arch/arm/boot/dts as it looks like the newer one and then manually apply the changes that 8dev project made? If I am changing qcom-ipq4019-ap.dk01.1.dtsi manually, do I always run the risk of patches failing? It seems that is true.

Hm,I would need to take a look at that patch.
Did you try refreshing the patches?

Also,I would rather make all changes regarding to Jalapeno to it DTS instead of making changes to dtsi that is used by all devices using that SOC.
That way you will override dtsi only for Jalapeno.

I did not have time today so tommorow morning I would give it a try.

I made a mistake by skipping over the spi driver commits that added and removed spi-driver. There are actually 7 files that were modified during that so I am working to fix what I missed first time around. My image compiles but does not see the NAND device. I think these changes I missed will fix that.

I went ahead and put all of the device tree changes in the jalapeno dts instead of the generic dsti. That allowed all of the patches to apply and I think get all of the changes needed for jalapeno correctly.

Great,so that patch depended on dtsi.

Do you maybe have a bootlog?

It turns out that my config-4.9 was missing some changes since I missed that one commit step. I got smarter about how I use git diff to check across several commits as this file gets updated several times in the spi-drivers branch from 8dev. It was missing things like the setup for the SPI NAND. All other files were OK I believe.

My image boots now. I can connect to wifi network and ping the internet over radio0.

Not sure why my images start with openwrt instead of lede?
openwrt-ipq806x-Jalapeno-squashfs-nand-sysupgrade.tar

Now I have to get back to trying the ath10k-ct driver and loading the correct firmware for it from ct. I will try that tomorrow. I also need to get all of this put up on a branch for you. I will try to do that tomorrow so you can input if you notice anything wrong if you feel like looking it over.

My splash also says openwrt.... Here is bootlog

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.67 (bryanc@bryanc-Aspire-V3-771) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5506-a8d3d51) ) #0 SMP Wed Dec 13 15:40:47 2017
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: 8devices Jalapeno v2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 13 pages/cpu @cfdb8000 s20940 r8192 d24116 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64512
[    0.000000] Kernel command line: ubi.mtd=ubi rootfstype=squashfs
[    0.000000] Bootloader command line not present
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 251616K/260096K available (3829K kernel code, 245K rwdata, 1224K rodata, 232K init, 240K bss, 8480K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc05c58b8   (3831 kB)
[    0.000000]       .init : 0xc0718000 - 0xc0752000   ( 232 kB)
[    0.000000]       .data : 0xc0752000 - 0xc078f4c0   ( 246 kB)
[    0.000000]        .bss : 0xc0791000 - 0xc07cd268   ( 241 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000007] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000023] Switching to timer-based delay loop, resolution 20ns
[    0.000259] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000277] pid_max: default: 32768 minimum: 301
[    0.000390] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000404] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001045] CPU: Testing write buffer coherency: ok
[    0.001390] Setting up static identity map for 0x80208280 - 0x802082d8
[    0.005764] Brought up 4 CPUs
[    0.005785] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.005794] CPU: All CPU(s) started in SVC mode.
[    0.011132] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.011324] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011350] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.011515] pinctrl core: initialized pinctrl subsystem
[    0.012844] NET: Registered protocol family 16
[    0.013153] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.040001] cpuidle: using governor ladder
[    0.070032] cpuidle: using governor menu
[    0.121858] usbcore: registered new interface driver usbfs
[    0.121960] usbcore: registered new interface driver hub
[    0.122057] usbcore: registered new device driver usb
[    0.122119] pps_core: LinuxPPS API ver. 1 registered
[    0.122131] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.122163] PTP clock support registered
[    0.124232] clocksource: Switched to clocksource arch_sys_counter
[    0.125361] NET: Registered protocol family 2
[    0.126077] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.126129] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.126186] TCP: Hash tables configured (established 2048 bind 2048)
[    0.126252] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.126287] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.126496] NET: Registered protocol family 1
[    0.127949] No memory allocated for crashlog
[    0.128204] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.135036] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.135051] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.140206] io scheduler noop registered
[    0.140225] io scheduler deadline registered (default)
[    0.144676] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.144743] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.144799] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.144855] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.145020] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.145836] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.145888] msm_serial 78af000.serial: uartclk = 1843200
[    0.145937] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 125, base_baud = 115200) is a MSM
[    0.145966] msm_serial: console setup on port #0
[    0.629589] console [ttyMSM0] enabled
[    0.634648] msm_serial: driver initialized
[    0.646326] loop: module loaded
[    0.647517] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    0.649219] m25p80 spi0.0: found s25fl064k, expected mx25l1606e
[    0.655624] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.661255] 8 ofpart partitions found on MTD device spi0.0
[    0.666095] Creating 8 MTD partitions on "spi0.0":
[    0.671548] 0x000000000000-0x000000040000 : "SBL1"
[    0.677434] 0x000000040000-0x000000060000 : "MIBIB"
[    0.682085] 0x000000060000-0x0000000c0000 : "QSEE"
[    0.686891] 0x0000000c0000-0x0000000d0000 : "CDT"
[    0.691741] 0x0000000d0000-0x0000000e0000 : "DDRPARAMS"
[    0.696598] 0x0000000e0000-0x0000000f0000 : "APPSBLENV"
[    0.701560] 0x0000000f0000-0x000000170000 : "APPSBL"
[    0.706835] 0x000000170000-0x000000180000 : "ART"
[    0.713107] libphy: ipq40xx_mdio: probed
[    0.749926] ESS reset ok!
[    0.782958] ESS reset ok!
[    1.214784] libphy: Fixed MDIO Bus: probed
[    1.214813] libphy: mdio_driver_register: qca8k
[    1.415025] i2c /dev entries driver
[    1.416922] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 666000 KHz
[    1.417396] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 716800 KHz
[    1.425223] sdhci: Secure Digital Host Controller Interface driver
[    1.433295] sdhci: Copyright(c) Pierre Ossman
[    1.439776] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.505799] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xaa
[    1.506035] nand: Winbond W25N01GV 1G 3.3V 8-bit
[    1.511461] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.516722] Scanning device for bad blocks
[    1.556466] random: fast init done
[    1.956378] random: crng init done
[    2.025838] 1 ofpart partitions found on MTD device spi0.1
[    2.025865] Creating 1 MTD partitions on "spi0.1":
[    2.030221] 0x000000000000-0x000008000000 : "ubi"
[    2.038223] NET: Registered protocol family 10
[    2.041306] NET: Registered protocol family 17
[    2.044378] 8021q: 802.1Q VLAN Support v1.8
[    2.048606] Registering SWP/SWPB emulation handler
[    2.056826] ubi0: attaching mtd8
[    7.410742] ubi0: scanning is finished
[    7.471417] ubi0: attached mtd8 (name "ubi", size 128 MiB)
[    7.471452] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    7.475843] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    7.482661] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    7.489535] ubi0: good PEBs: 1024, bad PEBs: 0, corrupted PEBs: 0
[    7.496304] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    7.502540] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1814776924
[    7.509676] ubi0: available PEBs: 0, total reserved PEBs: 1024, PEBs reserved for bad PEB handling: 20
[    7.518999] ubi0: background thread "ubi_bgt0d" started, PID 104
[    7.523758] block ubiblock0_1: created from ubi0:1(rootfs)
[    7.523766] ubiblock: device ubiblock0_1 (rootfs) set to be root fā–’[    7.557627] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    7.558312] Freeing unused kernel memory: 232K
[    7.563741] This architecture does not have kernel memory protection.
[    8.856702] init: Console is alive
[    8.856972] init: - watchdog -
[   10.784669] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   10.999391] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   11.004362] SCSI subsystem initialized
[   11.017346] ehci-platform: EHCI generic platform driver
[   11.184347] Raw USB3 Calibration value 729
[   11.316645] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   11.316809] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[   11.321581] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x02010010
[   11.328883] xhci-hcd xhci-hcd.0.auto: irq 192, io mem 0x08a00000
[   11.339867] hub 1-0:1.0: USB hub found
[   11.343683] hub 1-0:1.0: 1 port detected
[   11.348148] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   11.351236] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[   11.357026] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   11.366409] hub 2-0:1.0: USB hub found
[   11.372498] hub 2-0:1.0: 1 port detected
[   11.377406] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   11.380086] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[   11.385863] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x02010010
[   11.393034] xhci-hcd xhci-hcd.1.auto: irq 193, io mem 0x06000000
[   11.404051] hub 3-0:1.0: USB hub found
[   11.407986] hub 3-0:1.0: 1 port detected
[   11.412332] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   11.415551] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[   11.421131] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   11.430535] hub 4-0:1.0: USB hub found
[   11.436864] hub 4-0:1.0: config failed, hub doesn't have any ports! (err -19)
[   11.449942] usbcore: registered new interface driver usb-storage
[   11.450321] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   11.474871] init: - preinit -
[   12.872085] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.873393] ess_edma c080000.edma: eth0: GMAC Link is up with phy_speed=1000
[   12.876911] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   17.023924] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 176
[   17.573009] UBIFS (ubi0:2): recovery needed
[   19.583409] UBIFS (ubi0:2): recovery completed
[   19.583800] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[   19.586868] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   19.594756] UBIFS (ubi0:2): FS size: 119738368 bytes (114 MiB, 943 LEBs), journal size 5967872 bytes (5 MiB, 47 LEBs)
[   19.604635] UBIFS (ubi0:2): reserved for root: 4952683 bytes (4836 KiB)
[   19.615225] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID D02270A7-E7D8-4AB3-9ABA-D0ABF5B2EDAA, small LPT model
[   19.695283] mount_root: switching to ubifs overlay
[   19.799574] urandom-seed: Seeding with /etc/urandom.seed
[   20.180048] procd: - early -
[   20.180161] procd: - watchdog -
[   20.815294] procd: - watchdog -
[   20.818102] procd: - ubus -
[   21.980362] procd: - init -
Please press Enter to activate this console.
[   22.543473] kmodloader: loading kernel modules from /etc/modules.d/*
[   22.547974] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   22.557901] usbcore: registered new interface driver cdc_acm
[   22.557937] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   22.564111] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   22.570427] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   22.580302] ip_tables: (C) 2000-2006 Netfilter Core Team
[   22.591583] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[   22.621115] xt_time: kernel timezone is -0000
[   22.649971] PPP generic driver version 2.4.2
[   22.651153] NET: Registered protocol family 24
[   22.875167] ath10k_ahb a000000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/firmware-6.bin failed with error -2
[   22.875219] ath10k_ahb a000000.wifi: Falling back to user helper
[   22.923707] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   24.337879] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   24.337935] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   24.354035] ath10k_ahb a000000.wifi: firmware ver 10.4-3.2.1-00058 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 44d3a3c6
[   24.397402] ath10k_ahb a000000.wifi: board_file api 2 bmi_id 0:16 crc32 75a8afeb
[   25.725051] ath10k_ahb a000000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   25.930395] ath10k_ahb a800000.wifi: Direct firmware load for ath10k/QCA4019/hw1.0/firmware-6.bin failed with error -2
[   25.930451] ath10k_ahb a800000.wifi: Falling back to user helper
[   26.143136] firmware ath10k!QCA4019!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   26.143401] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   26.151076] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   26.168549] ath10k_ahb a800000.wifi: firmware ver 10.4-3.2.1-00058 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 44d3a3c6
[   26.210882] ath10k_ahb a800000.wifi: board_file api 2 bmi_id 0:17 crc32 75a8afeb
[   27.539253] ath10k_ahb a800000.wifi: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   27.557134] kmodloader: done loading kernel modules from /etc/modules.d/*
[   30.944283] ess_edma c080000.edma: eth0: GMAC Link is up with phy_speed=1000
[   30.945885] br-lan: port 1(eth0) entered blocking state
[   30.950425] br-lan: port 1(eth0) entered disabled state
[   30.955948] device eth0 entered promiscuous mode
[   30.965524] br-lan: port 1(eth0) entered blocking state
[   30.965565] br-lan: port 1(eth0) entered forwarding state
[   33.121166] spi_qup 78b5000.spi: unexpected irq 00000000 00000000 00000d40
[   33.150946] spi_qup 78b5000.spi: unexpected irq 00000000 00000000 00000d40
[   33.266490] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   34.889336] wlan0: authenticate with a0:a3:e2:16:56:b5
[   36.415968] wlan0: send auth to a0:a3:e2:16:56:b5 (try 1/3)
[   36.429249] wlan0: authenticated
[   36.434814] wlan0: associate with a0:a3:e2:16:56:b5 (try 1/3)
[   36.440392] wlan0: RX AssocResp from a0:a3:e2:16:56:b5 (capab=0x411 status=0 aid=4)
[   36.449537] wlan0: associated
[   36.450889] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready



BusyBox v1.27.2 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r5506-a8d3d51
 -----------------------------------------------------
root@LEDE:/#

OK, so I'm new at this. I did all of the above by checking out the master at lede-project/source on github. However, it looks like I was suppose to checkout the branch for lede-17.01. I guess that is why everything says openwrt as the master says openwrt in the readme.

LEDE is rebranding as OpenWrt again, as part of the ongoing merge process - so the name is expected.

And no, the lede-17.01 branch, while being the stable branch, is not meant for development, the master branch is the only one for which merges and device additions are accepted (and not to forget that lede-17.01 doesn't have any kind of ipq401x support to begin with).

OK, good. That makes sense. Its getting late at night for me and the name change confused me. Thank you, I will continue on.

How is AC working?
I see couple of firmware related issues,it looks like driver did not load firmware at all as it was searching for firmware-6.bin