After a lot of fiddling, i was able to install original realtek bootloader it booted with below bootlog, but wifi doesn't work my chip is RTL8188ER, Can you please provide some pointers where can i start trying to fix it? I am fairly determined, evident from the fact that i recompiled bootloader from the sources to support the flash chip i replaced the original chip with :).
After a lot of fiddling, i was able to install original realtek bootloader it booted with below bootlog, but wifi doesn't work my chip is RTL8188ER, Can you please provide some pointers where can i start trying to fix it? I am fairly determined, evident from the fact that i recompiled bootloader from the sources to support the flash chip i replaced the original chip with :).
Booting...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@
@ chipno chipid mfrid devid cap___id size_sft dev_size chipSize
@ 0000000h 0ef6017h 00000efh 0000060h 0000017h 0000000h 0000017h 0800000h
@ blk_size blk__cnt sec_size sec__cnt pageSize page_cnt chip_clk chipName
@ 0010000h 0000080h 0001000h 0000800h 0000100h 0000010h 000004eh W25Q64.W
@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
---RealTek(RTL8196E)at 2023.09.01-14:40+0530 v1.4 16bit
check_image_header return_addr:05010000 bank_offset:00000000
Jump to image start=0x80500000...
OpenWrt kernel loader for Realtek 819X
Copyright (C) 2011 Gabor Juhos juhosg@openwrt.org
Decompressing kernel... done!
Starting kernel at 80000000...
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.10.49 (ubuntu@ubuntu-VirtualBox) (gcc version 4.6.4 (Realtek RSDK-4.6.4 Build 424) ) #1 Thu Aug 17 18:58:05 IST 2023 [ 0.000000] CPU revision is: 0000cd01 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] icache: 16kB/16B, dcache: 8kB/16B, scache: 0kB/0B [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: board=AP console=ttyS0,38400 linuxpart=0x10000 [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Memory: 28624k/32768k available (2992k kernel code, 4144k reserved, 531k data, 188k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:128 [ 0.000000] console [ttyS0] enabled [ 0.230000] Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656) [ 0.300000] pid_max: default: 32768 minimum: 301 [ 0.310000] Mount-cache hash table entries: 512 [ 0.330000] Initializing cgroup subsys devices [ 0.340000] Initializing cgroup subsys net_cls [ 0.350000] Initializing cgroup subsys blkio [ 0.360000] Initializing cgroup subsys net_prio [ 0.400000] reg e0=0 [ 0.440000] reg e1=0 [ 0.480000] reg e2=0 [ 0.520000] reg e3=0 [ 0.560000] reg e4=0 [ 0.590000] reg e5=0 [ 0.630000] reg e6=0 [ 0.670000] reg e7=0 [ 0.710000] reg f0=0 [ 0.750000] reg f1=0 [ 0.780000] reg f2=0 [ 0.820000] reg f3=0 [ 0.860000] reg f4=0 [ 0.900000] reg f5=0 [ 0.940000] reg f6=0 [ 0.950000] NET: Registered protocol family 16 [ 1.110000] bio: create slab at 0
[ 1.130000] SCSI subsystem initialized
[ 1.150000] usbcore: registered new interface driver usbfs
[ 1.170000] usbcore: registered new interface driver hub
[ 1.180000] usbcore: registered new device driver usb
[ 1.210000] NET: Registered protocol family 2
[ 1.220000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 1.230000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 1.240000] TCP: Hash tables configured (established 512 bind 512)
[ 1.250000] TCP: reno registered
[ 1.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 1.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 1.280000] NET: Registered protocol family 1
[ 1.360000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.370000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 1.380000] msgmni has been set to 55
[ 1.400000] io scheduler noop registered
[ 1.410000] io scheduler deadline registered (default)
[ 1.420000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 1.430000] serial8250: ttyS0 at MMIO 0x18002000 (irq = 9) is a 16550A
[ 1.470000] SPI INIT
[ 1.480000] ------------------------- Force into Single IO Mode ------------------------
[ 1.490000] |No chipID Sft chipSize blkSize secSize pageSize sdCk opCk chipName |
[ 1.500000] | 0 ef6017h 0h 800000h 10000h 1000h 100h 40 0 UNKNOWN|
[ 1.510000] ----------------------------------------------------------------------------
[ 1.520000] SPI flash(UNKNOWN) was found at CS0, size 0x800000
[ 1.530000] Creating 3 MTD partitions on "flash_bank_1":
[ 1.540000] 0x000000000000-0x000000010000 : "boot"
[ 1.550000] 0x000000010000-0x000000800000 : "linux"
[ 1.560000] 0x00000012d000-0x000000800000 : "rootfs"
[ 1.580000] mtd: device 2 (rootfs) set to be root filesystem
[ 1.590000] mtd: partition "rootfs_data" created automatically, ofs=0x411000, len=0x3ef000
[ 1.600000] 0x000000411000-0x000000800000 : "rootfs_data"
[ 1.620000]
[ 1.620000] Probing RTL819X NIC-kenel stack size order[1]...
[ 2.300000] eth0 added. vid=9 Member port 0x10f...
[ 2.310000] eth1 added. vid=8 Member port 0x10...
[ 2.320000] [peth0] added, mapping to [eth1]...
[ 2.330000] usbcore: registered new interface driver usb-storage
[ 2.340000] -------8196D OTG init
[ 2.550000] dwc_otg: version 2.60a 22-NOV-2006
[ 2.560000] [S0] lmdev=8189e400
[ 2.580000] device_register :register pass
[ 2.590000] [S2] otg_dev=8190bc40
[ 2.800000] [S3] hcd==81917800
[ 2.810000] DWC_otg: Using DMA mode
[ 2.820000] dwc_otg logicmodule: DWC OTG Controller
[ 2.830000] dwc_otg logicmodule: new USB bus registered, assigned bus number 1
[ 2.840000] dwc_otg logicmodule: irq 15, io mem 0xb8030000
[ 2.850000] set OTG host to high speed !
[ 2.860000] DWC_otg: Init: Port Power? op_state=1
[ 2.870000] DWC_otg: Init: Power Port (0)
[ 2.890000] hub 1-0:1.0: USB hub found
[ 2.900000] hub 1-0:1.0: 1 port detected
[ 2.920000] [S1] dwc_otg_driver, lmdriver=8036c27c
[ 2.940000] TCP: westwood registered
[ 2.950000] NET: Registered protocol family 17
[ 2.960000] Bridge firewalling registered
[ 2.970000] 8021q: 802.1Q VLAN Support v1.8
[ 3.000000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 3.020000] Freeing unused kernel memory: 188K (80371000 - 803a0000)
procd: Console is alive
procd: - preinit -
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
kmod: ran 1 iterations
[ 12.590000] jffs2: notice: (306) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 0 orphan) found.
block: extroot: no root or overlay mount defined
jffs2 is ready
jffs2 is ready
[ 12.880000] jffs2: notice: (303) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 0 orphan) found.
switching to overlay
procd: - early -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 16.850000] nf_conntrack version 0.5.0 (450 buckets, 1800 max)
[ 16.870000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 16.890000] PPP generic driver version 2.4.2
[ 16.910000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 16.920000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 16.980000] NET: Registered protocol family 10
[ 17.010000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.030000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.080000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.100000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.120000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.140000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.170000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.200000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.220000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.240000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.260000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.320000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.360000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.400000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.430000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.450000] u32 classifier
[ 17.460000] input device check on
[ 17.470000] Actions configured
[ 17.500000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.520000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.550000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.610000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.640000] Mirror/redirect action on
[ 17.650000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.670000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.700000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.720000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.740000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.760000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.780000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 17.790000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 17.810000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 17.880000] NET: Registered protocol family 24
[ 17.900000] usbcore: registered new interface driver ums-alauda
[ 17.910000] usbcore: registered new interface driver ums-cypress
[ 17.930000] usbcore: registered new interface driver ums-datafab
[ 17.940000] usbcore: registered new interface driver ums-freecom
[ 17.960000] usbcore: registered new interface driver ums-isd200
[ 17.970000] usbcore: registered new interface driver ums-jumpshot
[ 17.990000] usbcore: registered new interface driver ums-karma
[ 18.000000] usbcore: registered new interface driver ums-sddr09
[ 18.020000] usbcore: registered new interface driver ums-sddr55
[ 18.030000] usbcore: registered new interface driver ums-usbat
[ 18.160000] xt_time: kernel timezone is -0000
[ 18.260000] cfg80211: Calling CRDA to update world regulatory domain
[ 18.280000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 18.290000] cfg80211: World regulatory domain updated:
[ 18.300000] cfg80211: DFS Master region: unset
[ 18.310000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 18.320000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 18.330000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 18.340000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 18.350000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 18.360000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 18.370000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 18.380000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 18.390000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 19.380000] Realtek WLAN driver - version 1.7 (2015-10-30)
[ 19.390000] Adaptivity function - version 9.3.4
[ 19.410000] Device Name = RTKWiFi0
[ 19.420000] VIF_NUM=9
[ 19.430000] CFG0
[ 21.440000] 98 - 25MHz Clock Source
[ 23.460000] Find Port=0 Device:Vender ID=817910ec
[ 23.970000] =====>> EXIT rtl8192cd_init_one (-5) <<=====
[ 23.980000] init_one fail!!! rc=-5
[ 24.000000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 24.020000] fastpath: Unknown symbol igmp_delete_init_netlink (err 0)
[ 33.010000] cfg80211: Calling CRDA for country: US
[ 33.040000] cfg80211: Regulatory domain changed to country: US
[ 33.050000] cfg80211: DFS Master region: FCC
[ 33.060000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 33.070000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 33.080000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 33.090000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 33.100000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 33.110000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 44.490000] device eth0.1 entered promiscuous mode
[ 44.500000] device eth0 entered promiscuous mode
[ 44.530000] br-lan: port 1(eth0.1) entered forwarding state
[ 44.550000] br-lan: port 1(eth0.1) entered forwarding state
[ 46.550000] br-lan: port 1(eth0.1) entered forwarding state
procd: - init complete -