F-Secure Sense

The device is not yet supported. Available code includes

  • add initial build option in realtek tree: done
  • GIC enabling: done
  • Serial console access: done
  • 2 Core SMP: done
  • USB support: done (new xHCI driver)
  • PCIE support: TODO
  • chip network driver: TODO
  • switch driver: TODO
  • SPI driver: TODO
  • MTD NAND driver: TODO
  • I2C driver TODO

Realtek RTL8198C dual core SoC with 512 MB RAM and 1024 MB Flash.

root@OpenWrt:/# lsusb
Bus 001 Device 001: ID 1d6b:0002 - Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 - Linux Foundation 3.0 root hub
root@OpenWrt:/# lspci
00:00.0 Class 0604: 10ec:8198
03:00.0 Class 0280: 10ec:8813 - RTL8813AE 802.11ac PCIe Wireless Network Adapter
02:00.0 Class 0604: 10ec:8198
01:00.0 Class 0280: 10ec:8813 - RTL8813AE 802.11ac PCIe Wireless Network Adapter

To open the device proceed as follows:

  • The grey base cover is attached by sturdy clips. So it won't be easy to remove it. Best way is to bend the cover at the cracked location on the second picture.
  • Afterwards you can open the top cover with the holes in the same way. This will be a lot easier.
  • Remove some screws and slide out the mainboard to the top.

Ensure that you use patches from https://github.com/openwrt/openwrt/pull/11094. Uncomment TARGET_DEVICES line from target/linux/realtek/image/rtl8198c.mk. Run make menuconfig and select target realtek plus subtarget rtl8198c with device F-Secure Sense. Afterwards run make to build the initramfs image.

[plappermaul@fedora rtl8198c]$ ls -al bin/targets/realtek/rtl8198c
total 19752
drwxr-xr-x. 3 plappermaul plappermaul     4096 21. Okt 13:07 .
drwxr-xr-x. 5 plappermaul plappermaul     4096 21. Okt 11:14 ..
-rw-r--r--. 1 plappermaul plappermaul     1311 27. Okt 08:59 config.buildinfo
-rw-r--r--. 1 plappermaul plappermaul      288 27. Okt 08:59 feeds.buildinfo
-rw-r--r--. 1 plappermaul plappermaul  9174526 27. Okt 09:00 openwrt-realtek-rtl8198c-f-secure_sense-initramfs-kernel.bin
-rw-r--r--. 1 plappermaul plappermaul     2868 27. Okt 09:00 openwrt-realtek-rtl8198c-f-secure_sense.manifest
-rw-r--r--. 1 plappermaul plappermaul 11010853 27. Okt 09:00 openwrt-realtek-rtl8198c-f-secure_sense-squashfs-sysupgrade.bin
drwxr-xr-x. 2 plappermaul plappermaul     4096 27. Okt 08:43 packages
-rw-r--r--. 1 plappermaul plappermaul     1298 27. Okt 09:01 profiles.json
-rw-r--r--. 1 plappermaul plappermaul      701 27. Okt 09:01 sha256sums
-rw-r--r--. 1 plappermaul plappermaul       18 27. Okt 08:59 version.buildinfo

Rename initramfs image to nfjrom. This is essential because the filename triggers the kernel jump/initialization sequence.

cp build_dir/target_mips_24kec_uClibc-0.9.33.2/linux-rtkmips_rtl8198c/loader-rtl8198c-AP-initramfs.bin nfjrom

In Sense bootloader enable TFTP and disable auto flashing

---Ethernet init Okay!
<RealTek>autoburn 0
AutoBurning=0
<RealTek>enable_tftp 1
Changing status of the tftpd to 1
<RealTek>loadaddr 84000000
Set TFTP Load Addr 0x84000000

On PC site upload image with filename “nfjrom

tftp -i 192.168.1.6 put nfjrom

After upload finishes system will automatically jump to the start address of the image, execute the lzma loader and fire up the kernel.

<RealTek>
TFTP Client Upload, File Name: nfjrom
-
TFTP Client Upload File Size = 002EF850 Bytes at 84000000

Success!
<RealTek>Jump to 0x84000000

The serial console uses 3.3V with 38400 Baud and 8N1 coding. The signals are inverted. So either you have to use an external inverter or must remove and shortcut the inverting transistors as shown on the second picture.

UART pinout
-----------
[o]ooo
 ^ ||`------ GND
 | |`------- TX
 | `-------- GND
 `---------- RX

