OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by rogerpueyo - 31.08.2020

FS#3314 - ath79/mikrotik: SXT Lite 5 image missing RouterBoard platform drivers

The ath79/mikrotik MikroTik SXT Lite images (initramfs, sysupgrade) are missing the MikroTik Routerboard platform drivers. Therefore, the hard_config and soft_config partitions are not detected, correct MAC addresses can't be used and wifi calibration data can't be retrieved.

  • No MikroTik sysfs driver in dmesg:
root@OpenWrt:/# Please press Enter to activate this console.



BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r14311-e5e54e52f7
 -----------------------------------------------------
=== 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.
--------------------------------------------------
root@OpenWrt:/# dmesg | grep -i mikro
[    0.000000] MIPS: machine is MikroTik RouterBOARD SXT 5nD r2 (SXT Lite5)
  • No wifi:
root@OpenWrt:/# dmesg | grep firmware
[   12.976697] ath9k 18100000.wmac: Direct firmware load for ath9k-eeprom-ahb-18100000.wmac.bin failed with error -2
  • No soft_config / hard_config:
[    0.377893] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[    0.384532] nand: Toshiba NAND 128MiB 3,3V 8-bit
[    0.389326] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.397198] nand: WARNING: ar934x-nand: the ECC used on your system is too weak compared to the one required by the NAND chip
[    0.408888] Scanning device for bad blocks
[    0.420218] random: fast init done
[    0.526537] Bad eraseblock 768 at 0x000006000000
[    0.567786] 3 fixed-partitions partitions found on MTD device ar934x-nand
[    0.574815] Creating 3 MTD partitions on "ar934x-nand":
[    0.580244] 0x000000000000-0x000000040000 : "booter"
[    0.586538] 0x000000040000-0x000000400000 : "kernel"
[    0.592817] 0x000000400000-0x000008000000 : "ubi"
[    0.614065] spi-nor spi0.0: w25x10 (128 Kbytes)
[    0.618811] 1 fixed-partitions partitions found on MTD device spi0.0
[    0.625389] Creating 1 MTD partitions on "spi0.0":
[    0.630361] 0x000000000000-0x000000020000 : "RouterBoot"
[    0.638893] RouterBoot: routerboot partition /ahb/spi@1f000000/flash@0/partitions/partition@0/soft_config (/ahb/spi@1f000000/flash@0/partitions/partition@0) "soft_config" overlaps with previous partition "bootloader2".
[    0.658990] RouterBoot: error parsing routerboot partition /ahb/spi@1f000000/flash@0/partitions/partition@0/soft_config (/ahb/spi@1f000000/flash@0/partitions/partition@0)
[    0.674736] 2 fixed-partitions partitions found on MTD device RouterBoot
[    0.681664] Creating 2 MTD partitions on "RouterBoot":
[    0.686992] 0x000000000000-0x000000020000 : "bootloader1"
[    0.693814] 0x000000010000-0x000000020000 : "bootloader2"
rogerpueyo commented on 31.08.2020 13:33
  1. The RouterBoot platform driver is actually loaded (and outputs error, as shown in dmesg above).
  2. Wrong partitions configuration in DTS file cause overlap:
				partition@10000 {
					label = "bootloader2";
					reg = <0x10000 0x0>;
					read-only;
				};

Pull request submitted to GitHub.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing