Acinonyx has quit [Read error: Connection reset by peer]
Acinonyx_ has joined #openwrt-devel
valku has quit [Quit: valku]
cyrozap has quit [Ping timeout: 272 seconds]
cyrozap has joined #openwrt-devel
cyrozap has quit [Ping timeout: 260 seconds]
dorf has quit [Remote host closed the connection]
dorf has joined #openwrt-devel
cyrozap has joined #openwrt-devel
nitroshift has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
Devastator has quit [Ping timeout: 264 seconds]
gch9812138860 has quit [Read error: Connection reset by peer]
gch9812138860 has joined #openwrt-devel
Darkmatter66 has quit [Ping timeout: 246 seconds]
gch9812138860 has quit [Read error: Connection reset by peer]
gch98121388603 has joined #openwrt-devel
Devastator has joined #openwrt-devel
wvdakker has joined #openwrt-devel
Ycarus has joined #openwrt-devel
<nitroshift>
nbd, ping
rsalvaterra1 has quit [Quit: Leaving.]
rsalvaterra has joined #openwrt-devel
ivanich has joined #openwrt-devel
Darkmatter66 has joined #openwrt-devel
jas4711 has joined #openwrt-devel
dorf has quit [Remote host closed the connection]
dorf has joined #openwrt-devel
cepxuo has quit [Quit: Idle for 30+ days]
PaulFertser has quit [Read error: Connection reset by peer]
PaulFertser has joined #openwrt-devel
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
black_ant has joined #openwrt-devel
Nick_Lowe has joined #openwrt-devel
victhor has joined #openwrt-devel
dedeckeh has quit [Remote host closed the connection]
ByteEnable has quit [Quit: Leaving]
<rsalvaterra>
Guys, quick/stupid question… Does anyone know if it's possible to do persuade u-boot to dump the flash through the serial port…? Not asking for a friend. :P
dedeckeh has joined #openwrt-devel
<rsalvaterra>
*possible to persuade
DRK has joined #openwrt-devel
DRK has quit [Remote host closed the connection]
<rsalvaterra>
Of course, dumping 128 MiB at 115200 bps is going to be "fun"…
<rsalvaterra>
The idea is to replace a dead NAND with a good one. Now, I have a good flash which I can dump…
<rsalvaterra>
… but maybe I can get by just dumping a couple of partitions…? Like the bootloader and system-reserved stuff…?
<rsalvaterra>
As long as the partition table (how is raw NAND even partitioned…?) is also copied, or defined elsewhere…
<rsalvaterra>
… if the bootloader and system-reserved stuff is there, a normal TFTP recovery should do the trick.
<nitroshift>
rsalvaterra, best bet is to get a hardware nand reader/writer
<nitroshift>
it only costs ~3 USD
<rsalvaterra>
nitroshift: I'd still have to desolder the chip, no? :/
<nitroshift>
rsalvaterra, not necessarily
<nitroshift>
mine came with various clamps
<nitroshift>
rsalvaterra, you said you had a turris afaicr?
<PaulFertser>
nitroshift: hm, what NAND IC package do you have in mind?
<PaulFertser>
How do you clamp on it?
dangole has joined #openwrt-devel
<nitroshift>
PaulFertser, you might be onto something here... my device is a bios / spi flasher
<nitroshift>
*not* nand
<rsalvaterra>
nitroshift: I have lots of devices… This is a Redmi AC2100.
<rsalvaterra>
Hi, dangole! :)
<nitroshift>
PaulFertser, just got it out from the drawer
* nitroshift
's memory started going after rsalvaterra's nand chip
<PaulFertser>
nitroshift: spi nor comes in SO8/SO16 so yes, much easier with them.
<nitroshift>
PaulFertser, exactly
<rsalvaterra>
I wish it were SPI-NOR… :P
dorf has quit [Remote host closed the connection]
<rsalvaterra>
This is a TSOP48.
<dangole>
rsalvaterra: morning :)
dorf has joined #openwrt-devel
dedeckeh has quit [Remote host closed the connection]
jas4711 has quit [Ping timeout: 260 seconds]
muhaha has joined #openwrt-devel
dopje_ has joined #openwrt-devel
dopje has quit [Ping timeout: 240 seconds]
<karlp>
nitroshift: got a link to a ~3USD version, that comes with clamps? that seems optimistic pricing wise, but if you've got one that cheap, sure, I'll get one too :)
<nitroshift>
karlp, i got iy from a store in y country
<nitroshift>
*y = in
<nitroshift>
grr\
<nitroshift>
*y = my
<nbd>
nitroshift: pong
<nitroshift>
nbd, thanks for your work on 5.10
<nbd>
you're welcome
rsalvaterra has quit [Ping timeout: 256 seconds]
<nbd>
i'm currently working on flow offload support
<nitroshift>
i got it running on my wrt3200acm's
<nbd>
i will push 5.10 to master once we have a release branch
<nitroshift>
nbd, nice
rsalvaterra has joined #openwrt-devel
<nitroshift>
nbd, for mvebu target the patches are the same as the ones i sent you
<nitroshift>
minus patch 411
<nitroshift>
pci-e collision issue has been fixed upstream
zjason has joined #openwrt-devel
zjason has quit [Client Quit]
zjason has joined #openwrt-devel
zjason has quit [Read error: Connection reset by peer]
<karlp>
wonn't do for nand anyway, and getting one of them, and a clip for ~$3 still sounds super creative pricing :)
zjason has joined #openwrt-devel
<nitroshift>
karlp, it *may* sound, that's what i payed
<nitroshift>
store went out of business, clearance sale
<karlp>
ok. great advice then. "get this thing, it will solve your problem, only costs $3, just as long as you can find a firesale somewhere"
<PaulFertser>
karlp: I got a SO8 clamp for like a buck, and I already had enough ftdi devices supported by flashrom. Jlink works too. And raspberrypi.
<PaulFertser>
Those ch341a programmers are shitty: slow and work with Vcc = 3.3 V only. So any proper JTAG adapter should be better.
dorf has quit [Remote host closed the connection]
<Namidairo>
some boards just have an unpopulated pad for spi flash and then you stick a resistor in as well to pull down the boot select pin
<Namidairo>
not that board, but some do...
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nick_Lowe has joined #openwrt-devel
muhaha has quit [Quit: Connection closed]
<Nick_Lowe>
Guys, can i suggest consideration to move the x86 (32-bit) build to -march i686 and -mtune i686 and cease x86/legacy, x86/geode in to x86/generic (dropping two)
<Nick_Lowe>
The Geode is an i686 processor (it just doesn't have NOPL - a bug in binutils/gas is decade long fixed where this instruction was incorrectly generated)
<Nick_Lowe>
Most specifically, I cannot see it makes any sense to have a Geode target when -march i686 and -mtune i686 could be used on Generic instead
<Nick_Lowe>
Also, for packages, I am not sure it makes sense to build both an i386_pentium4 and also an i386_pentium-mmx when this could I think be a single i386_i686
<dangole>
Nick Lowe: there are some embedded x86 platforms which are not i686 (ie. not fully PentiumPro/Pentium II compatible). admittedly, those are mostly historic platforms (via EPIA and such). however, OpenWrt is by now kinda the only option for having a useful out-of-the-box OS on those at all...
<dangole>
generally I believe supporting the lowest-end x86 devices the kernel can support is worth it because there are tons (ok, wrong unit given the weight of each of them...) of those machines still alive, many in places where you can't easily grab something better off the shelf
black_ant has quit [Quit: simplicity does not kill]
<Borromini>
jow: was wondering if we can use https://git.openwrt.org/?p=openwrt/staging/jow.git;a=commitdiff;h=c67a97c7317d1f28b0ace76b821f79d9f7ff9f4e since it got reverted from master, but it's in your tree?
<Borromini>
might need to tinker with vlans on my mt7621 devices.
black_ant has joined #openwrt-devel
black_ant has joined #openwrt-devel
adrianschmutzler has joined #openwrt-devel
tmn505 has quit [Quit: leaving]
tmn505 has joined #openwrt-devel
<nbd>
Borromini: there is no need for dsaconfig anymore. netifd has bridge vlan support
<Borromini>
nbd: cool, so i'm fine with current master?
<nbd>
yes
<Borromini>
ok :)
<Borromini>
i take it i don't need ip-bridge or ip-full either anymore? since dsaconfig relied on those.
rsalvaterra1 has quit [Ping timeout: 256 seconds]
rsalvaterra has joined #openwrt-devel
<nbd>
right. netifd uses netlink directly
rsalvaterra1 has joined #openwrt-devel
<nbd>
ip-bridge might be useful if you want to check the status
<nbd>
but it's not needed for configuration
rsalvaterra has quit [Ping timeout: 246 seconds]
<Borromini>
cool, thanks.
valku has joined #openwrt-devel
rsalvaterra1 has quit [Quit: Leaving.]
rsalvaterra has joined #openwrt-devel
nitroshift has quit [Quit: Gone that way --->]
linzst has joined #openwrt-devel
Nick_Lowe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nick_Lowe has joined #openwrt-devel
<Nick_Lowe>
dangole Hmm, as far as compatibility impact of compiling for i686, which need to be understood and digested:
<Nick_Lowe>
VIA Edens based on the 'Samuel 2' design do not support CMOV or NOPL. (These would break.)
<Nick_Lowe>
All VIA Edens based on the 'Nehemiah' design support CMOV but not NOPL. (Introduced in 2003. These would not break.)
<Nick_Lowe>
Via C3s based on the 'Samuel 2'or 'Ezra'/'Ezra-T' design do not support CMOV or NOPL. (These would break.)
<Nick_Lowe>
All C3s based on the 'Nehemiah' design support CMOV but not NOPL. (Introduced in 2003. These would not break.)
<Nick_Lowe>
National Semi's GXm, GXLV and GX1 do not support CMOV or NOPL. (These would break.)
<Nick_Lowe>
All Geodes since and including National Semi's GX2 support CMOV but not NOPL. (Introduced in 2002. These would not break.)
<Nick_Lowe>
The AMD branded Geodes (GX and LX) support CMOV but not NOPL. (These would not break.)
<Nick_Lowe>
The Cyrix 6x86 processors do not support CMOV or NOPL. (These would break.)
<Nick_Lowe>
The Cyrix 8x86MX / Cyrix MII do support CMOV but not NOPL. (These would not break.)
<Nick_Lowe>
The AMD K6 and K6-2 do not support CMOV or NOPL. (These would break.)
<Nick_Lowe>
So, based on this, I suggest dropping the Geode build as pointless and move to an i586 and i686 build
<DonkeyHotei>
does presence of lack of NOPL affect anything?
<Nick_Lowe>
No, there was a historic binutils/gas bug where it would generate NOPL for i686 but that was fixed a decade agio
<Nick_Lowe>
*decade ago
<Nick_Lowe>
That's the historic root cause for why people didn't previously build for i686 for these - but it is no longer relevant today
<Nick_Lowe>
There's some good background in that comment
nast has quit [Remote host closed the connection]
<Nick_Lowe>
It would not be possible to go higher than i686 certainly - My conclusion is that it appears this is historical legacy in OpenWRT that there is a Geode specific build when it's no longer needed and a move to an i586 and an i686 build would make more sense
<Nick_Lowe>
NOPL is not standard i686, it was undocumented and has just been de facto supported since the Pentium Pro which is how the binutil/gas bug snuck in.
dedeckeh has joined #openwrt-devel
<DonkeyHotei>
is there a variant for which binutils/gas still generate NOPL?
Borromini has quit [Quit: leaving]
<Nick_Lowe>
Not if you choose -march i686
<Nick_Lowe>
If you pick for a a pentium something, then yes it can
<DonkeyHotei>
right, but those builds have already been removed previously
<DonkeyHotei>
out of the variants you mentioned as not supporting CMOV either, do any support bswap or cmpxchg/xadd?
<Nick_Lowe>
Yes they all do
<DonkeyHotei>
then relegating them all to i586 is not the best option
<Nick_Lowe>
They're 486 instructions and 586 is a superset?
<Nick_Lowe>
As such, targeting for i586 would be expected to generate these I would hope...
<DonkeyHotei>
the bugzilla link you pasted says that binutils/gas generate them for i686
<Nick_Lowe>
I think that was in the context of compiling for i386 otherwise
<DonkeyHotei>
hmm
<Nick_Lowe>
You need i486 to to get bswap and cmpxchg/xadd
* enyc
recalls installing 486-in-386-socket upgrade chips into a certain Apricot 386 =)
<DonkeyHotei>
dwmw2_gone: when you can answer, do you still plan to extend openconnect to integrate vpnc functionality?
MatMaul has quit [Quit: Idle for 30+ days]
zkrx has quit [Quit: I'm done]
dangole has quit [Remote host closed the connection]