Hello, it's me again. I did the steps you provided @jmspswny but I got some messages starting kernel after bootm
command.
Can't get past this. Maybe this snapshot OpenWrt SNAPSHOT, r23375-cdfcac6e24
does not work so well... I can see that Openwrt loaded, but I'm not able to do anything since the phy_addr error is flooding the console.
[ 4.721778] hsl_phy_phydev_get[773]:ERROR:phy_addr 3 phydev is NULL
[ 4.728021] hsl_phy_phydev_get[773]:ERROR:phy_addr 4 phydev is NULL
[ 5.750461] hsl_phy_phydev_get[773]:ERROR:phy_addr 0 phydev is NULL
Starting kernel ...
Jumping to AARCH64 kernel via monitor
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.1.33 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23375-cdfcac6e24) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Wed Jun 14 21:27:29 2023
[ 0.000000] Machine model: Netgear WAX218
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000040ffffff]
[ 0.000000] node 0: [mem 0x0000000041000000-0x000000004a3fffff]
[ 0.000000] node 0: [mem 0x000000004a400000-0x00000000510fffff]
[ 0.000000] node 0: [mem 0x0000000051100000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[ 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] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 17 pages/cpu s31592 r8192 d29848 u69632
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048
[ 0.000000] Kernel command line: console=ttyMSM0,115200n8 ubi.block=0,rootfs root=/dev/ubiblock0_1
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 879948K/1048576K available (8128K kernel code, 872K rwdata, 2276K rodata, 8576K init, 291K bss, 168628K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv2m: range[mem 0x0b00a000-0x0b00affc], SPI[448:479]
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000114] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000127] pid_max: default: 32768 minimum: 301
[ 0.000617] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.000633] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.002512] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.002525] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.002721] rcu: Hierarchical SRCU implementation.
[ 0.002725] rcu: Max phase no-delay instances is 1000.
[ 0.003485] smp: Bringing up secondary CPUs ...
[ 0.004125] Detected VIPT I-cache on CPU1
[ 0.004261] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.004926] Detected VIPT I-cache on CPU2
[ 0.005026] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.005643] Detected VIPT I-cache on CPU3
[ 0.005741] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.005808] smp: Brought up 1 node, 4 CPUs
[ 0.005816] SMP: Total of 4 processors activated.
[ 0.005821] CPU features: detected: 32-bit EL0 Support
[ 0.005826] CPU features: detected: CRC32 instructions
[ 0.005888] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.005894] CPU: All CPU(s) started at EL1
[ 0.005897] alternatives: applying system-wide alternatives
[ 0.015962] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.015989] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.016206] pinctrl core: initialized pinctrl subsystem
[ 0.017650] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.018160] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.018217] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.018254] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.018643] thermal_sys: Registered thermal governor 'step_wise'
[ 0.018829] cpuidle: using governor menu
[ 0.019092] ASID allocator initialised with 65536 entries
[ 0.070212] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[ 0.078321] SCSI subsystem initialized
[ 0.078507] usbcore: registered new interface driver usbfs
[ 0.078563] usbcore: registered new interface driver hub
[ 0.078622] usbcore: registered new device driver usb
[ 0.078994] qcom_scm: convention: smc arm 64
[ 0.080465] clocksource: Switched to clocksource arch_sys_counter
[ 0.081614] NET: Registered PF_INET protocol family
[ 0.081779] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.083212] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.083237] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.083252] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.083339] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.083620] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.083730] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.083768] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.083993] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.084032] PCI: CLS 0 bytes, default 64
[ 0.085348] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.090494] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.090509] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.091653] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.101425] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.103567] msm_serial 78b3000.serial: msm_serial: detected port #0
[ 0.103614] msm_serial 78b3000.serial: uartclk = 3686400
[ 0.103718] 78b3000.serial: ttyMSM0 at MMIO 0x78b3000 (irq = 19, base_baud = 230400) is a MSM
[ 0.103748] msm_serial: console setup on port #0
[ 0.704529] printk: console [ttyMSM0] enabled
[ 0.709660] msm_serial: driver initialized
[ 0.718689] loop: module loaded
[ 0.718765] Loading iSCSI transport class v2.0-870.
[ 0.722785] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xaa
[ 0.725504] nand: Macronix MX30UF2G18AC
[ 0.732190] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.735693] Block protection check failed
[ 0.754213] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[ 0.782214] i2c_dev: i2c /dev entries driver
[ 0.788191] sdhci: Secure Digital Host Controller Interface driver
[ 0.788232] sdhci: Copyright(c) Pierre Ossman
[ 0.793316] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.798691] remoteproc remoteproc0: releasing cd00000.q6v5_wcss
[ 0.806105] NET: Registered PF_INET6 protocol family
[ 0.810248] Segment Routing with IPv6
[ 0.814345] In-situ OAM (IOAM) with IPv6
[ 0.817922] NET: Registered PF_PACKET protocol family
[ 0.821870] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.827115] 8021q: 802.1Q VLAN Support v1.8
[ 0.859816] qcom,cpr4-apss-regulator b018000.cpr4-ctrl: CPR valid fuse count: 4
[ 0.860149] cpr4_ipq807x_apss_read_fuse_data: apc_corner: speed bin = 0
[ 0.866000] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR fusing revision = 1
[ 0.872548] cpr4_ipq807x_apss_read_fuse_data: apc_corner: CPR misc fuse value = 0
[ 0.880201] cpr4_ipq807x_apss_read_fuse_data: apc_corner: Voltage boost fuse config = 0 boost = disable
[ 0.887718] cpr3_mem_acc_init: apc: not using memory accelerator regulator
[ 0.896851] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused SVS: open-loop= 704000 uV
[ 0.903800] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused NOM: open-loop= 824000 uV
[ 0.913781] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused TURBO: open-loop= 888000 uV
[ 0.923590] cpr4_ipq807x_apss_calculate_open_loop_voltages: apc_corner: fused STURBO: open-loop= 976000 uV
[ 0.933451] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused SVS: quot[ 7]= 698, quot_offset[ 7]= 0
[ 0.943212] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused NOM: quot[ 7]= 922, quot_offset[ 7]= 220
[ 0.954062] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused TURBO: quot[ 7]=1029, quot_offset[ 7]= 105
[ 0.965000] cpr4_ipq807x_apss_calculate_target_quotients: apc_corner: fused STURBO: quot[ 7]=1183, quot_offset[ 7]= 150
[ 0.976128] cpr3_regulator_init_ctrl: apc: Default CPR mode = closed-loop
[ 0.978652] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xaa
[ 0.993640] nand: Macronix MX30UF2G18AC
[ 1.000048] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.003636] Block protection check failed
[ 1.020335] 26 qcomsmem partitions found on MTD device qcom_nand.0
[ 1.020390] Creating 26 MTD partitions on "qcom_nand.0":
[ 1.025466] 0x000000000000-0x000000100000 : "0:sbl1"
[ 1.032367] 0x000000100000-0x000000200000 : "0:mibib"
[ 1.037098] 0x000000200000-0x000000280000 : "0:bootconfig"
[ 1.041728] 0x000000280000-0x000000300000 : "0:bootconfig1"
[ 1.047037] 0x000000300000-0x000000600000 : "0:qsee"
[ 1.054493] 0x000000600000-0x000000900000 : "0:qsee_1"
[ 1.059522] 0x000000900000-0x000000980000 : "0:devcfg"
[ 1.062669] 0x000000980000-0x000000a00000 : "0:devcfg_1"
[ 1.067762] 0x000000a00000-0x000000a80000 : "0:apdp"
[ 1.073407] 0x000000a80000-0x000000b00000 : "0:apdp_1"
[ 1.078200] 0x000000b00000-0x000000b80000 : "0:rpm"
[ 1.083213] 0x000000b80000-0x000000c00000 : "0:rpm_1"
[ 1.087897] 0x000000c00000-0x000000c80000 : "0:cdt"
[ 1.093242] 0x000000c80000-0x000000d00000 : "0:cdt_1"
[ 1.097810] 0x000000d00000-0x000000d80000 : "0:appsblenv"
[ 1.103084] 1 fixed-partitions partitions found on MTD device 0:appsblenv
[ 1.107564] OF: Bad cell count for /soc/nand-controller@79b0000/nand@0/partitions/partition-0-appsblenv
[ 1.114342] OF: Bad cell count for /soc/nand-controller@79b0000/nand@0/partitions/partition-0-appsblenv
[ 1.124066] Creating 1 MTD partitions on "0:appsblenv":
[ 1.132905] 0x000000000000-0x000000040000 : "env-data"
[ 1.138823] 0x000000d80000-0x000000e80000 : "0:appsbl"
[ 1.144622] 0x000000e80000-0x000000f80000 : "0:appsbl_1"
[ 1.149663] 0x000000f80000-0x000001000000 : "0:art"
[ 1.154828] 0x000001000000-0x000004c00000 : "rootfs"
[ 1.203934] mtd: setting mtd19 (rootfs) as root device
[ 1.204233] mtdsplit: no squashfs found in "rootfs"
[ 1.208008] 0x000004c00000-0x000005500000 : "0:wififw"
[ 1.220095] 0x000005500000-0x000009100000 : "rootfs_1"
[ 1.266226] 0x000009100000-0x000009a00000 : "0:wififw_1"
[ 1.273651] 0x000009a00000-0x000009a80000 : "0:ethphyfw"
[ 1.274556] 0x000009a80000-0x000009c00000 : "0:mfgdata"
[ 1.279652] 0x000009c00000-0x00000e400000 : "0:ntgrdata"
[ 1.338204] 0x00000e400000-0x000010000000 : "0:oops_log"
[ 1.371069] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 19200 KHz, changing to: 1017600 KHz
[ 1.372824] remoteproc remoteproc0: cd00000.q6v5_wcss is available
[ 1.�[ 1.411470] Freeing unused kernel memory: 8576K
[ 1.470581] Run /init as init process
[ 1.640225] init: Console is alive
[ 1.640419] init: - watchdog -
[ 1.648465] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 1.674081] ssdk_switch_device_num_init[1335]:INFO:ess-switch dts node number: 1
[ 1.674181] ssdk_dt_get_switch_node[1124]:INFO:ess-switch DT exist!
[ 1.680585] ssdk_dt_parse_access_mode[999]:INFO:switch_access_mode: local bus
[ 1.686542] ssdk_dt_parse_access_mode[1012]:INFO:switchreg_base_addr: 0x3a000000
[ 1.693847] ssdk_dt_parse_access_mode[1013]:INFO:switchreg_size: 0x1000000
[ 1.701302] ssdk_dt_parse_mac_mode[327]:INFO:mac mode = 0x0
[ 1.707978] ssdk_dt_parse_mac_mode[336]:INFO:mac mode1 = 0xff
[ 1.713452] ssdk_dt_parse_mac_mode[345]:INFO:mac mode2 = 0xf
[ 1.719358] ssdk_dt_parse_phy_info[716]:INFO:[PORT 6] port_mac_sel = QGMAC_PORT
[ 1.725129] ssdk_dt_parse_uniphy[364]:INFO:ess-uniphy DT exist!
[ 1.732378] ssdk_plat_init[1692]:INFO:ssdk_plat_init start
[ 1.851860] ssdk_gcc_clock_init[1275]:INFO:SSDK gcc clock init successfully!
[ 1.852809] ssdk_phy_driver_init[363]:INFO:dev_id = 0, phy_adress = 0, phy_id = 0xffffffff phytype doesn't match
[ 1.858037] ssdk_phy_driver_init[363]:INFO:dev_id = 0, phy_adress = 1, phy_id = 0xffffffff phytype doesn't match
[ 1.868198] ssdk_phy_driver_init[363]:INFO:dev_id = 0, phy_adress = 2, phy_id = 0xffffffff phytype doesn't match
[ 1.878351] ssdk_phy_driver_init[363]:INFO:dev_id = 0, phy_adress = 3, phy_id = 0xffffffff phytype doesn't match
[ 1.888510] ssdk_phy_driver_init[363]:INFO:dev_id = 0, phy_adress = 4, phy_id = 0xffffffff phytype doesn't match
[ 1.898718] qca808x_phy_api_ops_init[2570]:INFO:qca probe qca808x phy driver succeeded!
[ 1.909935] regi_init[3953]:INFO:Initializing HPPE!!
[ 2.150502] ssdk_ppe_reset_init[1535]:INFO:ppe reset successfully!
[ 2.153878] qca_hppe_portctrl_hw_init[126]:INFO:Hawkeye PPE port initializing
[ 2.637590] ssdk_switch_register[2017]:INFO:Chip version 0x1500
[ 2.637653] qca_link_polling_select[1487]:INFO:link-polling-required node does not exist
[ 2.642329] ssdk_switch_register[2043]:INFO:polling is selected
[ 2.650656] regi_init[3957]:INFO:Initializing HPPE Done!!
[ 2.656386] ssdk_genl_init[211]:INFO:ssdk genl family register success.
[ 2.661857] regi_init[4020]:INFO:qca-ssdk module init succeeded!
[ 2.670734] EDMA ver 1 hw init
[ 2.674731] EDMA HW Reset completed succesfully
[ 2.677408] Num rings - TxDesc:1 (23-23) TxCmpl:1 (7-7)
[ 2.681817] RxDesc:1 (15-15) RxFill:1 (7-7)
[ 2.888527] QCA808X ethernet 90000.mdio-1:1c: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:1c, irq=POLL)
[ 2.889141] nss-dp 3a007000.dp6-syn lan: Registered netdev lan(qcom-id:6)
[ 2.897611] **********************************************************
[ 2.904282] * NSS Data Plane driver
[ 2.910695] **********************************************************
[ 2.919718] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.925327] init: - preinit -
[ 3.670472] hsl_phy_phydev_get[773]:ERROR:phy_addr 0 phydev is NULL
[ 3.670513] hsl_phy_phydev_get[773]:ERROR:phy_addr 1 phydev is NULL
[ 3.675551] hsl_phy_phydev_get[773]:ERROR:phy_addr 2 phydev is NULL
[ 3.681808] hsl_phy_phydev_get[773]:ERROR:phy_addr 3 phydev is NULL
[ 3.688051] hsl_phy_phydev_get[773]:ERROR:phy_addr 4 phydev is NULL
[ 4.710461] hsl_phy_phydev_get[773]:ERROR:phy_addr 0 phydev is NULL
[ 4.710481] hsl_phy_phydev_get[773]:ERROR:phy_addr 1 phydev is NULL
[ 4.715521] hsl_phy_phydev_get[773]:ERROR:phy_addr 2 phydev is NULL
[ 4.721778] hsl_phy_phydev_get[773]:ERROR:phy_addr 3 phydev is NULL
[ 4.728021] hsl_phy_phydev_get[773]:ERROR:phy_addr 4 phydev is NULL
[ 5.750461] hsl_phy_phydev_get[773]:ERROR:phy_addr 0 phydev is NULL
@frollic I tried to live a little... but failed