skynet2 has quit []
caskd has quit [Read error: Connection reset by peer]
caskd has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
Daanct12 has joined #openwrt-devel
xes__ has joined #openwrt-devel
danitool has quit [Remote host closed the connection]
MaZderMi1d has joined #openwrt-devel
minimal has quit [Quit: Leaving]
MaZderMind has quit [Ping timeout: 480 seconds]
sorinello has joined #openwrt-devel
sorinello has quit [Remote host closed the connection]
sorinello has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_mpc85xx.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
<KanjiMonster> there was an interesting patch posted yesterday that could help reduce the kernel size a bit: https://patchwork.kernel.org/project/linux-wireless/patch/20241009181339.0b1a6eaef573.Ia80b55e934bbfc45ce0df42a3233d34b35508046@changeid/
<owrt-images-builds> Build [#383](https://buildbot.openwrt.org/images/#/builders/115/builds/383) of `master_x86/64` failed.
<owrt-images-builds> Build [#400](https://buildbot.openwrt.org/images/#/builders/13/builds/400) of `master_lantiq/xrx200` failed.
hanetzer has joined #openwrt-devel
hanetzer1 has quit [Ping timeout: 480 seconds]
SlimeyX has quit [Ping timeout: 480 seconds]
SlimeyX has joined #openwrt-devel
Tapper has joined #openwrt-devel
trichard has joined #openwrt-devel
Borromini has joined #openwrt-devel
* russell-- has noticed that dnsmasq isn't logging dhcp leases to syslog ... wonders if there is a knob for that
Borromini has quit [Ping timeout: 480 seconds]
<russell--> hmm. that's weird. restarting log and dnsmasq and it starts logging
Svanto24 has joined #openwrt-devel
<Svanto24> hello, is this channel strictly for development of the openwrt Linux distribution or porting it to new devices as well?
<russell--> from a quick test, apparently if the log service is restarted, but dnsmasq is not restarted, dnsmasq logging gets lost
Tapper has quit [Ping timeout: 480 seconds]
robimarko has joined #openwrt-devel
<schmars[m]> Svanto24 porting is also fine
guidosarducci has joined #openwrt-devel
<Svanto24> schmars[m]: oh okay sweet! I'm currently trying to get a Huawei ap7050de on openwrt, which is an IPQ8068-based target. I posted the boot logs here 'm trying to figure out what to do next. Should I just flash stock openwrt and see if I am held back by the same 1.6s watchdog and PHY suspension, that von Rosenberg was with the AP5030DN, trial and error?
<Svanto24> oops, sent that prematurely sorry
<Svanto24> but yeah. it seems to have the same broadcom PHYs as the AP5030DN that is already supported but I cannot find any info on if there is a hardware watchdog or not.
<Svanto24> Let alone secure boot, worse yet efuse
<schmars[m]> u-boot is also very very stipped down
<schmars[m]> good luck i gotta go :-)
<schmars[m]> *stripped down
<Svanto24> OK bye!
<schmars[m]> you can try booting an initramfs image of a similar device with the `update` u-boot cmd
<schmars[m]> and see how far that gets you. i did the same yesterday for a mediatek device, but the internals were nearly 1:1 identical
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #openwrt-devel
<Svanto24> schmars[m]: similar as in same manufacturer or same target? also it has tftp if that helps
<schmars[m]> same target, same amount of ram, same number of ethernet ports, something like that, the closer the better. just try, sometimes that works decently
<schmars[m]> and see if that boots you can see if you can extract a device tree definition
<Svanto24> there isn't much of an equivalent but I can try to build an image. main issue is not blowing any hardware fuse that may or may not be present, like Cisco has.
<Svanto24> I think it also has this sort of two step bootloader?
n3ph has joined #openwrt-devel
trichard has quit [Remote host closed the connection]
<Svanto24> if it's bricked via hardware fuse, is it still possible to save it by desoldering NAND? or are hardware fuses an on-fie thing?
<robimarko> Its on the SoC die
n3ph has quit [Ping timeout: 480 seconds]
<Svanto24> robimarko: Thank you! Are these fuses present on the IPQ806x SoC?
<robimarko> All of the QCA ARM SoC-s have secure boot and thus fuses for it
<Svanto24> robimarko: Ah okay. So basically I have to sacrifice the device to test if secureboot is present or no?
<robimarko> Usually there is a command in U-Boot to check for state of secure boot
<KanjiMonster> Svanto24: do you have any links about these cisco devices bricking themselves?
Svanto24 has quit [Read error: Connection reset by peer]
Borromini has joined #openwrt-devel
<KanjiMonster> meh
Svanto24 has joined #openwrt-devel
<KanjiMonster> Svanto24: do you have any links about these cisco devices bricking themselves?
<KanjiMonster> thanks
<Svanto24> robimarko: I mighr be in the clear rhen... what does the secureboot command look like? Here's my Uboot output. Does one replace the original uboot when flashing OpenWRT? aging - aging cmd
<Svanto24> apmode - apmode {fit|fat|cloud}
<Svanto24> clear_emt- clear_emt: clear emt file
<Svanto24> clear_passwd- clear boot password
<Svanto24> defaultuser- use the default user(admin) or the custom user
<Svanto24> format_fs- file system format bit will be set
<Svanto24> h2f - setting the flag to decide whether to write the data in highmem to flash or not
<Svanto24> help - print command description/usage
<Svanto24> passwd - modify boot password following prompts
<Svanto24> pdinfo - show product information
Svanto24 has quit [Remote host closed the connection]
Svanto24 has joined #openwrt-devel
<Svanto24> pdmac - set MAC addresses of product
<Svanto24> ping - send ICMP ECHO_REQUEST to network host
<Svanto24> printenv- print environment variables
<Svanto24> reset - Perform RESET of the CPU
<Svanto24> run - run commands in an environment variable
<Svanto24> saveenv - save environment variables to persistent storage
<Svanto24> setenv - set environment variables
<Svanto24> update - update boot or system from tftp
<Svanto24> version - show boot and system version
<robimarko> Oh they modified it severely
<robimarko> Do you have the SBL log?
<robimarko> Though I think it only prints secure boot status on AX SoC-s
<Svanto24> I do yeah, no secureboot status in the log: https://forum.openwrt.org/t/ipq8068-support-for-huawei-ap7050de/212519/5
<robimarko> Not that, SBL is before U-Boot
<Svanto24> oh. This is the earliest log the device prints after power on
<robimarko> Then they disabled that (Ugh), sadly I am out of ideas
<Svanto24> that's okay, thank you. when flashing openwrt, do we keep the stock uboot?
<robimarko> No idea about your device, but usually yes
<Svanto24> I can probably just risk it. if I *do* brick it, would desoldering and resoldering the NAND circumvent secureboot issues due to blown fuses or do the fuses just kill the SoC altogether?
<KanjiMonster> why does the uboot prompt say "ar7240>"???
<Svanto24> good question. there's sort of a two console thing. if I interrupt the boot I go to the console with the prompt >ar7240. if I go all the way and long into the huawei serial interface the prompt says Huawei>
<Svanto24> *log
<\x> maybe the bootloader is in nor, not nand
<\x> atleast from that 4M + 128M setup
<\x> its likely soic8, look around
<Svanto24> \x: nor flash chip? I see, thank you. but how does that factor into porting the device?
<Svanto24> ohh I see, I need to map the flash storage eight?
<Svanto24> *right
goliath has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
n3ph has joined #openwrt-devel
<Svanto24> it doesn't look like von Rosenberg has changed the bootloader for the 5030dn, which has the same PHYs, instead using kernel patches...
<Svanto24> Also from his patch notes for that device: "The stock firmware has a semi dual boot concept where the primary kernel uses a squashfs as root partition and the secondary kernel uses an initramfs. This dual boot concept is circumvented on purpose to gain more flash space and since the stock firmware's flash layout isn't compatible with mtdsplit." That might be why I have two consoles, per
<Svanto24> previous question. This is probably so that the AP can switch between FIT/FAT/AP modes easily. "The external watchdog's timeout of 1.6s is very hard to satisfy during bootup." Idk wheter this watchdog is present. if it is, and I flash openwrt, will I screw myself or can I just go back to uboot?
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
Borromini has joined #openwrt-devel
torv has joined #openwrt-devel
Svanto24 has quit [Ping timeout: 480 seconds]
<russell--> is there a way of telling that a sysupgrade command is being executed (e.g. so i can program some hotplug scripts not to fire)?
<schmars[m]> doesnt literally everything non-essential get killed before sysupgrade really starts
Svanto24 has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
<Svanto24> \x: do you have any info on how I may be able to analyze the device's flash layout or how to flash openwrt for a 4M NOR + 128M NAND device?
<Svanto24> I don't think I ever had another device with such a setup
<Svanto24> it looks like there's a primary and secondary CPU in the bootlog too? god damn this is complex.
<\x> Svanto24: you can check on how R619AC is implemented
skynet2 has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
<Svanto24> \x: I'll try to look if I can see some info on where the uboot is and how everything is partitioned. Thanks!
<Svanto24> technically I shouldn't be touching anything in the 4mb NOR right? maybe that's the point, prevent corruption by limiting the flashable portion to the NAND. We will see. Hopefully there's no secureboot shenanigans to blow my fuses, or I'll be back to ask if replacing the NOR can fix that
<\x> yup
<Svanto24> let's try to just slip in stock openwrt through the tftp interface and see what happens then.
<Svanto24> I do have a suspicion I may run into trouble dealing with the heavily modified uboot but I'll cross that river when I get there.
<Svanto24> as it probably loads different setups based in the mode it is running in.
<Svanto24> but so does the 5030dn and it looks like von Rosenberg dealt with that somehow.
trichard has joined #openwrt-devel
<Svanto24> Either way x/ does it look like uboot or something proprietary??
<Svanto24> sorry, didn't mean to type two question marks
Svanto24 has quit [Ping timeout: 480 seconds]
Svanto24 has joined #openwrt-devel
<Svanto24> I need to map flash memory to flash openwrt right? How would I do that?
Svanto24 has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.4.2]
Svanto24 has joined #openwrt-devel
trichard has quit [Ping timeout: 480 seconds]
Svanto24 has quit [Ping timeout: 480 seconds]
Sawzall has quit [Read error: Connection reset by peer]
Sawzall has joined #openwrt-devel
trichard has joined #openwrt-devel
Borromini has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
Svanto24 has joined #openwrt-devel
minimal has joined #openwrt-devel
clandmeter has quit [Read error: Connection reset by peer]
danieli has quit [Write error: connection closed]
clandmeter has joined #openwrt-devel
Svanto24 has quit [Ping timeout: 480 seconds]
trichard has quit [Remote host closed the connection]
Tapper has joined #openwrt-devel
Svanto24 has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
Svanto24 has quit [Ping timeout: 480 seconds]
Stat_headcrabbed has joined #openwrt-devel
<Slimey> Qualcomm Multiple Chipsets Use-After-Free Vulnerability
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
<robimarko> Luckily for us, all mobile SoC-s
<robimarko> Ugh, some hit WLAN SoC-s as well
Slimey has quit [Remote host closed the connection]
Slimey has joined #openwrt-devel
<Stat_headcrabbed> Seems maybe only exists in downstream android driver?
clandmeter has quit [Read error: Connection reset by peer]
danieli has joined #openwrt-devel
clandmeter has joined #openwrt-devel
goliath has joined #openwrt-devel
minimal has quit [Quit: Leaving]
MaZderMi1d has quit [Ping timeout: 480 seconds]
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
Svanto24 has joined #openwrt-devel
Svanto24 has quit [Remote host closed the connection]
sorinello has quit [Ping timeout: 480 seconds]
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Tapper has quit [Ping timeout: 480 seconds]
lynxis has joined #openwrt-devel