minimal has joined #openwrt-devel
<StereoRocker> Label MAC address on FAP221B is stored as text, but without colons. To get running I've made a new function in base-files/files/lib/functions/system.sh that does the same as mtd_get_mac_text() but with 12 characters instead of 17. What would be preferred to maintain sanity in the tree; new function, or modify mtd_get_mac_text to accept a parameter that makes it do a shorter read? Or perhaps have I missed another function that would do what
<StereoRocker> I'm looking for anyway?
StereoRocker has quit [Quit: Leaving]
danitool has quit [Remote host closed the connection]
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
csrf has quit [Ping timeout: 480 seconds]
<jayk> /win 2
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schwicht has joined #openwrt-devel
SlimeyX_ has joined #openwrt-devel
SlimeyX has quit [Ping timeout: 480 seconds]
SlimeyX_ is now known as SlimeyX
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
minimal has quit [Quit: Leaving]
dangole_ has quit [Ping timeout: 480 seconds]
tomn has quit [Remote host closed the connection]
tomn has joined #openwrt-devel
madwoota- has joined #openwrt-devel
madwoota has quit [Ping timeout: 480 seconds]
madwoota- is now known as madwoota
csrf has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
srslypascal has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
floof58 is now known as Guest440
floof58 has joined #openwrt-devel
Guest440 has quit [Ping timeout: 480 seconds]
torv is now known as Guest442
torv has joined #openwrt-devel
Guest442 has quit [Ping timeout: 480 seconds]
philipp64 has quit [Quit: philipp64]
torv is now known as Guest445
torv has joined #openwrt-devel
Guest445 has quit [Remote host closed the connection]
philipp64 has joined #openwrt-devel
<Znevna> hello, can anyone chip in to make this into an option like we have for ath10k / ath10k-ct ? https://github.com/openwrt/openwrt/pull/11601/files#diff-5c604c6d1ee7a8a1830c2c1bb5e67e70324db4352c4c2bc402e09910df06f3be
<Znevna> I've added this into the Makefile, https://paste.debian.net/plainh/22c7fe3a but I don't know how to make it appear as an option x.x
slingamn_ is now known as slingamn
<owrt-snap-builds> Build [#746](https://buildbot.openwrt.org/master/images/#builders/32/builds/746) of `omap/generic` completed successfully.
srslypascal is now known as Guest450
csrf has quit [Read error: Connection reset by peer]
csrf has joined #openwrt-devel
srslypascal has joined #openwrt-devel
srslypascal has joined #openwrt-devel
Guest450 has quit [Ping timeout: 480 seconds]
srslypascal has quit [Quit: Leaving]
srslypascal has joined #openwrt-devel
<neggles> nkko: ah, if you're going to desolder it then you can use a T48 :P but the T56 is more capable overall
<neggles> they're definitely not garbage, they've been around for ages and are quite well-respected all things considered
<nkko> hmm, T48 also has emmc support
<nkko> yeah, the T56 must just have the 56 pin socket with a faster microcontroller?
<neggles> it has an FPGA
<neggles> hence the massive price difference
<nkko> ah
<neggles> I believe the T48 is a GigaDevice chip that's a Not-A-Clone of an STM32F4 series chip
<neggles> it's the third generation of the TL866 series
<nkko> I might as well just get the T56 if I come across a 56-pin chip
<nkko> *in case I
<neggles> tbh knowing what I know now
<neggles> I'd have just bought the T56 probably
<neggles> T48's name is a bit of a misnomer. it's only got a 40 pin socket, T56 only has a 48P
<neggles> but there's adapters for 56-pin; 56P parallel NOR has a significant number of dead/optional pins
<nkko> huh, 48 pins? hmm
<neggles> most of the chips can run with a 16-bit-wide data bus, but they all support 8-bit, so programmers just run in that mode
<nkko> listing says 56 pins
<neggles> it supports 56-pin chips via adapters https://lounge.neggl.es/uploads/4766ad5419d46f40/AD_T48_E3..jpg
<neggles> but that's from the vendor ^
<neggles> the T48 supports 56p parallel NOR also
<neggles> you just can't use a straight-through adapter
<nkko> ah, well, I bought two of those adaptors, so I better just get the T56
<neggles> yeah, I messaged their aliexpress store & the rep said they have an FFC adapter for 48p NAND in production, but they don't think it'll be available till after new year
<neggles> so far I've been able to get away with just using JTAG to mess with parallel NOR, thankfully
<neggles> it's also veeeeeery uncommon on modern things. very thankful that most stuff is SPI NOR/NAND and/or eMMC now. still too much parallel NAND in broadcom town, but them's the breaks
<PaulFertser> neggles: how do you use that T56, I mean I didn't see any software for GNU/Linux host that supports it?
<neggles> I have a T48 and I just use the windows software
<neggles> most of the time I'm using flashrom with a ch341a thing or a vserprog'd XTW100
<PaulFertser> So they do not even publish the USB protocol specs? Nasty, such a company shouldn't be supported :/
<neggles> but I went poking around inside the T48 software and didn't find anything sus, checked network traffic and all it does is ping a url at startup which responds with the latest version
<nkko> well, it doesn't matter to me
<neggles> I don't think it would be super useful even if they did
<PaulFertser> Parallel NOR is relatively easy when you have JTAG as it's just sitting there on the bus and supports CFI commands.
<neggles> it seems like most of the code is downloaded into ram at runtime depending on what you're accessing
<neggles> and yeah, ideally i'd use something less locked up / proprietary, but you can add chip definitions in the software yourself, it's not doing anything malicious as far as I can see, none of the code's really obfuscated; my main complaint is that T48 has little "DRM chips" on some of the adapters - T56 does not, however
<neggles> but they charge completely reasonable prices for the adapters in question, and it's only for the eMMC and parallel NAND/NOR really
<nkko> I don't like the idea of vendor lock-ins, so T56 ftw
<neggles> yeah totally fair
<nkko> I remember getting burned on HP H/W RAID controllers
<neggles> I got a T48 with all the adapters I could conceivably need (except for 360clip FFC but those are coming) for about the price of a bare T56 unit, so i'm not really complaining
<neggles> it was a much better deal than the #@$%@ing FlashcatUSB XPort
<neggles> which claims to support SPI NAND, but what they *don't* mention is that the *read* speed is 17KB/sec.
<neggles> yes. 17.
<neggles> it took *four hours* to dump a 1Gbit SPI NAND
<neggles> it also can't read parallel NAND over 2Gbit *sigh*
AtomiclyCursed has quit [Quit: ZNC 1.8.2 - https://znc.in]
AtomiclyCursed has joined #openwrt-devel
AtomiclyCursed has quit []
AtomiclyCursed has joined #openwrt-devel
AtomiclyCursed has quit []
AtomiclyCursed has joined #openwrt-devel
danitool has joined #openwrt-devel
csrf has quit [Ping timeout: 480 seconds]
KGB-2 has quit [Remote host closed the connection]
StereoRocker has joined #openwrt-devel
KGB-2 has joined #openwrt-devel
GNUmoon2 has quit [Remote host closed the connection]
GNUmoon2 has joined #openwrt-devel
robimarko has joined #openwrt-devel
Borromini has joined #openwrt-devel
<owrt-snap-builds> Build [#741](https://buildbot.openwrt.org/master/images/#builders/62/builds/741) of `tegra/generic` completed successfully.
dangole_ has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
dangole_ has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
valku has joined #openwrt-devel
schwicht has joined #openwrt-devel
gromero__ has quit [Quit: Leaving]
SlimeyX has quit [Write error: connection closed]
SlimeyX has joined #openwrt-devel
SlimeyX_ has joined #openwrt-devel
yolo has quit [Remote host closed the connection]
SlimeyX__ has joined #openwrt-devel
SlimeyX has quit [Ping timeout: 480 seconds]
SlimeyX__ is now known as SlimeyX
SlimeyX_ has quit [Ping timeout: 480 seconds]
yolo has joined #openwrt-devel
mkennedy has quit [Quit: WeeChat 3.5]
SlimeyX_ has joined #openwrt-devel
SlimeyX has quit [Ping timeout: 480 seconds]
SlimeyX__ has joined #openwrt-devel
SlimeyX__ is now known as SlimeyX
SlimeyX_ has quit [Ping timeout: 480 seconds]
valku has quit [Quit: valku]
valku has joined #openwrt-devel
valku has quit []
Borromini has joined #openwrt-devel
philipp64 is now known as Guest476
philipp64 has joined #openwrt-devel
Guest476 has quit [Ping timeout: 480 seconds]
philipp64 is now known as Guest477
philipp64 has joined #openwrt-devel
AtomiclyCursed has quit [Quit: ZNC 1.8.2 - https://znc.in]
AtomiclyCursed has joined #openwrt-devel
Guest477 has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
csrf has joined #openwrt-devel
matoro_ has quit []
SlimeyX has quit [Read error: Connection reset by peer]
csrf has quit [Ping timeout: 480 seconds]
schwicht_ has joined #openwrt-devel
schwicht has quit [Read error: Connection reset by peer]
SlimeyX has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
csrf has joined #openwrt-devel
Borromini has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
robimarko has quit [Quit: Leaving]
<mrkiko> Anyone of you having experience with an Intel NUC? I would need to boot it from USB but without the screen, so without interacting with the BIOS. Google turns up no useful results so far
<minimal> mrkiko: you'd need a display and keyboard to set up the BIOS/UEFI initially though wouldn't you? Also I think some NUC's might not boot without a display (or is it older Mac Minis I'm thinking of?) where you can get dongles to plug into HDMI/DVI to pretend there is a display attached
<karlp> aiyion: can't sunxi just use a default mac based on the SID in the chip itself instead of looking for one from the sd card or emmc?
<karlp> that's what uboot does iirc?
<slh> mrkiko: it mostly depends on how the UEFI boot order is set up - and that's kind of unspecified, as it's both configurable from the 'BIOS', as well as efibootmgr/ bcdedit and friends, which are commonly used to modify the respective UEFI variables determining boot entries and their order
<slh> the only thing that might work, is at least connecting a (USB-) keyboard temporarily, to override this 'unknown' default and test the various boot overrides one by one, until it boots from the expected medium (and then using efibootmgr to make that permanent)
<Habbie> speaking of dongles, a friend needed to fake a VGA display last week and did it with a few resistors instead of buying a dongle; i understand the same trick may work for DVI and even HDMI
<slh> I seriously hope that old bug with mainboards not booting in UEFI mode if no monitor is attached to be a thing of the past (I'm seeing it on a 2013 vintage ASRock Q1900DC-ITX myself, but fortunately not any other of my systems - and even that ASRock board ignores the issue with CSM being enabled for display initialization)
<aiyion> karlp: I think you are right. A friend of mine suggested it on christmas eve I think.
<slh> yes, that's what those dongles do - just a connector with one- or two resistors
<slh> fooling the screen present detection (only very high-end ones fake the i2c connections for full display detection)
<mrkiko> slh: thanks
<mrkiko> and thanks to all
<mrkiko> slh: yes, the problem is - I tried ESC key but seems to not work
<mrkiko> I'll have to reach for a display
<slh> mrkiko: it's usually F10, F11 or F12
<slh> depending on the vendor (should be specified in the manual)
<karlp> aiyion: I mean, code to generate from sd/mmc is interesting and all, but it just seems unnecessary
<aiyion> full ack. I learnt about it too late.
<aiyion> I'll hand in the revised patch tomorrow or so.
<mrkiko> slh: yeah, but trying it out this way is risky - I wouldn't like to change a bios option without knowing
<mrkiko> but ok, I'll wait until I can do this...
<slh> ...and then there are the faulty UEFI implementations, ASRock (H77 Pro4-M) again, which forget their boot order on BIOS updates or empty CMOS batteries, which play silent brick if just the CMOS battery empty or where just booting windows once will reset the configured UEFI boot order to windows every time...
<slh> mrkiko: google suggests F10 to open the boot menu
<slh> How to boot from USB NUC?
<slh> Insert the USB flash drive in the NUC. Start the NUC and push F10 to enter the boot menu. Select the USB flash drive as a boot option.
<slh> if you can get some kind of desktop linux booted, efibootmgr is rather easy to use - bcdedit on windows is more an act of masochism
<minimal> slh: you don't necessarily need efibootmgr if the bootable image setup up the EFI fallback boot name ESP/BOOT/BOOTX64.EFI
<minimal> that's assuming it tried to boot off a device in the 1st place
<slh> minimal: I'm aware of that, but I assume that the system in question was previously configured for some other installed OS (at least windows) - and the removable media path is ignored in the presence of a differently configured UEFI boot order
<slh> so you either need to override it while booting, from the boot menu (F10 in this case) - or change the boot order permanently with a tool /like/ efibootmgr
<slh> and I just assume that efibootmgr is easiest to use with a screen reader
<slh> at least bcdedit is not user friendly at all (the GUID based approach alone is already hostile, but its user interface is pretty bad even assuming normal usage)
<slh> and I wouldn't expect the in-BIOS selection to be forthcoming to a screenreader
<minimal> slh: that all assumes its not a machine that won't boot at all if it can't get EDID info from a display
<slh> correct
<slh> but I sincerely hope that this kind of brokeness is in the past, now
<slh> but BIOS/ UEFI implementations being on crack isn't uncommon, News at 11
<minimal> slh: I would'nt necessarily call that "brokeness" but rather a "strange requirement decided upon by the vendor"
<slh> sorry, but I can't find any excuse for that kind of behaviour - systems are used headless, might not be the most common usage for desktop centric systems, but it's not strange either
<slh> even more so small form factor devices
<mrkiko> infact I tried f10 but ... who knows. I'll reach for a screen. Little bit annoying... but that's how it goes
<slh> f10, followed by cursor down (unspecified amount of times) and space or enter, I'd venture - but, unless you know the system, hard to guess without a monitor attached
<mrkiko> howeever, an HDMI to braille "converter" would be so usefultriny :D
<slh> I wonder if things like google lense might do part of the job
<slh> it wouldn't be that far away from their current feature set
philipp64 has quit [Ping timeout: 480 seconds]