Press ESC during bootup to get into the Realtek bootloader.

NNaanndd  bb
DRAM init done
Nand booting..
initHeap

initInterrupt


Scanning NAND registered database ...
=> Found registed NAND Flash, info as below:
1.Chip_name= MT29F8G08AB
2.ID= 0x2c380026
3.Chip_size= 1073741824 MB
4.Block_cnt= 2048
5.Block_size= 512 KB
6.Page_size= 4096 Bytes
7.OobSize= 128 KB

initFlash
DDR3:512 MB

---Realtek RTL8198C boot code at 2017.08.30-14:06+0300 v1.5g (1000MHz) [C0 running][C1 sleep]

showBoardInfo()

RTL_W32(RTL_GPIO_MUX5(...)

RTL_W32(RTL_GPIO_MUX5(RESET_PIN_IOBASE, RESET_PIN_DIRBASE)
sorftled init!

BOOTInfo: Status: BootBank:0 BootCnt:1 BootMode:1 BootMaxCnt:3 UpgradeMode:0

        *** BOOTInfo: Check PASSED ***

... Booting from BANK-0 ...
---Escape booting by user

---Ethernet init Okay!
<RealTek>?
----------------- COMMAND MODE HELP ------------------
HELP (?)                                    : Print this help message
DB <Address> <Len>
DW <Address> <Len>
EB <Address> <Value1> <Value2>...
EW <Address> <Value1> <Value2>...
CMP: CMP <dst><src><length>
IPCONFIG:<TargetAddress>
AUTOBURN: 0/1
LOADADDR: <Load Address>
J: Jump to <TargetAddress>
reboot
NANDID: Read NAND Flash ID
NANDBE:<Block start cnt><Block end cnt>
NANDPIOR:<flash_Paddress><enable_page_content><report_bad_block>
NANDPIOW:<flash_Paddress><image_addr><image_size>
NANDR:<flash_Paddress><image_addr><image_size><ECC_Enable>
NANDW:<flash_Paddress><image_addr><image_size>
NANDBBD:<block_test_start_cnt><block_test_end_cnt>
MDIOR:  MDIOR phyid reg
MDIOW:  MDIOW phyid reg data
PHYR: PHYR <PHYID><reg>
PHYW: PHYW <PHYID><reg><data>
PHYPR: PHYPR <PHYID><page><reg>
PHYPW: PHYPW <PHYID><page><reg><data>
XMOD <addr>  [jump]
TI : timer init
T : test
HRST: Host Pcie Reset <portnum> <mdio_rst>:
HINIT: Host init bar <portnum>
HLOOP: Test Pci-E data loopback <portnum> <cnt>
EPDN: PCIE Power Down test <portnum><mode>
EMDIOR: Reg Read <portnum>
EMDIOW <portnum> <reg> <val>:
ELOOP <portnum> <start/stop>:
EINT <portnum> <loops>:
PHY_BEGIN:
ETH : startup Ethernet
CPUClk:
C1Wake : Core 1 wake Up
GBIST: GPHY BIST
GDRF: GPHY DRF BIST
BISTALL:
Factory-Firmware: FFW
ENABLE_TFTP: 0/1, eg. 'ENABLE_TFTP 1'

The vendor firmware is based on OpenWrt Chaos Calmer.

NNaanndd bb DRAM init done Nand booting.. initHeap initInterrupt Scanning NAND registered database ... => Found registed NAND Flash, info as below: 1.Chip_name= MT29F8G08AB 2.ID= 0x2c380026 3.Chip_size= 1073741824 MB 4.Block_cnt= 2048 5.Block_size= 512 KB 6.Page_size= 4096 Bytes 7.OobSize= 128 KB initFlash DDR3:512 MB ---Realtek RTL8198C boot code at 2017.08.30-14:06+0300 v1.5g (1000MHz) [C0 running][C1 sleep] showBoardInfo() RTL_W32(RTL_GPIO_MUX5(...) RTL_W32(RTL_GPIO_MUX5(RESET_PIN_IOBASE, RESET_PIN_DIRBASE) sorftled init! BOOTInfo: Status: BootBank:0 BootCnt:1 BootMode:1 BootMaxCnt:3 UpgradeMode:0 *** BOOTInfo: Check PASSED *** ... Booting from BANK-0 ...Jump to image start=0x80500000... OpenWrt kernel loader for Mips board Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org> Decompressing kernel... done! Starting kernel at 80000000... [ 0.000000] Linux version 3.10.49 (seabuilder@helseaslave01) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47196) ) #1 SMP Thu Oct 26 15:41:18 EEST 2017 [ 0.000000] CPU revision is: 00019a24 (MIPS 1074Kc) [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 10000000 @ 00000000 (usable) [ 0.000000] memory: 10000000 @ 30000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x1fffffff] [ 0.000000] HighMem [mem 0x20000000-0x3fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x0fffffff] [ 0.000000] node 0: [mem 0x30000000-0x3fffffff] [ 0.000000] Detected 1 available secondary CPU(s) [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 512kB, 8-way, linesize 32 bytes. [ 0.000000] PERCPU: Embedded 7 pages/cpu @81806000 s6400 r8192 d14080 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 [ 0.000000] Kernel command line: board=AP console=ttyS0,38400 linuxpart=0x5400000 hwpart=0x0 [ 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] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Crashlog failed to allocate RAM at address 0x1ff00000 [ 0.000000] Memory: 511192k/262144k available (3459k kernel code, 13096k reserved, 810k data, 208k init, 262144k highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:128 [ 0.000000] CPU0: status register was 10000400 [ 0.000000] CPU0: status register now 10000400 [ 0.000000] console [ttyS0] enabled [ 0.310000] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464) [ 0.380000] pid_max: default: 32768 minimum: 301 [ 0.390000] Mount-cache hash table entries: 512 GO[ 0.400000] CPU revision is: 00019a24 (MIPS 1074Kc) [ 0.410000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.440000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.460000] MIPS secondary cache 512kB, 8-way, linesize 32 bytes. [ 0.540000] Synchronize counters for CPU 1: done. [ 0.560000] Brought up 2 CPUs [ 0.570000] devtmpfs: initialized [ 0.580000] RTL8198c led and buttons setup! [ 0.590000] NET: Registered protocol family 16 [ 0.600000] INFO: initializing USB devices ... [ 0.800000] UPHY: 8198c ASIC u3 of u3 25M phy patch [ 5.160000] INFO: initializing i2c devices ... [ 5.180000] bio: create slab <bio-0> at 0 [ 5.190000] SCSI subsystem initialized [ 5.200000] usbcore: registered new interface driver usbfs [ 5.210000] usbcore: registered new interface driver hub [ 5.220000] usbcore: registered new device driver usb [ 5.230000] RTK I2C probe: INIt [ 5.240000] RTK I2C probe: done [ 5.250000] Bluetooth: Core ver 2.18 [ 5.260000] NET: Registered protocol family 31 [ 5.270000] Bluetooth: HCI device and connection manager initialized [ 5.280000] Bluetooth: HCI socket layer initialized [ 5.290000] Bluetooth: L2CAP socket layer initialized [ 5.300000] Bluetooth: SCO socket layer initialized [ 5.310000] Switching to clocksource MIPS [ 5.320000] NET: Registered protocol family 2 [ 5.330000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 5.360000] TCP bind hash table entries: 2048 (order: 2, 16384 bytes) [ 5.390000] TCP: Hash tables configured (established 2048 bind 2048) [ 5.410000] TCP: reno registered [ 5.420000] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 5.440000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 5.460000] NET: Registered protocol family 1 [ 5.470000] bounce pool size: 64 pages [ 5.490000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 5.510000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 5.540000] msgmni has been set to 486 [ 5.560000] io scheduler noop registered [ 5.570000] io scheduler deadline registered (default) [ 5.590000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 5.610000] serial8250: ttyS0 at MMIO 0x18002000 (irq = 26) is a 16550A [ 5.640000] fli2cled: fli2cled init start! [ 5.810000] fli2cled: fli2cled init end! [ 5.820000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron MT29F8G08AB 8G 3.3V 8-bit), 1024MiB, page size: 4096, OOB size: 128 [ 5.860000] [rtkn_scan_bbt, line 2067], RBA=102, this->RBA_PERCENT = 5 [ 5.880000] [rtkn_scan_bbt, line 2077] block_v2r_num 800 [rtk_scan_v2r_bbt]:963,RBA=66,2=800, [ 5.910000] [rtk_scan_v2r_bbt]:969,block_v2r_num=79a [ 5.930000] INFO: Stored BBT in Die 0: block=2 , block_status_p1=0xbb [ 5.950000] load bbt v2r table:0 page:256 [rtk_scan_v2r_bbt] have created v2r bbt table:0 on block 2, just loads it !! check v2r bbt table:0 OK [rtk_nand_scan_bbt, line 688] mem_page_num=1 bbt_page 640 [ 6.020000] INFO: Stored BBT in Die 0: block=5 , block_status_p1=0xbb [ 6.040000] load bbt table:0 page:640 [rtk_nand_scan_bbt] have created bbt table:0 on block 5, just loads it !! check bbt table:0 OK [dump_BBT] Nand BBT Content [ 6.090000] Congratulation!! No BBs in this Nand. [ 6.110000] [ 6.110000] [Kernel-MTD] Active Bank Offset: 0x5400000, Backup Bank Offset: 0x9F00000 [ 6.610000] Creating 7 MTD partitions on "rtk_nand": [ 6.630000] 0x000000000000-0x000000400000 : "boot" [ 6.640000] 0x000000400000-0x000000900000 : "setting" [ 6.660000] 0x000000900000-0x000005400000 : "factory_firmware" [ 6.680000] 0x000005400000-0x000005600000 : "linux" [ 6.700000] 0x000005600000-0x000009f00000 : "rootfs" [ 6.710000] mtd: device 4 (rootfs) set to be root filesystem [ 6.730000] mtd: partition "rootfs_data" created automatically, ofs=0x6480000, len=0x3a80000 [ 6.760000] 0x000006480000-0x000009f00000 : "rootfs_data" [ 6.780000] 0x000009f00000-0x00000ea00000 : "linux_backup" [ 6.800000] 0x00000ea00000-0x00003a000000 : "fsecure_data" [ 6.820000] [ 6.820000] Probing RTL819X NIC-kenel stack size order[1]... [ 7.560000] eth0 added. vid=9 Member port 0x10f... [ 7.570000] eth1 added. vid=8 Member port 0x10... [ 7.590000] [peth0] added, mapping to [eth1]... [ 7.600000] xhci-hcd xhci-hcd: xHCI Host Controller [ 7.620000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1 [ 7.640000] xhci-hcd xhci-hcd: irq 42, io mem 0x18040000 [ 7.660000] hub 1-0:1.0: USB hub found [ 7.670000] hub 1-0:1.0: 1 port detected [ 7.690000] xhci-hcd xhci-hcd: xHCI Host Controller [ 7.700000] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2 [ 7.730000] hub 2-0:1.0: USB hub found [ 7.740000] hub 2-0:1.0: 1 port detected [ 7.750000] usbcore: registered new interface driver usb-storage [ 7.770000] -------8196D OTG init [ 7.980000] dwc_otg: version 2.60a 22-NOV-2006 [ 8.000000] [S0] lmdev=8fcb3400 [ 8.010000] device_register :register pass [ 8.020000] [S2] otg_dev=8fdc1e00 [ 8.230000] [S3] hcd==8fd70200 [ 8.250000] DWC_otg: Using DMA mode [ 8.260000] dwc_otg logicmodule: DWC OTG Controller [ 8.270000] dwc_otg logicmodule: new USB bus registered, assigned bus number 3 [ 8.300000] dwc_otg logicmodule: irq 41, io mem 0xb8030000 [ 8.310000] set OTG host to high speed ! [ 8.310000] DWC_otg: Init: Port Power? op_state=1 [ 8.310000] DWC_otg: Init: Power Port (0) [ 8.360000] hub 3-0:1.0: USB hub found [ 8.370000] hub 3-0:1.0: 1 port detected [ 8.380000] [S1] dwc_otg_driver, lmdriver=80416390 [ 8.400000] i2c /dev entries driver [ 8.410000] rtl819x-wdt rtl819x-wdt: Initialized [ 8.430000] TCP: westwood registered [ 8.440000] NET: Registered protocol family 17 [ 8.450000] Bridge firewalling registered [ 8.470000] Bluetooth: RFCOMM TTY layer initialized [ 8.480000] Bluetooth: RFCOMM socket layer initialized [ 8.500000] Bluetooth: RFCOMM ver 1.11 [ 8.510000] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 8.530000] Bluetooth: BNEP filters: protocol multicast [ 8.550000] Bluetooth: BNEP socket layer initialized [ 8.560000] 8021q: 802.1Q VLAN Support v1.8 [ 8.580000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 8.610000] Freeing unused kernel memory: 208K (8042c000 - 80460000) [ 9.310000] init: Console is alive [ 10.180000] usb 3-1: new full-speed USB device number 2 using dwc_otg [ 11.330000] init: - preinit - [ 11.410000] usb 3-1: No LPM exit latency info found. Power management will be impacted. 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 jffs2 is ready jffs2 is ready [ 15.580000] jffs2: notice: (380) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 17 of xref (0 dead, 0 orphan) found. switching to overlay [ 15.650000] procd: - early - [ 16.250000] procd: - ubus - [ 17.260000] procd: - init - Please press Enter to activate this console. [ 17.530000] jnl: driver (UFSD_HEAD lke_9.2.0_r245248_b7, LBD=ON) loaded at 8f520000 [ 17.660000] ufsd: module license 'Commercial product' taints kernel. [ 17.680000] Disabling lock debugging due to kernel taint [ 17.730000] ufsd:: trace mask set to 0000000f [ 17.740000] ufsd: driver (UFSD_HEAD lke_9.2.0_r245248_b7, build_host("helseaslave01"), ioctl, bdi, sd2(0), fua, bz, tr, rsrc) loaded at 8f600000 [ 17.740000] NTFS support included [ 17.740000] exFAT support included [ 17.740000] Hfs+/HfsJ support included [ 17.740000] Big endian platform [ 17.740000] optimized: speed [ 17.740000] Build_for__Realtek_Home_NAS_k3.10_2014-10-21_lke_9.2.0_r245248_b7 [ 17.740000] [ 17.890000] NET: Registered protocol family 10 [ 17.900000] Initializing XFRM netlink socket [ 17.920000] NET: Registered protocol family 15 [ 17.950000] l2tp_core: L2TP core driver, V2.0 [ 17.960000] l2tp_netlink: L2TP netlink interface [ 17.980000] sit: IPv6 over IPv4 tunneling driver [ 18.000000] gre: GRE over IPv4 demultiplexor driver [ 18.020000] ip_gre: GRE over IPv4 tunneling driver [ 18.050000] ip6_gre: GRE over IPv6 tunneling driver [ 18.070000] nf_conntrack version 0.5.0 (7990 buckets, 31960 max) [ 18.100000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 18.130000] cryptodev: driver 1.7 loaded. [ 18.150000] hidraw: raw HID events driver (C) Jiri Kosina [ 18.170000] u32 classifier [ 18.180000] input device check on [ 18.190000] Actions configured [ 18.210000] Mirror/redirect action on [ 18.230000] fuse init (API version 7.22) [ 18.240000] arp_tables: (C) 2002 David S. Miller [ 18.260000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea [ 18.290000] Backport generated by backports.git backports-20140320-37-g5c33da0 [ 18.330000] Ebtables v2.0 registered [ 18.340000] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 18.360000] Bluetooth: HIDP socket layer initialized [ 18.380000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 18.500000] Netfilter messages via NETLINK v0.30. [ 18.510000] nfnl_acct: registering with nfnetlink. [ 18.550000] xt_time: kernel timezone is -0000 [ 18.580000] cfg80211: Calling CRDA to update world regulatory domain [ 18.610000] cfg80211: World regulatory domain updated: [ 18.620000] cfg80211: DFS Master region: unset [ 18.640000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 18.670000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 18.700000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 18.720000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 18.750000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A) [ 18.780000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 18.800000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 18.830000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 18.860000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 18.900000] ctnetlink v0.93: registering with nfnetlink. [ 18.920000] PPP generic driver version 2.4.2 [ 18.930000] PPP MPPE Compression module registered [ 18.950000] NET: Registered protocol family 24 [ 18.970000] PPTP driver version 0.8.5 [ 19.430000] Realtek WLAN driver - version 1.7 (2015-10-30) [ 19.440000] DFS function - version 2.0.6 [ 19.460000] Adaptivity function - version 9.3.4 [ 19.470000] Device Name = RTKWiFi0 [ 19.480000] VIF_NUM=5 [ 21.490000] UPHY: 8198c ASIC u2 of u3 25M phy patch [ 24.000000] Find Port=1 Device:Vender ID=881310ec [ 24.520000] MACHAL_version_init [ 24.550000] Device Name = RTKWiFi1 [ 24.560000] VIF_NUM=5 [ 26.560000] UPHY: 8198c ASIC u2 of u3 25M phy patch [ 28.580000] Find Port=0 Device:Vender ID=881310ec [ 29.090000] MACHAL_version_init [ 29.130000] l2tp_ppp: PPPoL2TP kernel driver, V2.0 Overlay found [ 31.250000] yaffs: dev is 32505863 name is "mtdblock7" rw [ 31.270000] yaffs: passed flags "tags-ecc-off,inband-tags" [ 36.880000] yaffs: dev is 32505857 name is "mtdblock1" rw [ 36.900000] yaffs: passed flags "tags-ecc-off,inband-tags" [ 39.450000] cfg80211: Calling CRDA for country: DE [ 39.470000] cfg80211: Regulatory domain changed to country: DE [ 39.480000] cfg80211: DFS Master region: ETSI [ 39.500000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 39.530000] cfg80211: (2400000 KHz - 2483000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 39.560000] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 39.580000] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz), (N/A, 2000 mBm), (0 s) [ 39.610000] cfg80211: (5470000 KHz - 5725000 KHz @ 80000 KHz), (N/A, 2700 mBm), (0 s) [ 39.640000] cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) [ 39.850000] device eth0 entered promiscuous mode [ 39.870000] br-lan: port 1(eth0) entered forwarding state [ 39.880000] br-lan: port 1(eth0) entered forwarding state [ 41.880000] br-lan: port 1(eth0) entered forwarding state [ 42.290000] jffs2: warning: (1810) jffs2_sum_write_data: Not enough space for summary, padsize = -3392 [ 45.770000] hub 1-0:1.0: USB hub found [ 45.780000] hub 1-0:1.0: 1 port detected [ 45.810000] hub 2-0:1.0: USB hub found [ 45.820000] hub 2-0:1.0: 1 port detected [ 46.290000] rtk_btusb: btusb_open hdev->promisc ==0 [ 46.310000] usbcore: registered new interface driver rtk_btusb [ 46.370000] rtk_btusb: fw name is rtl8761au_fw [ 46.390000] rtk_btusb: This is not 8723a, use new patch style! BusyBox v1.23.2 (2017-10-26 15:21:23 EEST) built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- CHAOS CALMER (Chaos Calmer, r47196) ----------------------------------------------------- * 1 1/2 oz Gin Shake with a glassful * 1/4 oz Triple Sec of broken ice and pour * 3/4 oz Lime Juice unstrained into a goblet. * 1 1/2 oz Orange Juice * 1 tsp. Grenadine Syrup -----------------------------------------------------


Current master build with https://github.com/openwrt/openwrt/pull/11094

<RealTek>Jump to 0x84000000 OpenWrt kernel loader for MIPS based SoC Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org> Decompressing kernel... done! Starting kernel at 80000000... [ 0.000000] Linux version 5.10.149 (stockhausen@fedora) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r20179+24-57cad53f4e) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Mon Oct 31 19:38:38 2022 [ 0.000000] RTL819X, submodel 8198c001 [ 0.000000] SoC Type: RTL8198C [ 0.000000] CPU0 revision is: 00019a24 (MIPS 1074Kc) [ 0.000000] MIPS: machine is F-Secure Sense [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Using appended Device Tree. [ 0.000000] VPE topology {1,1} total 2 [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 512kB, 8-way, linesize 32 bytes. [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] percpu: Embedded 14 pages/cpu s27792 r8192 d21360 u57344 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480 [ 0.000000] Kernel command line: console=ttyS0,38400 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 100032K/131072K available (6176K kernel code, 249K rwdata, 1272K rodata, 21860K init, 94K bss, 31040K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, 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: 256 [ 0.000000] Failed to get CPU clock: -2 [ 0.000000] CPU frequency from device tree: 1000MHz [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.000009] sched_clock: 64 bits at 1000MHz, resolution 1ns, wraps every 4398046511103ns [ 0.000041] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 3822520893 ns [ 0.000184] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464) [ 0.060031] pid_max: default: 32768 minimum: 301 [ 0.060165] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.060178] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.061469] Using only one core due to dcache aliasing [ 0.062257] Performance counters: mips/1074K PMU enabled, 4 32-bit counters available to each CPU, irq 7 [ 0.062411] rcu: Hierarchical SRCU implementation. [ 0.062620] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build [ 0.062806] smp: Bringing up secondary CPUs ... [ 0.064182] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.064188] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.064198] MIPS secondary cache 512kB, 8-way, linesize 32 bytes. [ 0.064265] CPU1 revision is: 00019a24 (MIPS 1074Kc) [ 0.123461] Synchronize counters for CPU 1: done. [ 0.123591] smp: Brought up 1 node, 2 CPUs [ 0.124749] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.124773] futex hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.124909] pinctrl core: initialized pinctrl subsystem [ 0.125596] NET: Registered protocol family 16 [ 0.130994] PCIE reset port = 0 [ 0.632712] Do MDIO_RESET [ 3.646835] Find Port=0 Device:Vender ID=881310ec [ 3.646842] PCIE reset port = 1 [ 4.148513] Do MDIO_RESET [ 5.155995] Port 1 DevRESET [ 7.664312] Find Port=1 Device:Vender ID=881310ec [ 7.664318] register PCI [ 7.664325] DONE MEM [ 7.664332] DONE IO [ 7.664338] registering PCI controller with io_map_base unset [ 7.664344] register PCI [ 7.664350] DONE MEM [ 7.664355] DONE IO [ 7.664361] registering PCI controller with io_map_base unset [ 7.684224] SCSI subsystem initialized [ 7.684545] usbcore: registered new interface driver usbfs [ 7.684617] usbcore: registered new interface driver hub [ 7.684687] usbcore: registered new device driver usb [ 7.685692] PCI host bridge to bus 0000:00 [ 7.685733] pci_bus 0000:00: root bus resource [mem 0x19000000-0x19ffffff] [ 7.685746] pci_bus 0000:00: root bus resource [io 0x18c00000-0x18dfffff] [ 7.685766] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 7.685776] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 7.685851] pci 0000:00:00.0: [10ec:8198] type 01 class 0x060400 [ 7.685947] pci 0000:00:00.0: supports D1 [ 7.685957] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 7.686290] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 7.686428] pci 0000:01:00.0: [10ec:8813] type 00 class 0x028000 [ 7.686461] pci 0000:01:00.0: reg 0x10: [io 0x0000-0x00ff] [ 7.686495] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit] [ 7.686624] pci 0000:01:00.0: supports D1 D2 [ 7.686634] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 7.686677] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link) [ 7.687047] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 7.687065] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01 [ 7.687114] pci 0000:00:00.0: BAR 8: assigned [mem 0x19000000-0x190fffff] [ 7.687126] pci 0000:00:00.0: BAR 7: assigned [io 0x18c00000-0x18c00fff] [ 7.687141] pci 0000:01:00.0: BAR 2: assigned [mem 0x19000000-0x1900ffff 64bit] [ 7.687167] pci 0000:01:00.0: BAR 0: assigned [io 0x18c00000-0x18c000ff] [ 7.687182] pci 0000:00:00.0: PCI bridge to [bus 01] [ 7.687195] pci 0000:00:00.0: bridge window [io 0x18c00000-0x18c00fff] [ 7.687207] pci 0000:00:00.0: bridge window [mem 0x19000000-0x190fffff] [ 7.687325] PCI host bridge to bus 0000:02 [ 7.687339] pci_bus 0000:02: root bus resource [mem 0x1a000000-0x1affffff] [ 7.687350] pci_bus 0000:02: root bus resource [io 0x18e00000-0x18ffffff] [ 7.687361] pci_bus 0000:02: root bus resource [??? 0x00000000 flags 0x0] [ 7.687371] pci_bus 0000:02: No busn resource found for root bus, will use [bus 02-ff] [ 7.687409] pci 0000:02:00.0: [10ec:8198] type 01 class 0x060400 [ 7.687468] pci 0000:02:00.0: supports D1 [ 7.687477] pci 0000:02:00.0: PME# supported from D0 D1 D3hot [ 7.687761] pci 0000:02:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 7.687912] pci 0000:03:00.0: [10ec:8813] type 00 class 0x028000 [ 7.687947] pci 0000:03:00.0: reg 0x10: [io 0x0000-0x00ff] [ 7.687980] pci 0000:03:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit] [ 7.688112] pci 0000:03:00.0: supports D1 D2 [ 7.688122] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 7.688169] pci 0000:03:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:02:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link) [ 7.688439] pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 03 [ 7.688461] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 03 [ 7.688491] pci 0000:02:00.0: BAR 8: assigned [mem 0x1a000000-0x1a0fffff] [ 7.688504] pci 0000:02:00.0: BAR 7: assigned [io 0x18e00000-0x18e00fff] [ 7.688519] pci 0000:03:00.0: BAR 2: assigned [mem 0x1a000000-0x1a00ffff 64bit] [ 7.688542] pci 0000:03:00.0: BAR 0: assigned [io 0x18e00000-0x18e000ff] [ 7.688556] pci 0000:02:00.0: PCI bridge to [bus 03] [ 7.688567] pci 0000:02:00.0: bridge window [io 0x18e00000-0x18e00fff] [ 7.688578] pci 0000:02:00.0: bridge window [mem 0x1a000000-0x1a0fffff] [ 7.689817] clocksource: Switched to clocksource GIC [ 7.690769] NET: Registered protocol family 2 [ 7.690993] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 7.691640] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 7.691719] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 7.691742] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 7.691778] TCP: Hash tables configured (established 1024 bind 1024) [ 7.691898] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 7.691964] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 7.692190] NET: Registered protocol family 1 [ 7.692270] PCI: CLS 0 bytes, default 32 [ 7.909747] workingset: timestamp_bits=14 max_order=15 bucket_order=1 [ 7.912756] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 7.912851] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 7.914768] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 7.915503] printk: console [ttyS0] disabled [ 7.915604] 18002000.uart: ttyS0 at MMIO 0x18002000 (irq = 13, base_baud = 12500000) is a 16550A [ 10.678747] printk: console [ttyS0] enabled [ 10.694341] xhci-realtek 18040000.xhci: xHCI Host Controller [ 10.713140] xhci-realtek 18040000.xhci: new USB bus registered, assigned bus number 1 [ 10.939798] UPHY: 8198c ASIC u3 of u3 25M phy patch [ 15.331342] ADD QUIRK [ 15.339030] xhci-realtek 18040000.xhci: hcc params 0x0220f04c hci version 0x96 quirks 0x0000000000010000 [ 15.370460] xhci-realtek 18040000.xhci: irq 14, io mem 0x18040000 [ 15.391318] hub 1-0:1.0: USB hub found [ 15.403784] hub 1-0:1.0: 1 port detected [ 15.417018] xhci-realtek 18040000.xhci: xHCI Host Controller [ 15.435771] xhci-realtek 18040000.xhci: new USB bus registered, assigned bus number 2 [ 15.461688] xhci-realtek 18040000.xhci: Host supports USB 3.0 SuperSpeed [ 15.484007] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 15.511199] hub 2-0:1.0: USB hub found [ 15.523640] hub 2-0:1.0: 1 port detected [ 15.537042] usbcore: registered new interface driver usb-storage [ 15.557672] NET: Registered protocol family 10 [ 15.573327] Segment Routing with IPv6 [ 15.585538] NET: Registered protocol family 17 [ 15.600269] 8021q: 802.1Q VLAN Support v1.8 [ 15.713595] Freeing unused kernel memory: 21860K [ 15.728893] This architecture does not have kernel memory protection. [ 15.750212] Run /init as init process [ 16.135640] init: Console is alive [ 16.158418] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 16.183980] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 16.218284] init: - preinit - [ 16.381164] random: jshn: uninitialized urandom read (4 bytes read) [ 16.469387] random: jshn: uninitialized urandom read (4 bytes read) [ 18.713325] procd: - early - [ 19.237690] procd: - ubus - [ 19.251992] random: ubusd: uninitialized urandom read (4 bytes read) [ 19.297295] random: ubusd: uninitialized urandom read (4 bytes read) [ 19.318557] random: ubusd: uninitialized urandom read (4 bytes read) [ 19.340824] procd: - init - [ 19.672687] kmodloader: loading kernel modules from /etc/modules.d/* [ 19.694585] urngd: v1.0.2 started. [ 19.709618] NET: Registered protocol family 38 [ 19.732977] cryptodev: driver 1.12 loaded. [ 19.748532] GACT probability on [ 19.760303] Mirror/redirect action on [ 19.779658] u32 classifier [ 19.788655] input device check on [ 19.800773] Actions configured [ 19.855809] random: crng init done [ 19.867106] random: 19 urandom warning(s) missed due to ratelimiting [ 19.900192] kmodloader: done loading kernel modules from /etc/modules.d/* BusyBox v1.35.0 (2022-10-27 14:52:45 UTC) built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- OpenWrt SNAPSHOT, r21122-c7d461b30f ----------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. --------------------------------------------------

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2022/11/02 07:25
  • by plappermaul