danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
blb4393 has quit [Quit: ChatZilla 0.9.93 [Waterfox 56.3/MOZ_BUILDID]]
<Spyro1248>
PaulFertser: perhaps, but I'd prefer not to, its a lot of work for probably not much gain...
Borromini has joined #openwrt-devel
<PaulFertser>
Spyro1248: do you know about mtdram trick? You load kernel module with appropriate options and can probably put the dump on it, and then use binwalk normally etc.
<PaulFertser>
Not really sure but something like that might be possible.
<PaulFertser>
Spyro1248: that nandsim looks like it can really do it easily for you
danitool has joined #openwrt-devel
<Spyro1248>
PaulFertser: I'd forgotten about nandsim... I might look at that later... (got a HH5a on the bench today...
Night-Shade has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Night-Shade has joined #openwrt-devel
<stintel>
hurricos: I see you've been playing around with mpc85xx too.. I have a t1042 and t2081 based device, but I keep hitting walls with porting OpenWrt to them
Night-Shade has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<stintel>
hurricos: fyi I managed to build u-boot and load it via oct-remote-boot using the PCI remote protocol
<stintel>
hurricos: that P2041RDB, did you happen to run any network performance tests on it?
Night-Shade has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Immanuel has quit [Ping timeout: 265 seconds]
Immanuel has joined #openwrt-devel
Night-Shade has joined #openwrt-devel
Night-Shade has quit [Client Quit]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
Borromini has quit [Read error: Connection reset by peer]
SpaceRat has quit [Ping timeout: 252 seconds]
SpaceRat has joined #openwrt-devel
Night-Shade has joined #openwrt-devel
Tost has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat has joined #openwrt-devel
shawn_ has joined #openwrt-devel
<shawn_>
Hi guys
johnf has quit [Ping timeout: 245 seconds]
shawn___ has joined #openwrt-devel
johnf has joined #openwrt-devel
shawn_ has quit [Ping timeout: 260 seconds]
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat has joined #openwrt-devel
shawn_ has joined #openwrt-devel
shawn___ has quit [Ping timeout: 240 seconds]
Night-Shade has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat^ is now known as SpaceRat
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat^ is now known as SpaceRat
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat^ has joined #openwrt-devel
SpaceRat^ is now known as SpaceRat
shawn_ has quit []
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat^ is now known as SpaceRat
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat^ is now known as SpaceRat
sbrown_ has quit [Ping timeout: 240 seconds]
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat has joined #openwrt-devel
sbrown has joined #openwrt-devel
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat^ is now known as SpaceRat
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat^ is now known as SpaceRat
Immanuel has quit [Ping timeout: 252 seconds]
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat^ is now known as SpaceRat
Immanuel has joined #openwrt-devel
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Disconnected by services]
SpaceRat^ is now known as SpaceRat
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat^ is now known as SpaceRat
<Spyro1248>
PaulFertser: the hh5a instructions are dangerously out of date and rely on off-site magic...
<Spyro1248>
Is there any way to find outr who is maintaining ports for which routers?
<Spyro1248>
PaulFertser: I did manage to install the hh5a I had here, by using the prepare script from the lede 17 image, and then loading a normal 19.07 kernel+initramfs, and using it to sysupgrade to 19.07 to install.
<PaulFertser>
Spyro1248: you can just check "git log" for files in questions, and wiki history for the pages.
<Spyro1248>
I have another HH5A here I'd like to repurpose, so I wantr to improve the install procedure.
SpaceRat has quit [Read error: Connection reset by peer]
dedeckeh has quit [Quit: Connection closed]
<Spyro1248>
PaulFertser: so there's no "canonical" reference for port maintainers?
SpaceRat has joined #openwrt-devel
<PaulFertser>
Spyro1248: what kind of information do you have in mind?
<Spyro1248>
PaulFertser: nothing specific - its just my observation that each router will probably have one person who knows more than anyone else about its quirks - I want to talk to them...
<Spyro1248>
PaulFertser: eg. who did the initial "install kernel + initramfs" and where are the sources? how will I replicate it if I plan to update it to 19.07 or later?
<PaulFertser>
Spyro1248: usually whoever does the port is supposed to add installation instructions to the commit message in question. That's a rule for few years now, but it wasn't it the lede days.
<PaulFertser>
Spyro1248: and then people add information to the wiki...
<Spyro1248>
you refer to git, but by that, what repo do you mean?
<PaulFertser>
Spyro1248: most probably the idea was to prepare some minimal initramfs so that it would fit some constraint of the bootloader, idk.
<PaulFertser>
Spyro1248: just the OpenWrt git repo, git://git.openwrt.org/openwrt/openwrt.git
<Spyro1248>
PaulFertser: the hh5a install procedure seems special somehow - Ive not investigated thoroughly yet, but looks like the way they unlock the bootloader is odd.
<Spyro1248>
I need the sources to that Lede 17 install kernel, and Im not sure where to find them.
SpaceRat has quit [Read error: Connection reset by peer]
<PaulFertser>
Spyro1248: well, probably you'll have to reproduce that result by reading the commit and trying some things on your own.
<PaulFertser>
Spyro1248: I'd try with the current kernel to see what's happening.
<Spyro1248>
I just noticed its on github... I cant believe I didnt spot that, PMSL.
<Spyro1248>
PaulFertser: I assume the project has a buildbot that produces the official images?
dorf_ has quit [Remote host closed the connection]
<PaulFertser>
Spyro1248: OpenWrt -- yes
<Spyro1248>
PaulFertser: how / who decides whats going to go in there?
<Spyro1248>
ie. I'd like to update the code a bit so that hh5a gets an up to date install image that can just sysupgrade via the network...
<Spyro1248>
but Im not going to put the effort in if its not going to be accepted.
<PaulFertser>
Spyro1248: the maintainers. What's special about that script or version I'm seeing that it doesn't allow sysupgrade over the network?
sbrown has quit [Remote host closed the connection]
sbrown has joined #openwrt-devel
sbrown has quit [Remote host closed the connection]
sbrown has joined #openwrt-devel
<Spyro1248>
PaulFertser: I think its mainly too old - I tried using the Lede 17 image to sysupgrade to the 19.07 image, and it wouldnt do it.
<PaulFertser>
Spyro1248: I think it's worth providing an updated image, yes. OpenWrt has a notion of -factory images that are built by the regular build system and should be installable by vendor firmware.
<Spyro1248>
so having already run the "prepare" script under lede 17 that unlocked u-boot, I booted the 19.07 kernel+initramfs, and sysupgraded from there
<PaulFertser>
Spyro1248: whether in this particular case it's better to try to get it to the main repository or it's ok to keep it as mkresin did is not yet clear.
<Spyro1248>
I dont know that we will ever have factory images for hh5a, but the "pre install" image is vital, and out of date enough to prevent directly installing 19.07
<Spyro1248>
Also, I found the word firmware to be confusingly overloaded on the hh5a page - its used to refer to the wifi and the router firmware and its not very obvious which unless you already know...
<mkresin>
Spyro1248: the install image has a lot of packages preinstalled which are usually not required
<mkresin>
Spyro1248: beside of that, the uboot as well the uboot env are encrypted. the basic task of the image is to decrypt the env and unlock the env
<mkresin>
using the encryption keys from a decrypted uboot. all stuff that doesnÄt belong into the main openwrt repository, since it's special one time use stuff
<Spyro1248>
mkresin: but its getting out of date
<mkresin>
sure, it might not be perfect. but good enough to get the initial job done
<mkresin>
at least for the 7500 people who downloaded the image so far
<Spyro1248>
mkresin: I've used it several times now - today I found out that you cant (apparently) install 19.07 from it.
<Spyro1248>
(not directly anyhow)
<stintel>
hurricos: could you tell me in what git tree you found those patches for vsc848x and the memory accessor ?
SpaceRat has quit [Read error: Connection reset by peer]
<mkresin>
Spyro1248: which isn't what the guide tells you do to. it links to a 17.04 image, which should you have on a flash drive
<Spyro1248>
mkresin: indeed - it says to use one of "One of openwrt-lantiq-xrx200-bt_homehub-v5a-squashfs-sysupgrade.bin openwrt-18.06.x-lantiq-xrx200-bt_homehub-v5a-squashfs-sysupgrade.bin lede-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin"
<Spyro1248>
mkresin: I'd do something like ssh root@router "nanddump <alltheflash>" > original_hh5a_fw.bin
<Spyro1248>
mkresin: no intermediate file, and the whole image is transferred direct to my PC
<mkresin>
it's intended as an easy to use image. requiring ssh isn't easy anymore. at least not for the windows users
<Spyro1248>
if you're already using serial, surely ssh isnt beyond you?
SpaceRat has quit [Read error: Connection reset by peer]
<mkresin>
you miss the point of the target audience. sure no problems for us. but the way it is now, it's more or less idiot proof
<mkresin>
which was exactly my intention. since I'm not interested in getting spammed with support/help requests
<mkresin>
and it worked so far
<mkresin>
*worked out
<Spyro1248>
fair enough, but I found that step a pain in the arse TBH.
<Spyro1248>
in any case, you dont HAVE to use ssh. you could do a nand dump via the web interface in principle - even easier for the windows n00bs
<Spyro1248>
mkresin: is your install image a direct fork of lede dated 2017-11-03? (ie. can I add it as a remote to my openwrt repo without causing havoc?)
SpaceRat has joined #openwrt-devel
<mkresin>
yes it's a fork from the lede v17.01.4 tag
<Spyro1248>
mkresin: cheers :)
<Spyro1248>
mkresin: ooi, whats the logic behind taking a full backup of the router, rather than just the calibration data for the wifi? is it purely to allow it to be flashed to stock?
<mkresin>
Spyro1248: exactly. allow to go back to stock.
<Spyro1248>
mkresin: one more - where is the wifi calibration data hiding?
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Ping timeout: 265 seconds]
SpaceRat^ has quit [Read error: Connection reset by peer]
<mkresin>
Spyro1248: it's a volume in the ubi
SpaceRat has joined #openwrt-devel
<Spyro1248>
mkresin: cheers :)
Night-Shade has joined #openwrt-devel
<Spyro1248>
when you use the build system to build images - are the default settings (other than *which* router you pick) the same as those used to build the official images?
<Spyro1248>
or is there a set of official defconfigs?
<Spyro1248>
also, whats a reasonable build time for the whole lot?
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat has joined #openwrt-devel
SpaceRat has quit [Read error: Connection reset by peer]
SpaceRat has joined #openwrt-devel
Night-Shade has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Night-Shade has joined #openwrt-devel
shawn_ has joined #openwrt-devel
shawn_ has quit [Client Quit]
<Spyro1248>
anyone got a spare HH5A psu ?
<Spyro1248>
I have a spare hub here for dev work, but no PSU - and its a bit of an oddball size connector...
<mirko>
i was playing around with the x86 target and how it behaves if storage backing the image is read-only. instead of using the space beyond suqashfs marker as overlay, the overlay is created on a ramdisk. I would have expected no overlay being created at all. Is having a r/w overlay a hard requirement nowadays for running OpenWrt or am I missing (other) obvious reasoning for this behaviour?
<mirko>
rw: overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
<mirko>
ro: overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/work)
<mirko>
ah, all that magic is handled within (lib)fstools - no wonder grepping within openwrt.git didn't yield anything useful
<stintel>
hurricos: I started playing around with your openwrt code for the snic10e, did major cleanup and managed to hack the vsc driver to get it to compile (it needs some more work though but let's see if I can try to boot an image now)
owrt-snap-builds has quit [Remote host closed the connection]
SpaceRat has joined #openwrt-devel
owrt-2102-builds has joined #openwrt-devel
owrt-1907-builds has joined #openwrt-devel
owrt-snap-builds has joined #openwrt-devel
silverwhitefish has quit [Quit: One for all, all for One (2 Corinthians 5)]
luke-jr has joined #openwrt-devel
SpaceRat has quit [Client Quit]
SpaceRat has joined #openwrt-devel
danitool has joined #openwrt-devel
<aparcar[m]>
@freenode_tripolar:matrix.org: good to have you back
<Borromini>
aparcar[m]: he's already gone
<aparcar[m]>
¯\_(ツ)_/¯
black_ant has quit [Ping timeout: 268 seconds]
dedeckeh has quit [Ping timeout: 240 seconds]
Borromini has quit [Quit: Lost terminal]
rmilecki has quit [Ping timeout: 240 seconds]
Spyro1248 has quit [Ping timeout: 260 seconds]
Spyro1248 has joined #openwrt-devel
<stintel>
hurricos: so apparently there's a heisenbug :(
<stintel>
hurricos: I added some pr_info statements similar to what you did, and without them, boot process freezes after: [ 193.546685] Interface 1 has 1 ports (XAUI)
<stintel>
but with a few pr_info statements that bug disappears :/
Acinonyx has quit [Read error: Connection reset by peer]