uu je
[ 0.000000] Linux version 4.14.275 (avru@DESKTOP-SFMK1K8) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11427-9ce6aa9d8d)) #0 Sat Apr 16 13:13:32 2022
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[ 0.000000] MIPS: machine is TP-Link TL-WR841N v13
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 804ab460, node_mem_map 81000040
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] random: get_random_bytes called from start_kernel+0x90/0x47c with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=0002e320
[ 0.000000] Readback ErrCtl register=0002e320
[ 0.000000] Memory: 58632K/65536K available (3735K kernel code, 167K rwdata, 872K rodata, 1232K init, 200K bss, 6904K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 256
[ 0.000000] intc: using register map from devicetree
[ 0.000000] CPU Clock: 580MHz
[ 0.000000] timer_probe: no matching timers found
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[ 0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[ 0.007560] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[ 0.073515] pid_max: default: 32768 minimum: 301
[ 0.078196] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.084553] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.097249] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106744] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112678] pinctrl core: initialized pinctrl subsystem
[ 0.118738] NET: Registered protocol family 16
[ 0.148122] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.153721] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.159305] mt7621_gpio 10000600.gpio: registering 32 gpios
[ 0.169159] clocksource: Switched to clocksource MIPS
[ 0.175137] NET: Registered protocol family 2
[ 0.179566] IP idents hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.186513] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.193266] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.199384] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.205632] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.211283] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.217483] NET: Registered protocol family 1
[ 0.221709] PCI: CLS 0 bytes, default 32
[ 0.224940] Crashlog allocated RAM at address 0x3f00000
[ 0.231574] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.243501] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.249075] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.268335] io scheduler noop registered
[ 0.272130] io scheduler deadline registered (default)
[ 0.277956] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.285263] console [ttyS0] disabled
[ 0.288703] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[ 0.297480] console [ttyS0] enabled
[ 0.304485] bootconsole [early0] disabled
[ 0.313886] spi-mt7621 10000b00.spi: sys_freq: 193333333
[ 0.325723] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[ 0.330528] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.336969] Creating 4 MTD partitions on "spi0.0":
[ 0.341866] 0x000000000000-0x000000020000 : "boot"
[ 0.347650] 0x000000020000-0x0000007c0000 : "firmware"
[ 0.355713] 2 tplink-fw partitions found on MTD device firmware
[ 0.361796] Creating 2 MTD partitions on "firmware":
[ 0.366845] 0x000000000000-0x000000188762 : "kernel"
[ 0.372852] 0x000000188764-0x0000007a0000 : "rootfs"
[ 0.378649] mtd: device 3 (rootfs) set to be root filesystem
[ 0.385887] 1 squashfs-split partitions found on MTD device rootfs
[ 0.392237] 0x0000003a0000-0x0000007a0000 : "rootfs_data"
[ 0.398621] 0x0000007c0000-0x0000007d0000 : "config"
[ 0.404631] 0x0000007d0000-0x000000800000 : "factory"
[ 0.423590] rt3050-esw 10110000.esw: link changed 0x00
[ 0.430540] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[ 0.440732] NET: Registered protocol family 10
[ 0.449140] Segment Routing with IPv6
[ 0.453054] NET: Registered protocol family 17
[ 0.457613] 8021q: 802.1Q VLAN Support v1.8
[ 0.470761] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 0.484687] Freeing unused kernel memory: 1232K
[ 0.489322] This architecture does not have kernel memory protection.
[ 1.648911] init: Console is alive
[ 1.652726] init: - watchdog -
[ 2.256656] random: fast init done
[ 3.209672] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.390630] usbcore: registered new interface driver usbfs
[ 3.396288] usbcore: registered new interface driver hub
[ 3.401857] usbcore: registered new device driver usb
[ 3.413180] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.428554] SCSI subsystem initialized
[ 3.437778] ehci-platform: EHCI generic platform driver
[ 3.453487] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[ 3.460310] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[ 3.465625] ehci-platform 101c0000.ehci: EHCI Host Controller
[ 3.471527] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[ 3.479705] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[ 3.509210] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[ 3.516632] hub 1-0:1.0: USB hub found
[ 3.520897] hub 1-0:1.0: 1 port detected
[ 3.528457] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.536495] ohci-platform: OHCI generic platform driver
[ 3.542160] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[ 3.549073] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[ 3.557248] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[ 3.634151] hub 2-0:1.0: USB hub found
[ 3.638392] hub 2-0:1.0: 1 port detected
[ 3.645424] uhci_hcd: USB Universal Host Controller Interface driver
[ 3.660916] usbcore: registered new interface driver usb-storage
[ 3.667879] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.677844] init: - preinit -
[ 4.408135] usb 2-1: new full-speed USB device number 2 using ohci-platform
[ 4.785515] rt3050-esw 10110000.esw: link changed 0x00
[ 4.893207] hub 2-1:1.0: USB hub found
[ 4.905422] hub 2-1:1.0: 4 ports detected
[ 4.978917] random: procd: uninitialized urandom read (4 bytes read)
[ 7.765357] rt3050-esw 10110000.esw: link changed 0x02
[ 8.198213] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 8.235020] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 8.415980] procd: - early -
[ 8.419039] procd: - watchdog -
[ 8.570862] rt3050-esw 10110000.esw: link changed 0x03
[ 9.144336] procd: - watchdog -
[ 9.147910] procd: - ubus -
[ 9.203202] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.210522] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.217496] random: ubusd: uninitialized urandom read (4 bytes read)
[ 9.225006] procd: - init -
[ 9.945576] kmodloader: loading kernel modules from /etc/modules.d/*
[ 9.971940] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 9.998463] Loading modules backported from Linux version v4.19.237-0-ga6e4a1818efa
[ 10.006331] Backport generated by backports.git v4.19.237-1-0-gffb89fd9
[ 10.031823] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.058218] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 10.191483] xt_time: kernel timezone is -0000
[ 10.332442] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[ 10.442835] urngd: v1.0.2 started.
[ 10.649531] random: crng init done
[ 10.652990] random: 6 urandom warning(s) missed due to ratelimiting
[ 11.371330] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[ 11.377352] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[ 11.419177] mt76_wmac 10300000.wmac: firmware init done
[ 11.590071] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 11.624755] PPP generic driver version 2.4.2
[ 11.650232] NET: Registered protocol family 24
[ 11.669582] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 43.492613] rt3050-esw 10110000.esw: link changed 0x00
[ 45.630924] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 45.637923] jffs2_build_filesystem(): unlocking the mtd device...
[ 45.653236] done.
[ 45.661532] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 46.485796] rt3050-esw 10110000.esw: link changed 0x02
[ 47.319968] rt3050-esw 10110000.esw: link changed 0x03
[ 49.629422] br-lan: port 1(eth0.1) entered blocking state
[ 49.634914] br-lan: port 1(eth0.1) entered disabled state
[ 49.640795] device eth0.1 entered promiscuous mode
[ 49.645660] device eth0 entered promiscuous mode
[ 49.716588] br-lan: port 1(eth0.1) entered blocking state
[ 49.722145] br-lan: port 1(eth0.1) entered forwarding state
[ 49.728017] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 50.649655] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 66.954102] done.
[ 66.956109] jffs2: notice: (1028) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 67.136268] overlayfs: upper fs does not support tmpfile.
[ 133.749549] usb 2-1.2: new full-speed USB device number 3 using ohci-platform
[ 133.914208] usb 2-1.2: not running at top speed; connect to a high speed hub
[ 133.938826] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[ 133.960029] scsi host0: usb-storage 2-1.2:1.0
[ 134.976356] scsi 0:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
[ 135.006266] sd 0:0:0:0: [sda] 4014080 512-byte logical blocks: (2.06 GB/1.91 GiB)
[ 135.018254] sd 0:0:0:0: [sda] Write Protect is off
[ 135.023212] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 135.028270] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 135.230106] sda: sda1 sda2 sda3 sda4
[ 135.263267] sd 0:0:0:0: [sda] Attached SCSI removable disk
root@OpenWrt:~#
biega skacze 
trzba było zmodyfikować dtsi a nie dts xD w dtsi te moduły miały disable a ja w dts dalem wtedy okay - widać fałsz + prawda daje fałsz 

dobra, to teraz multimecia, pamiętam że pod rtsp z kamerek ip lepsze było live555, ale nie widzę by gdzieś to było w openwrt ..
nie widzę też wireguarda
hmm i ffmpeg sie nie mieści ... dlaczego przy 8M obraz się buduje do max 4MB ?
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
compressed data, compressed metadata, compressed fragments,
no xattrs, compressed ids
duplicates are removed
Filesystem size 6882.03 Kbytes (6.72 Mbytes)
40.33% of uncompressed filesystem size (17064.81 Kbytes)
Inode table size 6830 bytes (6.67 Kbytes)
20.61% of uncompressed inode table size (33135 bytes)
Directory table size 9498 bytes (9.28 Kbytes)
46.61% of uncompressed directory table size (20379 bytes)
Number of duplicate files found 96
Number of inodes 989
Number of files 713
Number of fragments 19
Number of symbolic links 201
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 74
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
[ -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -a -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs ]
[ -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -a -f /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs ]
/home/avru/openwrt/openwrt/staging_dir/host/bin/mktplinkfw2 -H 0x08410013 -W 0x268 -w 0x13 -F "8Mmtk" -T 3 -V "ver. 2.0" -a 0x4 -j -k /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -r /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs -o /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-sysupgrade.bin.new -s -e
dd if=/dev/zero bs=128k count=1 >> /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-tftp-recovery.bin
[mktplinkfw2] rootfs offset aligned to 0x1607524
[mktplinkfw2] *** error: images are too big
make[5]: *** [Makefile:183: /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-sysupgrade.bin] Error 255
make[5]: *** Waiting for unfinished jobs....
1+0 records in
1+0 records out
131072 bytes (131 kB, 128 KiB) copied, 0.000367394 s, 357 MB/s
/home/avru/openwrt/openwrt/staging_dir/host/bin/mktplinkfw2 -H 0x08410013 -W 0x268 -w 0x13 -F "8Mmtk" -T 3 -V "ver. 2.0" -a 0x4 -j -k /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tl-wr841n-v13-kernel.bin -r /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/root.squashfs -o /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-tftp-recovery.bin.new -e
[mktplinkfw2] rootfs offset aligned to 0x1607524
[mktplinkfw2] *** error: images are too big
make[5]: *** [Makefile:183: /home/avru/openwrt/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-tl-wr841n-v13-squashfs-tftp-recovery.bin] Error 255
make[5]: Leaving directory '/home/avru/openwrt/openwrt/target/linux/ramips/image'
make[4]: *** [Makefile:26: install] Error 2
make[4]: Leaving directory '/home/avru/openwrt/openwrt/target/linux/ramips'
make[3]: *** [Makefile:13: install] Error 2
make[3]: Leaving directory '/home/avru/openwrt/openwrt/target/linux'
time: target/linux/install#14.63#2.55#8.35
make[2]: *** [target/Makefile:25: target/linux/install] Error 2
make[2]: Leaving directory '/home/avru/openwrt/openwrt'
make[1]: *** [target/Makefile:19: /home/avru/openwrt/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/avru/openwrt/openwrt'
make: *** [/home/avru/openwrt/openwrt/include/toplevel.mk:227: world] Error 2