bookworm has quit []
bookworm has joined #openwrt-devel
Ansuel has quit [Quit: Probably my PC decided to sleep or I decided to sleep.]
<mirko_> Is "Luiz Angelo Daros de Luca" - maintainer of libcups - around here by any chance?
bookworm has quit [Ping timeout: 480 seconds]
bookworm has joined #openwrt-devel
max_ has joined #openwrt-devel
bluew_ has joined #openwrt-devel
max__ has joined #openwrt-devel
bluew has quit [Read error: Connection reset by peer]
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
max has joined #openwrt-devel
max is now known as Guest8494
torv has quit [Remote host closed the connection]
max_ has quit [Ping timeout: 480 seconds]
torv has joined #openwrt-devel
max__ has quit [Ping timeout: 480 seconds]
max_ has joined #openwrt-devel
ptudor has quit [Ping timeout: 480 seconds]
Guest8494 has quit [Ping timeout: 480 seconds]
valku has quit [Quit: valku]
max__ has joined #openwrt-devel
max_ has quit [Ping timeout: 480 seconds]
ptudor has joined #openwrt-devel
max_ has joined #openwrt-devel
max__ has quit [Ping timeout: 480 seconds]
minimal has quit [Quit: Leaving]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
dgcampea is now known as Guest8501
Guest8501 has quit [Read error: Connection reset by peer]
dgcampea has joined #openwrt-devel
max__ has joined #openwrt-devel
max has joined #openwrt-devel
max is now known as Guest8502
max_ has quit [Ping timeout: 480 seconds]
max__ has quit [Ping timeout: 480 seconds]
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #openwrt-devel
hanetzer2 has joined #openwrt-devel
hanetzer1 has quit [Ping timeout: 480 seconds]
rua1 has quit [Quit: Leaving.]
goliath has joined #openwrt-devel
ashkan has joined #openwrt-devel
rua has joined #openwrt-devel
max_ has joined #openwrt-devel
Guest8502 has quit [Ping timeout: 480 seconds]
<christophe> rmilecki: Thanks for the reply. There's no hurry. While the issue ubsan found was an actual defect, nothing is currently broken. I created a branch with the patches in their current state. https://github.com/openwrt/openwrt/compare/master...christophe0:openwrt:ubsan-mtk-clk
max_ has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
Tapper has joined #openwrt-devel
robimarko has joined #openwrt-devel
srslypascal has joined #openwrt-devel
<karlp> djfe: you can use 64 bit types in user space happily yes. you can do that on most 8 bit systems even, it's orthogonal to a 32bit/64bit kernel.
max_ has joined #openwrt-devel
xback has quit [Ping timeout: 480 seconds]
xback has joined #openwrt-devel
<djfe> πŸ‘
srslypascal has quit [Ping timeout: 480 seconds]
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
srslypascal has joined #openwrt-devel
max_ has quit [Remote host closed the connection]
max_ has joined #openwrt-devel
floof58 is now known as Guest8520
floof58 has joined #openwrt-devel
Guest8520 has quit [Ping timeout: 480 seconds]
xback has quit [Ping timeout: 480 seconds]
cbeznea has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
djfe has quit [Ping timeout: 480 seconds]
cbeznea has joined #openwrt-devel
kenny has quit [Ping timeout: 480 seconds]
<rsalvaterra> Is it just me, or does OpenSSL really dislike to be compiled with LTO too…?
bluew_ has quit [Ping timeout: 480 seconds]
ashkan has quit [Remote host closed the connection]
Guest8376 has quit []
Danct12 has joined #openwrt-devel
cbeznea has quit [Ping timeout: 480 seconds]
<hurricos> Would anyone like to review a simple ath79 port? :^)
<hurricos> looks like Hauke is doing review of these, at least. This one's probably the most overbuilt ath79 device OpenWrt will see ported -- https://github.com/openwrt/openwrt/pull/10794
Borromini has quit [Quit: Lost terminal]
valku has joined #openwrt-devel
f0g has joined #openwrt-devel
<f0g> Hi all. I have a extra mtd and want to mount it as jffs2 to use. Where should I insert the mount command in openwrt souce? Is /lib/preinit/80_mount_root a good place?
<hurricos> f0g: which board?
<hurricos> or rather, why the extra mtd? I'm used to OpenWrt hacks to fuse separated MTDs
<f0g> hurricos: it's a customized board, use mtk chips
<hurricos> I see. I might be wrong, but it should be possible to indicate through the device tree that two discontinuous regions of storage are to be treated as a single block region, kind of like dm-linear does?
<hurricos> yes, it's mtdsplit -- https://openwrt.org/docs/techref/flash.layout
<f0g> hurricos: not as complex as that. the kernel is 3.18 and I just want to add a command like 'mount /dev/mtdblock5 ...' to some where.
<hurricos> -- no, maybe I'm misremembering. mtdsplit allows us to have a single rootfs partition which is then split into a read-only base image + read-write rootfs_data
minimal has joined #openwrt-devel
<f0g> my openwrt has worked fine on the board. since the kernel already split the mtds and there still one partition is free, I want to mount it to use.
<f0g> I noticed openwrt mount overlayfs in 80_mount_root script, so I am wondering is this a proper place to add new mount points
<hurricos> My understanding is that modern OpenWrt wants to provide you a ro rootfs + rw rootfs_data, and apply the latter atop the former as an overlayfs
<f0g> yes, it is. but my new mtd block has no relationship with the root partition, just a extra one to store some data
<hurricos> if you're doing something downstream, it's "whatever works"
<hurricos> You are probably safe adding your board-specific code to 80_mount_root :p
<f0g> What's the standard method to add a mount point? I think this is what I really want to know
<f0g> hurricos: I see.
<hurricos> The standard way is, and I'm struggling to find a dts example, to combine the regions of flash
<hurricos> I'm *assuming* you're on NOR
<f0g> hurricos: actuall, the mtd partition has already been there. I just need to mount it.
<hurricos> yeah, no mention of ubi.
<f0g> No, it's a nand flash
floof58 is now known as Guest8534
floof58 has joined #openwrt-devel
<hurricos> f0g: I know what you have intended -- just trying to relay what I'd do, based on what I've seen done + what I understand to be the standard way of using additional storage regions. It's a lot less like stock Linux
<f0g> hurricos: Ok. thanks for the advice.
<hurricos> in the case of NAND, you "should be" using UBI, because blocks go bad. With UBI, you have much more flexibility
Guest8534 has quit [Ping timeout: 480 seconds]
<f0g> hurricos: yes, I appreciated that
srslypascal has quit [Ping timeout: 480 seconds]
<owrt-snap-builds> Build [#818](https://buildbot.openwrt.org/master/images/#builders/52/builds/818) of `x86/legacy` completed successfully.
<hurricos> I understand that you have something already implemented -- you might not have the flexibility to adjust things.
<hurricos> I can confirm ubi can't merge mtd devices for you.
<hurricos> f0g: I highly recommend mtd-concat. That's the proper way to combine mtd devices; doing so lets you avoid mounting a separate mtd.
<hurricos> Where that doesn't help you is if your u-boot doesn't have ubi support. If you're not using ubi, it probably doesn't :^)
<hurricos> not sure what to tell you there. I've never seen mtdsplit -> ubi
<hurricos> usually vendor u-boot supports ubi if it's booting from NAND.
<hurricos> f0g: And now that I know what I'm looking for, I have examples that use mtdsplit -> ubi, with a separate kernel partition (so no u-boot ubi support): target/linux/ramips/dts/mt7621_jcg_q20.dts
<hurricos> If you're still not worried about jffs2-on-NAND, you can subtitute ubi for just plain jffs2, which is fine.
<hurricos> for readers interested in experimenting with ubi without a real MTD device, try the nandsim module; e.g. `sudo modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15 parts=64,64,64,64`, c.f. https://elinux.org/File_Systems#Mounting_UBI_Image_on_PC_using_nandsim
<f0g> hurricos: it's interesting.
<f0g> But as I said, I don't need to change anything of the mtd partition, just mount it to use is enough.
<hurricos> :thumbsup:
<hurricos> I'm assuming you don't have the flexibility to go back to OpenWrt upstream. OpenWrt really closely associates soldered parts with devicetree and thus kernel, detachable ones with conf files and thus userspace.
<hurricos> block-mount + /etc/config/fstab is the way I deal with additional storage coming from disks
<f0g> hurricos: great, that's what I want
floof58 is now known as Guest8539
floof58 has joined #openwrt-devel
<hurricos> f0g: good. I didn't want to suggest it directly, but ...
<hurricos> you can also pick a more flash-friendly fs at that point
Guest8539 has quit [Ping timeout: 480 seconds]
<f0g> hurricos: got it, thank you.
srslypascal has joined #openwrt-devel
aparcar has quit [Remote host closed the connection]
_0x4a6f has quit [Remote host closed the connection]
aparcar has joined #openwrt-devel
_0x4a6f has joined #openwrt-devel
Ansuel has joined #openwrt-devel
<Ansuel> hello
<f0g> hurricos: I tried to mount my mtdblock9 with jffs2 in /etc/config/fstab, but it didn't work. my openwrt version is 19.07 and I didn't find fstype option in block.c. Does that version fstab not support mouting mtdblock as jffs2?
<Slimey> hello Ansuel
djfe has joined #openwrt-devel
shibboleth has joined #openwrt-devel
<shibboleth> stintel, ping (re amnesiac wpa8630, finally got a post-upgrade log)
hurricos has quit [Ping timeout: 480 seconds]
_0x4a6f has quit [Remote host closed the connection]
aparcar has quit [Remote host closed the connection]
<djfe> all MT7621 devices (mt7530 switch) are capable of VLAN, right? or do I have to test individually? (I'm editing tech data pages atm.)
aparcar has joined #openwrt-devel
_0x4a6f has joined #openwrt-devel
<jakllsch> i should think so?
hurricos has joined #openwrt-devel
<Ansuel> will i manage to compile znc today -.-
ashkan has joined #openwrt-devel
djfe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cbeznea has joined #openwrt-devel
djfe has joined #openwrt-devel
<djfe> jakllsch: thx
cbeznea has quit [Quit: Leaving.]
Ansuel_ has joined #openwrt-devel
<shibboleth> stintel, ping. i'll be online for about one more hour
Ansuel has quit [Ping timeout: 480 seconds]
<stintel> shibboleth: pastebin it somewhere then before you're offline
<shibboleth> one sec
cmonroe has quit [Quit: Textual IRC Client: www.textualapp.com]
djfe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
djfe has joined #openwrt-devel
djfe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cmonroe has joined #openwrt-devel
Ansuel has joined #openwrt-devel
Ansuel has quit [Quit: ZNC 1.8.2 - https://znc.in]
<stintel> so shibboleth's TP-Link WPA8630P v2.0 logs mount_root: no usable overlay filesystem found, using tmpfs overlay
<stintel> before it inits the jffs2
cbeznea has joined #openwrt-devel
<stintel> the log also contains OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions and doesn't end on an erase/write block -- force read-only but recently it was discussed here these are harmless
<Ansuel_> doesn't end on an erase/write block this may be problematic
<stintel> Ansuel_: no, because this is about read-only partitions
<shibboleth> target wpa8630p (2.0) does not retain configs with sysupgrade
<stintel> so it doesn't matter - they're only super annoying and often lead to people thinking something is wrong
<shibboleth> been as such since it was moved to -tiny
<stintel> shibboleth: like I said, it inits jffs *after* mounting tmpfs overlay
<stintel> I suspect once you reboot, it does keep settings then ?
<shibboleth> yeah, it was meant for the room as/for context
<shibboleth> yes, if i the manually scp the backup configs and reboot these are retained
<shibboleth> but i'll revert to "factory default" with every sysupgrade
<shibboleth> it'll
<stintel> hmmm
<stintel> I don't even remember how this works on flash devices :P
gladiac has joined #openwrt-devel
<Ansuel_> IRC connection timed out. Reconnecting..
<Ansuel_> worked one time and now it doesn't
<Ansuel_> uff
shibboleth has quit [Quit: shibboleth]
Ansuel has joined #openwrt-devel
max__ has joined #openwrt-devel
Ansuel has quit []
<stintel> so since with small flash devices there is no way to put the config backup in a /boot partition like on rpi and restore it after boot -- do we just not erase the jffs2 partition during sysupgrade and simply reuse it ?
Ansuel has joined #openwrt-devel
max_ has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
Ansuel has quit [Quit: ZNC 1.8.2 - https://znc.in]
minimal has quit [Remote host closed the connection]
Ansuel has joined #openwrt-devel
djfe has joined #openwrt-devel
minimal has joined #openwrt-devel
djfe has quit []
Ansuel has quit [Quit: ZNC 1.8.2 - https://znc.in]
Ansuel has joined #openwrt-devel
djfe has joined #openwrt-devel
Ansuel__ has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
cbeznea has joined #openwrt-devel
danitool has joined #openwrt-devel
cbeznea has quit []
Ansuel_ has quit [Ping timeout: 480 seconds]
Ansuel_ has joined #openwrt-devel
cbeznea has joined #openwrt-devel
djfe_ has joined #openwrt-devel
Ansuel has quit [Ping timeout: 480 seconds]
Ansuel_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
<f00b4r0> stintel: no. If I read your question correctly, the answer is that the config is put in a jffs2 stub located after squashfs and the deadcode marker marks the beginning of the segment that should be erased
djfe has quit [Ping timeout: 480 seconds]
Ansuel has joined #openwrt-devel
<f00b4r0> i had written a detailed summary of this process in an 2017 lede-dev RFC where I suggested doing differently, titled "[RFC] filesystem-agnostic sysupgrade backup system". Sadly it seems no longer available online. I can forward you the email tho, if you'd like
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
<Ansuel> (sorry for the spam... finally setup znc irc bouncer so i can be online... next step setup push notification so i can receive ping even if i'm not connected to the bouncer)
<djfe_> πŸ‘
Ansuel has quit [Quit: ZNC 1.8.2 - https://znc.in]
Ansuel has joined #openwrt-devel
gladiac has quit [Quit: k thx bye]
<Ansuel__> Ansuel ping?
GNUmoon has quit [Remote host closed the connection]
<Ansuel__> nice! now znc send ping notification to telegram finally i'm reachable here!
GNUmoon has joined #openwrt-devel
Ansuel__ has quit [Quit: Probably my PC decided to sleep or I decided to sleep.]
Ansuel has quit [Quit: ZNC 1.8.2 - https://znc.in]
<tmn505> f00b4r0: there's very intersting PR (https://github.com/openwrt/openwrt/pull/12225) You might be interested in.
dedeckeh has joined #openwrt-devel
Ansuel has joined #openwrt-devel
Ansuel has quit [Remote host closed the connection]
max__ has quit [Ping timeout: 480 seconds]
dedeckeh has quit [Quit: Page closed]
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Lechu has quit [Remote host closed the connection]
Lechu has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
djfe has joined #openwrt-devel
mrnuke_ has joined #openwrt-devel
mrnuke has quit [Remote host closed the connection]
robimarko has quit [Quit: Leaving]
djfe_ has quit [Ping timeout: 480 seconds]
Mangix has quit [Read error: Connection reset by peer]
<mrkiko> noltari: rmilecki: Hi! Is there any code to support bcm63178 in openwrt? The answer seems clear "no", but maybe I am overlooking something
Mangix has joined #openwrt-devel
<rmilecki> mrkiko: not aware of it
<mrkiko> rmilecki: thanks. I see some code is present in the kernel to support stuff like bcma, but I'm still far from getting the picture
Ansuel has joined #openwrt-devel
<Ansuel> mhhh anyone expert with ujail ? znc works only as root and i think the problem is that user doesn't have permission to expose on the network
djfe_ has joined #openwrt-devel
<hurricos> f0g: no idea. That's an ancient version!
djfe__ has joined #openwrt-devel
djfe has quit [Ping timeout: 480 seconds]
ashkan has quit [Remote host closed the connection]
djfe_ has quit [Ping timeout: 480 seconds]
Ansuel_ has joined #openwrt-devel
Ansuel__ has joined #openwrt-devel
Ansuel- has joined #openwrt-devel
Ansuel- has quit []
Ansuel has quit [Ping timeout: 480 seconds]
Ansuel_ has quit [Ping timeout: 480 seconds]
philipp64 has quit [Remote host closed the connection]
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Mangix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Mangix has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
Ansuel has quit [Quit: ZNC 1.8.2 - https://znc.in]
Ansuel has joined #openwrt-devel
Ansuel has quit []
Ansuel has joined #openwrt-devel
Ansuel has quit []
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_kirkwood.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
Ansuel has joined #openwrt-devel
Ansuel has quit [Quit: ZNC 1.8.2 - https://znc.in]
cbeznea has quit [Quit: Leaving.]
Ansuel has joined #openwrt-devel
Ansuel__ has quit [Quit: Probably my PC decided to sleep or I decided to sleep.]
<Ansuel> yep really need some experts to understand why znc doesn't work with a non-root user...