#
✕ nick:j_ey
#asahi-dev · 2021-10-03 14:33
j_eyoh, didnt know that
#asahi-dev · 2021-10-03 09:14
j_eyit's fine to just have a final vN with minor things though
#asahi-dev · 2021-10-03 09:13
j_eypovik: I think the person pulling it can, or you'd have to send a new version
#asahi-dev · 2021-10-03 09:03
j_eygood catch too, I will make some notes of these
#asahi-dev · 2021-10-03 08:50
j_ey:D
#asahi-dev · 2021-10-03 08:50
j_eyI still feel I may have done something wrong..
#asahi-dev · 2021-10-03 08:44
j_eyI use gcc from http://cdn.kernel.org/pub/tools/crosstool/ (actually I use clang now..)
#asahi-dev · 2021-10-03 08:40
j_eywhat about BUG_ON(0);
#asahi-dev · 2021-10-03 08:39
j_eywat
#asahi-dev · 2021-10-03 08:38
j_eyconfused
#asahi-dev · 2021-10-03 08:37
j_eyline 290 or so
#asahi-dev · 2021-10-03 08:36
j_eypovik: can you try: BUILD_BUG_ON(__builtin_constant_p(irqtype));
#asahi-dev · 2021-10-03 08:32
j_ey(looking at __BF_FIELD_CHECK in include/linux/bitfield.h)
#asahi-dev · 2021-10-03 08:31
j_eyI wonder if your gcc has a broken '__builtin_constant_p'
#asahi-dev · 2021-10-03 08:31
j_eyIm confused now, how can that be a compile time check... it has FIELD_PREP(REG_GPIOx_MODE_MASK, irqtype), where irqtype is runtime
#asahi-dev · 2021-10-03 08:27
j_ey#define REG_GPIOx_MODE_MASK GENMASK(3, 1) and irqtype is u32....
#asahi-dev · 2021-10-03 08:27
j_eywhat compiler?
#asahi-dev · 2021-10-03 08:26
j_eyuhh
#asahi-dev · 2021-10-03 08:18
j_eythe v2 was a bit rushed, wanted to get it out before I went away and lost access to the m1 for a week
#asahi-dev · 2021-10-03 08:14
j_eyI forgot to clean that bit up, I set npins to 512 too, which is a thing i leftover by accident
#asahi-dev · 2021-10-03 08:13
j_eyah, ty
#asahi-dev · 2021-10-03 08:04
j_eyaustriancoder: https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/experiments/speaker_amp.py
#asahi-dev · 2021-10-03 07:12
j_eyaustriancoder: they started writing a linux driver
#asahi-dev · 2021-10-03 07:12
j_eyaustriancoder: povik is looking at audio
#asahi-dev · 2021-10-02 12:46
j_eykettenis: its not required at least
#asahi-dev · 2021-10-02 12:08
j_eyyeah, best to remove all those magic numbers!
#asahi-dev · 2021-10-02 10:50
j_eypovik: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/tree/arch/arm64/boot/dts/apple/t8103.dtsi?h=hack/m1-pcie-v5
#asahi-dev · 2021-10-02 10:48
j_eythe bindings .yml is just an example, i dunno if thats right
#asahi-dev · 2021-10-02 10:47
j_eypovik: which ones?
#asahi-dev · 2021-10-01 21:14
j_ey*blinks*
#asahi-dev · 2021-10-01 21:12
j_eybroonie there is maintainer of "SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEMENT (ASoC)", but it might be the wrong layer
#asahi-dev · 2021-10-01 20:20
j_eythen the code wins :P
#asahi-dev · 2021-09-30 21:03
j_eyI mean, if you have a driver that does literally nothing sure, but if you have the platform stuff, allocation, ops etc
#asahi-dev · 2021-09-30 20:55
j_ey200 lines seems to be the boilerplate for a driver
#asahi-dev · 2021-09-28 15:32
j_eyIm not sure about that either, I always managed to get the serial output
#asahi-dev · 2021-09-28 15:21
j_eynot without some m1n1 changes
#asahi-dev · 2021-09-28 15:19
j_eykettenis: I also did a weird thing and appended my linux kernel to the uboot image, so I didnt have to use the nvme code to load the kernel lol
#asahi-dev · 2021-09-28 15:16
j_eyhttps://termbin.com/q4dc is what I deleted, but as kettenis said, maybe just work out which dw3 node you need to delete
#asahi-dev · 2021-09-28 15:15
j_eyi just wanted to try get it booting at all :P
#asahi-dev · 2021-09-28 15:14
j_eyall the pcie stuff, all the dwc3 stuff
#asahi-dev · 2021-09-28 15:13
j_eyoh yes, I forgot about that. I stripped the dts of a lot of stuff
#asahi-dev · 2021-09-28 15:02
j_eysorry ttyACM1
#asahi-dev · 2021-09-28 15:01
j_ey(and in the original terminal where you used run_guest you can use ctrl+c to stop it running, and type reboot to.. reboot)
#asahi-dev · 2021-09-28 14:59
j_eysjg1: so now, in another terminal you can use picocom with ttyAMA1
#asahi-dev · 2021-09-28 14:59
j_eysjg1: awesome!
#asahi-dev · 2021-09-28 14:46
j_eyit works for me *shrug*
#asahi-dev · 2021-09-28 14:44
j_eylinux.py isnt using the hypervisor, but my link ^ will, and will give you uart (over a normal usb cable to a linux machine)
#asahi-dev · 2021-09-28 14:43
j_eysjg1: https://paste.gg/p/anonymous/87fe66db44d447f0a7aeeaf31d0ed7a0 something like this should work
#asahi-dev · 2021-09-28 14:40
j_eysjg1: something like python3 linux.py --compression=none u-boot-nodtb.bin t8103-j274.dtb right?
#asahi-dev · 2021-09-28 14:38
j_eysjg1: are you using linux.py?

plus ›