#
✕ nick:Emantor
#asahi · 2021-06-07 19:12
EmantorI know, this is with your patch applied on top.
#asahi · 2021-06-07 19:09
Emantorye, doesn't matter. Still get an apple logo screen chainloading m1n1 with a barebox payload.
#asahi · 2021-06-07 19:08
Emantorno, wait
#asahi · 2021-06-07 19:08
Emantorpipcet[m]: I'm passing m1n1 with bb & dt concatenated. So DT should be fine.
#asahi · 2021-06-07 19:07
Emantorwishes for a USB PD board.
#asahi · 2021-06-07 19:06
Emantorpipcet[m]: chainloading the generic 2nd dt image for barebox fails for me, HV works obviously. But the gadget still spews lots of errors.
#asahi · 2021-06-07 18:42
EmantorGreat, now that the dart driver works by enabling bypass mode, gadget mode receives requests. Sorry for the noise.
#asahi · 2021-06-07 18:41
EmantorArgh, wrong regs >_>
#asahi · 2021-06-07 18:36
EmantorYeah, there is something broken on my end.
#asahi · 2021-06-07 18:33
Emantorhu, wierd.
#asahi · 2021-06-07 18:31
Emantor49283072 0x2f00000 0274000000 0b10111100000000000000000000 = 47.00 iM
#asahi · 2021-06-07 18:31
Emantor 16 0 24 12 0 24 20 16 12 8 4 0
#asahi · 2021-06-07 18:31
EmantorDart Params is:
#asahi · 2021-06-07 18:31
Emantorfield get returns 0x2 under barebox, i guess the kernel is the same?
#asahi · 2021-06-07 18:29
EmantorYou probably wanted to shift 4096 instead of 1?
#asahi · 2021-06-07 18:28
Emantorsven: The pgsize calculation in the dart driver looks wrong, it's doing a 0x4 > PAGE_SIZE comparison for the USB darts. This way the force_bypass parameter will never work.
#asahi · 2021-06-05 20:14
Emantorsven: I took a look at your dma question in #armlinux, and just saw now that it's been there for a while. I am off now, I can look at this some more tomorrow.
#asahi · 2021-06-05 19:44
EmantorYep, shouldn't be too hard to turn this into i2c reads/writes.
#asahi · 2021-06-05 19:41
Emantor0x44 is weird, always set 1 during the write and reset directly afterwards. From my i2c traces 0x08 with mask 0xff00 could indicate number of received bytes.
#asahi · 2021-06-05 06:28
Emantorjannau: I think m1n1 on his computer was missing the get/set_SIMD command, so the proxy complained, I don't think this has to do with the checksums.
#asahi · 2021-06-05 06:26
Emantorpipcet[m]: Do you have a 1.2V Uart on the debug port? Otherwise barebox isn't really usable on m1 yet.
#asahi · 2021-06-05 06:16
EmantorNothing much, I hacked in DBEUG_LL support, but adjusted the S3C Uart driver now, so it works as well. It's really not much code, I'll see if I can get USBGadget up and running, than I can simply chainload from m1n1.
#asahi · 2021-06-05 05:29
Emantoramw: m1n1 is the latest build? Are you chainloading latest m1n1 beforehand? S_BADCMD looks to be raised if m1n1 doesn't know the command that the python-proxy requests.
#asahi · 2021-06-05 05:21
Emantoramw: do you have any error messages in the dmesg of the computer your mac is connected too? On my desktop mainboard at least one of the USB ports did not reliably work with m1n1 and I also needed a stable kernel update.
#asahi · 2021-06-04 19:02
Emantor> barebox@Apple M1 Mac Mini (J274):/ (with only some slight modifications to the cache functions to run within the hypervisor, have not UART otherwise.)
#asahi · 2021-06-04 17:45
Emantormarcan: reboot is very handy, thanks :-)
#asahi · 2021-05-31 12:50
EmantorSure, I wouldn't say no. I played with carla and pipewire since it eliminates the whole "setting up Jack"-problem. Worked mostly fine.
#asahi · 2021-05-31 12:45
EmantorYou're streams are good and the content is very insightful. :-)
#asahi · 2021-05-31 12:41
Emantormarcan: okay, than I misunderstood sorry. But having at least some OBS/Jack experience lowers the barrier to entry.
#asahi · 2021-05-31 12:39
EmantorI thought you did event streaming beforehand, guess I am confusing something here.
#asahi · 2021-05-31 12:37
Emantormarcan: didn't you do the touhou events beforehand?
#asahi · 2021-05-31 12:35
EmantorCommon misconception seems to be that because marcans streams are good, every other developer also does good streams. IMO marcan is the exception with his prior streaming experience :-)
#asahi · 2021-05-31 11:39
Emantorsweet.
#asahi · 2021-05-31 10:47
EmantorMaybe the charging ables don't have the data lines connected?
#asahi · 2021-05-31 10:20
EmantorMagMell[m]: any USB 2.0 compliant C-to-C or C-to-A cable should work. any dmesg output on your development host?
#asahi · 2021-05-31 09:41
EmantorCan't wait to port barebox to the Mac Mini, I have no interest in struggling with U-Boot :-) But I am biased anyway.
#asahi · 2021-05-31 08:03
EmantorIt looks like there is no getty started on the FB VT.
#asahi · 2021-05-31 08:00
EmantorAs said above, please read https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart#getting-a-serial-console, Linux currently works only on the debug UART. All other peripherals are currently not supported.
#asahi · 2021-05-31 07:37
Emantorhttps://github.com/AsahiLinux/docs/wiki/Developer-Quickstart#getting-a-serial-console has the instructions on how to access the debug UART, either with another M1 mac, or through arduino+FUSB302+1.2V uart.
#asahi · 2021-05-31 07:35
Emantora console is only available on the debug UART on the left most USB port next to the power connector on the mac mini, which requires additional hardware.
#asahi · 2021-05-31 07:35
EmantorMagMell[m]: AFAIK the framebuffer won't provide a login console, which wouldn't be useful anyway since the current kernel does not support USB yet, so no USB Keyboard.
#asahi · 2021-05-31 03:59
Emantorbgb_: Are you inside the Kernels directory with the file present?
#asahi · 2021-05-30 15:22
EmantorCurrently not.
#asahi · 2021-05-30 13:42
Emantoralessandrorzz[m]: I don't think so. There are no ETAs.
#asahi · 2021-05-30 11:11
Emantorhi
#asahi · 2021-05-30 09:54
EmantorI have created https://github.com/AsahiLinux/docs/wiki/SW:Hypervisor with the commands I used to create the kernel cache and steps to run the kernel under the m1n1 hypervisor.
#asahi · 2021-05-28 16:52
EmantorHa, I wasn't too far off, but this is still weird. oh well. Thanks.
#asahi · 2021-05-28 16:49
EmantorI ams tarting to wonder how to build a kernel collection using the development kernel. Apple docs are not exactly helpful…
#asahi · 2021-05-28 09:02
Emantor/* HC is busted, give up! */ is above the xhci_err line in the kernel (:
#asahi · 2021-05-28 08:56
Emantorstill borked, dmesg has xhci_hcd 0000:02:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 4 comp_code 4. I found some older LKML threads with issues on isochrounous transfers on intel XHCI ports, the port with USB-C has isochrounous transfers from my USB sound card, the USB-A port does not.

plus ›