#
✕ nick:kettenis
#asahi-dev · 2021-02-17 19:31
kettenisaccording to the corellium driver you need to write a bitmask of the devices on which to operate in one of those
#asahi-dev · 2021-02-17 19:19
kettenisis the framebuffer the only thing that's mapped in that particular DART?
#asahi-dev · 2021-02-17 19:11
kettenisso enabling bypass mode without reprogramming the display engine probably won't work
#asahi-dev · 2021-02-17 19:11
kettenisthe problem with the framebuffer is that the graphics hardware will be using a translation
#asahi-dev · 2021-02-17 19:07
kettenisok, thanks
#asahi-dev · 2021-02-17 19:04
kettenisI poked around a bit within u-boot based on the register names in their code
#asahi-dev · 2021-02-17 19:03
kettenisThey don't
#asahi-dev · 2021-02-17 18:51
kettenissven: did you manage to find a way to enable some sort of bypass mode?
#asahi-dev · 2021-02-14 18:18
kettenistime for a new password!
#asahi-dev · 2021-02-11 18:28
kettenisthe "host" part of dwc3 is xHCI
#asahi-dev · 2021-02-11 18:27
kettenisbtw the mini has both: PCIe xHCI and "platform" xHCI ;)
#asahi-dev · 2021-02-11 18:19
kettenisthe package Bluerise sent me arrived today so I hope to have some sort of serial console tonight
#asahi-dev · 2021-02-11 18:00
kettenisyes, the core might spontaniously combust if you do that
#asahi-dev · 2021-02-11 17:56
kettenisFWIW U-Boot is exclusively nGnRnE device mappings for devices it seems
#asahi-dev · 2021-01-31 19:40
kettenisyou're taunting him?
#asahi-dev · 2021-01-31 19:38
ketteniscool
#asahi-dev · 2021-01-31 17:10
kettenisvirtualization
#asahi-dev · 2021-01-31 10:19
kettenismarcan: some of ARM's own cores do the speculative execution of nGnRnE as well
#asahi-dev · 2021-01-30 15:06
kettenisin drivers/video/simplefb.c change one of the 32-bit format strings to match "x2r10g10b10"
#asahi-dev · 2021-01-30 15:04
kettenismarcan: if you don't care about the actual colors I think there is a quick hack I think
#asahi-dev · 2021-01-30 14:53
kettenismarcan: one thing to note is that u-boot only allows x8r8g8b8 and r5g6b5 framebuffers
#asahi-dev · 2021-01-30 13:38
kettenisuse u-boot-nodtb.bin as the payload
#asahi-dev · 2021-01-30 13:17
kettenisShould be usable as a payload for m1n1 as well
#asahi-dev · 2021-01-30 13:16
kettenisThis boots up to a prompt on the framebuffer console when used as a "kernel" with preloader-m1
#asahi-dev · 2021-01-30 13:15
kettenisMy u-boot WIP: https://github.com/kettenis/u-boot/tree/apple-m1
#asahi-dev · 2021-01-29 23:45
kettenisI was just looking at that 'cause the HCR_EL2.E2H is set and that caused me some headaches since u-boot assumes it isn't
#asahi-dev · 2021-01-29 23:43
kettenis0x30488000000
#asahi-dev · 2021-01-29 23:28
kettenisgetting some zzz first
#asahi-dev · 2021-01-29 23:27
kettenisI'll see if I can push something to github tomorrow
#asahi-dev · 2021-01-29 23:26
kettenisthe memory attribute issue should be easy to fix in u-boot
#asahi-dev · 2021-01-29 23:14
kettenisbut it should work as a payload for m1n1 as well
#asahi-dev · 2021-01-29 23:14
ketteniscurrently as a payload for preloader-m1
#asahi-dev · 2021-01-29 23:11
kettenisnow I just need to add support for usb, pci, etc
#asahi-dev · 2021-01-29 23:10
kettenisI have a u-boot payload that boots up to a framebuffer console
#asahi-dev · 2021-01-27 18:48
kettenisyeah mouse focus issue :(
#asahi-dev · 2021-01-27 18:47
kettenispwd
#asahi-dev · 2021-01-27 16:33
kettenisoops, sorry
#asahi-dev · 2021-01-27 16:33
kettenisÂ/window 1
#asahi-dev · 2021-01-27 12:17
kettenisso an ELF header or a linux kernel header would work (could do either for a u-boot payload)
#asahi-dev · 2021-01-27 12:03
kettenisany way to force alignment of [payload]?
#asahi-dev · 2021-01-27 11:26
kettenisa few challenges there ;)
#asahi-dev · 2021-01-27 11:23
kettenisbut if I don't have to figure it out myself I don't care ;)
#asahi-dev · 2021-01-27 11:22
kettenistoo much complexity for my liking
#asahi-dev · 2021-01-27 11:22
kettenistianocore would work as well, but I suspect it isn't as lightweight as u-boot
#asahi-dev · 2021-01-27 11:17
kettenisit isn't a simple cat
#asahi-dev · 2021-01-27 11:17
kettenis@marcan: that is essentially what the corellium guys do in their bootloader
#asahi-dev · 2021-01-27 11:16
kettenisso in this case I would have U-Boot just use the device tree set up by m1n1
#asahi-dev · 2021-01-27 11:14
kettenisturtles all the way down
#asahi-dev · 2021-01-27 11:07
kettenisI think u-boot only uses polled I/O
#asahi-dev · 2021-01-27 11:06
kettenisthings get interesting for suspend/resume of course as you say

plus ›