#
#asahi-dev · 2023-02-23 21:47
jannaudcp and gpu use more than that but they might coalesce into 8 regions or less
#asahi-dev · 2023-02-23 21:46
jannaumaybe we're just running out of regions? CONFIG_LMB_MAX_REGIONS seems to default to 8
#asahi-dev · 2023-02-23 21:42
povikthis was btw with the sio loader code as its sitting in the pr: https://github.com/AsahiLinux/m1n1/pull/286
#asahi-dev · 2023-02-23 21:41
povikbut i saw the no-maps there
#asahi-dev · 2023-02-23 21:41
poviki am not by the test machine anymore so i can't send a dt snippet
#asahi-dev · 2023-02-23 21:40
jannauerr, I can't read
#asahi-dev · 2023-02-23 21:26
jannausee boot_fdt_add_mem_rsv_regions() in boot/image-fdt.c
#asahi-dev · 2023-02-23 21:26
jannaupovik: there has to be something wrong with "no-map". the function producing the error message should not be called
#asahi-dev · 2023-02-23 21:18
jannauno, we don't do anything for the carveouts there. see fdt_add_mem_rsv()
#asahi-dev · 2023-02-23 21:16
povikjannau: not sure i understand that
#asahi-dev · 2023-02-23 21:14
jannauthat would exclude reserved memory from the carveouts too but there's the reserved memory map (not visible)
#asahi-dev · 2023-02-23 21:07
kettenispovik: I don't think you're supposed to reserve memory ranges that are not included in the ranges advertised by the /memory node
#asahi-dev · 2023-02-23 20:57
chadmedthat was fast
#asahi-dev · 2023-02-23 20:57
chadmedooh looks like ive got some stuff to test this evening :D
#asahi-dev · 2023-02-23 20:28
j`eymaybe: #define NUM_PLAYBACK 1 #define NUM_CAPTURE 0 somewhere would make that more obvious :P
#asahi-dev · 2023-02-23 20:16
povikduh https://tpaste.us/ogaL
#asahi-dev · 2023-02-23 20:14
povikboot times realy have improved since (mine) early days
#asahi-dev · 2023-02-23 20:13
povikalso 3.9 into the boot and pulseaudio is already snooping around pcms
#asahi-dev · 2023-02-23 20:13
povikah it tries capture on hdmi
#asahi-dev · 2023-02-23 20:13
povik[ 3.918360] snd_pcm_capture_open+0x4c/0x78
#asahi-dev · 2023-02-23 19:49
povikwhich i haven't yet replaced on this install with pipewire
#asahi-dev · 2023-02-23 19:49
povikthe one upside to the NULL pointer issue is that it takes down pulseaudio on the userspace side
#asahi-dev · 2023-02-23 19:39
jannauI'm not sure I looked if u-boot complains about the reallocated framebuffer. not you need to manually configure a hgiher display resolution for m1n1 to trigger the reallocation
#asahi-dev · 2023-02-23 19:38
sventhat sound eerily similar to how my early driver development process works :D
#asahi-dev · 2023-02-23 19:38
povikwho would have guessed trying the new drivers with a proper distro install would have opened that many new issues
#asahi-dev · 2023-02-23 19:38
poviknow i got to a NULL pointer dereference :D
#asahi-dev · 2023-02-23 19:38
povikpd_ignore_unused did the trick and the other issue (SIO randomly dying) disappears
#asahi-dev · 2023-02-23 19:37
povikit does, and i inspected the DT and the reservations are there
#asahi-dev · 2023-02-23 19:36
jannaudoes it boot to linux? I find inspecting the dtb with `dtc -I fs -O dts -o - /proc/device-tree | less -I` helpful
#asahi-dev · 2023-02-23 19:32
povikon an unrelated issue time has come to try pd_ignore_unused
#asahi-dev · 2023-02-23 19:30
povikjannau: yup
#asahi-dev · 2023-02-23 19:30
jannaupovik: do those regions have a "no-map" property?
#asahi-dev · 2023-02-23 19:29
svenif I connect my caldigit dock in front of the usb4 hub all the hotplug interrupts just work
#asahi-dev · 2023-02-23 19:29
svenhm, so the hotplug interrupt issue is clearly a usb4 thing
#asahi-dev · 2023-02-23 19:26
poviki did the same m1n1's display.c is doing to reallocate framebuffer
#asahi-dev · 2023-02-23 19:26
povikmaybe i am wrong in removing the allocated regions from the usable memory range
#asahi-dev · 2023-02-23 19:25
povikit must have something to do with them being placed at the top of memory and allocated in m1n1, because the firmware regions passed down from apple's carveouts don't trigger that
#asahi-dev · 2023-02-23 19:20
poviku-boot not happy about the sio reservations ^--
#asahi-dev · 2023-02-23 19:20
povikERROR: reserving fdt memory region failed (addr=9e09d4000 size=4000 flags=4)
#asahi-dev · 2023-02-23 19:20
povikERROR: reserving fdt memory region failed (addr=9e09b4000 size=20000 flags=4)
#asahi-dev · 2023-02-23 19:20
povikERROR: reserving fdt memory region failed (addr=9e09b0000 size=4000 flags=4)
#asahi-dev · 2023-02-23 19:20
povikERROR: reserving fdt memory region failed (addr=9e09ac000 size=4000 flags=4)
#asahi-dev · 2023-02-23 19:20
povikof course i haven't set it up properly
#asahi-dev · 2023-02-23 18:41
sven“Enable proxy mode if -v is set and if the local policy security mode is set to the most insecure level”
#asahi-dev · 2023-02-23 18:41
povikso why don't i get the early proxy here :p
#asahi-dev · 2023-02-23 18:41
povikok
#asahi-dev · 2023-02-23 18:40
sventhe thing after the && checks for security level or something
#asahi-dev · 2023-02-23 18:40
povikah, so that's not the other thing after &&?
#asahi-dev · 2023-02-23 18:40
svenI think that name is just misleading. it’s actually something like “verbose boot enabled” iirc
#asahi-dev · 2023-02-23 18:35
povikhttps://github.com/AsahiLinux/m1n1/blob/main/src/main.c#L78

plus ›