<SpectreDev_01>
I'm confused on what number is what
f00b4r0 has quit [Ping timeout: 480 seconds]
<SpectreDev_01>
Quite an interesting error even tho I added the board file
<SpectreDev_01>
10.131186] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255 from ath11k/IPQ8074/hw2.0/board-2.bin [ 10.144604] ath11k c000000.wifi: failed to fetch board.bin from IPQ8074/hw2.0
<rmilecki>
nbd: i'd like to add helper for mt76 for migrating from "mediatek,mtd-eeprom" (deprecated) to the "nvmem-cells"
<SpectreDev_01>
Ah I figured that out
<SpectreDev_01>
Still confused on the numbers
goliath has joined #openwrt-devel
f00b4r0 has joined #openwrt-devel
aiyion has joined #openwrt-devel
<nbd>
rmilecki: what kind of helper?
<rmilecki>
nbd: dev_warn("Pleace replace "mediatek,mtd-eeprom" with "nvmem-cells")
<rmilecki>
i'm compiling mt76 to test my change
<rmilecki>
i'd like to add that small patch to the OpenWrt's package "patches/"
<rmilecki>
+ dev_warn() offsets of course so developer doesn't have to calculate that manually
<rmilecki>
[ 11.918524] mt7603e 0000:02:00.0: Use of DEPRECATED "mediatek,mtd-eeprom" DT property
<rmilecki>
[ 11.934141] mt7603e 0000:02:00.0: Add eeprom: eeprom@0 { reg = <0x0 0x400>; } to the /nand@1e003000/partitions/partition@2e00000
<rmilecki>
(it's after I noticed some new device DT adding deprecated binding)
<rmilecki>
(i mean I decided to work on helper after noticing that)
<nbd>
i don't see the point in adding logspam for this
<nbd>
especially since the DT property is so easy to grep for
<nbd>
wouldn't it be better to have a script that can auto-convert this?
<rmilecki>
nbd: i can't figure out how to handle size
<rmilecki>
the second reg = <> part
<rmilecki>
it depends on chipset
<rmilecki>
i don't think I can figure it out just by looking at DT
<nbd>
do we need this to be accurate? can't we just use a theoretical maximum?
<nbd>
i.e. for the first slot, limit it to the offset of the next slot
<nbd>
and limit the next slot to the firmware partition size
<nbd>
(assuming 2 devices)
<rmilecki>
i'd definitely prefer to be accurate
<rmilecki>
and don't cover empty space with NVMEM cell
<rmilecki>
so I'd like to stick to the MT76X0_EEPROM_SIZE / MT7603_EEPROM_SIZE / MT7615_EEPROM_FULL_SIZE / friends sizes
<nbd>
what's the advantage?
<nbd>
i just see a lot of manual churn spread out over months (or more) on one side just for the sake of being pedantically correct, vs simple automation and mass conversion which gets done much faster
<rmilecki>
cleanliness
<rmilecki>
some purists care about that stuff ;)
<nbd>
i'm all for cleanliness, but not above everything else
<rmilecki>
is there some tool for modifying DT files?
<rmilecki>
sth I could use instead of grep/sed/friends?
<SpectreDev_01>
Bus 001 Device 001: ID 1d6b:0002 Linux 6.1.51 xhci-hcd xHCI Host Controller
<SpectreDev_01>
Bus 002 Device 002: ID 0781:55ae SanDisk Extreme 55AE
<SpectreDev_01>
Bus 002 Device 001: ID 1d6b:0003 Linux 6.1.51 xhci-hcd xHCI Host Controller
<SpectreDev_01>
root@OpenWrt:~# cat /dev/s
<philipp64>
Anyone willing to help me configure an LTE/5G modem? I can't get it working (I have a EM120R-GL plugged in right now, but a RM520N-GL arriving shortly) I've tried using both 'qmi' protocol and 'modemmanager'... I seem to get further with 'qmi' but not to the point a call coming up and an IP address being assigned.
<SpectreDev_01>
[ 2.666190] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
<SpectreDev_01>
[ 3.771793] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
<SpectreDev_01>
root@OpenWrt:~# opkg list-installed | grep usb
<SpectreDev_01>
kmod-usb-core - 6.1.51-1
<SpectreDev_01>
kmod-usb-dwc3 - 6.1.51-1
<SpectreDev_01>
kmod-usb-dwc3-qcom - 6.1.51-1
<SpectreDev_01>
kmod-usb-xhci-hcd - 6.1.51-1
<SpectreDev_01>
kmod-usb3 - 6.1.51-1
<SpectreDev_01>
libusb-1.0-0 - 1.0.26-3
<SpectreDev_01>
usbutils - 014-1
<SpectreDev_01>
Ah crap totally forgot to use pastebin
<SpectreDev_01>
My apologies
<philipp64>
SpectreDev_01: please use pastebin.
<SpectreDev_01>
Yes I just forgot
<philipp64>
I'll post again since it might have gotten lost in the noise...
<philipp64>
Anyone willing to help me configure an LTE/5G modem? I can't get it working (I have a EM120R-GL plugged in right now, but a RM520N-GL arriving shortly) I've tried using both 'qmi' protocol and 'modemmanager'... I seem to get further with 'qmi' but not to the point a call coming up and an IP address being assigned.
<SpectreDev_01>
robimarko: could you please help me fix usb mounting so I can dump the devicetree folder
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
xes has quit [Remote host closed the connection]
<robimarko>
SpectreDev_01: For USB mass storage you need kmod-usb-storage-uas
<robimarko>
As well as the appropriate kmod for whatever FS you are using on it
gladiac has joined #openwrt-devel
gladiac has quit []
<SpectreDev_01>
Ok
tidalf has quit [Ping timeout: 480 seconds]
<SpectreDev_01>
robimarko: I couldn't compile it into DTS for some reason