hi all,
Got my hands on a Linksys Atlas 6 MX2000 and connected it to serial.
Pinout: GND -empty- RX - TX -empty (starting from GND label)
While upstream kernel support for IPQ5018 is being worked on, I thought I pasted the output of the bootlog and other info below for potential support in the future:
bootlog:
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.3.1.1-00066
S - IMAGE_VARIANT_STRING=MAACANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x000002c5
B - 127 - PBL, Start
B - 1562 - bootable_media_detect_entry, Start
B - 3843 - bootable_media_detect_success, Start
B - 3846 - elf_loader_entry, Start
B - 9247 - auth_hash_seg_entry, Start
B - 9606 - auth_hash_seg_exit, Start
B - 105678 - elf_segs_hash_verify_entry, Start
B - 175269 - PBL, End
B - 144112 - SBL1, Start
B - 205478 - GCC [RstStat:0x10, RstDbg:0x600000] WDog Stat : 0x4
B - 213774 - clock_init, Start
D - 7350 - clock_init, Delta
B - 221308 - boot_flash_init, Start
D - 13816 - boot_flash_init, Delta
B - 235185 - boot_config_data_table_init, Start
D - 5337 - boot_config_data_table_init, Delta - (575 Bytes)
B - 243603 - Boot Setting : 0x00030618
B - 249795 - CDT version:2,Platform ID:8,Major ID:4,Minor ID:0,Subtype:4
B - 256688 - sbl1_ddr_set_params, Start
B - 258304 - Pre_DDR_clock_init, Start
B - 263977 - Pre_DDR_clock_init, End
B - 906185 - do ddr sanity test, Start
D - 61 - do ddr sanity test, Delta
B - 910852 - Image Load, Start
D - 256352 - QSEE Image Loaded, Delta - (578956 Bytes)
B - 1168028 - Image Load, Start
D - 15067 - DEVCFG Image Loaded, Delta - (13592 Bytes)
B - 1183156 - Image Load, Start
D - 186416 - APPSBL Image Loaded, Delta - (423002 Bytes)
B - 1369633 - QSEE Execution, Start
D - 61 - QSEE Execution, Delta
B - 1376099 - SBL1, End
D - 1234671 - SBL1, Delta
S - Flash Throughput, 2321 KB/s (1016125 Bytes, 437671 us)
S - DDR Frequency, 800 MHz
S - Core 0 Frequency, 800 MHz
U-Boot 2016.01 (Jun 07 2022 - 15:28:36 +0800)
CBT U-Boot ver: 4.0.04 ([IPQ5018].[SPF11.4].[CSU2])
DRAM: smem ram ptable found: ver: 1 len: 4
512 MiB
NAND: QPIC controller support serial NAND
ID = 3a6c2
Vendor = c2
Device = a6
Serial Nand Device Found With ID : 0xc2 0xa6
Serial NAND device Manufacturer:MX35UF2GE4AD
Device Size:256 MiB, Page size:2048, Spare Size:128, ECC:8-bit
qpic_nand: changing oobsize to 80 from 128 bytes
SF: Unsupported flash IDs: manuf 00, jedec 0000, ext_jedec 0000
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC: sdhci: Node Not found, skipping initialization
PCI Link Intialized
In: serial@78AF000
Out: serial@78AF000
Err: serial@78AF000
machid: 8040004
eth0 MAC Address from ART is not valid
eth1 MAC Address from ART is not valid
Updating boot_count ... done
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x58c0000, size 0x800000
8388608 bytes read: OK
## Loading kernel from FIT Image at 44000000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: ARM Linksys Linux-4.4.60
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x440000e4
Data Size: 4463221 Bytes = 4.3 MiB
Architecture: ARM
OS: Linux
Load Address: 0x41208000
Entry Point: 0x41208000
Hash algo: crc32
Hash value: 79ec59ee
Hash algo: sha1
Hash value: 956d145f9540e6a3c94e4f83e29ca7db13685e54
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 44000000 ...
Using 'config@1' configuration
Trying 'fdt@1' fdt subimage
Description: ARM Linksys Rhodes device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x44441c8c
Data Size: 60994 Bytes = 59.6 KiB
Architecture: ARM
Hash algo: crc32
Hash value: 1175fa89
Hash algo: sha1
Hash value: 034b08e6defc18d1fcc0d2d1b195a21aba2cfdc0
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x44441c8c
Uncompressing Kernel Image ... OK
Loading Device Tree to 4a3ee000, end 4a3ffe41 ... OK
Using machid 0x8040004 from environment
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.60 (root@build-vm) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r35193) ) #1 SMP PREEMPT Thu Feb 17 12:29:26 PST 2022
[ 0.000000] CPU: ARMv7 Processor [51af8014] revision 4 (ARMv7), cr=10c0383d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Qualcomm Technologies, Inc. IPQ5018/AP-MP03.5-C1
[ 0.000000] Ignoring memory range 0x40000000 - 0x41000000
[ 0.000000] Reserved memory: not enough space all defined regions.
[ 0.000000] Reserved memory: not enough space all defined regions.
[ 0.000000] Reserved memory: OVERLAP DETECTED!
[ 0.000000] q6_code_data@4B000000 (0x4b000000--0x4b060000) overlaps with q6_mem_regions@4B000000 (0x4b000000--0x50400000)
[ 0.000000] Reserved memory: OVERLAP DETECTED!
[ 0.000000] q6_mem_regions@4B000000 (0x4b000000--0x50400000) overlaps with q6_ipq5018_data@4C400000 (0x4c400000--0x4d200000)
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] PERCPU: Embedded 11 pages/cpu @9eb5e000 s15168 r8192 d21696 u45056
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 103076
[ 0.000000] Kernel command line: init=/sbin/init rootfstype=squashfs ubi.mtd=alt_rootfs root=mtd:squashfs rootwait swiotlb=1 coherent_pool=2M
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 401236K/416768K available (6349K kernel code, 405K rwdata, 2100K rodata, 1024K init, 458K bss, 15532K 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 : 0x9f800000 - 0xff800000 (1536 MB)
[ 0.000000] lowmem : 0x80000000 - 0x9f000000 ( 496 MB)
[ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
[ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
[ 0.000000] .text : 0x80208000 - 0x80b4068c (9442 kB)
[ 0.000000] .init : 0x80c00000 - 0x80d00000 (1024 kB)
[ 0.000000] .data : 0x80d00000 - 0x80d65594 ( 406 kB)
[ 0.000000] .bss : 0x80d68000 - 0x80dda8b8 ( 459 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] GICv2m: Node v2m: range[0xb00a000:0xb00affc], SPI[448:480]
[ 0.000000] GICv2m: Node v2m: range[0xb00b000:0xb00bffc], SPI[480:512]
[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000558] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000574] pid_max: default: 32768 minimum: 301
[ 0.000688] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000700] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001385] Initializing cgroup subsys io
[ 0.001411] Initializing cgroup subsys memory
[ 0.001441] Initializing cgroup subsys devices
[ 0.001455] Initializing cgroup subsys freezer
[ 0.001466] Initializing cgroup subsys net_cls
[ 0.001478] Initializing cgroup subsys pids
[ 0.001520] CPU: Testing write buffer coherency: ok
[ 0.001994] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002065] Setting up static identity map for 0x41300000 - 0x41300058
[ 0.053415] MSM Memory Dump base table set up
[ 0.053446] MSM Memory Dump apps data table set up
[ 0.090460] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.090593] Brought up 2 CPUs
[ 0.090613] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.090620] CPU: All CPU(s) started in SVC mode.
[ 0.106246] VFP support v0.3: implementor 51 architecture 3 part 40 variant 3 rev 4
[ 0.106633] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106672] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.107208] pinctrl core: initialized pinctrl subsystem
[ 0.108526] NET: Registered protocol family 16
[ 0.109944] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[ 0.140286] cpuidle: using governor ladder
[ 0.170311] cpuidle: using governor menu
[ 0.170618] NET: Registered protocol family 42
[ 0.175632] qcom,gcc-ipq5018 1800000.gcc: Registered ipq5018 GCC clocks provider
[ 0.180996] irq: no irq domain found for /soc/smp2p-wcss/slave-kernel !
[ 0.182493] irq: no irq domain found for /soc/smp2p-wcss/slave-kernel !
[ 0.195173] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.195189] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.197044] CPU: IPQ5018, SoC Version: 1.1
[ 0.198979] IPC logging disabled
[ 0.198990] IPC logging disabled
[ 0.198995] IPC logging disabled
[ 0.199000] IPC logging disabled
[ 0.199004] IPC logging disabled
[ 0.199278] sps:sps is ready.
[ 0.232803] pps_core: LinuxPPS API ver. 1 registered
[ 0.232819] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.232850] PTP clock support registered
[ 0.234979] Advanced Linux Sound Architecture Driver Initialized.
[ 0.236012] clocksource: Switched to clocksource arch_sys_counter
[ 0.238790] NET: Registered protocol family 2
[ 0.239704] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.239761] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.239837] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.239897] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.239923] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.240156] NET: Registered protocol family 1
[ 0.241538] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 0.250896] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.250921] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.256898] Key type asymmetric registered
[ 0.256923] Asymmetric key parser 'x509' registered
[ 0.256978] io scheduler noop registered
[ 0.256993] io scheduler deadline registered (default)
[ 0.258884] ipq5018-pinctrl 1000000.pinctrl: function 'NA' not supported
[ 0.258900] ipq5018-pinctrl 1000000.pinctrl: invalid function NA in map table
[ 0.266225] NET: Registered protocol family 27
[ 0.266240] IPC_RTR: ipc_router_create_log_ctx: IPC Logging disabled
[ 0.267753] TZ Log : Will warn on Access Violation, as paniconaccessviolation is not set
[ 0.268322] bt_driver 1943008.bt: bt_parse_ipc
[ 0.268379] bt_driver 1943008.bt: bt_parse_mem
[ 0.268427] bt_driver 1943008.bt: bt_parse_dt operating in secure mode
[ 0.269681] 58000.qcom,msm-eud: ttyEUD0 at MMIO 0x0 (irq = 154, base_baud = 0) is a EUD UART
[ 0.271249] Registered Sucessfully
[ 0.271911] msm_serial 78af000.seri
[ 1.186687] 0x000000280000-0x000000300000 : "0:APPSBLENV"
[ 1.206678] 0x000000300000-0x000000440000 : "0:APPSBL"
[ 1.226611] 0x000000440000-0x000000540000 : "0:ART"
[ 1.246634] 0x000000540000-0x0000005c0000 : "0:TRAINING"
[ 1.266648] 0x0000005c0000-0x000000640000 : "u_env"
[ 1.286642] 0x000000640000-0x000000680000 : "s_env"
[ 1.306668] 0x000000680000-0x0000006c0000 : "devinfo"
[ 1.308168] 0x0000006c0000-0x0000058c0000 : "kernel"
[ 1.416689] 0x000000ec0000-0x0000058c0000 : "rootfs"
[ 1.516683] mtd: device 13 (rootfs) set to be root filesystem
[ 1.516987] mtdsplit: no squashfs found in "rootfs"
[ 1.521423] 0x0000058c0000-0x00000aac0000 : "alt_kernel"
[ 1.617652] 0x0000060c0000-0x00000aac0000 : "alt_rootfs"
[ 1.700384] 0x00000aac0000-0x00000acc0000 : "sysdiag"
[ 1.716653] 0x00000acc0000-0x00000f0c0000 : "syscfg"
[ 1.807323] libphy: Fixed MDIO Bus: probed
[ 2.026055] qca-mdio 88000.mdio: Could not find phy-reset-gpio
[ 2.026236] libphy: qca_mdio: probed
[ 2.031412] qca-mdio 88000.mdio: qca-mdio driver was registered
[ 2.466059] qca-mdio 90000.mdio: Could not find phy-reset-gpio
[ 2.466261] libphy: qca_mdio: probed
[ 2.472993] qca-mdio 90000.mdio: qca-mdio driver was registered
[ 2.576332] PPP generic driver version 2.4.2
[ 2.576532] NET: Registered protocol family 24
[ 2.579665] PPTP driver version 0.8.5
[ 2.584103] cnss: INFO: IPC Logging is disabled!
[ 2.588407] cnss[2]: INFO: Platform driver probed successfully. plat 9ded8010 tgt 0xfffc
[ 2.592754] cnss[42]: INFO: Platform driver probed successfully. plat 9dee8010 tgt 0xfffb
[ 2.600844] i2c /dev entries driver
[ 2.609877] qcom-tsens 4a8000.thermal-sensor: tsens calibration failed
[ 2.636788] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[ 2.637416] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 799999 KHz
[ 2.644360] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 800000 KHz
[ 2.651608] sdhci: Secure Digital Host Controller Interface driver
[ 2.660027] sdhci: Copyright(c) Pierre Ossman
[ 2.666009] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.678620] register pwm:purple
[ 2.678717] register pwm:white
[ 2.680972] register pwm:cyan
[ 2.683848] register pwm:yellow
[ 2.687011] register pwm:rgb
[ 2.690361] register 8 leds
[ 2.709520]
[ 2.709520] Version Rollback Feature Disabled
[ 2.710390] sps_register_bam_device : unable to create IPC Logging 0 for bam 0x08b04000
[ 2.714244] sps_register_bam_device : unable to create IPC Logging 1 for bam 0x08b04000sps_register_bam_device : unable to create IPC Logging 2 for bam 0x08b04000
[ 2.730143] sps_register_bam_device : unable to create IPC Logging 3 for bam 0x08b04000sps_register_bam_device : unable to create IPC Logging 4 for bam 0x08b04000
[ 2.744623] sps:BAM 0x08b04000 is registered.[ 2.753991] qcom-q6v5-wcss-pil cd00000.qcom_q6v5_wcss: ssr registeration success qcom_q6v5_wcss
[ 2.755428] remoteproc remoteproc0: cd00000.qcom_q6v5_wcss is available
[ 2.764134] q6v5_wcss_userpd1(9eb856b4) node found
[ 2.771732] platform q6v5_wcss_userpd1: ssr registeration success q6v5_wcss_userpd1
[ 2.775543] remoteproc remoteproc1: q6v5_wcss_userpd1 is available
[ 2.783087] q6v5_wcss_userpd2(9eb85958) node found
[ 2.790359] platform q6v5_wcss_userpd2: ssr registeration success q6v5_wcss_userpd2
[ 2.794104] remoteproc remoteproc2: q6v5_wcss_userpd2 is available
[ 2.801666] q6v5_wcss_userpd3(9eb85bc8) node found
[ 2.808926] platform q6v5_wcss_userpd3: ssr registeration success q6v5_wcss_userpd3
[ 2.812680] remoteproc remoteproc3: q6v5_wcss_userpd3 is available
[ 2.820719] of_graph_get_next_endpoint(): no port node found in /soc/csr@6001000
[ 2.826546] coresight-csr 6001000.csr: CSR initialized
[ 2.834206] of_graph_get_next_endpoint(): no port node found in /soc/cti@6010000
[ 2.839174] of_graph_get_next_endpoint(): no port node found in /soc/cti@6011000
[ 2.846688] of_graph_get_next_endpoint(): no port node found in /soc/cti@6012000
[ 2.854017] of_graph_get_next_endpoint(): no port node found in /soc/cti@6013000
[ 2.861443] of_graph_get_next_endpoint(): no port node found in /soc/cti@6014000
[ 2.868802] of_graph_get_next_endpoint(): no port node found in /soc/cti@6015000
[ 2.876194] of_graph_get_next_endpoint(): no port node found in /soc/cti@6016000
[ 2.883524] of_graph_get_next_endpoint(): no port node found in /soc/cti@6017000
[ 2.890949] of_graph_get_next_endpoint(): no port node found in /soc/cti@6018000
[ 2.898336] of_graph_get_next_endpoint(): no port node found in /soc/cti@6019000
[ 2.905678] of_graph_get_next_endpoint(): no port node found in /soc/cti@601a000
[ 2.913081] of_graph_get_next_endpoint(): no port node found in /soc/cti@601b000
[ 2.920466] of_graph_get_next_endpoint(): no port node found in /soc/cti@601c000
[ 2.927855] of_graph_get_next_endpoint(): no port node found in /soc/cti@601d000
[ 2.935194] of_graph_get_next_endpoint(): no port node found in /soc/cti@601e000
[ 2.942599] of_graph_get_next_endpoint(): no port node found in /soc/cti@601f000
[ 2.949982] of_graph_get_next_endpoint(): no port node found in /soc/cti@6198000
[ 2.957521] of_graph_get_next_endpoint(): no port node found in /soc/cti@6199000
[ 2.964872] of_graph_get_next_endpoint(): no port node found in /soc/cti@610c000
[ 2.972384] sps_register_bam_device : unable to create IPC Logging 0 for bam 0x06064000
[ 2.979290] sps_register_bam_device : unable to create IPC Logging 1 for bam 0x06064000sps_register_bam_device : unable to create IPC Logging 2 for bam 0x06064000
[ 2.994968] sps_register_bam_device : unable to create IPC Logging 3 for bam 0x06064000sps_register_bam_device : unable to create IPC Logging 4 for bam 0x06064000
[ 3.009475] sps:BAM 0x06064000 is registered.[ 3.016704] coresight-tmc 6048000.tmc: TMC initialized
[ 3.020821] coresight-tmc 6047000.tmc: TMC initialized
[ 3.025921] coresight-funnel 6041000.funnel: FUNNEL initialized
[ 3.030957] coresight-funnel 6100000.funnel: FUNNEL initialized
[ 3.036782] coresight-funnel 6120000.funnel: FUNNEL initialized
[ 3.042648] coresight-funnel 6130000.funnel: FUNNEL initialized
[ 3.048591] coresight-funnel 61a1000.funnel: FUNNEL initialized
[ 3.055295] coresight-etm4x 619c000.etm: ETM 4.0 initialized
[ 3.060849] coresight-etm4x 619d000.etm: ETM 4.0 initialized
[ 3.066353] coresight-replicator-qcom 6046000.replicator: REPLICATOR 1.0 initialized
[ 3.072072] coresight-stm 6002000.stm: STM initialized
[ 3.081005] of_graph_get_next_endpoint(): no port node found in /soc/hwevent@6101000
[ 3.084281] coresight-hwevent 6101000.hwevent: Hardware Event driver initialized
[ 3.095803] u32 classifier
[ 3.099432] input device check on
[ 3.101906] Actions configured
[ 3.105685] Netfilter messages via NETLINK v0.30.
[ 3.109012] nfnl_acct: registering with nfnetlink.
[ 3.113774] nf_conntrack version 0.5.0 (6269 buckets, 25076 max)
[ 3.118903] ctnetlink v0.93: registering with nfnetlink.
[ 3.124650] nf_conntrack_rtsp v0.7 loading
[ 3.129967] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[ 3.133797] nf_tables_compat: (c) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
[ 3.140661] xt_time: kernel timezone is -0000
[ 3.147522] ip_set: protocol 6
[ 3.152089] gre: GRE over IPv4 demultiplexor driver
[ 3.154866] ip_gre: GRE over IPv4 tunneling driver
[ 3.160856] nf_nat_rtsp v0.7 loading
[ 3.164585] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.168445] arp_tables: (C) 2002 David S. Miller
[ 3.174236] NET: Registered protocol family 10
[ 3.179382] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 3.182713] sit: IPv6 over IPv4 tunneling driver
[ 3.189262] ip6_gre: GRE over IPv6 tunneling driver
[ 3.193248] NET: Registered protocol family 17
[ 3.197256] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.201691] Bridge firewalling registered
[ 3.214785] Ebtables v2.0 registered
[ 3.218543] l2tp_core: L2TP core driver, V2.0
[ 3.221971] l2tp_netlink: L2TP netlink interface
[ 3.226311] 8021q: 802.1Q VLAN Support v1.8
[ 3.232458] Registering SWP/SWPB emulation handler
[ 3.237863] ubi0: attaching mtd15
[ 3.303473] random: nonblocking pool is initialized
[ 3.589056] ubi0: scanning is finished
[ 3.593836] ubi0 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 34, need 40
[ 3.594617] ubi0: attached mtd15 (name "alt_rootfs", size 74 MiB)
[ 3.603100] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.609334] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.616096] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.622944] ubi0: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
[ 3.629722] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 3.635965] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 2086108028
[ 3.643008] ubi0: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 34
[ 3.652330] ubi0: background thread "ubi_bgt0d" started, PID 128
[ 3.662883] input: soc:gpio_keys as /devices/platform/soc/soc:gpio_keys/input/input0
[ 3.667660] hctosys: unable to open rtc device (rtc0)
[ 3.682219] ALSA device list:
[ 3.682237] No soundcards found.
^@[ 3.688253] VFS: Mounted root (squashfs filesystem) readonly on device 31:18.
[ 3.689451] Freeing unused kernel memory: 1024K (80c00000 - 80d00000)
uboot:
Hit any key to stop autoboot: 0
Net: cmbblk is stable 5
MAC1 addr:0:11:22:33:44:55
athrs17_reg_init: complete
S17c init done
eth0
Warning: eth0 MAC addresses don't match:
Address in SROM is 00:11:22:33:44:55
Address in environment is 00:03:7f:ba:db:ad
IPQ5018# ?
? - alias for 'help'
ar8xxx_dump- Dump ar8xxx registers
base - print or set address offset
bdinfo - print Board Info structure
bootelf - Boot from an ELF image in memory
bootipq - bootipq from flash device
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
canary - test stack canary
chpart - change active partition
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
devinfo - device info handling commands
dhcp - boot image via network using DHCP/TFTP protocol
dm - Driver model low level access
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
erase - erase FLASH memory
exectzt - execute TZT
exit - exit script
false - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatsize - determine a file's size
fatwrite- write file into a dos filesystem
fdt - flattened device tree utility commands
flash - flash part_name
flash part_name load_addr file_size
flasherase- flerase part_name
flinfo - print FLASH memory information
fuseipq - fuse QFPROM registers from memory
go - start application at address 'addr'
help - print command description/usage
i2c - I2C sub-system
imxtract- extract a part of a multi-image
ipq5018_mdio- IPQ5018 mdio utility commands
ipq_mdio- IPQ mdio utility commands
is_sec_boot_enabled- check secure boot fuse is enabled or not
itest - return true/false on integer compare
loop - infinite loop on address range
md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtdparts- define flash/nand partitions
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
part - disk partition related commands
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
runmulticore- Enable and schedule secondary cores
saveenv - save environment variables to persistent storage
secure_authenticate- authenticate the signed image
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
sf - SPI flash sub-system
showvar - print local hushshell variables
sleep - delay execution for some time
smeminfo- print SMEM FLASH information
source - run script from memory
test - minimal test like /bin/sh
tftp - boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true - do nothing, successfully
tzt - load and run tzt
uart - UART sub-system
ubi - ubi commands
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
zip - zip a memory region
IPQ5018# printenv
altkern=58c0000
auto_recovery=yes
baudrate=115200
boot_part=2
boot_part_ready=3
boot_ver=4.0.04
bootargs=console=ttyMSM0,115200n8
bootcmd=if test $auto_recovery = no; then bootipq; elif test $boot_part = 1; then run bootpart1; else run bootpart2; fi
bootdelay=3
bootpart1=setenv bootargs $partbootargs && nand read $loadaddr $prikern $kernsize && bootm $loadaddr
bootpart2=setenv bootargs $partbootargs2 && nand read $loadaddr $altkern $kernsize && bootm $loadaddr
dload_dis=1
ethact=eth0
ethaddr=00:03:7f:ba:db:ad
fdt_high=0x4A400000
fdtcontroladdr=4a9c4004
flash_type=11
flashimg=tftp $loadaddr $image && nand erase $prikern $imgsize && nand write $loadaddr $prikern $filesize
flashimg2=tftp $loadaddr $image && nand erase $altkern $imgsize && nand write $loadaddr $altkern $filesize
image=MX2000.img
imgsize=5200000
ipaddr=192.168.1.1
kernsize=800000
loadaddr=44000000
machid=8040004
mtddevname=fs
mtddevnum=0
mtdids=nand0=nand0
mtdparts=mtdparts=nand0:0x4a00000@0xec0000(fs),
netmask=255.255.255.0
partbootargs=init=/sbin/init rootfstype=squashfs ubi.mtd=rootfs root=mtd:squashfs rootwait
partbootargs2=init=/sbin/init rootfstype=squashfs ubi.mtd=alt_rootfs root=mtd:squashfs rootwait
prikern=6c0000
serverip=192.168.1.254
soc_hw_version=20180101
soc_version_major=1
soc_version_minor=1
stderr=serial@78AF000
stdin=serial@78AF000
stdout=serial@78AF000
Environment size: 1437/262140 bytes
hitting ENTER will drop into a shell:
/ $ uname -a
Linux Linksys01765 4.4.60 #1 SMP PREEMPT Thu Feb 17 12:29:26 PST 2022 armv7l GNU/Linux
/ $ cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "0:SBL1"
mtd1: 00080000 00020000 "0:MIBIB"
mtd2: 00100000 00020000 "0:QSEE"
mtd3: 00040000 00020000 "0:DEVCFG"
mtd4: 00040000 00020000 "0:CDT"
mtd5: 00080000 00020000 "0:APPSBLENV"
mtd6: 00140000 00020000 "0:APPSBL"
mtd7: 00100000 00020000 "0:ART"
mtd8: 00080000 00020000 "0:TRAINING"
mtd9: 00080000 00020000 "u_env"
mtd10: 00040000 00020000 "s_env"
mtd11: 00040000 00020000 "devinfo"
mtd12: 05200000 00020000 "kernel"
mtd13: 04a00000 00020000 "rootfs"
mtd14: 05200000 00020000 "alt_kernel"
mtd15: 04a00000 00020000 "alt_rootfs"
mtd16: 00200000 00020000 "sysdiag"
mtd17: 04400000 00020000 "syscfg"
mtd18: 04316000 0001f000 "squashfs"
mtd19: 03c8c000 0001f000 "syscfg"