No final *.bin files when build from source for MTK7628

Hello. When I compile the latest version from the source code, I do not get the final *.bin files. In log i find that notice "openwrt-ramips-mt76x8-mt7628-squashfs-sysupgrade.bin is too big"

This is strange because I'm doing the mini assembly wuth LUCI support without extra packages..

WARNING: Image file /home/john/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-mt7628-squashfs-sysupgrade.bin is too big
cp /home/john/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-mt7628-squashfs-sysupgrade.bin /home/john/openwrt/bin/targets/ramips/mt76x8/openwrt-ramips-mt76x8-mt7628-squashfs-sysupgrade.bin
cp: cannot stat '/home/john/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-mt7628-squashfs-sysupgrade.bin': No such file or directory

thanks! you do not know how the compiler determines how much flash memory I have in the target device? I never set that I have < 4 mb flash size?

It is in the DTS/DTSI file for the device

for example a device with 64MB ram will define

memory@0 {
		reg = <0x0 0x4000000>;

Thanks! You Great!

That's not flash memory... but RAM

1 Like

Yes , but now i know way where my problems live. Thanks!