<[Pokey]>
Thought that was a nooelec SDR for a second xD
danitool has joined #openwrt-devel
srslypascal is now known as Guest1972
srslypascal has joined #openwrt-devel
srslypascal is now known as Guest1973
srslypascal has joined #openwrt-devel
danitool has quit [Remote host closed the connection]
Guest1972 has quit [Ping timeout: 480 seconds]
Guest1973 has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
mrkiko has quit [Quit: leaving]
mrkiko has joined #openwrt-devel
MaxSoniX has joined #openwrt-devel
shibboleth has joined #openwrt-devel
<shibboleth>
i've been unable to build master for ipq806x, ath79 and ath79-mikrotik all weekend. failure during kmod builds, varies which one. just now tried with a fresh git clone
<shibboleth>
running single-core/thread build now for verbose logs. anyone else having problems?
hanetzer has joined #openwrt-devel
dangole has joined #openwrt-devel
<shibboleth>
well, pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.69-1-5bfdf671084d7052868e7502442cb6c5) for kmod-libphy ad infinatum
<lu_zero>
I tried to make a rust package that uses git, but I keep getting no errors but also no results, running /compile with V=s I see an ignored error
<shibboleth>
is this the infamous "general error, press any key"?
<shibboleth>
well, is this a problem with the openwrt buildroot or a 3rd-party package you yourself are trying to import?
madwoota has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<lu_zero>
I tried locally and then I ended up checking out and fixing that tree to see if I made a mistake with my first try
<lu_zero>
and that branch got reported as working in the PR yesterday
<lu_zero>
so either my openwrt checkout has problems or I'm missing something probably quite silly for somebody with experience
<lu_zero>
having that Error 1 (ignored) is _very_ puzzling
<shibboleth>
ok, seems a default config for these devices will build, so apparently there's something wrong with my three-week old configs that worked one week ago (sigh)
<shibboleth>
is there a way to import selected packs/kmods from an existing config without having to do it manually in ncurses gui?
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
<[Pokey]>
shibboleth: You can just edit the .config manually to change what packages are included
<[Pokey]>
then run menuconfig to repopulate things which are aprt of your target
madwoota has joined #openwrt-devel
<[Pokey]>
and probably defconfig too I have found
madwoota- has joined #openwrt-devel
<[Pokey]>
Is it safe to say that Broadcom CPU == don't even bother?
madwoota has quit [Ping timeout: 480 seconds]
madwoota- is now known as madwoota
nezbednik has quit [Remote host closed the connection]
Borromini has quit [Ping timeout: 480 seconds]
<slh64>
in essence, yes. the CPU part usually can be supported, but anything beyond that and eth/ switch (wifi, xdsl/ cable modem, phone/ dect/ fxs features etc.) is a hard no-go area
<[Pokey]>
How about TI? Is that a known quantity?
Borromini has joined #openwrt-devel
<slh64>
ti is dead
<[Pokey]>
Dead but I have an old device which has TI :P
<[Pokey]>
Probably not worth mainlining but as a giggle
<slh64>
forget it (tiacx was already a nightmare during its heyday)
<[Pokey]>
Fair
<slh64>
and the devices were generally so low-end (back then in relation to the competition) that it wouldn't be possible today anyways
<[Pokey]>
not even a super cut down self build?
<slh64>
no
<[Pokey]>
phew
<\x>
you can maybe compile some userspace stuff for it
<[Pokey]>
if I can't even run a kernel on it then not much point
<shibboleth>
pokey: yeah, but i don't know what about config.old is breaking the build
<\x>
I compiled like dropbear, bash for the ONT on my old isp account
<shibboleth>
but i'd like to import the manually selected utils/kmods from config.old into config.default/new
<[Pokey]>
As a noob I must pass on the baton I'm afraid then. I am not certain
<slh64>
there are lots of devices left where porting would be reasonable (both in terms of demand and useful features), but these pre-2010 designs are not among them, nor are the remaining eCOS, ThreadX or QNX ones
<[Pokey]>
If I could get my hands on some easy cheap kit to do it as a learning experience I would
<slh64>
mt7621, ipq40xx (in the distant future ipq60xx), some of the newer ath79 ones, there might still be unknown lantiq/ vr9 devices out there
<[Pokey]>
I had \x heavily assist me supporting a MT7621A device this week
<[Pokey]>
showed me the ropes
<\x>
i have experience on all three of those now
<\x>
mt7621a, ipq40xx and now I have an ipq60xx device
<[Pokey]>
Its fun when it works but I am still in the process of learning how everything fits together to make it work consistently
<slh64>
mt7621 has the advantage of being rather uniform, little variation between devices
<\x>
that qsdk amalgamation from lean is half baked but it works, good enough to poke around and bench things
<\x>
no usb no buy for ipq60xx, usb is so good on this one, itll saturate gigabit on samba
<[Pokey]>
slh64: That' why my next planned target, if I can get it cheap, is a 7621. Technically I will be cheating too as it is already supported full, just lacking documentation of a good install procedure
<[Pokey]>
Then I will need to find a completely unsupported device to try again :P
<\x>
[Pokey]: you can say that ipq40xx is still half baked currently on snapshots. vlans doesnt work, needs a lot of test reports and things for that one. and those are cheap you can get ipq40xx real cheap
<slh64>
ipq4018 is similar, in the sense of basically everything part of the same SOC toolbox, ipq4019 (with its additional extensibility options) can be a bigger can of worms
<\x>
and with 4721, they can route a gigabit nicely even without offload
<slh64>
well, vlans are solved with dsa
<\x>
something like asus lyra ac2200 are plenty on used market, theres also deco m5 etc etc
<shibboleth>
nothing yet on the intel-powered wifi 6e devices?
<\x>
yup slh64 ive been running 4721 ever since november last year. quite nice. before that i got forced into using gre for vlans
<[Pokey]>
\x: I'd be up to have a play but I am sure you can probably see yourself that my skillset might be more of a hinderance than a help. But if you have a cheap device to recommend I'd consider it at least
<slh64>
also some of the other defunct mesh systems (lumawifi et al)
<\x>
slh64: I have three of that R619AC, 4019+16NOR+128NAND+512DDR3 and has a mini pcie slot to boot. It houses an nvme currently ;)
<slh64>
most if those were ipq40xx
<\x>
[Pokey]: when i got my R619AC it want even on openwrt yet, I just copy pasted other peoples work and fixed whats broken etc etc, ofcourse I used the one on openwrt once the guy who did the porting submitted it.
<\x>
it wasnt even on*
<slh64>
I have a map-ac2200/ lyra, nice device
<[Pokey]>
\x: Why did you not submit all the hard work you did fixing it?
<\x>
because it wasnt my code.
<mrkiko>
hoping 4721 to be merged
<\x>
nah 4721 needs to have its birthday first
<\x>
ahaha
madwoota has quit [Ping timeout: 480 seconds]
<[Pokey]>
\x: FOSS?
gladiac has joined #openwrt-devel
<\x>
[Pokey]: i was just using the dts form chinese forums
<[Pokey]>
\x: Realistically I must ask, how different was that DTS to the final one which ended up being mainstreamed?
<\x>
back when i got it, some things didnt work correctly and then dsa migration for me happened with pr 4721
<\x>
[Pokey]: pcie issues on mini pcie slot
<[Pokey]>
Ah okay
madwoota has joined #openwrt-devel
<[Pokey]>
hehehe I feel like a small child in a sweetie shop. I just got an old Openreach modem with ASDL and 2 100m LAN and its slow as hell but it runs OpenWRT Chaos Calmer R46559 from 2015
<[Pokey]>
this is silly
<\x>
nah its all good. its a nice platform to tinker with. you even got a nice webui recovery to boot
<slh64>
the bthub5a is cheap and plenty, at least if you don't need to have it shipped outside the UK
<slh64>
worth the upgrade (although not trivial to flash from OEM)
<shibboleth>
why is kmod-iptables missing buildroot config?
<shibboleth>
"because something, something nftables" <-- no, kmod-ip6tables is still there
Tapper has quit [Ping timeout: 480 seconds]
Borromini has quit [Ping timeout: 480 seconds]
<shibboleth>
never mind
lu_zero has quit [Remote host closed the connection]
<[Pokey]>
slh64: I can get BT HH 5 pretty damn cheap
<[Pokey]>
is it really worth it?
<[Pokey]>
\x: Nice platform to tinker? Web recovery? Hehe I think you don't know what I'm playing with here. It's lantiq and its OOOOOLDDD https://openwrt.org/toh/bt/vg3503j
lu_zero has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
Tapper has joined #openwrt-devel
<[Pokey]>
To be fair, even though it is crappy, I am getting 94Mbit/s through it
<\x>
rip alcohol mixes
<[Pokey]>
:P Yea I was curious about that
<[Pokey]>
Where did that go / why was it there in the first place
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
Borromini has joined #openwrt-devel
Borromini has quit []
Borromini has joined #openwrt-devel
<[Pokey]>
I take it if I wanted to make changes to this device theres literally no point in my/no way for me to contribute it back because it only supports a version long long gone?
<Borromini>
only way support gets merged is through master
<[Pokey]>
Borromini: Yea and this thing will not run 22.03.0 or snapshot so no chance right?
<Borromini>
due to flash/RAM limitations?
<[Pokey]>
Borromini: Seems that way. https://openwrt.org/toh/bt/vg3503j Curiously theres a 22.03.0 image for it, but I tries to upload it as a sysupgrade and the device just rebooted back to the old version
<\x>
try sysupgrade from shell
snh has quit [Ping timeout: 480 seconds]
<\x>
kill uhttpd process
<[Pokey]>
huh you can do that?
<\x>
yes
<[Pokey]>
Considering it takes 5 seconds to get an SSH login prompt on this thing I do not hold out hope
<[Pokey]>
but I'll try it
snh has joined #openwrt-devel
<\x>
on 4/32 builds even on the forum they disable thats sysupgrade on luci capability
<Borromini>
i had to dump LuCI on my own 4/32 builds with 21.02 already (did include some extras though)
<\x>
theres some old 4/32 ath79 there that some guy always builds. "ashus" i think
<\x>
builds for*
<[Pokey]>
is it safe to sysupgrade from /tmp?
<Borromini>
my 4/32 devices don't even build anymore with WPA3 on 22.03, which is what i'd like to have
<Borromini>
[Pokey]: it's your only option and it is not just safe, it's *recommended*
<[Pokey]>
Yea though that might be the case but wanted to check
<[Pokey]>
if I'm going from 15 to 22 I should wipe configs shouldn't I?
snh has quit [Remote host closed the connection]
<[Pokey]>
Switching to ramdisk... Performing system upgrade... Could not open mtd device: firmware Can't open device for writing! Upgrade completed
<[Pokey]>
Didn't matter anyway xD its borked
<\x>
maybe the flash there is on read only mode
<[Pokey]>
I take it that's not as simple as remounting it otherwise that'd just be automated wouldn't it?
<\x>
either it ran out of spare blocks or its just locked, if its just locked you can make it unlockable by making an initramfs image that unlocks sections
<\x>
dts edit
<[Pokey]>
yea I don't want to put that much effort in right now
<[Pokey]>
xD
<[Pokey]>
If I REALLY wanna flash this I could just do it over serial couldn't I
<\x>
might also be wise to keep a flash backup
<\x>
hell if you want we can put a new spi flash there
<[Pokey]>
eeeeeeeh
snh has joined #openwrt-devel
<[Pokey]>
I don't have the skill to solder that and not ruin it somehow
<Lechu>
I had a Ubiquiti NBM5 that died on me, by flash going read-only
<Lechu>
strangely wouldn't even go past U-boot
<Lechu>
After replacing (and increasing to 16M as well) works like a charm
gladiac has quit [Quit: k thx bye]
<[Pokey]>
Lechu: Custom build to support the 16m or did you make that an official variant?
<\x>
nah you cant just make it official, I think
<Lechu>
Custom build.
<\x>
modded hardware is not supported, you just build for it yourself
<Lechu>
The patches lie on my github though.
<[Pokey]>
fair enough
<\x>
theres a supported mod though but thats because of memory autodetection
<\x>
you can replace memory on MT7621A stuff freely
<[Pokey]>
nice
<[Pokey]>
you convinced me to open it up again \x
<Lechu>
for RAM you don't need to mod FW usually, for flash you do, because of fixed partitions layout
<\x>
uboot sometimes needs to be reconfigured, but not always a necessity, its just difference on memory timings, since tRFC with density. most chips cope well, others dont
<[Pokey]>
Yea theres no chance I'm resoldering that style of NAND
<\x>
since tRFC changes with density*
<[Pokey]>
Fair enough
<[Pokey]>
how would you recommend I go about taking a flash backup?
<\x>
for spi nor, you can get an spi flasher, e.g ch341a or something better
<[Pokey]>
without desoldering shit xD
<\x>
you can, but depends on hardware, some of them really needs to be desoldered
<\x>
on some you can use a clip
<\x>
but as always if you just want to backup cat /dev/mtdX > mtdX, then you just concatenate all of them together
<[Pokey]>
I just.. don't care about this thing enough to want to go through all that effort
<\x>
a ch341a is handy, you should have one if you want more of this. its also useful on desktops/laptops either if you do bios mods or coreboot.
<[Pokey]>
\x: I totally agree with you, but I also do not have the other expensive equipment required to desolder these things nor the skills to do so and I head 9 times out of 10 clips do not work
minimal has joined #openwrt-devel
<PaulFertser>
[Pokey]: a basic hot air gun is cheap, and worth having. You can also use it to weld plastic (using e.g. matching 3d printing filament, similar to how you'd gas weld metal), and also nice for pre-heating PU glue before gluing, and all kinds of glues while ungluing etc.
<PaulFertser>
I mean an "SMD soldering hot air" thing.
<PaulFertser>
[Pokey]: clips usually work nicely if the SoC on the target is kept in reset.
<\x>
some of them even starts booting up when you clip on them lmao
<[Pokey]>
PaulFertser: That seems unlikely though?
<[Pokey]>
\x: Thats my concern! haha
<[Pokey]>
PaulFertser: I am sure I will get the kit in the future but I am a cheapskate
<PaulFertser>
[Pokey]: if you find the right testpoint for target reset you just connect it to GND. Or sometimes it's easy enough to lift the Vcc pin by bending it a bit while heating.
* [Pokey]
cringes at the thought of bending pins
Tapper has quit [Ping timeout: 480 seconds]
<[Pokey]>
Not sure I can get the original firmware version 15....
<[Pokey]>
So this upgrade HAS to work otherwise I have no firmware
<\x>
I actually kinda hate the move from 8/16 pin SPI-NOR to those new nand in modding perspective.
<\x>
but 128MB I guess is more than enough
<[Pokey]>
\x: Just loaded OpenWRT 18 onto it with success
<[Pokey]>
Immediately I can see its fixed a lot of things
<[Pokey]>
And its a LOT faster!
<[Pokey]>
wow
<[Pokey]>
this might actually be somewhat usable
<[Pokey]>
Oh my god hahaha
<[Pokey]>
22.03.0 just works on it
<[Pokey]>
not much room for packages but got LuCI and everything
<[Pokey]>
wow okay this is surprisingly fast and usable now
<[Pokey]>
I'm picking me up another one for a couple £ next time I spot one at a boot sale
<\x>
try getting one with 8MB of flash atleast
<[Pokey]>
\x: I don't think they exist
<[Pokey]>
just this variant of this device
<[Pokey]>
But I'm fine with 4, actually
<[Pokey]>
Its not like I would want this thing to do much
<[Pokey]>
it has LuCI and full basic networking configuration
shibboleth has quit [Quit: shibboleth]
robimarko has joined #openwrt-devel
<\x>
oh it doesnt have any wlan hardware
<\x>
I guess instead of using an rj45 coupler you can use this one? [Pokey]
<[Pokey]>
\x: Haha I mean I guess so
<[Pokey]>
If you're seriously wondering "what the hell is he going to do with this thing??" I'm going to see if I have enough room for OpenVPN (doubt it) to learn that (crappy speeds obviously) and I can also use it as a learning tool for general networking concepts
<[Pokey]>
Plus it may be only 100m but theres nothing stopping me hooking it to a couple 100m switches and getting more ports that way
<[Pokey]>
I have a couple of VLAN capable switches so I can "fake" adding more ports using VLANs
<\x>
yeah sure
<\x>
its nice to have extra devices to test stuff with
<robimarko>
blocktrron: Have you maybe had a chance to look at AP165 so DSA can be pushed?
<blocktrron>
AP165?
<robimarko>
I remember you saying you had access to one of those
<robimarko>
Ugh, AP-365
gladiac has joined #openwrt-devel
Tapper has joined #openwrt-devel
MatrixTravelerbot[m]1 has quit []
<blocktrron>
ah yes
<blocktrron>
i dont see it as a requirement for mergind the DSA stuff.
<blocktrron>
I will test it on the 4040 i have here
<neggles>
[Pokey]: they just use a regular old spi flash right? you got a soldering iron?
<neggles>
swapping a SOIC-8 spi flash chip is cake
<neggles>
shove an 8 or a 16 on there, they're like $3
<neggles>
absolutely colossal waste of effort, mind you, but
<[Pokey]>
neggles: Nope its a (too many pin to count) NAND flash
<neggles>
oh
<neggles>
TSOP-II-56
<neggles>
f#$% that noise
<neggles>
also I have terragraph link-up :D
<[Pokey]>
neggles: A what now?
f00b4r0 has joined #openwrt-devel
<[Pokey]>
https://www.youtube.com/watch?v=zjafMP7EgEA Interesting TP-Link router based on OpenWRT, references in there to LuCI, they use some lua to develop a remote access tool based on a vulnerability
<neggles>
[Pokey]: like i said, most routers are OpenWrt :P
<neggles>
and, the terragraph devices are fun little cubes which do multi-gigabit short-range mesh wireless networks
<Slimey>
Terragraph uses the Yocto Project as the underlying build framework.
shibboleth has joined #openwrt-devel
<[Pokey]>
When I run opkg I'm getting "Killed" so I'm guessing the kernel is killing my opkg for OOM?
<shibboleth>
sysupgrade for tl-wpa8630p-v2.0-eu appears broken (sysupgrade works but does not keep configs)
<shibboleth>
look in /etc/opkg/distfeeds.conf, disable/comment telephony and luci
<shibboleth>
delete opkg indexes in /tmp, opkg update, should free up some memory
<shibboleth>
stintel, ping
<robimarko>
blocktrron: I agree, everything thats not converted can be converted
<robimarko>
There is plenty of time till next release
<[Pokey]>
\x: I did manage to install openvpn-openssl onto the box with 114.7KB remaining afterwards, which is apparently not enough to install the luci companion
<shibboleth>
right... that's some $telco CPE that's only specced out for bridge+maybe nat+wifi
<shibboleth>
doesn't need much storage, presumably also runs some custom OS, maybe even vxworks
<[Pokey]>
shibboleth: Not even WiFi
<[Pokey]>
I know though. I made a joke to x earlier that I would dare to try and install full OpenVPN
<shibboleth>
yeah... i'm not for dropping devices for the sake of dropping devices, but eh...
<[Pokey]>
I am surprised I even got the daemoin installed
<shibboleth>
you can fit openvpn on a 8mb device, but it'll be close
<[Pokey]>
s/daemoin/Daemon
<shibboleth>
if you build master/branch yourself and deselect luci you'll save a meg or so
<shibboleth>
presumably you can achieve the same with the imagebuilder
<[Pokey]>
shibboleth: Meh, I mainly wanted to do it as a joke if I am totally honest
<[Pokey]>
its surprisingly usable as it is
<[Pokey]>
[15:54:19] <[Pokey]> If you're seriously wondering "what the hell is he going to do with this thing??" I'm going to see if I have enough room for OpenVPN (doubt it) to learn that (crappy speeds obviously) and I can also use it as a learning tool for general networking concepts
<shibboleth>
it's also limited to 32mb ram according to wiki
<shibboleth>
it'll be about as reliable as... vlad the invader under pressure
<[Pokey]>
for basic networking it works fine
<[Pokey]>
OpenSSL... heh probs not
<shibboleth>
ok. i hate to be the one saying this, but: maybe #clubrandom-stuff should be discussed in the main channel, not -devel?
<[Pokey]>
probably... I've been in this one and just haven't switched away. My initial convo here was better supporting it but it turns out it works perfectly fine
danitool has joined #openwrt-devel
MaxSoniX has quit [Quit: Konversation terminated!]
Borromini has quit [Ping timeout: 480 seconds]
Tapper has quit [Read error: Connection reset by peer]
Tapper has joined #openwrt-devel
<minimal>
anyone here have suggestions why scripts added to uci-defaults do not appear to run? (files are visible in /rom/uci-defaults after boot, files not visible in /etc/uci-defaults after boot, files function fine if manually run)
robimarko has quit [Quit: Leaving]
shibboleth has quit [Quit: shibboleth]
dangole has quit [Quit: Leaving]
Borromini has joined #openwrt-devel
srslypascal is now known as Guest2005
srslypascal has joined #openwrt-devel
Guest2005 has quit [Ping timeout: 480 seconds]
digitalcircuit has quit [Quit: Signing off from Quassel - see ya!]