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
<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>
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
<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>
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.