Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| toh:mikrotik:mikrotik_lhg-hb_platform [2020/06/15 13:33] – [Installation] rogerpueyo | toh:mikrotik:lhg-hb_platform [2024/11/03 16:06] (current) – Added OpenWrt bootlog base258 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== MikroTik LHG-HB platform ====== | ====== MikroTik LHG-HB platform ====== | ||
| - | |||
| - | /* This template is intended to be used via https:// | ||
| - | /* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ | ||
| - | /* USE https:// | ||
| {{page> | {{page> | ||
| Line 29: | Line 25: | ||
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | headers | + | " |
| - | align : c,c,c,c,c,c,c | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | filteror | + | " |
| - | ---- | + | } --> |
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | filteror | + | |
| - | ---- | + | " |
| + | } --> | ||
| + | NB: The SXTsq Lite2 is the exact same hardware has the LHG 2, with a different case and antenna: it can run the LHG 2nD image just fine. | ||
| ===== Experimental Versions ===== | ===== Experimental Versions ===== | ||
| Line 57: | Line 55: | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | header | + | " |
| - | align : c,c,c,c,c,c,c,c,c,c,c,c,c | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | filteror | + | " |
| - | ---- | + | } --> |
| ===== Installation ===== | ===== Installation ===== | ||
| /* stable release */ | /* stable release */ | ||
| - | /* uncomment once stable release is available | + | <!-- ToH: { |
| - | ---- datatable ---- | + | " |
| - | cols | + | " |
| - | headers | + | " |
| - | align : c,c,c | + | " |
| - | filter | + | " |
| - | filter | + | |
| - | filteror | + | } --> |
| - | ---- | + | |
| - | */ | + | |
| - | /* snapshot */ | + | -> [[:toh:mikrotik: |
| - | /* delete once stable release is available */ | + | |
| - | ---- datatable ---- | + | |
| - | cols | + | |
| - | headers | + | |
| - | align : c,c,c | + | |
| - | filter | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| - | |||
| - | -> [[docs: | ||
| - | |||
| - | FIXME Please add the installation procedure here. | ||
| - | |||
| - | ==== Flash Layout ==== | ||
| - | <WRAP BOX> | ||
| - | FIXME // | ||
| - | |||
| - | Please check out the article [[docs: | ||
| - | </ | ||
| - | |||
| - | ==== OEM easy installation ==== | ||
| - | |||
| - | <WRAP BOX> | ||
| - | FIXME //The instructions below are for Broadcom devices and only serve as an example.// | ||
| - | **//Remove / modify them if they do not apply to this particular device!//** | ||
| - | |||
| - | This section deals with | ||
| - | * How you install OpenWrt from a device freshly opened | ||
| - | * The steps required such as reset to factory defaults if the device has already been configured | ||
| - | |||
| - | **Note:** Reset router to factory defaults if it has been previously configured. | ||
| - | * Browse to ''< | ||
| - | * Upload .bin file to router | ||
| - | * Wait for it to reboot | ||
| - | * Telnet to 192.168.1.1 and set a root password, or browse to ''< | ||
| - | </ | ||
| - | |||
| - | ==== OEM installation using the TFTP method ==== | ||
| - | |||
| - | -> [[docs: | ||
| - | |||
| - | === Specific values needed for tftp === | ||
| - | |||
| - | <WRAP BOX> | ||
| - | |||
| - | FIXME Enter values for " | ||
| - | |||
| - | ^ Bootloader tftp server IPv4 address | ||
| - | ^ Bootloader MAC address (special) | ||
| - | ^ Firmware tftp image | [[: | ||
| - | ^ TFTP transfer window | ||
| - | ^ TFTP window start | approximately FILL-IN seconds after power on | | ||
| - | ^ TFTP client required IP address | ||
| - | |||
| - | </ | ||
| ===== Upgrading OpenWrt ===== | ===== Upgrading OpenWrt ===== | ||
| -> [[docs: | -> [[docs: | ||
| - | |||
| - | <WRAP BOX> | ||
| - | |||
| - | FIXME These are generic instructions. Update with your router' | ||
| - | |||
| - | ==== LuCI Web Upgrade Process ==== | ||
| - | |||
| - | * Browse to ''< | ||
| - | * Upload image file for sysupgrade to LuCI | ||
| - | * Wait for reboot | ||
| - | |||
| - | ==== Terminal Upgrade Process ==== | ||
| - | |||
| - | If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. | ||
| - | There are two command line methods for upgrading: | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing. | ||
| - | |||
| - | === sysupgrade === | ||
| - | |||
| - | * Login as root via SSH on 192.168.1.1, | ||
| - | |||
| - | < | ||
| - | cd /tmp | ||
| - | wget http:// | ||
| - | sysupgrade / | ||
| - | </ | ||
| - | |||
| - | === mtd === | ||
| - | |||
| - | If '' | ||
| - | |||
| - | * Login as root via SSH on 192.168.1.1, | ||
| - | |||
| - | < | ||
| - | cd /tmp | ||
| - | wget http:// | ||
| - | mtd write / | ||
| - | </ | ||
| - | |||
| - | </ | ||
| ===== Debricking ===== | ===== Debricking ===== | ||
| Line 204: | Line 100: | ||
| | br-lan | | br-lan | ||
| | wlan0 | WiFi | Disabled | | wlan0 | WiFi | Disabled | ||
| - | |||
| - | ==== Switch Ports (for VLANs) ==== | ||
| - | <WRAP BOX> | ||
| - | FIXME Please fill in real values for this device, then remove the EXAMPLEs | ||
| - | |||
| - | Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on. | ||
| - | ^ Port ^ Switch port ^ | ||
| - | | Internet (WAN) | EXAMPLE 4 | | ||
| - | | LAN 1 | EXAMPLE 3 | | ||
| - | | LAN 2 | EXAMPLE 2 | | ||
| - | | LAN 3 | EXAMPLE 1 | | ||
| - | | LAN 4 | EXAMPLE 0 | | ||
| - | |||
| - | </ | ||
| ==== Buttons ==== | ==== Buttons ==== | ||
| Line 230: | Line 112: | ||
| The [[docs: | The [[docs: | ||
| Here, we merely name the buttons, so we can use them in the above Howto. | Here, we merely name the buttons, so we can use them in the above Howto. | ||
| - | ===== Hardware ===== | ||
| - | ==== Info ==== | ||
| - | <WRAP BOX> | ||
| - | FIXME | ||
| - | - This table is automatically generated, **once the correct filters for Brand and Model are set.** | ||
| - | - If you see " | ||
| - | - If you still don't see a table here, or a table filled with ' | ||
| - | - If you see a table with the desired device data, everything is OK and you can delete this text and the ''< | ||
| - | - If it still doesn' | ||
| - | </ | ||
| - | |||
| - | ---- datatemplatelist dttpllist ---- | ||
| - | template: meta: | ||
| - | cols : Brand, Model, Versions, Device Type, Availability, | ||
| - | filter | ||
| - | filter | ||
| - | filter | ||
| - | ---- | ||
| - | |||
| - | ==== Photos ==== | ||
| - | /* =====>>>>> | ||
| - | /* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ | ||
| - | /* e.g. {{: | ||
| - | /* Thanks, your wiki administration - Oct. 2015 */ | ||
| - | |||
| - | // | ||
| - | **Insert photo of front of the casing** | ||
| - | |||
| - | //Back://\\ | ||
| - | **Insert photo of back of the casing** | ||
| - | |||
| - | //Backside label://\\ | ||
| - | **Insert photo of backside label** | ||
| - | |||
| - | ==== Opening the case ==== | ||
| - | |||
| - | **Note:** This will void your warranty! | ||
| - | |||
| - | <WRAP BOX> | ||
| - | FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...// | ||
| - | * To remove the cover and open the device, do a/b/c | ||
| - | </ | ||
| - | |||
| - | //Main PCB://\\ | ||
| - | **Insert photo of PCB** | ||
| - | |||
| - | ==== Serial ==== | ||
| - | -> [[docs: | ||
| - | |||
| - | How to connect to the Serial Port of this specific device:\\ | ||
| - | **Insert photo of PCB with markings for serial port** | ||
| - | |||
| - | <WRAP BOX> | ||
| - | FIXME //Replace EXAMPLE by real values.// | ||
| - | </ | ||
| - | |||
| - | ^ Serial connection parameters\\ for MikroTik LHG-HB platform @@Version@@ | EXAMPLE 115200, 8N1 | | ||
| - | |||
| - | ==== JTAG ==== | ||
| - | -> [[docs: | ||
| - | |||
| - | How to connect to the JTAG Port of this specific device:\\ | ||
| - | **Insert photo of PCB with markings for JTAG port** | ||
| - | |||
| - | ===== Bootloader mods ===== | ||
| - | -> [[docs: | ||
| - | |||
| - | ===== Hardware mods ===== | ||
| - | |||
| - | None so far. | ||
| - | |||
| ===== Bootlogs ===== | ===== Bootlogs ===== | ||
| Line 308: | Line 119: | ||
| ==== OpenWrt bootlog ==== | ==== OpenWrt bootlog ==== | ||
| <WRAP bootlog> | <WRAP bootlog> | ||
| - | <nowiki> | + | [ 0.000000] Linux version 5.15.167 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24106-10cc5fcd00) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Mon Sep 23 12:34:46 2024 |
| + | [ 0.000000] printk: bootconsole [early0] enabled | ||
| + | [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) | ||
| + | [ 0.000000] MIPS: machine is MikroTik RouterBOARD LHG 2nD | ||
| + | [ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0 | ||
| + | [ 0.000000] Initrd not found or empty - disabling initrd | ||
| + | [ 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] Zone ranges: | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Movable zone start for each node | ||
| + | [ 0.000000] Early memory node ranges | ||
| + | [ 0.000000] | ||
| + | [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] | ||
| + | [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 | ||
| + | [ 0.000000] pcpu-alloc: [0] 0 | ||
| + | [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240 | ||
| + | [ 0.000000] Kernel command line: console=ttyS0, | ||
| + | [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) | ||
| + | [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 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: 55200K/ | ||
| + | [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, | ||
| + | [ 0.000000] NR_IRQS: 51 | ||
| + | [ 0.000000] CPU clock: 650.000 MHz | ||
| + | [ 0.000000] clocksource: | ||
| + | [ 0.000002] sched_clock: | ||
| + | [ 0.008948] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688) | ||
| + | [ 0.076049] pid_max: default: 32768 minimum: 301 | ||
| + | [ 0.082329] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.090643] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.106188] clocksource: | ||
| + | [ 0.117424] futex hash table entries: 256 (order: -1, 3072 bytes, linear) | ||
| + | [ 0.125392] pinctrl core: initialized pinctrl subsystem | ||
| + | [ 0.133357] NET: Registered PF_NETLINK/ | ||
| + | [ 0.140673] thermal_sys: | ||
| + | [ 0.155534] clocksource: | ||
| + | [ 0.169713] NET: Registered PF_INET protocol family | ||
| + | [ 0.175516] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) | ||
| + | [ 0.184795] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.194487] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) | ||
| + | [ 0.203296] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.212011] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.220037] TCP: Hash tables configured (established 1024 bind 1024) | ||
| + | [ 0.227430] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.234887] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) | ||
| + | [ 0.243302] NET: Registered PF_UNIX/ | ||
| + | [ 0.249835] PCI: CLS 0 bytes, default 32 | ||
| + | [ 0.258185] workingset: timestamp_bits=14 max_order=14 bucket_order=0 | ||
| + | [ 0.271517] squashfs: version 4.0 (2009/ | ||
| + | [ 0.278230] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | ||
| + | [ 0.290965] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) | ||
| + | [ 0.304100] pinctrl-single 1804002c.pinmux: | ||
| + | [ 0.312112] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled | ||
| + | [ 0.322326] printk: console [ttyS0] disabled | ||
| + | [ 0.327334] 18020000.uart: | ||
| + | [ 0.337169] printk: console [ttyS0] enabled | ||
| + | [ 0.346231] printk: bootconsole [early0] disabled | ||
| + | [ 0.378847] spi-nor spi0.0: w25q128jv (16384 Kbytes) | ||
| + | [ 0.384057] 2 fixed-partitions partitions found on MTD device spi0.0 | ||
| + | [ 0.390707] OF: Bad cell count for / | ||
| + | [ 0.397618] OF: Bad cell count for / | ||
| + | [ 0.404789] OF: Bad cell count for / | ||
| + | [ 0.411699] OF: Bad cell count for / | ||
| + | [ 0.418789] Creating 2 MTD partitions on " | ||
| + | [ 0.423749] 0x000000000000-0x000000020000 : " | ||
| + | [ 0.436103] 5 routerbootpart partitions found on MTD device RouterBoot | ||
| + | [ 0.442880] Creating 5 MTD partitions on " | ||
| + | [ 0.448228] 0x000000000000-0x00000000e000 : " | ||
| + | [ 0.456116] 0x00000000e000-0x00000000f000 : " | ||
| + | [ 0.462890] 0x00000000f000-0x000000010000 : " | ||
| + | [ 0.470914] 0x000000010000-0x00000001f000 : " | ||
| + | [ 0.477807] 0x00000001f000-0x000000020000 : " | ||
| + | [ 0.486432] 0x000000020000-0x000001000000 : " | ||
| + | [ 0.493695] 2 minor-fw partitions found on MTD device firmware | ||
| + | [ 0.499812] Creating 2 MTD partitions on " | ||
| + | [ 0.504947] 0x000000000000-0x0000002a0000 : " | ||
| + | [ 0.512917] 0x0000002a0000-0x000000fe0000 : " | ||
| + | [ 0.519192] mtd: setting mtd8 (rootfs) as root device | ||
| + | [ 0.525466] 1 squashfs-split partitions found on MTD device rootfs | ||
| + | [ 0.531962] 0x000000620000-0x000000fe0000 : " | ||
| + | [ 0.899626] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0 | ||
| + | [ 0.957178] ag71xx 19000000.eth: | ||
| + | [ 1.297641] ag71xx 19000000.eth: | ||
| + | [ 1.307828] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii | ||
| + | [ 1.314544] ath79-wdt 18060008.wdt: | ||
| + | [ 1.334884] MikroTik RouterBOARD hardware configuration sysfs driver v0.07 | ||
| + | [ 1.343847] MikroTik RouterBOARD software configuration sysfs driver v0.05 | ||
| + | [ 1.352308] NET: Registered PF_INET6 protocol family | ||
| + | [ 1.360479] Segment Routing with IPv6 | ||
| + | [ 1.364373] In-situ OAM (IOAM) with IPv6 | ||
| + | [ 1.368638] NET: Registered PF_PACKET protocol family | ||
| + | [ 1.373975] bridge: filtering via arp/ip/ | ||
| + | [ 1.387872] 8021q: 802.1Q VLAN Support v1.8 | ||
| + | [ 1.398438] clk: Disabling unused clocks | ||
| + | [ 1.410087] VFS: Mounted root (squashfs filesystem) readonly on device 31:8. | ||
| + | [ 1.423988] Freeing unused kernel image (initmem) memory: 1204K | ||
| + | [ 1.430152] This architecture does not have kernel memory protection. | ||
| + | [ 1.436825] Run /sbin/init as init process | ||
| + | [ 1.441051] | ||
| + | [ 1.441056] | ||
| + | [ 1.441061] | ||
| + | [ 1.441066] | ||
| + | [ 1.441071] | ||
| + | [ 2.049423] init: Console is alive | ||
| + | [ 2.053557] init: - watchdog - | ||
| + | [ 3.034222] kmodloader: loading kernel modules from / | ||
| + | [ 3.095350] kmodloader: done loading kernel modules from / | ||
| + | [ 3.113476] init: - preinit - | ||
| + | [ 4.350652] random: jshn: uninitialized urandom read (4 bytes read) | ||
| + | [ 4.494336] random: jshn: uninitialized urandom read (4 bytes read) | ||
| + | [ 4.560270] random: jshn: uninitialized urandom read (4 bytes read) | ||
| + | [ 6.828439] IPv6: ADDRCONF(NETDEV_CHANGE): | ||
| + | [ 6.835161] eth0: link up (100Mbps/ | ||
| + | [ 7.013364] mount_root: jffs2 not ready yet, using temporary tmpfs overlay | ||
| + | [ 7.025415] urandom-seed: | ||
| + | [ 7.140529] eth0: link down | ||
| + | [ 7.158709] procd: - early - | ||
| + | [ 7.162078] procd: - watchdog - | ||
| + | [ 7.919459] procd: - watchdog - | ||
| + | [ 7.923370] procd: - ubus - | ||
| + | [ 8.045270] random: ubusd: uninitialized urandom read (4 bytes read) | ||
| + | [ 8.081674] random: ubusd: uninitialized urandom read (4 bytes read) | ||
| + | [ 8.094605] random: ubusd: uninitialized urandom read (4 bytes read) | ||
| + | [ 8.109050] procd: - init - | ||
| + | [ 9.082423] random: jshn: uninitialized urandom read (4 bytes read) | ||
| + | [ 9.124106] random: ubusd: uninitialized urandom read (4 bytes read) | ||
| + | [ 9.156778] random: ubus: uninitialized urandom read (4 bytes read) | ||
| + | [ 9.276880] kmodloader: loading kernel modules from / | ||
| + | [ 9.839976] Loading modules backported from Linux version v6.1.110-0-g5f55cad62cc9d | ||
| + | [ 9.847968] Backport generated by backports.git v6.1.110-1-0-g965f73fc | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| + | [ | ||
| </ | </ | ||
| Line 318: | Line 292: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| - | {{tag>RouterBOOT | + | {{tag>ath79 QCA9533 |