#
#asahi-dev · 2026-07-08 13:49
fl0_id_afkSobek[m] not macs, iphones
#asahi-dev · 2026-07-08 13:47
nickchanroom
#asahi-dev · 2026-07-08 13:47
nickchanwhat i am saying is there's tons of rom for optimization and splitting bin is not going to be required
#asahi-dev · 2026-07-08 13:47
nickchanbut then it's still okay, though with psci-via-efi branch the size does become *slightly* concerning but probably won't cause immediate issues
#asahi-dev · 2026-07-08 13:46
nickchanSobek[m]: doubt it it would go to the point of needing different bins since the m1n1 size is not optimized at all now
#asahi-dev · 2026-07-08 13:45
Sobek[m]nickchan: ? Macs ?
#asahi-dev · 2026-07-08 13:45
Sobek[m](Would it make sense to have different m1n1 bin depending on the HW ?)
#asahi-dev · 2026-07-08 13:45
nickchanand im dealing with devices that may have only less than 512 MiB of usable dram
#asahi-dev · 2026-07-08 13:45
Sobek[m](And M5 Ultra have a higher minimum RAM compared to smaller chips ?)
#asahi-dev · 2026-07-08 13:44
nickchanas the size of the .bin
#asahi-dev · 2026-07-08 13:44
nickchanyes but the static allocation is everywhere
#asahi-dev · 2026-07-08 13:44
sven*of
#asahi-dev · 2026-07-08 13:44
svenso? these machines have GiB or RAM
#asahi-dev · 2026-07-08 13:43
nickchanwith m5 ultra 36 cpus it would make the m1n1.bin over 2 MiB of just stacks
#asahi-dev · 2026-07-08 13:42
nickchannot really a fan of making the secondary stack a static allocation
#asahi-dev · 2026-07-08 11:59
svenother than MMIO it's just m1n1 .data/.rodata/.bss and .text anyway
#asahi-dev · 2026-07-08 11:58
svenyeah, i also plan to restrict the MMIO mappings to what we actually need instead of just mapping everything
#asahi-dev · 2026-07-08 11:57
kettenisthe memory regions can probably be passed along as reserved-memory entries with some additional property to indicate that they're EFI runtime things
#asahi-dev · 2026-07-08 11:53
svenit's all a bit silly because we could also just add the memory map and a pointer to the psci handler in the FDT and just skip all the EFI stuff but oh well
#asahi-dev · 2026-07-08 11:52
svenyeah
#asahi-dev · 2026-07-08 11:52
kettenisanyway, yes, you'll need to pass something in the device tree that we can parse in u-boot
#asahi-dev · 2026-07-08 11:51
svenit works because i set runtime_services_supported to "nothing" and at least linux respects that and doesn't try to call into any efi services
#asahi-dev · 2026-07-08 11:50
sveni expected that to crash
#asahi-dev · 2026-07-08 11:50
ketteniswould have expect you'd need ExitBootServices() at the very minimum
#asahi-dev · 2026-07-08 11:50
svenyup, same :D
#asahi-dev · 2026-07-08 11:50
kettenisI'm amazed that you get away with not implenting any boottime services
#asahi-dev · 2026-07-08 11:49
sveni expect that to be only useful for directly chainloading to the kernel fwiw, u-boot (or whatever) probably needs a different protocol to essentially pass along that new table i made up + the runtime mappings we need
#asahi-dev · 2026-07-08 11:46
kettenisno kidding ;)
#asahi-dev · 2026-07-08 11:45
svenpretty sure it violates the spec though
#asahi-dev · 2026-07-08 11:45
svenyes, it's the bare minimum to make it happy
#asahi-dev · 2026-07-08 11:45
kettenissven: the code in efi.rs is enough to make the Linux kernel EFI stub happy?
#asahi-dev · 2026-07-08 11:44
kettenisjannau: yes, I was that in my mail
#asahi-dev · 2026-07-08 09:04
nickchaniboot traces makes it so much simpler
#asahi-dev · 2026-07-08 09:03
nickchani can already read from the nand from m1n1 python on a8x so a7/a8/a8x storage support would be coming eventually
#asahi-dev · 2026-07-08 09:02
nickchanif you include every a11 user there's maybe 10
#asahi-dev · 2026-07-08 09:02
nickchani say there's about 5
#asahi-dev · 2026-07-08 09:01
svenso 10 iphone 8 users then? :D
#asahi-dev · 2026-07-08 09:01
JamesCalligeros[m]Opportunity cost then :p
#asahi-dev · 2026-07-08 09:01
jannauI doubt apple has less than 10% margin on anything
#asahi-dev · 2026-07-08 09:01
nickchanI can't tell for sure i don't have the stats
#asahi-dev · 2026-07-08 09:00
nickchanthere is about 5 times more Linux on iPhone 8 users than mac pro asahi linux users then
#asahi-dev · 2026-07-08 09:00
jannauit's possible that both reported mac pro installs are from me. I usually don't report test installs though
#asahi-dev · 2026-07-08 09:00
JamesCalligeros[m]I’m doing my part!
#asahi-dev · 2026-07-08 08:59
JamesCalligeros[m]As long as it’s costing american companies money shrug
#asahi-dev · 2026-07-08 08:59
nickchanfraud ! ! !
#asahi-dev · 2026-07-08 08:59
JamesCalligeros[m]And because australian unis let you keep your email address basically forever, i can still verify my student status every year and get the student plan for that (and 10% off hardware at the apple store)
#asahi-dev · 2026-07-08 08:58
JamesCalligeros[m]I have an iphone and will not buy anything else but i dont pay for any apple services other than apple music
#asahi-dev · 2026-07-08 08:57
nickchanabout the revenue now I still use macOS a lot but I think my way of using it doesn't generate much revenue for apple
#asahi-dev · 2026-07-08 08:57
nickchani wonder who is the other one
#asahi-dev · 2026-07-08 08:57
sven:D

plus ›