Tapper has quit [Quit: Tapper]
Luke-Jr has joined #openwrt-devel
kenny has quit [Ping timeout: 480 seconds]
dangole has quit [Quit: Leaving]
minimal has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
mangix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mangix has joined #openwrt-devel
philipp64 has quit [Quit: philipp64]
rsalvaterra has quit [Quit: No Ping reply in 180 seconds.]
rsalvaterra has joined #openwrt-devel
Ansuel has quit [Quit: Probably my PC crashed or time to sleep.]
rua has quit [Remote host closed the connection]
kopijahe has joined #openwrt-devel
<kopijahe> .Hi, I'm trying to port openwrt to a new device. Bolt Arion PL100 running on mt7621
<kopijahe> I get it booting alright
<kopijahe> but the lan interface won't show up unless I added it manually to /etc/config/network
<kopijahe> and restart the network service
<kopijahe> what should I do?
<kopijahe> If I try to boot it with precompiled openwrt for xiaomi 4a gigabit, it will boot and the lan interface will automatically brought up
<kopijahe> (All openwrt booting is done via initramfs-kernel images)
norris has quit [Read error: Connection reset by peer]
hubvu has quit [Remote host closed the connection]
dvn has quit [Quit: bye]
norris has joined #openwrt-devel
hanetzer has quit [Remote host closed the connection]
hubvu has joined #openwrt-devel
hanetzer has joined #openwrt-devel
dvn has joined #openwrt-devel
<ynezz> kopijahe: sound like you're missing some change in target/linux/ramips/mt7621/base-files/etc/board.d/02_network, so I would simply study output of `git log -p target/linux/ramips/mt7621/base-files/etc/board.d/02_network`
<kopijahe> ok, will try to check that out, thanks @ynezz
<kopijahe> ynezz: Ah, yes, I forgot to omit "1" from "lan1"in my dts (I based it from gl-mt1300 and xiaomi 4a gigabit), I've already made the necesarry changes to the 02_network file...
<kopijahe> Also, this board have RTL8211FD that I reckon used for LTE module (on the back of the PCB), do I need to add some kernel module to activate that? top PCB: https://i.imgur.com/O9JZVxx.png
<kopijahe> This router is from the now defunct BOLT. it has nice chipset for just ~6 USD.
valku has quit [Quit: valku]
rua has joined #openwrt-devel
kopijahe has quit [Remote host closed the connection]
<ynezz> RTL8211FD seems to be gigabit ethernet phy
gladiac has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
Misanthropos has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Borromini has joined #openwrt-devel
ecloud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ecloud has joined #openwrt-devel
danitool has joined #openwrt-devel
svanheule_ has joined #openwrt-devel
svanheule_ has quit [Quit: svanheule_]
rua has quit [Quit: Leaving.]
svanheule_ has joined #openwrt-devel
svanheule has quit [Ping timeout: 480 seconds]
svanheule_ has quit [Quit: svanheule_]
svanheule has joined #openwrt-devel
rua has joined #openwrt-devel
ecloud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
svanheule has quit []
svanheule has joined #openwrt-devel
kopijahe has joined #openwrt-devel
ecloud has joined #openwrt-devel
ecloud has quit []
<kopijahe> Hi, my porting journey continues. After successfully brought up lan after first boot, I faced with another problem. Whenever my wlan is initialized, the router will crash and all the LEDs is turned off. Any ideas?
danitool has quit [Read error: Connection reset by peer]
<kopijahe> Ok, looks like I got it. I based my dts on xiaomi 4a gigabit and gl-mt1300. And the wifi part is from xiaomi.
<kopijahe> And looks like my device pcie numbering is different from xiaomi's
<kopijahe> I likely just have to swap the pcie0 <-> pcie1 part
ecloud has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
<neggles> kopijahe: generally your best bet is to extract the original firmware's DTB file, convert it to a DTS with dtc, and use that as a reference
dangole has joined #openwrt-devel
<kopijahe> neggles: Already tried some dtb extractor, but to no avail.
<neggles> kopijahe: have you dumped the contents of that SPI NOR bootloader flash?
<kopijahe> neggles: yes I did
<neggles> and `binwalk` doesn't find a devicetree blob in it?
<kopijahe> binwalk cannot fully extract the dump
<kopijahe> it's some form of ancient mediatek sdk firmware
<neggles> kopijahe: would you mind uploading the flash dump somewhere?
<kopijahe> ok, wait a sec
<neggles> no problem :)
<neggles> 32MiB flash chip eh? fancy
<kopijahe> ikr?
<kopijahe> There's also cat6 LTE modem on the backside of the PCB
<kopijahe> But I won't be bothered to activate it right now because of it's limited frequency (LTE 2300 MHz only)
<neggles> this is running, 2.6.36
<neggles> that's
<neggles> that's a yikes from me
<kopijahe> ¯\_(ツ)_/¯
<neggles> so there's no dtb because the kernel in use here vastly predates devicetree
<kopijahe> This is all the info that I got from the device: https://gist.github.com/kopijahe/736b0646a2eaf95539df084a22a0da33
<kopijahe> Looks like the device is no longer crashing after changing the pcieX value
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
<neggles> kopijahe: heheheh, so there's an FTP server they use for OTA firmware updates, and the hostname / login details / etc are in cleartext in the `config` partition...
<kopijahe> The company is now defunct, so no need to worry about that.
<neggles> the company may be defunct
<neggles> but the server's still online :D
<kopijahe> O.o
<neggles> probably because it's hosted by the ODM
<neggles> cloud.pesi.com.tw
ecloud has quit [Ping timeout: 480 seconds]
<neggles> darn, the newest FW is a much newer kernel but still no devicetree
<Namidairo> O_o
<kopijahe> neggles: would you mind share the latest fw link?
<dangole> kopijahe: looks like a pretty standard mt7621 board, i'd start with copying mt7621_mediatek_mt7621-eval-board.dts and then add what ever else is needed (location wifi eeprom and eth mac address, pinctrl, leds, button(s), gpio to power/reset/... 3g/4g modem)
<kopijahe> It supposed to remove all SIM lock for this device, released before the company went defunct
<neggles> kopijahe: ftp://BOLT-PL100-PHY2PHY:[bolt]_[td-cpe]_PL100-PHY@cloud.pesi.com.tw/BOLT-TD-CPE-PHY2PHY/BOLT_PL100_B014.tar.gz
<dangole> kopijahe: cat /sys/kernel/debug/gpio can also provide some insights (if debugfs is enabled, but i think it already existed back then in 2.6.x)
<kopijahe> dangole: I already got the mac addresses, leds, and buttons
<neggles> dangole: latest fw uses kernel 3.10.0
<kopijahe> the device is now running 21.02.2
ecloud has joined #openwrt-devel
<Namidairo> what kind of LTE modem did they slap on there
c0sm1cSlug_ has joined #openwrt-devel
<neggles> kopijahe: work on master, not on 21.02 - backporting can maybe happen later, but for initial support you need to be working with master :)
<Namidairo> "GDM7243"
<kopijahe> Namidairo: some kind of ngff-based module, but they soldered it to the PCB...
<kopijahe> neggles: I need to be able to install additional modules later in the line
<Namidairo> I don't suppose those LTE reception leds all have their own gpios
<neggles> kopijahe: ? not quite sure what you mean
<Namidairo> I think there's an ATA on there as well?
c0sm1cSlug has quit [Ping timeout: 480 seconds]
<neggles> Namidairo: they do
<kopijahe> neggles: If I run snapshot, and then I need to install something, I need to recompile openwrt, while if I run 21.02, I can download it from openwrt's server without recompile.
<kopijahe> Namidairo: they do
<neggles> kopijahe: userspace packages can be downloaded from the regular snapshot repositories, and if you build all kernel modules you can just copy them over - it's not super convenient, but it doesn't take very long, and you have to recompile the kernel every time you tweak the dts anyway ;)
<neggles> 21.02.2 also uses an older kernel and switch config layout etc - you'll have to change at least a few things between versions
<Namidairo> honestly looks like a bad dehumidifier
<kopijahe> Namidairo: well, can't unsee that now
<neggles> LTE module appears to be hooked up over USB, and is a huawei job
<kopijahe> but lsusb on stock firmware returns nothing
<kopijahe> with both built-in command or static busybox I transferred to it.
<kopijahe> there's a realtek 8211FD chip and a third transformer tho: https://i.imgur.com/O9JZVxx.png
<neggles> got a pic of the other side?
<kopijahe> wait a sec
<neggles> and oh dear lord, i take it back, it's not USB, it's UART and ethernet
* neggles screams
<kopijahe> neggles: looks like it, here's the pic: https://i.imgur.com/VSuszci.jpg
<kopijahe> mostly bare PCB, the soldered LTE module, LTE cable hooks and some SMD components
<Namidairo> I'm going to assume there's no driver for that skyworks ata chip
rsalvaterra_ has joined #openwrt-devel
rsalvaterra_ is now known as rsalvaterra
<neggles> hmm might be a quectel or simcom or similar
<neggles> hard to tell from this modem fw file
<neggles> but it does look like it probably supports more than one band, since there's an AT command in the init script which tells it to disable all bands except 2300mhz
<tmn505> neggles: it's gctsemi
<neggles> ah, yep, fairo
<tmn505> wan't a link to engineering sample?
<neggles> keep forgetting about them even though i have one of their 8x4 B42/44 UE cards here
<neggles> sure
goliath has joined #openwrt-devel
<rsalvaterra> … and my Omnia is stuck in a boot loop. Fun. :P
* rsalvaterra hadn't flashed it in months.
<rsalvaterra> Too lazy to break out the serial connection now.
srslypascal is now known as Guest1959
srslypascal has joined #openwrt-devel
Guest1959 has quit [Ping timeout: 480 seconds]
Misanthropos has joined #openwrt-devel
valku has joined #openwrt-devel
<owrt-snap-builds> Build [#483](https://buildbot.openwrt.org/master/images/#builders/49/builds/483) of `mvebu/cortexa53` completed successfully.
Misanthropos has quit [Ping timeout: 480 seconds]
Ansuel has joined #openwrt-devel
Misanthropos has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 98.3% packages reproducible in our current test framework.)
mattytap_ has joined #openwrt-devel
mattytap has quit [Remote host closed the connection]
minimal has joined #openwrt-devel
Ansuel has quit [Read error: Connection reset by peer]
philipp64 has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
danitool has joined #openwrt-devel
clayface has quit [Ping timeout: 480 seconds]
clayface has joined #openwrt-devel
Ansuel has joined #openwrt-devel
<owrt-snap-builds> Build [#481](https://buildbot.openwrt.org/master/images/#builders/11/builds/481) of `sunxi/cortexa53` completed successfully.
<philipp64> dumb question, but... what would be required to add Wifi-6 certified location service to OpenWRT.
<philipp64> and would that happen in hostapd/wpad or where?
shibboleth has joined #openwrt-devel
Borromini has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
gladiac has quit [Quit: k thx bye]
<mangix> rsalvaterra: if running TurrisOS, just restore to prior snapshot
<mangix> On a somewhat related note, it's interesting that schnapps is written in sh
lmore377 has quit [Read error: Connection reset by peer]
lmore377 has joined #openwrt-devel
mangix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
shibboleth has quit [Quit: shibboleth]
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
Grommish has quit [Read error: Connection reset by peer]
srslypascal is now known as Guest1980
srslypascal has joined #openwrt-devel