danitool has quit [Remote host closed the connection]
danitool has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 99.1% packages reproducible in our current test framework.)
fakuivan has quit [Ping timeout: 480 seconds]
fakuivan has joined #openwrt-devel
danitool has quit [Remote host closed the connection]
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
<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> [ 11.957229] mt7603e 0000:02:00.0: and replace "mediatek,mtd-eeprom" with: nvmem-cells = <&eeprom>; nvmem-cell-names = "eeprom";
<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?
<nbd> with google i found this: https://pypi.org/project/pydevicetree/
<rmilecki> thanks
robimarko has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
<SpectreDev_01> robimarko: yeah Openwrt keeps mounting kernel and alt_kernel as rootfs and rootfs_1
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
<robimarko> Are you booting from initramfs or?
<SpectreDev_01> Initramfs
<SpectreDev_01> So I guess that's normal then
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_tegra.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
<robimarko> No, if you defined fixed partitions and they are not respected its not normal
<robimarko> Can you use DTC to dump the running DTS
<robimarko> Cause, QCA usually likes to patch the partitions in as well
<robimarko> Check AX3600 and AX9000 DTS
<SpectreDev_01> robimarko: so you want me to dump the DTS from Openwrt initramfs
<mrkiko> SpectreDev_01: you will be able to dump the dtb but I forget how; and then with dtc decompile dtb to dts, I guess
<SpectreDev_01> mrkiko: Or I could dump the devicetree folders, and then compile the dts
tidalf has quit [Remote host closed the connection]
<SpectreDev_01> robimarko: this is weird in fw_printenv (in Openwrt initramfs) it shows kernel and alt_kernel
tidalf has joined #openwrt-devel
<robimarko> Just use dtc tool to dump the DTS from /proc/device-tree
<robimarko> What you are showing is just in u-boot env
filimonic has quit [Read error: Connection reset by peer]
<SpectreDev_01> Ah
rua has quit [Quit: Leaving.]
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
schwicht has joined #openwrt-devel
rua has joined #openwrt-devel
minimal has joined #openwrt-devel
<Slimey> heh ever see a ipq806x based board ask for /EBICS0.BIN on boot?
<SpectreDev_01> No lol
<robimarko> Slimey: At which phase of boot?
<SpectreDev_01> hsl_phy_phydev_get[798]:ERROR:phy_addr 5 phydev is NULL
<SpectreDev_01> Why is this constantly spammed
<SpectreDev_01> robimarko: usb doesn't wanna mount
<SpectreDev_01> root@OpenWrt:~# opkg install usbutils
<SpectreDev_01> Installing usbutils (014-1) to root...
<SpectreDev_01> Installing libatomic1 (12.3.0-4) to root...
<SpectreDev_01> Installing libusb-1.0-0 (1.0.26-3) to root...
<SpectreDev_01> Installing libevdev (1.13.0-1) to root...
<SpectreDev_01> Installing libudev-zero (1.0.3-1) to root...
<SpectreDev_01> Configuring libevdev.
<SpectreDev_01> Configuring libatomic1.
<SpectreDev_01> Configuring libusb-1.0-0.
<SpectreDev_01> Configuring libudev-zero.
<SpectreDev_01> Configuring usbutils.
<SpectreDev_01> root@OpenWrt:~# lsusb
<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> root@OpenWrt:~# dmesg | grep "usb"
<SpectreDev_01> shm/ stderr stdin stdout switch_ssdk
<SpectreDev_01> [ 0.079995] usbcore: registered new interface driver usbfs
<SpectreDev_01> [ 0.080035] usbcore: registered new interface driver hub
<SpectreDev_01> [ 0.094315] qcom-qmp-usb-phy 78000.phy: supply vdda-phy not found, using dummy regulator
<SpectreDev_01> [ 0.080113] usbcore: registered new device driver usb
<SpectreDev_01> [ 0.094487] qcom-qmp-usb-phy 78000.phy: supply vdda-pll not found, using dummy regulator
<SpectreDev_01> [ 0.096286] qcom-qusb2-phy 79000.phy: supply vdd not found, using dummy regulator
<SpectreDev_01> [ 0.096463] qcom-qusb2-phy 79000.phy: supply vdda-pll not found, using dummy regulator
<SpectreDev_01> [ 0.096503] qcom-qusb2-phy 79000.phy: supply vdda-phy-dpdm not found, using dummy regulator
<SpectreDev_01> [ 0.096683] qcom-qusb2-phy 79000.phy: Registered Qcom-QUSB2 phy
<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
<SpectreDev_01> Here's a link to the dump
<robimarko> Did you specify -O dts?
<robimarko> And yeah, U-Boot patched the same partitions as stored in SMEM table into your DTS
<robimarko> So, use the same trick as AX3600 and AX9000 are using
<robimarko> philipp64: Does that model have dual-sim support?
<robimarko> I am working on RM520N-GL at work (Under QSDK, dont ask why) and it has dual SIM support so you have to select which one to use via AT
<robimarko> And yeah, it seems that it supports 2 slots.
<robimarko> You can try selecting the one you want with AT+QUIMSLOT=1 or AT+QUIMSLOT=2
<robimarko> AT+QUIMSLOT=? should return the active one
Mangix has quit [Read error: Connection reset by peer]
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #openwrt-devel
<philipp64> robimarko: I believe it does, yes.
<philipp64> uhh... +QUIMSLOT: (1,2)
<robimarko> Sorry, QUIMSLOT=? returns the list of supported slots
<robimarko> AT+QUIMSLOT? returns the selected one
Misanthropos has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
Misanthropos has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_kirkwood.html has been updated. (100.0% images and 99.8% packages reproducible in our current test framework.)
robimarko has quit [Remote host closed the connection]
xes has joined #openwrt-devel
philipp64 has quit [Ping timeout: 480 seconds]
philipp64 has joined #openwrt-devel
<philipp64> robimarko: that's what it was returning...
<philipp64> Now I'm seeing this after plugging in the RM520N-GL:
<philipp64> [ 16.051897] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
floof58 has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
xes has quit [Remote host closed the connection]
xes has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
SpectreDev_01 has quit [Quit: Connection closed for inactivity]