#asahi · 2021-02-06 16:52
jannauAPPL is used in the kernel for powerpc#asahi · 2021-02-06 13:59
jannauzstd would be interesting compared to gzip (slightly smaller image and expected faster decompress) but xz is more than 20% smaller and still decodes fast enough#asahi · 2021-02-06 13:55
jannauShiz: lzo compressed Image is 10% larger than gzip. the increased load time over uart will be larger than gunzip time with mmu#asahi · 2021-02-06 13:42
jannauthe kernel supports more decompression algorithms than m1n1#asahi · 2021-02-06 13:41
jannauin the linux.py loader case the initramfs is uncompressed by the kernel#asahi · 2021-02-06 13:40
jannauyes#asahi · 2021-02-06 13:32
jannauI think it's the initial install#asahi · 2021-02-06 13:32
jannausecond macos install#asahi · 2021-02-06 13:18
jannauI would expect that every arm64 rootfs works with their kernel. kernel modules have to copied to the rootfs#asahi · 2021-02-06 13:16
jannauI haven't looked how the boot process with nvme works, previously the root partion was by default "/dev/sda2"#asahi · 2021-02-06 13:14
jannauit boots without initramfs so everything for mounting the root partition needs to be built in#asahi · 2021-02-06 13:13
jannaupreloader-m1 produces a linux.macho which is equivalent to m1n1-payload.macho#asahi · 2021-02-06 13:12
jannauthat gives you kernel Image and device tree to use with their preloader-m1#asahi · 2021-02-06 13:11
jannaufor the corellium kernel build. I extracted the config via ./scripts/extract-ikconfig in the kernel, slimmed it down and built it#asahi · 2021-02-06 13:09
jannauGlanzmann: there's more output on the framebuffer console it's missing from the serial output due to missing "console=tyySAC0,1500000". init seems to simply exit#asahi · 2021-02-06 13:04
jannauGlanzmann: yes, I booted a self-built cerellium kernel last week with arch linux arm root fs#asahi · 2021-02-06 12:55
jannauGlanzmann: https://paste.debian.net/1184255/#asahi · 2021-02-06 12:53
jannauGlanzmann: your m1n1-payload boots here on a mac mini#asahi · 2021-02-06 12:49
jannauI'm currently chainloading#asahi · 2021-02-06 12:49
jannauconfig looks correct now#asahi · 2021-02-06 12:34
jannauyes#asahi · 2021-02-06 12:31
jannaumain should be fine#asahi · 2021-02-06 12:26
jannaumarcan: still reports master as default branch#asahi · 2021-02-06 12:22
jannauscripts/extract-ikconfig is useful and even works on m1n1-payload.macho directly#asahi · 2021-02-06 12:21
jannauare you sure you're building with the correct branch#asahi · 2021-02-06 12:21
jannauGlanzmann: your kernel config misses 'CONFIG_ARCH_APPLE=y', also it seems to be based on 5.11.0-rc2 instead of 5.11.0-rc6#asahi · 2021-02-06 12:10
jannauI'll try your m1n1-payload now#asahi · 2021-02-06 12:09
jannauGlanzmann: it uploaded successfully but didn't give me a url for it#asahi · 2021-02-06 12:06
jannauGlanzmann: my m1n1-payload.macho works with `kmutil configure-boot`. it displays penguins and boot messages until init switches to the serial console#asahi · 2021-02-06 11:57
jannauGlanzmann: I'll try if m1n1-payload.macho works with kmutil for me#asahi · 2021-02-06 11:49
jannauthe initramfs from the general arch linux arm arm64 tarball "works" too as in it ends up in an emergency shell#asahi · 2021-02-06 11:39
jannauyes#asahi · 2021-02-06 11:37
jannauerr, yes it's cpu micro code. I didn't pay enough attention#asahi · 2021-02-06 11:36
jannaucompiling on notebook with iwlwifi#asahi · 2021-02-06 11:36
jannauit somhow misses firmware for iwlwifi. I saw the same and also just disabled FW_LOADER#asahi · 2021-02-05 21:17
jannauthanks, found it myself#asahi · 2021-02-05 21:10
jannauI wouldn't have expected that#asahi · 2021-02-05 21:08
jannaui.e. apple's PMU needs to be reverse engineered for perf support in linux#asahi · 2021-02-05 21:07
jannaunever_released: PMUver bits in ID_AA64DFR0_EL1 in EL2/m1n1 are b'1111' IMPLEMENTATION DEFINED#asahi · 2021-02-05 20:39
jannauno PMUv3 (Arm performance monitors) on M1 :(#asahi · 2021-02-05 15:33
jannaunice, xz decompression in m1n1 works. 20% faster kernel loading. no direct support for Image.xz in the kernel though#asahi · 2021-02-04 22:40
jannauthere might be out of spec USB-3 Superspeed cables, the first one I tried from an usb-3.1 gen2 nvme adapter didn't work#asahi · 2021-02-04 22:16
jannauMary_: serial wasn't working with the first usb-c/usb-c cable I tried, I suspect out of spec cable with missing SBU#asahi · 2021-02-04 22:13
jannauMary_: `python shell.py` will print bae and fb address#asahi · 2021-02-04 21:57
jannauthe first usb-c/usb-c usb3 cable had of course SBU not connected#asahi · 2021-01-31 11:31
jannauamw: no, it links to https://support.apple.com/en-us/HT204904 which says you should boot to 1TR via holding the power button on macs with apple silicon#asahi · 2021-01-31 11:22
jannauyou probably could get away with cloning enough from the first macos install. 'kmutil configure-boot' ask for user and password#asahi · 2021-01-31 11:15
jannauGlanzmann: no need to disable security features for the main macos install#asahi · 2021-01-31 11:14
jannaualso you have two 'Preboot' volumes which are mounted randomly to '/Volumes/Preboot' and '/Volumes/Preboot 1'#asahi · 2021-01-31 11:13
jannauyou can look that up in `diskutil list`