#
#asahi-alt · 2024-01-04 06:58
psykosethe aarch64 image is not self-decompressing so you get regular vmlinux, only with bootloader support to decompress it can you compress it
#asahi-alt · 2024-01-04 06:33
lactoseI knew that, but how do I get the compressed vmlinuz image?
#asahi-alt · 2024-01-04 06:18
tdrfor aarch64, ARCH=arm64 but youd want to set CROSS_COMPILE too
#asahi-alt · 2024-01-04 06:17
chadmed_lactose: aarch64-unknown-linux-gnu
#asahi-alt · 2024-01-04 05:36
lactoseI'm trying to cross compile the linux kernel, what target should I be building?
#asahi-alt · 2024-01-03 16:20
j`eyit's just a way of getting a live-ish environment
#asahi-alt · 2024-01-03 16:19
lactoseI've never worked with squashfs and I've certainly never seen one used as root
#asahi-alt · 2024-01-03 16:16
lactoseAt least that's what I could make out of it. I don't really understand how it works. I know it's based on chadmed's asahi-gentoosupport though
#asahi-alt · 2024-01-03 16:15
j`eyyup
#asahi-alt · 2024-01-03 16:14
lactoseThat first repo doesn't build an install image, it instead creates a squashfs and uses a different distro to handle the bootloader stuff
#asahi-alt · 2024-01-03 16:08
j`eyolder repo https://github.com/mac-a-r0ni/asahi-slackware
#asahi-alt · 2024-01-03 16:03
j`eyI dont know where/if there are any slackbuilds
#asahi-alt · 2024-01-03 16:03
j`eyhttps://github.com/Marek-Svoboda/slackahi-support
#asahi-alt · 2024-01-03 16:02
lactoseI have plans to make a Slackware image so this will be incredibly useful
#asahi-alt · 2024-01-03 16:02
lactoseOh wow I never knew that existed, thanks
#asahi-alt · 2024-01-03 15:59
j`eyhttps://github.com/AsahiLinux/asahi-alarm-builder/blob/main/build.sh is the ALARM build script
#asahi-alt · 2024-01-03 15:58
lactoseAlright cool, thanks a lot
#asahi-alt · 2024-01-03 15:53
j`eyyup
#asahi-alt · 2024-01-03 15:53
lactoseWell I figured that was a given haha. From what I could gather the installer handles stage 1 m1n1 so I wouldn't have to worry about that, is that right?
#asahi-alt · 2024-01-03 15:46
j`eyalong with the rootfs, yeah
#asahi-alt · 2024-01-03 15:44
lactoseI've done a little more research about m1n1 and U-Boot, so I think I understand them a bit better now. If I wanted to craft an image to be used with the installer, I need to set up stage 2 m1n1 + U-Boot and an EFI compatible bootloader (i.e. GRUB)?
#asahi-alt · 2024-01-03 11:07
sam_not clear to me what else it should do differently (every time I've hit a workspace, just picking the things I actually want worked fine for me) but if you have an idea in mind, go nuts
#asahi-alt · 2024-01-03 11:07
sam_but you should file a bug if you think it should handle it better and it doesn't
#asahi-alt · 2024-01-03 11:07
sam_but maybe i'm missing something, i'm no rust expert
#asahi-alt · 2024-01-03 11:06
sam_it sounds more related to stupid shenanigans like git crates
#asahi-alt · 2024-01-03 11:06
sam_this doesn't sound related to that part
#asahi-alt · 2024-01-03 11:06
sam_but isn't it quite unusual for multiple binaries to be needed?
#asahi-alt · 2024-01-03 11:04
chadmed_whereas cargo proper, you just run cargo build/install from the root and it iterates over the workspace members and it resolves all the dependencies and interdependencies, builds them in the correct order, then installs them
#asahi-alt · 2024-01-03 11:03
chadmed_and because cargo-ebuild and pycargoebuild cant tolerate workspaces, i had to do some weird stuff to get cargo.eclass to behave nicely with those vendored crates and the different components that the actual package expects to build
#asahi-alt · 2024-01-03 11:02
chadmed_libkrun is egregious because it makes use of this _and_ vendors multiple other crates that it really really shouldnt
#asahi-alt · 2024-01-03 11:02
chadmed_a couple of things ive tried to package up in the last week or so have depended on cargo's workspace feature, where multiple interdependent modules get developed, built and installed from a single root
#asahi-alt · 2024-01-03 11:01
sam_i'm not really sure what else you want it to do
#asahi-alt · 2024-01-03 11:01
sam_right
#asahi-alt · 2024-01-03 10:54
chadmed_so not necessarily a bug
#asahi-alt · 2024-01-03 10:54
chadmed_i think its expected behaviour because if you run it in a workspace it explicitly says to only do it at the path of an actual binary package
#asahi-alt · 2024-01-03 10:52
sam_anyway file a bug if it's doing something wrong or speak to mgorny
#asahi-alt · 2024-01-03 10:52
sam_are you sure it doesn't handle it properly? (pycargoebuild)
#asahi-alt · 2024-01-03 10:40
chadmed_but at least it tells you it expects each member of the workspace to be its own package
#asahi-alt · 2024-01-03 10:40
chadmed_leio: that doesnt either :p
#asahi-alt · 2024-01-03 10:39
leiochadmed_: pycargoebuild is the current thing that's mostly used, not cargo-ebuild.
#asahi-alt · 2024-01-03 10:35
chadmed_hm cargo-ebuild doesnt seem to tolerate workspaces properlyt
#asahi-alt · 2024-01-03 08:31
cy8aeraka device tree binary
#asahi-alt · 2024-01-03 08:29
cy8aerdp -> dtb (sorry)
#asahi-alt · 2024-01-03 08:12
cy8aerhas not -> there is
#asahi-alt · 2024-01-03 07:48
cy8aerAnd the pre compilation of boot.bin is only possible because the kernel source is lying around in the build dir at the same time with the m1n1_uboot_kernel.sh script
#asahi-alt · 2024-01-03 07:45
cy8aerThe main problem is that it is difficult to find the dps at install time from the kernel packages so it is precompiled at packaging time. Other dists do it at install time. As long as the kernel dpc is not stable this must be done.
#asahi-alt · 2024-01-03 07:43
cy8aersee https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blob_plain/HEAD:/m1n1_uboot_kernel.sh what is happening there.
#asahi-alt · 2024-01-03 07:42
cy8aerm1n1 and u-boot together with the dps from the kernel create a file /boot/efi/m1n1/boot.bin which is the second stage of m1n1. In the @Glanzmann-Repo m1n1 has not only the m1n1 binary but also the combined boot.bin which is copied to /boot/efi/m1n1 at install time (together with creating a backup). So there is a dependency of m1n1 with the kernel because different kernels have different dps
#asahi-alt · 2024-01-03 02:17
lactoseI'm looking at the Debian repo and I'm not sure how m1n1 and u-boot fit into the picture, also the official installer has no documentation that I could find
#asahi-alt · 2024-01-03 02:15
lactoseI want to try to craft a Slackware rootfs image to use with the official installer, but I'm confused as to how to do that.

plus ›