Device info
Brand :Lite-On WP8331 / Mojo C-100
CPU: IPQ4028
RAM: 256M
FLASH: 64M (using dual flash)
flash1: 16-pin W25Q256
flash2 :16-pin M25L256
gpio controller : PCA9534
Switch :QCA8072
FCC: https://fcc.report/FCC-ID/PPQ-WP8331
WIKIDEVI: https://wikidevi.wi-cat.ru/Mojo_Networks_C-100
original bootlog
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.1-00093
S - IMAGE_VARIANT_STRING=DAABANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x00000021
S - Core 0 Frequency, 0 MHz
B - 261 - PBL, Start
B - 1339 - bootable_media_detect_entry, Start
B - 1679 - bootable_media_detect_success, Start
B - 1692 - elf_loader_entry, Start
B - 5068 - auth_hash_seg_entry, Start
B - 7214 - auth_hash_seg_exit, Start
B - 572023 - elf_segs_hash_verify_entry, Start
B - 688043 - PBL, End
B - 688067 - SBL1, Start
B - 776451 - pm_device_init, Start
D - 6 - pm_device_init, Delta
B - 777959 - boot_flash_init, Start
D - 63349 - boot_flash_init, Delta
B - 845498 - boot_config_data_table_init, Start
D - 3841 - boot_config_data_table_init, Delta - (419 Bytes)
B - 852713 - clock_init, Start
D - 7586 - clock_init, Delta
B - 864822 - CDT version:2,Platform ID:8,Major ID:1,Minor ID:0,Subtype:0
B - 868313 - sbl1_ddr_set_params, Start
B - 873306 - cpr_init, Start
D - 2 - cpr_init, Delta
B - 877692 - Pre_DDR_clock_init, Start
D - 4 - Pre_DDR_clock_init, Delta
D - 13152 - sbl1_ddr_set_params, Delta
B - 891523 - pm_driver_init, Start
D - 2 - pm_driver_init, Delta
B - 961688 - sbl1_wait_for_ddr_training, Start
D - 29 - sbl1_wait_for_ddr_training, Delta
B - 977618 - Image Load, Start
D - 135379 - QSEE Image Loaded, Delta - (261848 Bytes)
B - 1113498 - Image Load, Start
D - 1449 - SEC Image Loaded, Delta - (2048 Bytes)
B - 1123913 - Image Load, Start
D - 207432 - APPSBL Image Loaded, Delta - (422688 Bytes)
B - 1331770 - QSEE Execution, Start
D - 64 - QSEE Execution, Delta
B - 1337935 - SBL1, End
D - 651979 - SBL1, Delta
S - Flash Throughput, 1996 KB/s (687003 Bytes, 344102 us)
S - DDR Frequency, 533 MHz
U-Boot 2012.07 [local,local] (May 25 2017 - 11:53:58)
WP8331 U-Boot v0.0.8 (May 25 2017 - 11:54:12)
smem ram ptable found: ver: 1 len: 3
DRAM: 256 MiB
machid : 0x8010000
NAND: ipq_spi: page_size: 0x100, sector_size: 0x10000, size: 0x2000000
64 MiB
MMC:
In: serial
Out: serial
Err: serial
machid: 8010000
Net: MAC0 addr:88:b1:e1:e1:e7:5f
PHY ID1: 0x4d
PHY ID2: 0xd0b2
ipq40xx_ess_sw_init done
eth0
GPIO settings
## Checking Image at 84000000 ...
FIT image found
FIT description: ARM OpenWrt FIT (Flattened Image Tree)
Image 0 (kernel@1)
Description: ARM OpenWrt Linux-3.14
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x840000e0
Data Size: 3387028 Bytes = 3.2 MiB
Architecture: ARM
OS: Linux
Load Address: 0x80208000
Entry Point: 0x80208000
Hash algo: crc32
Hash value: 74bb1889
Hash algo: sha1
Hash value: b1fbadcd22c9aacddbe76820f2ad583bd4c516e8
Image 1 (fdt@1)
Description: ARM OpenWrt qcom-ipq40xx-ap.dk01.1-c1 device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x8433b0b8
Data Size: 33009 Bytes = 32.2 KiB
Architecture: ARM
Hash algo: crc32
Hash value: 281e7ba4
Hash algo: sha1
Hash value: 8c81d15967592a038149202ae1415211371200f5
Default Configuration: 'config@1'
Configuration 0 (config@1)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@1
## Checking hash(es) for FIT Image at 84000000 ...
Hash(es) for Image 0 (kernel@1): crc32+ sha1+
Hash(es) for Image 1 (fdt@1): crc32+ sha1+
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x160000 -- 100% complete.
Writing to Nand... done
## Booting kernel from FIT Image at 84000000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: ARM OpenWrt Linux-3.14
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x840000e0
Data Size: 3387028 Bytes = 3.2 MiB
Architecture: ARM
OS: Linux
Load Address: 0x80208000
Entry Point: 0x80208000
Hash algo: crc32
Hash value: 74bb1889
Hash algo: sha1
Hash value: b1fbadcd22c9aacddbe76820f2ad583bd4c516e8
Verifying Hash Integrity ... crc32+ sha1+ OK
## Flattened Device Tree from FIT Image at 84000000
Using 'config@1' configuration
Trying 'fdt@1' FDT blob subimage
Description: ARM OpenWrt qcom-ipq40xx-ap.dk01.1-c1 device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x8433b0b8
Data Size: 33009 Bytes = 32.2 KiB
Architecture: ARM
Hash algo: crc32
Hash value: 281e7ba4
Hash algo: sha1
Hash value: 8c81d15967592a038149202ae1415211371200f5
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x8433b0b8
Uncompressing Kernel Image ... OK
Loading Device Tree to 86ff4000, end 86fff0f0 ... OK
Using machid 0x8010000 from environment
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Qualcomm Technologies, Inc. IPQ40xx/AP-DK01.1-C1
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 7 pages/cpu @cfdca000 s8192 r8192 d12288 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 60928
[ 0.000000] Kernel command line: rootwait rootwait pri=1 clk_ignore_unused[ 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: 235824K/245760K available (4643K kernel code, 376K rwdata, 1596K rodata, 184K init, 625K bss, 9936K reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 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 - 0xc08200dc (6241 kB)
[ 0.000000] .init : 0xc0821000 - 0xc084f000 ( 184 kB)
[ 0.000000] .data : 0xc0850000 - 0xc08ae03c ( 377 kB)
[ 0.000000] .bss : 0xc08ae03c - 0xc094a694 ( 626 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Architected cp15 timer(s) running at 48.00MHz (virt).
[ 0.000009] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 2863311552512ns
[ 0.000019] Switching to timer-based delay loop
[ 0.000326] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[ 0.000348] pid_max: default: 32768 minimum: 301
[ 0.000657] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000674] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.012112] CPU: Testing write buffer coherency: ok
[ 0.012516] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.012597] Setting up static identity map for 0x80213070 - 0x802130c8
[ 0.090662] CPU1: Booted secondary processor
[ 0.090713] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.110667] CPU2: Booted secondary processor
[ 0.110706] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.130701] CPU3: Booted secondary processor
[ 0.130741] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.130893] Brought up 4 CPUs
[ 0.130942] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[ 0.130952] CPU: All CPU(s) started in SVC mode.
[ 0.142523] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.142946] pinctrl core: initialized pinctrl subsystem
[ 0.143459] regulator-dummy: no parameters
[ 0.144227] NET: Registered protocol family 16
[ 0.145942] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[ 0.146555] cpuidle: using governor ladder
[ 0.146569] cpuidle: using governor menu
[ 0.155659] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 3
[ 0.155668] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 1
[ 0.155677] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 2
[ 0.155682] hw-breakpoint: CPU 1 failed to disable vector catch
[ 0.155718] hw-breakpoint: Debug register access (0xee003e17) caused undefined instruction on CPU 0
[ 0.155813]
[ 0.155813] Version Rollback Feature Disabled
[ 0.159512] i2c-msm-v2 78b7000.i2c: probing driver i2c-msm-v2
[ 0.159744] i2c-msm-v2 78b7000.i2c: note pinctrl_lookup_state(i2c_sleep) err:-19
[ 0.161161] sps:sps is ready.
[ 0.166562] bio: create slab <bio-0> at 0
[ 0.170290] SCSI subsystem initialized
[ 0.171139] msm_bus_fabric_init_driver
[ 0.171327] msm_bus_device 580000.ad-hoc-bus: Util-fact is missing, default to 100
[ 0.171347] msm_bus_device 580000.ad-hoc-bus: Vrail-comp is missing, default to 100
[ 0.171369] msm_bus_device 580000.ad-hoc-bus: Failed to get bus clk for bus4096 ctx1
[ 0.171418] msm_bus_device 580000.ad-hoc-bus: Util-fact is missing, default to 100
[ 0.171435] msm_bus_device 580000.ad-hoc-bus: Vrail-comp is missing, default to 100
[ 0.171454] msm_bus_device 580000.ad-hoc-bus: Failed to get bus clk for bus1024 ctx1
[ 0.200561] Advanced Linux Sound Architecture Driver Initialized.
[ 0.201661] Switched to clocksource arch_sys_counter
[ 0.203798] NET: Registered protocol family 2
[ 0.205246] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.205300] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.205355] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.205417] TCP: reno registered
[ 0.205437] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.205473] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.205868] NET: Registered protocol family 1
[ 0.207287] hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
[ 0.208821] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.219568] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.219586] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.220665] msgmni has been set to 460
[ 0.222220] Key type asymmetric registered
[ 0.222239] Asymmetric key parser 'x509' registered
[ 0.222282] io scheduler noop registered
[ 0.222294] io scheduler deadline registered (default)
[ 0.223629] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[ 0.223706] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[ 0.223810] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[ 0.223878] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[ 0.224667] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.225892] msm_serial_hsl_probe: detected port #0 (ttyMSM0)
[ 0.225935] msm_serial_hsl_probe: Bus scaling is disabled
[ 0.226131] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 139, base_baud = 115200) is a MSM
[ 0.226210] msm_hsl_console_setup: console setup on port #0
[ 0.814458] console [ttyMSM0] enabled
[ 0.818593] msm_serial_hsl_init: driver initialized
[ 0.823427] msm_serial_hs module loaded
[ 0.827132] qca_serial_hs module loaded
[ 0.833450] sps: BAM device 0x07884000 is not registered yet.
[ 0.838172] sps:BAM 0x07884000 is registered.
[ 0.843530] sps:BAM 0x07884000 (va:0xd0f80000) enabled: ver:0x19, number of pipes:12
[ 0.850702] m25p80 spi0.0: found w25q256, expected n25q128a11
[ 0.856600] m25p80 spi0.0: w25q256 (32768 Kbytes)
[ 0.860893] 13 ofpart partitions found on MTD device spi0.0
[ 0.866406] Creating 13 MTD partitions on "spi0.0":
[ 0.871247] 0x000000000000-0x000000040000 : "0:SBL1"
[ 0.877535] 0x000000040000-0x000000060000 : "0:MIBIB"
[ 0.882799] 0x000000060000-0x0000000c0000 : "0:QSEE"
[ 0.887965] 0x0000000c0000-0x0000000d0000 : "0:CDT"
[ 0.892922] 0x0000000d0000-0x0000000e0000 : "0:DDRPARAMS"
[ 0.898375] 0x0000000e0000-0x000000160000 : "0:APPSBL"
[ 0.903614] 0x000000160000-0x000000170000 : "boot_env"
[ 0.908845] 0x000000170000-0x000000180000 : "art"
[ 0.913696] 0x000000180000-0x000000580000 : "config"
[ 0.918662] 0x000000580000-0x000000980000 : "kernel:0"
[ 0.923842] 0x000000980000-0x0000022c0000 : "rootfs:0"
[ 0.928995] 0x0000022c0000-0x0000026c0000 : "kernel:1"
[ 0.934197] 0x0000026c0000-0x000004000000 : "rootfs:1"
[ 0.939392] mtd: device 12 (rootfs:1) set to be root filesystem
[ 0.945087] 1 squashfs-split partitions found on MTD device rootfs:1
[ 0.950634] 0x0000037a0000-0x000004000000 : "rootfs_data"
[ 0.958390] libphy: ipq40xx_mdio: probed
[ 0.965160] ipq40xx-mdio 90000.mdio: ipq40xx-mdio driver was registered
[ 0.970807] i2c /dev entries driver
[ 0.976515] sdhci: Secure Digital Host Controller Interface driver
[ 0.981693] sdhci: Copyright(c) Pierre Ossman
[ 0.986003] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.994846] TCP: cubic registered
[ 0.997807] NET: Registered protocol family 10
[ 1.002692] NET: Registered protocol family 17
[ 1.006204] Bridge firewalling registered
[ 1.010104] 8021q: 802.1Q VLAN Support v1.8
[ 1.014420] Registering SWP/SWPB emulation handler
[ 1.020153] regulator-dummy: disabling
[ 1.023467] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 1.032551] clk: Not disabling unused clocks
[ 1.035790] ALSA device list:
[ 1.038740] No soundcards found.
[ 1.055569] VFS: Mounted root (squashfs filesystem) readonly on device 31:12.
[ 1.061991] Freeing unused kernel memory: 184K (c0821000 - c084f000)
U-boot env
(IPQ40xx) # printenv
baudrate=115200
bootargs=rootwait
bootcmd=run ubootscript
bootdelay=3
check_retries_dothings=if test ${rp} = 0; then setenv sr 0; run switch_pri_and_reset; else run dec_retries; saveenv;bootipq; fi;
dec_retries=if test ${rp} = 3; then setenv rp 2; elif test ${rp} = 2; then setenv rp 1; else setenv rp 0; fi;
ethact=eth0
fdt_high=0x87000000
ipaddr=192.168.1.11
kernel=0x22C0000
kernel_size=0x400000
machid=8010000
pri=1
ps=1
restore_config=0
rp=3
sr=1
stderr=serial
stdin=serial
stdout=serial
switch_pri_and_reset=if test ${pri} = 0; then setenv pri 1; else setenv pri 0; fi; setenv ps 1; saveenv; reset;
ubootscript=if test ${pri} = 0; then setenv kernel 0x580000; else setenv kernel 0x22C0000; fi; sf probe; sf read 0x84000000 ${kernel} ${kernel_size}; iminfo; if test $? = 0; then if test ${sr} = 0; then setenv sr 1; setenv rp 3; saveenv;bootipq; else run check_retries_dothings; fi; else run switch_pri_and_reset; fi;
partition layout
(IPQ40xx) # smeminfo
flash_type: 0x6
flash_index: 0x0
flash_chip_select: 0x0
flash_block_size: 0x10000
flash_density: 0x4000000
partition table offset 0x0
No.: Name Attributes Start Size
0: 0:SBL1 0x0000ffff 0x0 0x40000
1: 0:MIBIB 0x004040ff 0x40000 0x20000
2: 0:QSEE 0x0000ffff 0x60000 0x60000
3: 0:CDT 0x0000ffff 0xc0000 0x10000
4: 0:DDRPARAMS 0x0000ffff 0xd0000 0x10000
5: 0:APPSBL 0x0000ffff 0xe0000 0x80000
6: boot_env 0x0000ffff 0x160000 0x10000
7: art 0x0000ffff 0x170000 0x10000
8: config 0x0000ffff 0x180000 0x400000
9: kernel:0 0x0000ffff 0x580000 0x400000
10: rootfs:0 0x0000ffff 0x980000 0x1940000
11: kernel:1 0x0000ffff 0x22c0000 0x400000
12: rootfs:1 0x0000ffff 0x26c0000 0x1940000
Flashing by following the QSDK wiki
set lok 'tftpb fit-uImage.itb && sf erase 0x22c0000 +$filesize && sf write $fileaddr 0x0022c0000 $filesize'
set lof 'tftpb root.img && sf erase 0x26c0000 +$filesize && sf write $fileaddr 0x26c0000 $filesize'
set lqsdk 'sf probe && run lok && run lof'
(IPQ40xx) # run lqsdk
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :100 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
Using eth0 device
TFTP from server 192.168.5.205; our IP address is 192.168.5.182
Filename 'fit-uImage.itb'.
Load address: 0x84000000
Loading: #################################################################
#################################################################
#################################################################
#########################################T ##T #################
done
Bytes transferred = 3741276 (39165c hex)
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :100 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
Using eth0 device
TFTP from server 192.168.5.205; our IP address is 192.168.5.182
Filename 'root.img'.
Load address: 0x84000000
Loading: #################################################################
#################################################################
#########################################################
done
Bytes transferred = 2738606 (29c9ae hex)
Booting Openwrt-21.2.5 from flash
(IPQ40xx) # reset
resetting ...
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.215 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16688-fa9a932fdb)) #0 SMP Thu Oct 13 19:16:38 2022
[ 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: Qualcomm Technologies, Inc. IPQ40xx/AP-DK01.1-C1
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 65024
[ 0.000000] Normal zone: 576 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65024 pages, LIFO batch:15
[ 0.000000] percpu: Embedded 15 pages/cpu s30284 r8192 d22964 u61440
[ 0.000000] pcpu-alloc: s30284 r8192 d22964 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64448
[ 0.000000] Kernel command line: rootwait rootwait rootwait pri=1
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 248624K/260096K available (5872K kernel code, 189K rwdata, 872K rodata, 1024K init, 240K bss, 11472K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: 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.000008] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[ 0.000025] Switching to timer-based delay loop, resolution 20ns
[ 0.000345] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[ 0.000366] pid_max: default: 32768 minimum: 301
[ 0.000588] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000609] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001720] CPU: Testing write buffer coherency: ok
[ 0.003155] Setting up static identity map for 0x80300000 - 0x80300060
[ 0.003349] rcu: Hierarchical SRCU implementation.
[ 0.004025] smp: Bringing up secondary CPUs ...
[ 0.007920] smp: Brought up 1 node, 4 CPUs
[ 0.007943] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[ 0.007951] CPU: All CPU(s) started in SVC mode.
[ 0.012927] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.013097] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.013126] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.013351] pinctrl core: initialized pinctrl subsystem
[ 0.015209] NET: Registered protocol family 16
[ 0.015583] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.016977] cpuidle: using governor ladder
[ 0.017028] cpuidle: using governor menu
[ 0.039264] cryptd: max_cpu_qlen set to 1000
[ 0.043790] usbcore: registered new interface driver usbfs
[ 0.043875] usbcore: registered new interface driver hub
[ 0.043941] usbcore: registered new device driver usb
[ 0.043993] pps_core: LinuxPPS API ver. 1 registered
[ 0.044004] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.044034] PTP clock support registered
[ 0.045878] clocksource: Switched to clocksource arch_sys_counter
[ 0.046780] thermal_sys: Registered thermal governor 'step_wise'
[ 0.047105] NET: Registered protocol family 2
[ 0.047399] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.048433] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.048492] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.048536] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.048590] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.048732] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.048773] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.049096] NET: Registered protocol family 1
[ 0.049145] PCI: CLS 0 bytes, default 64
[ 0.051619] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 0.058093] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.058110] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.113945] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.117680] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[ 0.117703] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[ 0.118497] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[ 0.118600] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[ 0.118702] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[ 0.118798] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[ 0.119131] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.121224] msm_serial 78af000.serial: msm_serial: detected port #0
[ 0.121273] msm_serial 78af000.serial: uartclk = 1843200
[ 0.121337] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 25, base_baud = 115200) is a MSM
[ 0.121372] msm_serial: console setup on port #0
[ 0.601268] printk: console [ttyMSM0] enabled
[ 0.606228] msm_serial: driver initialized
[ 0.615715] loop: module loaded
[ 0.616969] spi_qup 78b5000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[ 0.628431] spi-nor spi0.0: w25q256 (32768 Kbytes)
[ 0.628566] 11 fixed-partitions partitions found on MTD device spi0.0
[ 0.632116] Creating 11 MTD partitions on "spi0.0":
[ 0.638665] 0x000000000000-0x000000040000 : "SBL1"
[ 0.644334] 0x000000040000-0x000000060000 : "MIBIB"
[ 0.649151] 0x000000060000-0x0000000c0000 : "QSEE"
[ 0.653862] 0x0000000c0000-0x0000000d0000 : "CDT"
[ 0.658848] 0x0000000d0000-0x0000000e0000 : "DDRPARAMS"
[ 0.663475] 0x0000000e0000-0x0000000f0000 : "APPSBLENV"
[ 0.668590] 0x0000000f0000-0x000000170000 : "APPSBL"
[ 0.673723] 0x000000170000-0x000000180000 : "ART"
[ 0.679008] 0x000000180000-0x000000580000 : "kernel"
[ 0.683513] 0x000000580000-0x000001b80000 : "rootfs"
[ 0.688638] mtd: device 9 (rootfs) set to be root filesystem
[ 0.692944] 1 squashfs-split partitions found on MTD device rootfs
[ 0.698338] 0x000000900000-0x000001b80000 : "rootfs_data"
[ 0.705282] 0x000000180000-0x000001b80000 : "firmware"
[ 0.737214] ESS reset ok!
[ 0.811499] ESS reset ok!
[ 1.590945] i2c /dev entries driver
[ 1.592651] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 632000 KHz
[ 1.593319] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 716000 KHz
[ 1.601025] sdhci: Secure Digital Host Controller Interface driver
[ 1.609278] sdhci: Copyright(c) Pierre Ossman
[ 1.615199] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.623555] NET: Registered protocol family 10
[ 1.627040] Segment Routing with IPv6
[ 1.629696] NET: Registered protocol family 17
[ 1.633405] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.637746] 8021q: 802.1Q VLAN Support v1.8
[ 1.650911] Registering SWP/SWPB emulation handler
[ 1.665132] hctosys: unable to open rtc device (rtc0)
[ 1.672425] VFS: Mounted root (squashfs filesystem) readonly on device 31:9.
[ 1.674051] Freeing unused kernel memory: 1024K
[ 1.739243] Run /sbin/init as init process
user.info kernel: [ 2.783660] init: Console is alive
user.info kernel: [ 2.783909] init: - watchdog -
user.info kernel: [ 4.245502] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.451699] dwc3-qcom 8af8800.usb3: IRQ hs_phy_irq not found
[ 4.451737] dwc3-qcom 8af8800.usb3: IRQ dp_hs_phy_irq not found
[ 4.456505] dwc3-qcom 8af8800.usb3: IRQ dm_hs_phy_irq not found
[ 4.462074] dwc3-qcom 8af8800.usb3: IRQ ss_phy_irq not found
[ 4.469721] dwc3-qcom 60f8800.usb2: IRQ hs_phy_irq not found
[ 4.473880] dwc3-qcom 60f8800.usb2: IRQ dp_hs_phy_irq not found
[ 4.479561] dwc3-qcom 60f8800.usb2: IRQ dm_hs_phy_irq not found
[ 4.485164] dwc3-qcom 60f8800.usb2: IRQ ss_phy_irq not found
[ 4.495772] dwc3 8a00000.dwc3: Failed to get clk 'ref': -2
[ 4.621175] dwc3 6000000.dwc3: Failed to get clk 'ref': -2
[ 4.727527] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.727607] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 4.732187] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000000002010010
[ 4.739631] xhci-hcd xhci-hcd.0.auto: irq 92, io mem 0x08a00000
[ 4.749805] hub 1-0:1.0: USB hub found
[ 4.754795] hub 1-0:1.0: 1 port detected
[ 4.758956] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.762659] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 4.767999] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 4.775607] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 4.782961] hub 2-0:1.0: USB hub found
[ 4.790805] hub 2-0:1.0: 1 port detected
[ 4.794489] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
I managed to flash with OpenWrt 21.02.5 dk01-c1
wlan 2.4 and 5G show up, wan/lan ports work.
but all the leds are off
and readable flash only 18mb left
Please help me,
I want to try to build it myself, but how do I make the dts file that I extracted from the original dtb firmware
extracted dts from original firmware (OpenWrt Linux-3.14)