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#1897 - Mikrotik SXT Lite 2: installation fails using sysupgrade #8453

Closed
openwrt-bot opened this issue Oct 16, 2018 · 2 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

zorxd:

Tested using OpenWRT 18.06.1 on Mikrotik SXT Lite 2. This device is listed as supported on the wiki.

OpenWRT boots fine over netboot (DHCP/TFTP).
But when trying to install permanently (to flash memory) using sysupgrade, there is the following error message:

Device unknown not supported by this image
Supported devices: rb-750-r2 rb-750up-r2 rb-750p-pbr2 rb-911-2hn rb-911-5hn rb-941-2nd rb-951ui-2nd rb-952ui-5ac2nd rb-962uigs-5hact2hnt rb-lhg-5nd rb-map-2nd rb-mapl-2nd rb-wap-2nd
Image check 'fwtool_check_image' failed.

I am using the following files:

network boot: http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/mikrotik/openwrt-18.06.1-ar71xx-mikrotik-vmlinux-initramfs.elf
sysupgrade: http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/mikrotik/openwrt-18.06.1-ar71xx-mikrotik-rb-nor-flash-16M-squashfs-sysupgrade.bin

This device has a 16 MiB NOR flash. By looking at the code (target/linux/ar71xx/files/arch/mips/ath79/mach-rbsxtlite.c), it seems we expect NAND flash instead.

@openwrt-bot
Copy link
Author

bjonglez:

Looks like the SXT Lite2 has indeed a NOR flash, while the SXT Lite5 has a NAND flash:

https://mikrotik.com/product/RBSXT2nDr3
https://mikrotik.com/product/RBSXT5nDr2

Both models were added at the same time, with a NAND flash: https://git.openwrt.org/3519322e6238913eeae717a598c9760ddf40436c

So, maybe mikrotik later changed the SXT Lite2 to use a NOR flash?

@openwrt-bot
Copy link
Author

zorxd:

Yes this is what I think

R2 has NAND flash (no longer listed on manufacturer's web page)
R3 has NOR flash.

I made a patch which should fix this.
#1476

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