#
✕ nick:emxl
#asahi-dev · 2024-12-02 18:24
emxlkk
#asahi-dev · 2024-12-02 18:22
emxljannau: i think they are all implemented already, except this one offset. I can rebase (and add the sobs) but I'm not sure if there is a point since I'm pretty sure it's only this one change.
#asahi-dev · 2024-12-02 17:59
emxlhey, i made a pr a while ago with some bringup work for the m3 pro (6030). I see that most of those changes have been implemented regardless now but one that's still todo is adding cpu_start_offset, being 0x34000.
#asahi-dev · 2024-09-16 09:43
emxlIf you dont get any output on your screen the culprit is probably a new version of the boot_args struct (if you have a recent macOS version). This moves mem_size_actual, breaking the mapping code and crashing m1n1 before it can initialize the screen console. I fixed this for me by increasing cmdline from 608 to 1024 bytes.
#asahi-dev · 2024-09-16 09:40
emxlkj1243: You asked 2 weeks ago if you could help develop for M3. I think it would be helpful if you got to work on whatever init code for your platform is missing in m1n1. You can build m1n1 for your platform, flash it to a new OS install (then enable the -v (for verbose) boot arg with nvram boot-args="-v") and see what breaks and what works.
#asahi-dev · 2024-08-12 09:21
emxlIs there a good way to test mcc init? I've reversed out the offsets of the relevant mmio for my chip and it all seems correct but I don't really know what the mcc does nor how to test it.
#asahi-dev · 2024-08-09 13:33
emxlasking because i dont quite get the point of using mem_size_actual over ram_size when the other mappings encompassing the entire memory already use "ram_size"
#asahi-dev · 2024-08-09 13:32
emxloh ok, is changing the mapping to be "ram_size" large an acceptable fix or are you planning on abstracting the boot_args struct somehow and still using mem_size_actual for this?
#asahi-dev · 2024-08-09 12:43
emxlHey, I was wondering why m1n1 uses "mem_size_actual" here (https://github.com/AsahiLinux/m1n1/blob/main/src/memory.c#L414) instead of ram_size? "mem_size_actual" is 0 on my system (t6030).