#
✕ nick:maz
#asahi-dev · 2022-05-13 16:50
mazjannau: using your t6002 branch. I have this module, but the controllers themselves don't seem to appear, and it is like the driver never really probes them.
#asahi-dev · 2022-05-13 16:37
mazjannau: OK, so I'm missing something else.
#asahi-dev · 2022-05-13 16:31
maz_jannau_: do you have to select dual mode for DWC3 to work? or host? I have the former in my kernel config, and the ports don't seem to get detected...
#asahi-dev · 2022-05-13 16:24
maznicolas17: for a number of reasons, I don't want to do *anything* like AWS does... :-/
#asahi-dev · 2022-05-13 16:09
mazjust make it optional.
#asahi-dev · 2022-05-13 16:09
maz100% in favor.
#asahi-dev · 2022-05-13 16:09
maz+1.
#asahi-dev · 2022-05-13 16:09
mazthis is going to be super annoying, as the box will be in a rack with no way to interact with it other than the serial console...
#asahi-dev · 2022-05-13 15:59
maz_jannau_: I'm really tempted to stick that counter reset in u-boot itself! :D
#asahi-dev · 2022-05-13 15:56
mazarnd: oh, I have a full userspace ready to be plugged in (my Mini is the donor system). I used proxyclient until about 8 months ago, at which point I switched to u-boot. I now have u-boot correctly probing USB, so it is only a matter of building the kernel, dumping it on the Mini's FS, and moving the disk over.
#asahi-dev · 2022-05-13 15:45
mazI guess it doesn't like me resetting the box the hard way... :-/
#asahi-dev · 2022-05-13 15:45
mazhad to reselect the m1n1 proxy.
#asahi-dev · 2022-05-13 15:44
mazamusingly, I just had the recovery jumping in and telling me that my "macos" install was corrupted, or something similar.
#asahi-dev · 2022-05-13 15:43
mazjannau: yup fixes it.
#asahi-dev · 2022-05-13 15:39
mazjannau: yeah, looks suspiciously relevant.
#asahi-dev · 2022-05-13 15:33
mazhttps://paste.debian.net/1240784/
#asahi-dev · 2022-05-13 15:32
maz_jannau_: it does probe all 6 ports, but fails to detect anything.
#asahi-dev · 2022-05-13 15:32
mazarnd: no, I really want to run the full thing. running under the hypervisor isn't an option, for obvious reasons.
#asahi-dev · 2022-05-13 15:25
mazexactly none.
#asahi-dev · 2022-05-13 15:11
maz_jannau_: OK, I'm in u-boot now. does it need any convincing to probe mass-storage on USB (the C ports, I know the A ports don't work)?
#asahi-dev · 2022-05-13 14:39
maz_jannau_: yup, spotted it, as well as your u-boot tree.
#asahi-dev · 2022-05-13 14:32
mazserial and reset working.
#asahi-dev · 2022-05-13 14:31
mazhoohoo! I'm at the point where I'm now feeding the box the wrong secondary m1n1/u-boot/DT combo (it is the one from the mini setup).
#asahi-dev · 2022-05-13 13:38
mazmps: as I said above, I didn't have the right toolchain
#asahi-dev · 2022-05-13 13:30
maz'rustup target add aarch64-unknown-none-softfloat' is what I was missing.
#asahi-dev · 2022-05-13 13:26
maz_jannau_: I may do that, as I seem to be doing something wrong (I still get the same error despite trying to force the nightly rust).
#asahi-dev · 2022-05-13 13:19
maz_jannau_: does the installer rely on the system rust toolchain? or does it bring its own? I get some funky compilation errors...
#asahi-dev · 2022-05-13 10:04
mazkettenis: I guess you then need to replace m1n1 in-situ, don't you?
#asahi-dev · 2022-05-13 09:41
mazbuilding m1n1 is easy. it's the installer itself I'm unsure of.
#asahi-dev · 2022-05-13 09:32
maz_jannau_: what's the best way to get started on the t6002? the "old" way (install m1n1 by hand and bootstrap the whole thing), or the Asahi installer?
#asahi-dev · 2022-05-13 08:59
mazj`ey: I'll put it out in the bin... ;-)
#asahi-dev · 2022-05-13 08:57
maz(update failed... good stuff)
#asahi-dev · 2022-05-13 08:54
mazwatches the Studio updating macos at a glacial speed... thank fsck this is the last time I'll see that.
#asahi-dev · 2022-05-11 14:27
mazI guess this is directly writing into the controller's own RAM. fun.
#asahi-dev · 2022-05-11 14:25
mazmarcan: I guess you'll have to RE the way the firmware is fed to the controller. the couple of firmwares I have found (thanks to _jannau_) rely on it being stored on a SPI flash, which I assume the Studia doesn't have.
#asahi-dev · 2022-05-11 14:07
maz_jannau_: do you have a pointer handy? I guess I could have a look (the dreaded Renesas USB controller has similar requirements).
#asahi-dev · 2022-05-11 13:58
maz_jannau_: do you know whether that firmware is otherwise available somewhere?
#asahi-dev · 2022-05-11 13:50
mazI'd have had time when I was travelling two weeks ago, but somehow crossing airport security with a ball of wires didn't seem like a good idea...
#asahi-dev · 2022-05-11 13:45
maz(also, not enough time in the day to do the stuff I want to do...)
#asahi-dev · 2022-05-11 13:44
mazs/still/steal/
#asahi-dev · 2022-05-11 13:44
mazI'll still the one from the mini in the meantime.
#asahi-dev · 2022-05-11 13:44
mazj`ey: almost. still debugging some of the crap (most likely a combination of strong pull-ups and buggy i2c bit-banging).
#asahi-dev · 2022-05-11 13:36
maztwo months between the order and the delivery... nerve wracking! ;-)
#asahi-dev · 2022-05-11 13:04
mazfinally got the notification that the Ultra is about to land... party time!
#asahi-dev · 2022-05-04 14:36
mazI'm still behind on email (and still jet-lagged). I'll have a look.
#asahi-dev · 2022-05-04 14:34
mazmarcan: I saw the discussion, and decided that I had better ways of wasting my time. I'm really annoyed by the fact that what works for one platform cannot be used for another.
#asahi-dev · 2022-05-04 14:12
mazlook at how i2c GPIO expanders deal with interrupts.
#asahi-dev · 2022-05-04 14:11
mazit is a thing. you just end-up with an irq thread that deals with the irqchip itself.
#asahi-dev · 2022-05-04 14:10
maz... i2c irqchip of some sort
#asahi-dev · 2022-05-04 14:10
mazmarcan: if you want the irqchip to be totally synchronous, then you are right. but what you describe looks a lot more like an i2c (or other 'slow bus' protocol).

plus ›