<iocampomx>
dwfreed: Yes, I did `/etc/init.d/sqm restart`, SQM: Starting SQM script: piece_of_cake.qos on eth0, in: 50000 Kbps, out: 10000 Kbps. SQM: piece_of_cake.qos was started on eth0 successfully
<iocampomx>
Also, on this router, lan is running on `eth0.1` and wan on `eth0.2`, but in the SQM config file I've `eth0`, if I put `eth0.2` it doesn't work
<dwfreed>
well, vlans definitely work generally for sqm, as I use them
<dwfreed>
hauke: could you put the dmesg output in a code block (surround with ``` at top and bottom)? GitHub is converting :de: into the german flag
GNUmoon has joined #openwrt-devel
_whitelogger has joined #openwrt-devel
iocampomx has quit [Read error: Connection reset by peer]
iocampomx has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
iocampomx has quit [Remote host closed the connection]
kwz has quit [Remote host closed the connection]
kwz has joined #openwrt-devel
iocampomx has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
rua has quit []
bluew has quit [Ping timeout: 480 seconds]
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
iocampomx has quit [Read error: Connection reset by peer]
iocampomx has joined #openwrt-devel
iocampomx has quit [Ping timeout: 480 seconds]
iocampomx has joined #openwrt-devel
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #openwrt-devel
noltari has quit [Quit: Bye ~ Happy Hacking!]
noltari has joined #openwrt-devel
iocampomx has quit [Read error: Connection reset by peer]
iocampomx has joined #openwrt-devel
<rmilecki>
iocampomx: one more thing, you still didn't share your dts with "fixed-layout"
<rmilecki>
can you do that?
<iocampomx>
Sure, let me finish few experiments. Quick random question, Do you know how can I check if the chipset support hardware offlodaing?
iocampomx has quit [Read error: Connection reset by peer]
iocampomx has joined #openwrt-devel
rua has joined #openwrt-devel
<rmilecki>
iocampomx: data sheets? ;)
iocampomx has quit [Read error: No route to host]
xavifr has joined #openwrt-devel
goliath has joined #openwrt-devel
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
Daanct12 has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
Tapper has joined #openwrt-devel
rmilecki has quit [Ping timeout: 480 seconds]
rmilecki has joined #openwrt-devel
PaulFertser has joined #openwrt-devel
fakuivan has quit [Ping timeout: 480 seconds]
rua has quit [Quit: Leaving.]
slh64 has quit [Read error: Connection reset by peer]
slh has quit [Remote host closed the connection]
slh has joined #openwrt-devel
SpectreDev_01 has joined #openwrt-devel
<SpectreDev_01>
Can we unlock 160mhz band ona router that supports it but isn't enabled in stock
georgem83 has joined #openwrt-devel
<mrkiko>
SpectreDev_01: depends on how th restriction is enforced
<SpectreDev_01>
Hmm
georgem83 has quit [Remote host closed the connection]
Daanct12 has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
rua has joined #openwrt-devel
guidosarducci has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
<Ansuel>
rmilecki ping?
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
SpectreDev_01 has quit [Quit: Connection closed for inactivity]
mrkiko has quit [Quit: leaving]
mrkiko has joined #openwrt-devel
valku has joined #openwrt-devel
valku has quit []
goliath has quit [Quit: SIGSEGV]
<rmilecki>
Ansuel: pong
<Ansuel>
hi some times ago I sent some patch for the ubootenv nvmem driver
<Ansuel>
did you found time to check them?
<rmilecki>
Ansuel: sorry, i didn't
<rmilecki>
i thought Rob had some objections
<rmilecki>
did he?
<Ansuel>
he never answered to the explaination tho
<PaulFertser>
kopijahe: hey. Do you need a wiki account to start documenting that? If yes, send me your desired nick and e-mail.
hitech95 has quit [Read error: Connection reset by peer]
<kopijahe>
How can I translated the stock dts to comply with openwrt? I'm confused on the gpios thing
<PaulFertser>
kopijahe: what exactly is confusing for you there?
<kopijahe>
PaulFertser: I already applied when porting Bolt Arion (mt7621-based)
<kopijahe>
PaulFertser: In the stock dts, it says like this: cs-gpios = <0x0d 0x0c 0x00 0x0d 0x2d 0x00>;
<kopijahe>
but in dts that I read from openwrt, it says something like this: cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
<kopijahe>
how can I translate that?
<kopijahe>
I'm currently studying the dts from "qcom-ipq4028-wpj428.dts", "qcom-ipq4019-unielec-u4019-32m.dts", "qcom-ipq4018-gl-a1300.dts", and "qcom-ipq4018-eap1300.dts"
<PaulFertser>
kopijahe: in stock dts you see decompiled data, so it depends on exact layout the obects got translated to.
<PaulFertser>
The first bytes are a pointer to the object defined elsewhere in the DT.
<ukleinek>
kopijahe: if you want a future prove approach, don't use gpio pin numbers at all.
<kopijahe>
ukleinek: what is the future-proof way for doing this?
<ukleinek>
kopijahe: otherwise don't try to understand the dtb, better look in /sys/class/gpio
<PaulFertser>
kopijahe: but you already know gpio number, isn't 0x2d it?
<ukleinek>
kopijahe: use /dev/gpioctrlX
<kopijahe>
PaulFertser: ok
<PaulFertser>
kopijahe: feel free to pastebin full decompiled DT for the reference and share here
<ukleinek>
PaulFertser: if you get that guess from: cs-gpios = <0x0d 0x0c 0x00 0x0d 0x2d 0x00>; then you're wrong, that's the offset in the gpio-controller, not the absolute pin number
<PaulFertser>
ukleinek: but kopijahe doesn't need an absolute pin number for anything
<PaulFertser>
Only offsets from the pin controller matter.
<PaulFertser>
(unless one wants to use old sysfs gpio export)
<ukleinek>
PaulFertser: then you're right
<ukleinek>
that makes me remember that I should refresh that dtc patch that makes decompiling resolve phandles.
dgcampea has quit [Remote host closed the connection]
dgcampea has joined #openwrt-devel
kopijahe has quit [Read error: Connection reset by peer]
linusw has quit [Quit: Connection closed for inactivity]
Mangix has joined #openwrt-devel
<hurricos>
Mangix: I have apm821xx ar8237 (non-n) devices in active use (MX60)
<hurricos>
I don't want to kick the can down the road, I have 3 on my desk and time in the upcoming month to yank and test
<hurricos>
I just don't have the energy to bang my head against compilation attempts. A shitty (but compiling) device tree to start with would be appreciated
<hurricos>
qca8k/dsa device tree*
<Mangix>
sure I can do that
<Mangix>
I can compile firmware if you want
<hurricos>
compile and give me `git format-patch -p1` :^)
<hurricos>
I just know I will be challenged trying to adjust the device tree and build options for qca8k
<Mangix>
sure. it'll be in my github tree anyway.
<hurricos>
but I can absolute a/b test and, even, provide you SSH access to a tftp server with serial and power switch access to one, if you're interested.
<hurricos>
doubt that will be needed as I can test pretty quickly.
<hurricos>
I believe almost all qca8k ports require manual intervention to rework switch configuration, yes?
<hurricos>
s/qca8k/dsa/
<hurricos>
eh, cross that bridge when we get there
<hurricos>
just needs a compat version bump in the build.
<Mangix>
I have the script that translates it
<hurricos>
That's news to me, and I appreciate it.
<Mangix>
Unknown val: 0x7f7f7f for reg: 0x624 <-- I forgot what this was
<Mangix>
ping @Ansuel
<Mangix>
erm Ansuel
<Ansuel>
pong?
<Ansuel>
let me check
<Ansuel>
isn't that LED?
<Ansuel>
GLOBAL_FW_CTRL1
<Ansuel>
you can ignore
<Mangix>
OK
<Mangix>
hmmm this dts is interesting
<Mangix>
no mdio0
Borromini has joined #openwrt-devel
goliath has joined #openwrt-devel
<Mangix>
this switch config is broken. has 1 CPU port but specifies 2
<Mangix>
Ansuel: if there's no mdio0, where does the switch section go?
<Mangix>
all 5 ports are handled by qca8327 from what I see
<Ansuel>
if there is a second cpu port to test it's doable, but that rgmii-rxid thing is test for port5 stability
<Ansuel>
it's already handled in the code internally
<hurricos>
ACK. I misremembered some switch-and-cpu implementations using two sets of *gmii between switch and soc
<Mangix>
I only know of some ath79 and ramips devices with dual switches
<Mangix>
Ansuel: anyway, got an idea on the mdio thing?
<Ansuel>
what do you mean?
<Ansuel>
by the looks of it is a mac with integrated mdio and on that is connected the qca8k switch
<Mangix>
on ath79 and from what i see ipq806x the switch node is under mdio0 and referenced by the MAC
<Ansuel>
so i guess it would use the same structure with the swconfig part replaced with the qca8k part... and cpu0 with the ethernet binding pointing to emac0
<Ansuel>
and emac0 phy-handle binding dropped
<Mangix>
so put switch under mdio?
<Ansuel>
yes
<Mangix>
the phy ports as well i'm assuming
<Mangix>
wait a minute...
<Mangix>
I see ucidef_set_led_switch but dts says they're GPIO...
<Mangix>
hurricos: what color are the leds?
<hurricos>
Mangix: Green, with the exception of power which has an alternate amber behind it as well