dansan has quit [Remote host closed the connection]
dansan has joined #openwrt-devel
floof58 is now known as Guest10967
floof58 has joined #openwrt-devel
Guest10967 has quit [Ping timeout: 480 seconds]
MaxSoniX has joined #openwrt-devel
lostandconfused1 has quit [Remote host closed the connection]
tiny_user has joined #openwrt-devel
Tapper has joined #openwrt-devel
MaxS0niX has joined #openwrt-devel
MaxSoniX has quit [Read error: Connection reset by peer]
tidalf_ has joined #openwrt-devel
tidalf has quit [Ping timeout: 480 seconds]
bluew_ has joined #openwrt-devel
bluew has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
pmoney has quit [Quit: Page closed]
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
russell-- has quit [Quit: leaving]
russell-- has joined #openwrt-devel
fakuivan_ has joined #openwrt-devel
fakuivan has quit [Remote host closed the connection]
xback has joined #openwrt-devel
djfe_ has joined #openwrt-devel
<oliv3r[m]>
funnily enough; the rust maintainer in the linux kernel wouldn't budge on switching the rust indentation to tabs 'but rust defacto default is 4 spaces, so we should stick with that' even though there's a formatter config file, that lets you happily set it to 8 spaced tabs :)
<oliv3r[m]>
choice but no choice :p
<oliv3r[m]>
so soon, we'll have tabs and spaces mixed in the kernel :)
djfe has quit [Ping timeout: 480 seconds]
russell-- has quit [Quit: leaving]
russell-- has joined #openwrt-devel
<robimarko>
Ugh, I am alergice to spaces as indentaion
<f00b4r0>
oliv3r[m]: wouldn't checkpatch fail such submissions though
<oliv3r[m]>
nope, because I'm sure they've a) added a rule to not check .rs files; and b) they'll run everything through rustfmt to ensure you will follow whatever the rust maitainer wants
xback has quit [Ping timeout: 480 seconds]
<oliv3r[m]>
it's kind of similar tot he same stupidity of saying 'kernel multi line comment styles is "/*\n * bla\n */" but then say "except in the networking infratstructure. so now, if you write a patch that touches both for some reason, you have to be extra precious there. It's just dumb as fuck
<f00b4r0>
it's opensource ;P
<oliv3r[m]>
but the world is moving to space indentation, it's a lost cause. Even though; it should be so obvious :( (preaching to the choir here, but) tab indicates a level of indentation. Space is used to align things nicely within that level of indentation. Don't understand why this is so hard to grasp. But then I see code bases where things get mixed on single lines, tailing white spaces, missing eol; people don't give a fuck 'it compiles don't
<oliv3r[m]>
it'
<oliv3r[m]>
or, the most obvious one indeed 'but 2/3/4/7 space just looks better to me' not realizing that you can set the display width of a tab, keeping alignment and indentation identical :(
<f00b4r0>
yeah that.
<oliv3r[m]>
f00b4r0: haha, I sent a patch; but it was ignored, because the rust maintainer also didn't see the benefit and was very adement about 'but all rust code in the world will be written with 4 space indentation!! I promise' (it won't be of course once it gets picked up)
<f00b4r0>
that sounds fairly retarded indeed
<oliv3r[m]>
besides, dislectic people, people with reading disabilities strongly favor tabs, and vengfully hate spaces; but even that argument 'meh, they'll just have to deal or not contribute'
<f00b4r0>
further illustrating the openmindedness of spaces worshipers ;^P
<oliv3r[m]>
I hoped greg or linus would at some point chime in; but sadly, either they didn't see, or didn't care :(
<oliv3r[m]>
would be fun if this would bounce back ina few months with a 'wtf where you guys thinking' :D
<f00b4r0>
well I'm willing to bet that come the first rust-written driver formatted with silly rules, either of them will go something like "fuck no" ;)
<oliv3r[m]>
though I must admit, the kernel style even has something weird too (not documented, but enforced only via checkpatch) where they prefer to use tabs to align stuff if a function declaration spans multiple lines. 'use tabs as much as you can, then space'; which is really weird
<f00b4r0>
(Although Greg is usually less graphic in his replies)
<oliv3r[m]>
i bet the rust maintainer will be responsible for reviewing all that
<oliv3r[m]>
there was talk about a first uvc/camera rust driver already; so who knows
<oliv3r[m]>
but tabs/spaces is not something easily spotted during a review; except of course when it's 4 spaces deep, and the maintainer is like 'why is this so ...tight'
<rmilecki>
looking for a help with Netgear WAX218 (ipq807x)
<robimarko>
rmilecki: What do you need for WAX218?
<rmilecki>
robimarko: understand what it "boot loop" caused by when firmware gets flashed incorrectly
<rmilecki>
it's mentioned in the https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=7801161c4bb2413817b3dfd01695050e2da27bf3 ("ipq807x: add support for Netgear WAX218")
<robimarko>
rmilecki: Ok, that seems rather specific
<rmilecki>
right
<robimarko>
You can find Alexandru on IRC under mrnuke
<rmilecki>
oh, thanks
<rmilecki>
mrnuke: can you let me know what is that boot loop related to?
zer0def has quit [Ping timeout: 480 seconds]
tersono has quit [Quit: tersono]
zer0def has joined #openwrt-devel
cbeznea has joined #openwrt-devel
bluew_ has quit [Ping timeout: 480 seconds]
dangole_ has joined #openwrt-devel
goliath has joined #openwrt-devel
schwicht_ has joined #openwrt-devel
schwicht has quit [Read error: Connection reset by peer]
lostandconfused1 has quit [Quit: lostandconfused1]
Tapper has quit [Quit: Tapper]
Slimey has joined #openwrt-devel
valku has joined #openwrt-devel
djfe has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
djfe_ has quit [Ping timeout: 480 seconds]
djfe_ has joined #openwrt-devel
djfe has quit [Ping timeout: 480 seconds]
floof58 is now known as Guest11004
floof58 has joined #openwrt-devel
Guest11004 has quit [Ping timeout: 480 seconds]
<mrnuke>
rmilecki: We can't tell if we're booting from mtd12 or mtd14, so we assume mtd12. If we're on mtd14, we're looking for rootfs/rootfs_data on mtd12, and we won't find it
<rmilecki>
mrnuke: i'm like to look into improving that flashing procedure
<rmilecki>
so user can just flash OpenWrt using vendor's UI without bothering about current rootfs partition or ssh tricks or initramfs image
tidalf_ has joined #openwrt-devel
<rmilecki>
mrnuke: i'm getting "ERROR:phy_addr 0 phydev is NULL" errors from kernel
<mrnuke>
Re the flashing procesure, the only way I know to find out the correct mtd with the rootfs is the partition table that the bootloader patches under the nand controller node. But that's not where the partition table is, or where linux looks for it
tidalf has joined #openwrt-devel
tidalf_ has quit [Ping timeout: 480 seconds]
<rmilecki>
mrnuke: robimarko: so many questions... another one if I may:
<rmilecki>
i have 2 wireless PHYs in WAX218
<rmilecki>
but I can see only 1 wifi controller defined in .dts file
<rmilecki>
also this board has no PCIe devices connected
<rmilecki>
is that a single wireless controller with 2 radios then?
<mrnuke>
I think ath11k takes care of both radios. One node under devicetree. Not sure if there are separate chips on the board
<rmilecki>
mrnuke: ok, confirmed, one wifi controller can have multiple radios
goliath has quit [Read error: Connection reset by peer]
goliath has joined #openwrt-devel
<Ansuel>
oliv3r just read the thing... Can totally say it's a timebomb we can just LOL. At the right time and see the chaos...
<robimarko>
rmilecki: Those NULL phy are spam as for some reason SSDK will always try to look at 0x0 - 0x4 for PHY-s even if they are not defined in DTS
<robimarko>
As far as wireless PHY-s go ath11k takes care of that based on FW message as you can have up to 3 PHY-s on IPQ8074
tidalf_ has joined #openwrt-devel
tidalf has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
dangole_ has quit [Remote host closed the connection]
dangole_ has joined #openwrt-devel
maciekb has quit [Quit: bye]
maciekb has joined #openwrt-devel
floof58 is now known as Guest11022
floof58 has joined #openwrt-devel
Guest11022 has quit [Ping timeout: 480 seconds]
dangole_ has quit [Ping timeout: 480 seconds]
<philipp64>
what's the make target to rebuild tools, hostpkg's, etc? I tried to rebuild package/libubox/{clean,compile} but that only rebuild the target version, not the host version...
<tmn505>
and for tools it's tools/automake/{clean,compile}
cbeznea has joined #openwrt-devel
<philipp64>
Ah, thanks... I'll update the Wiki.
dangole_ has joined #openwrt-devel
<oliv3r[m]>
Ansuel: yeah I hope so too; because it's a bit frustrating and annoying to see happening. But who knows, maybe linus saw the 'space' light too :)
MaxS0niX has quit [Quit: Konversation terminated!]