JonOsterman has quit [Remote host closed the connection]
JonOsterman has joined #openwrt-devel
sbrown_ has quit [Remote host closed the connection]
sbrown_ has joined #openwrt-devel
AlexisEvelyn has joined #openwrt-devel
<AlexisEvelyn>
I have a question, none of you wouldn't happen to know how to bypass the broadcom image check when trying to boot from ram only? I'm currently getting the error `tftp:error:658.597:cmsImg_validateImage:1032:The format isn't broadcom image` when trying to load `vmlinux-initramfs` with `tftp -g -t i -f vmlinux-initramfs 192.168.254.1`.
JonOsterman has quit [Remote host closed the connection]
JonOsterman has joined #openwrt-devel
<tmn505>
AlexisEvelyn: no expert but You might find necessary information in target/linux/{bmips,bcm63xx}/image directory how to create INITRAMFS image. Good Luck.
<tmn505>
*directories
ynezz has quit [Ping timeout: 252 seconds]
ynezz has joined #openwrt-devel
AlexisEvelyn has quit [Quit: Connection closed]
AlexisEvelyn has joined #openwrt-devel
hbug has joined #openwrt-devel
<AlexisEvelyn>
Reading `target/linux/brcm63xx/image/README.images-bcm63xx` I see `The imagetags for tftp/ftp flashing is based on Broadcom 3.00-3.04 imagetags and is known to be correct as the source code GPL and is available for reading.`. So, if I'm understanding this correctly, at least one of the images should be able to be loaded via tftp. I just have to
<AlexisEvelyn>
figure out which one. Especially since there are a lot of different files with initramfs in the name.
hbug___ has quit [Ping timeout: 240 seconds]
<AlexisEvelyn>
Apparently the only image that exists for Sagem and is initramfs does not work, so I'll have to see what I can find out about the image format tftp is looking for.
lnslbrty has quit [Ping timeout: 265 seconds]
lnslbrty has joined #openwrt-devel
<AlexisEvelyn>
I did manage to find out that my board's chip id is 63268. This info came from tftp as I'm testing to see what it's response will be from running the image flashing tool (I presume this particular tftp will ask to confirm flash before it actually commits to it).
<AlexisEvelyn>
I had to use the squashfs image to get the chip id message. The initramfs image does not produce that error message.
tobleminer-tSYS has quit [Quit: AS4242423214]
tobleminer-tSYS has joined #openwrt-devel
ynezz has quit [Ping timeout: 252 seconds]
<AlexisEvelyn>
There appears to be patches for this chip id (or what I presume the number to match the chip id is), https://github.com/openwrt/openwrt/search?p=1&q=63268. I'm currently trying to figure out if the chip id is just the cpu, or if it's the board + peripherals. If the latter, then potentially an existing image will have enough support for it to work.
<AlexisEvelyn>
I just am trying to be very careful as I do not know how to use jtag and don't know if jtag or serial connection can fix a brick by flashing the wrong image (or one not fully supported).
JonOsterman has quit [Remote host closed the connection]
ynezz has joined #openwrt-devel
JonOsterman has joined #openwrt-devel
<AlexisEvelyn>
Okay, interesting, so my chip id is mentioned as being supported in https://openwrt.org/docs/techref/hardware/soc/soc.broadcom.bcm63xx?s[]=bcm63168. I can try and see if any premade images will get me to the point of tftp accepting the image and asking me to confirming the flash.
luke-jr has quit [Read error: Connection reset by peer]
luke-jr has joined #openwrt-devel
<AlexisEvelyn>
Apparently I have a total of 123 Mb of RAM on my router. That's from `cat /proc/meminfo`. I'm not yet sure how to get info about the ram chip itself to confirm that.
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
JonOsterman has quit [Remote host closed the connection]
murphyslawbbs has joined #openwrt-devel
AlexisEvelyn has quit [Quit: Connection closed]
JonOsterman has joined #openwrt-devel
murphyslawbbs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JonOsterman has quit [Remote host closed the connection]
Rene__ has quit [Remote host closed the connection]
tchebb has joined #openwrt-devel
JonOsterman has quit [Remote host closed the connection]
JonOsterman has joined #openwrt-devel
slh64 has quit [Quit: gone]
murphyslawbbs has joined #openwrt-devel
murphyslawbbs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rmilecki has joined #openwrt-devel
nitroshift has joined #openwrt-devel
slh64 has joined #openwrt-devel
JonOsterman has quit [Remote host closed the connection]
<rmilecki>
jow: after reading your netifd & UCI isssues comments from yesterday I start to understand the problem
<rmilecki>
thanks for taking a moment and describing that
JonOsterman has joined #openwrt-devel
opal has quit [Remote host closed the connection]
ivanich has joined #openwrt-devel
opal has joined #openwrt-devel
JonOsterman has quit [Remote host closed the connection]
JonOsterman has joined #openwrt-devel
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
black_ant has joined #openwrt-devel
JonOsterman has quit [Remote host closed the connection]
<rmilecki>
jow: shit, i just checked netifd sources for the first time
<rmilecki>
f*k me
JonOsterman has joined #openwrt-devel
madwoota has quit [*.net *.split]
kristrev has quit [Ping timeout: 240 seconds]
kristrev has joined #openwrt-devel
valku has quit [Quit: valku]
kristrev_ has joined #openwrt-devel
<rmilecki>
fuck, a single uci section (config interface 'lan'; option type 'bridge') is parsed by code in interface.c, bridge.c and (interface-ip.c XOR proto.c)
kristrev has quit [Ping timeout: 252 seconds]
<rmilecki>
jow: how is anyone supposed to follow that
kristrev_ has quit [Read error: Connection reset by peer]
Tost has joined #openwrt-devel
kristrev has joined #openwrt-devel
kristrev has quit [Read error: Connection reset by peer]
JonOsterman has quit [Remote host closed the connection]
JonOsterman has joined #openwrt-devel
kristrev has joined #openwrt-devel
kristrev has quit [Read error: Connection reset by peer]
kristrev has joined #openwrt-devel
kristrev has quit [Read error: Connection reset by peer]
Borromini has joined #openwrt-devel
kristrev has joined #openwrt-devel
JonOsterman has quit [Remote host closed the connection]
JonOsterman has joined #openwrt-devel
feriman has joined #openwrt-devel
Tapper has joined #openwrt-devel
* enyc
wonders if the ath10k CT firmware issues with 21.02 SNAPSHOT etc. are improved in 21.02.0-rc1
* enyc
updates 2 ancillary and test lantiq xrx200 BT-HHv5a to 21.02.0-rc1 in any case
kristrev_ has joined #openwrt-devel
kristrev has quit [Ping timeout: 240 seconds]
AlexisEvelyn has joined #openwrt-devel
guidosarducci has quit [Ping timeout: 240 seconds]
guidosarducci has joined #openwrt-devel
<AlexisEvelyn>
Hi! I wanted to ask if anyone knows how to get the device tree directory when the kernel isn't compiled with the option to show it? Specifically, my `/sys/firmware` directory is empty and the `/proc/device-tree` symlink doesn't exist.
<AlexisEvelyn>
Would it be somewhere in rootfs or the vmlinux file? I'm currently poking around the filesystem to find something that contains the hardware info for my modem.
<rmilecki>
AlexisEvelyn: it depends on platform
<rmilecki>
AlexisEvelyn: BCM4908 has .dtb on "bootfs" MTD JFFS2 partition
<rmilecki>
AlexisEvelyn: usually bootloader should contain that somewhere
<rmilecki>
AlexisEvelyn: but format is platform / bootloader specific
<AlexisEvelyn>
I believe it's a brcm63xx (I'm still working out if this is correct). The CPU is Broadcom4350 v8.0.
<PaulFertser>
Is it possible that the kernel would be using DT but /sys/firmware not present? I doubt that. I'd say it means the kernel is loaded without DT, using hardcoded values from machine file or something like that.
<PaulFertser>
BTW, I've recently learnt that ACPI on ARM servers is a thing :/
<AlexisEvelyn>
It's possible that the kernel's not using a DT. I just have no idea how I would find the values and then be able to translate it to something that OpenWRT could use
<PaulFertser>
AlexisEvelyn: you're supposed to have the kernel sources and then you'd know which hardware is present and what addresses and options are used from the machine file then.
<PaulFertser>
AlexisEvelyn: a great deal of the data can be extracted by following symlinks in /sys/bus/i2c , spi etc.
<PaulFertser>
And of course looking at dmesg.
<PaulFertser>
AlexisEvelyn: it's quite often people are writing DT for OpenWrt basically from scratch, using existing ports for similar devices for inspiration.
<AlexisEvelyn>
I hope I can get the data I need. Thankfully the `/sys/bus` directory and it's subdirectories exist (also dmesg). I know Sagem doesn't release the sources for anything except for the 1704N (as I already checked the website).
<PaulFertser>
AlexisEvelyn: probably you can ask them in an official letter.
<AlexisEvelyn>
True. I'll have to write a letter to ask for the sources. Thanks!
<AlexisEvelyn>
In the meantime, I'm currently going to be looking through `/sys/bus` and I've already copied the dmesg log to my laptop.
caiortp has quit [Ping timeout: 252 seconds]
<AlexisEvelyn>
I definitely have to figure out how one is supposed to write a letter for a device sold to an ISP as I don't know the generic board's name.
<AlexisEvelyn>
Would `/sys/devices` be able to be used to help make a device tree?
eJunky has joined #openwrt-devel
JonOsterman has quit [Remote host closed the connection]
JonOsterman has joined #openwrt-devel
glyph has quit [Read error: Connection reset by peer]
glyph has joined #openwrt-devel
<AlexisEvelyn>
If you are interested, this is where Sagem would normally release their source code. I don't remember how I originally found this site, but since I wrote a paper on the security of the 1704 modem a few years ago, I had the link in the paper. http://opensource.sagemcom.com/index.php?id=42&L=0
madwoota has joined #openwrt-devel
danitool has joined #openwrt-devel
kristrev_ has quit [Read error: Connection reset by peer]
AlexisEvelyn has quit [Quit: Connection closed]
kristrev has joined #openwrt-devel
JonOsterman has quit [Remote host closed the connection]
<blogic>
dunno if this is what you guys are discussing
<blogic>
but been using that for years
arnd has joined #openwrt-devel
Tsesarevich has joined #openwrt-devel
<blogic>
that will make a config interface / type bridge appear even if there is no ifname and allows me to then just put a config wifi-iface / network foo into the bridge
<russell-->
i have a netgear gs108t-v3 (realtek) that i flashed the current master last night, it seems to stop talking to its WAN interface after a few hundred seconds (300 in the last test). /etc/init.d/network restart makes it work for another few hundred seconds. nothing in dmesg, nothing obvious in syslog.
SmugLeaf has quit [Ping timeout: 265 seconds]
SmugLeaf has joined #openwrt-devel
brentmagma has quit [Remote host closed the connection]
<Borromini>
russell--: does the LAN keep working?
<russell-->
Borromini: i don't know, nothing is connected to LAN
<russell-->
last test ping stopped at 433, started very shortly after the interfaces were up
brentmagma has joined #openwrt-devel
<russell-->
yeah, nothing in syslog
<Borromini>
ok. i'm seeing weird stuff on my gs108t-v3 as well since like a week, but i'm on 21.02.
<russell-->
tcpdump shows the wan interface (switch.1 in my case) arp'ing for the gateway address, not seeing a reply
<russell-->
built from cde31976e3 (because i saw the series of realtek commits)
<Borromini>
which hash did you use before?
<Borromini>
21.02 doesn't have those
<rmilecki>
blogic: at least I can count you as another person struggling with netifd
<russell-->
an older one, ec6293febc from about a month ago
<Borromini>
ok. i'm going to try rolling back the latest kernel bump, see if that has any effect.
<Borromini>
ec6293febc is .109
* russell--
is trying just reverting the last batch of realtek commits
sbrown has joined #openwrt-devel
Tapper has joined #openwrt-devel
sbrown_ has quit [Read error: Connection reset by peer]
<Borromini>
russell--: ok keep me posted
<russell-->
Borromini: 3bae740311e seems okay, ping still going after 500+ seconds
<russell-->
trying 515d9c85f2
zjason has quit [Ping timeout: 252 seconds]
<Borromini>
timeouts here don't start immediately, FWIW
<Borromini>
don't know how it is for you
<russell-->
the failures in a sample of about 4 or 5 runs is in the 300-500 seconds range
<russell-->
that seems okay too, trying d4649942ad
<Borromini>
ok
brentmagma has quit [Remote host closed the connection]
<pkgadd>
not really an issue in that PR, but in the patches just merged before it to support Ubiquiti UniFi AC HD
<pkgadd>
I've just successfully built a kernel 5.10/ dsa based image for my nbg6817 last night (but not including the apparently problematic changes adding Ubiquiti UniFi AC HD support)
AlexisEvelyn has quit [Read error: Connection reset by peer]
AlexisEvelyn has joined #openwrt-devel
feriman has quit [Quit: WeeChat 3.1]
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
rmilecki has quit [Ping timeout: 260 seconds]
<Tapper>
pkgadd yes mate. That's the one! I will just wate for a fix and flash using my laptop or phone.
<Tapper>
I am still on kernel 5.4 for now.
<Tapper>
I will switch to Kernel 5.10 after it's being tested a bit. Hows it going on your box?
<pkgadd>
fine, I was using the non-dsa one for about a week, the dsa PR for about 3 weeks now
<pkgadd>
but switching to dsa requires reconfiguring from scratch
<pkgadd>
I still haven't quite managed to get my VLAN trunk working yet, but I didn't have a lot of time to look into the different config syntax in detail either
nitdega has quit [Excess Flood]
nitdega has joined #openwrt-devel
AlexisEvelyn has quit [Ping timeout: 250 seconds]
AlexisEvelyn has joined #openwrt-devel
murphyslawbbs has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pkgadd>
hmm, the belkin rt3200 is (back-) down to 79.99 GBP today, damn - if it wouldn't be for shipping and double taxation/ customs driving that up again
AlexisEvelyn has quit [Read error: Connection reset by peer]
Acinonyx has quit [Ping timeout: 240 seconds]
rsalvate_ is now known as rsalvaterra
AlexisEvelyn has joined #openwrt-devel
<rsalvaterra>
Hauke: I don't know why, it's a mere two-liner… :)
brentmagma has quit [Remote host closed the connection]
brentmagma has joined #openwrt-devel
Radu-Mamy has quit [Remote host closed the connection]
black_ant has quit [Ping timeout: 265 seconds]
<Hauke>
pkgadd: I think you do not have to pay UK taxes, but your taxes only
<Hauke>
I think it was this way for me when I ordered this device to Germany
<shibboleth>
sorry for the repeat, was meant to be: after sysupgrade, eth/lan-ports were entirely defunct, failsafe mode failed, had to rig a ttl console to get it working again
<shibboleth>
commit, cde31976e37513cf2977e6d4b691f561344e61ed i noticed several ipq806x patches in the last two days. were these tested, by whom?
<nick[m]1>
jow: is there still a need for maintaing a seperate busybox musl version of nslookup (nslookup_lede)? apline linux also just use normal nslookup. can we just remove the patch and the config options?
<shibboleth>
also, you should pull the current snapshot builds to avoid ppl semi-bricking their devices. tftp recovery to previous build works, ttl console works, also if you can manage ssh access through wan
<shibboleth>
not my intention to be spamming, but i just spent over an hour recovering these devices. achtung, achtung
brentmagma has quit [Remote host closed the connection]
<shibboleth>
pkgadd, ping
<shibboleth>
jacekowski, ping
<shibboleth>
you both have ipq806x devices, mind verifying?
brentmagma has joined #openwrt-devel
<philipp64>
Anyone know where /etc/config/system gets synthesized into /etc/syslog.conf? Doesn't seem to be in /etc/init.d/system ...
skrzyp has joined #openwrt-devel
Thermi has quit [Quit: Meet your opposition - Profane and disciplined - Take back your pride - With a pounding hammer]
Thermi has joined #openwrt-devel
<pkgadd>
Hauke: what did you end up paying in total (I'm in .de as well)?
<pkgadd>
shibboleth: ?
<Hauke>
I payed £65.80 , but it was used warehouse
<russell-->
4342d27ec9 is the commit that kills gs108t-v3
<pkgadd>
thanks
<Hauke>
no VAT, but £4.71 shipping, and £10.51 import fees
<pkgadd>
technically ipq807x should be faster, but that seems to be quite hard to get working
AlexisEvelyn has joined #openwrt-devel
<pkgadd>
shibboleth: I'm running last night's master (r16642-ed4641e9f1) just before those changes were merged on my nbg6817 (but with the kernel 5.10+dsa PR merged in)
brentmagma has quit [Remote host closed the connection]
<shibboleth>
dsa, that's the "new" switchport/vlan style/config, right?
<pkgadd>
yes
<shibboleth>
i'm assuming the old style will still be supported?
<pkgadd>
no
<shibboleth>
and that current configs will be honored?
<pkgadd>
well, right now - yes, once the dsa [WIP] PR is in, no
brentmagma has joined #openwrt-devel
<pkgadd>
the networking config is completely different - and you must nuke your config before flashing a dsa build
<pkgadd>
you can do/ achieve (roughly) the same functionality, but the way it's configured is totally different