Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
openwrt-bot opened this issue Aug 31, 2020 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

rogerpueyo:

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"
@openwrt-bot
Copy link
Author

rogerpueyo:

  • The RouterBoot platform driver is actually loaded (and outputs error, as shown in dmesg above).
  • Wrong partitions configuration in DTS file cause overlap:
partition@10000 { label = "bootloader2"; reg = <0x10000 0x0>; read-only; };

[[https://github.com//pull/3370|Pull request submitted to GitHub]].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant