#asahi-dev · 2023-08-12 15:07
bgbmaz: I just assembled and tested your Central Scrutinizer, it works very well, thanks :-)#asahi-dev · 2022-11-06 12:40
bgbjannau: sorry to bother, what is the sane way to change kernel pagesize to 4K on current asahilinux install?#asahi-dev · 2021-02-15 03:52
bgbok, cool! I'd like to try to get rid of mini's screen, thanks#asahi-dev · 2021-02-15 03:27
bgbmarcan: how did you get mini hdmi output showed on your host screen by just typing "hdmi" shell cmd?#asahi-dev · 2021-02-09 12:57
bgbmarcan: does m1 support 4K granule?#asahi-dev · 2021-02-09 10:48
bgbmaybe uart dev is not close properly?#asahi-dev · 2021-02-09 10:47
bgbI just CTRL+C linux.py#asahi-dev · 2021-02-09 10:47
bgb"sudo picocom -q --omap crlf --imap lfcrlf -b 115200 /dev/tty.debug-console" hang in my case#asahi-dev · 2021-02-09 10:43
bgbmarcan: after loading and transferring control to Kernel, how to intract with kernel shell? it seems iface.ttymode() doesn't support input?#asahi-dev · 2021-02-09 02:19
bgbmarcan: according to VHE part of ARM ARM spec, TTBR0_EL12 is alias of TTBR0_EL1 when E2H==1. if E2H is hard-wired to 1, this seems really meaninglesss?#asahi-dev · 2021-02-09 02:10
bgbI just want to disable VHE after mmu disabled and before jumping to kernel, but it is OK for kernel, as VHE is designed for running kernel at EL2 without changing kernel code.#asahi-dev · 2021-02-08 12:58
bgbthis seems conflict with arm architectue reference manual#asahi-dev · 2021-02-08 12:58
bgbgot it, thanks#asahi-dev · 2021-02-08 12:47
bgbmarcan: can we disable HCR_EL2.E2H bit? I just wanted to clear this bit in m1n1_main, but failed#asahi-dev · 2021-02-08 09:52
bgbso, that is why m1n1 startup code is written in PIC, and C files compiled with -fPIC.#asahi-dev · 2021-02-08 06:51
bgbok, I do notice the top_of_kernel_data of bootargs changes every time when transfered from iBoot#asahi-dev · 2021-02-08 06:41
bgbnot sure if this is reasonable. anyway, nice approach to convert elf to macho!#asahi-dev · 2021-02-08 06:37
bgbxnu kernel is linked at 0xFFFFFE0007004000 (according to xnu makefile...-Wl,-image_base,$(ARM64_LINK_ADDR)), so there is no reason to be wrong for m1n1 using this address#asahi-dev · 2021-02-08 06:29
bgbmaran: I saw more about m1n1.ld, the m1n1 code itself is linked at 0, then you tell iBoot which loads the m1n1.macho: please load m1n1 to vmaddr and transfer#asahi-dev · 2021-02-08 04:20
bgbnot quite clear about the whole picture, but got more info to understand why using this address to get control of M1#asahi-dev · 2021-02-08 04:17
bgbseems lines 637-664 give more detailed info.#asahi-dev · 2021-02-08 04:15
bgbI got it, thanks#asahi-dev · 2021-02-08 04:05
bgbI guess iBoot loads m1n1.macho as a standalone app, just as we execute hello demo under linux. question is why 0xFFFFFE0007004000?#asahi-dev · 2021-02-08 03:35
bgbI am curious about the m1n1.ld, there is a line: "_va_base = 0xFFFFFE0007004000;", How did we decide this specific address?#asahi-dev · 2021-02-07 09:53
bgbbastilian: usb-c cable shipped with macbook will NOT work