Hi Sven,

It is defined in `target/linux/ath79/images/mikrotik.mk` for ath79 mikrotik device.

I could find only 1 SXT device in the file in the main branch:

```
define Device/mikrotik_routerboard-sxt-5nd-r2
  $(Device/mikrotik_nand)
  SOC := ar9344
  DEVICE_MODEL := RouterBOARD SXT 5nD r2 (SXT Lite5)
  DEVICE_PACKAGES += rssileds kmod-gpio-beeper
  SUPPORTED_DEVICES += rb-sxt5n
endef
TARGET_DEVICES += mikrotik_routerboard-sxt-5nd-r2
```

If you are adding a new device, then you need to specify it in this file.

Regards,
Nishant

On 21/06/26 13:51, Sven Eckelmann wrote:
On Sunday, 21 June 2026 08:59:20 CEST Mark Ter Morshuizen wrote:
"WARNING: Image file
/home/mark/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_mikrotik/tmp/openwrt-ath79-mikrotik-mikrotik_routerboard-sxt-2nd-r3-squashfs-sysupgrade.bin
is too big: 6684676 > 0"

Obviously 6684676 is indeed greater than 0, but where is the 0 coming from?

Often from IMAGE_SIZE:

     $ git grep -W 'WARNING: Image file.*is too big'
     include/image-commands.mk=define Build/check-size
     include/image-commands.mk-      @imagesize="$$(stat -c%s $@)"; \
     include/image-commands.mk-      limitsize="$$(($(call exp_units,$(if 
$(1),$(1),$(IMAGE_SIZE)))))"; \
     include/image-commands.mk-      [ $$limitsize -ge $$imagesize ] || { \
     include/image-commands.mk:              $(call ERROR_MESSAGE,    WARNING: 
Image file $@ is too big: $$imagesize > $$limitsize); \
     include/image-commands.mk-              rm -f $@; \
     include/image-commands.mk-      }

Regards,
        Sven


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to