#
#asahi-alt · 2023-08-16 16:58
zerdoxif i can install second asahi, maybe i can just chroot and change link pointing from usr/src/linux?
#asahi-alt · 2023-08-16 16:56
zerdoxsecond scenario, will it share the same bootloader? or they will be fully independent from each other
#asahi-alt · 2023-08-16 16:55
ChaosPrincessor, just install another copy of asahi
#asahi-alt · 2023-08-16 16:54
ChaosPrincessdd if=/dev/diskWhatever of=file on macos, mount disk in a vm
#asahi-alt · 2023-08-16 16:53
zerdoxDo you guys have any ideas how can I at least access files? Not even thinking about repairing that stuff, it must be easier to start over, but I would really like to get some keys and passwords from here
#asahi-alt · 2023-08-16 16:53
zerdoxchadmed ChaosPrincess jannau after update it pointing to edge kernel and edge kernel for some reason did not have that files. I changed it to stable version and update-m1n1 worked fine. Today I tried to switch to edge kernel and fucked up my setup :) https://send.vis.ee/download/6eade1db8cc376dd/#w0ho3YFO5AlTNXprdA8UcQ
#asahi-alt · 2023-08-15 03:08
sam_stintel: hello :)
#asahi-alt · 2023-08-14 19:39
stintelsam_: o/
#asahi-alt · 2023-08-14 19:16
jannauzerdox: update-m1n1 expect that the /usr/src/linux symlink points to the kernel you want to boot and that it is compiled in /usr/src/linux-...
#asahi-alt · 2023-08-14 19:15
ChaosPrincesszerdox: what does `eselect kernel list` say
#asahi-alt · 2023-08-14 19:13
zerdoxchadmed: Hello again :) I've been using gentoo for a while and when around 4 months passed by I decided to upgrade my system. I did, partially due to some errors which I did not resolved yet. After updating packages I tried to run update-m1n1 but got this error: cat: '/usr/src/linux/arch/arm64/boot/dts/apple/*.dtb': No such file or directory. I am afraid to reboot my linux :D What do I do? Thank you
#asahi-alt · 2023-08-11 05:18
jannauerr
#asahi-alt · 2023-08-11 05:18
jannauthen append the ESP part uuid to the copied boot.bin: `cat boot.bin <(echo -ne 'chosen.asahi,efi-system-partition=${PARTUUID}\n\0\0\0\0') > boot_esp.bin`
#asahi-alt · 2023-08-10 17:36
stinteland all the instructions are in my irclogs, so if I hit some problems in the future I know at least a few things to try
#asahi-alt · 2023-08-10 17:35
stintel_jannau__: thanks again. appreciate your patience :)
#asahi-alt · 2023-08-10 17:33
stintelman this thing runs like a dream
#asahi-alt · 2023-08-10 10:33
stintelthan you so much for helping me get that sorted
#asahi-alt · 2023-08-10 10:33
stintelsweet
#asahi-alt · 2023-08-10 10:30
_jannau__yes, for now always use the dtb from the same kernel you're booting
#asahi-alt · 2023-08-10 10:30
_jannau__no, that is the dtb from m1n1/boot.bin or the one youused with run_guest.py
#asahi-alt · 2023-08-10 10:29
stintelahh I think I see what's going on. the t8112.dtsi in u-boot is outdated
#asahi-alt · 2023-08-10 10:27
stintelcould this be because of the m1n1 installed by the installer?
#asahi-alt · 2023-08-10 10:27
stintelinteresting, there the dcp does not have the piodma node
#asahi-alt · 2023-08-10 10:26
stintelhttps://gist.github.com/stintel/6e19e5ad9ebdfb69094a1a1b1f92b928
#asahi-alt · 2023-08-10 09:54
_jannau__still looks if you have an old devicetree in the m1n1 + ... bundle
#asahi-alt · 2023-08-10 09:53
_jannau__that looks sane. please paste the output of `dtc -I fs -O dts -o - /proc/device-tree | sed -n '/^\t\tdcp@/,/^\t\t};/p'`
#asahi-alt · 2023-08-10 09:52
stintelso it actually is enabled
#asahi-alt · 2023-08-10 09:52
stintelokay
#asahi-alt · 2023-08-10 09:52
stintel/sys/firmware/devicetree/base/soc/iommu@231304000 # cat status
#asahi-alt · 2023-08-10 09:39
stintelfrom the serial console? https://gist.github.com/stintel/6e2de803614853c619c75e93018218b0
#asahi-alt · 2023-08-10 09:37
_jannau__no, the one in the hypervisor
#asahi-alt · 2023-08-10 09:36
stintel_jannau__: this? https://gist.github.com/stintel/c7b115307bb6629151a099be6cf06a1d
#asahi-alt · 2023-08-10 09:33
_jannau__can I get the output of m1n1 which executes u-boot as payload
#asahi-alt · 2023-08-10 09:30
_jannau__right. it should be enabled by m1n1 see https://github.com/AsahiLinux/m1n1/blob/8e3016e323dccbbf16aa2d297d4a5e38bb38287d/src/kboot.c#L1406
#asahi-alt · 2023-08-10 09:27
stintel_jannau__: it is disabled in t8112.dtsi and never enabled afaict
#asahi-alt · 2023-08-10 09:26
_jannau__stintel: can you see why disp0_dart is disabled? it shouldn't
#asahi-alt · 2023-08-10 09:25
stintelis this because disp0_dart is status disabled ?
#asahi-alt · 2023-08-10 09:21
stintelthat worked. seems it's just the display that locks up: I believe this is where the useful info starts: https://gist.github.com/stintel/bf4dc23519e22a7b9daa014a4e6cfec7#file-gistfile1-txt-L432
#asahi-alt · 2023-08-10 09:17
_jannau__'chosen.asahi,efi-system-partition=${PARTUUID}\n\0\0\0\0'
#asahi-alt · 2023-08-10 09:17
_jannau__that, or just grab the m1n1 + u-boot + dtb bundle and append just 'chosen.asahi,efi-system-partition=$P{PARTUUID}\n\0\0\0\0'
#asahi-alt · 2023-08-10 09:17
stintelalright
#asahi-alt · 2023-08-10 09:15
j`eyneed to build with rust
#asahi-alt · 2023-08-10 09:15
j`ey'Chainloading files not supported in this build!
#asahi-alt · 2023-08-10 09:15
stintelso it finds both variables but then: Chainloading files not supported in this build!
#asahi-alt · 2023-08-10 09:15
stintelhttps://gist.github.com/stintel/2a14c29e180136a25e2fc1f9648110a9
#asahi-alt · 2023-08-10 09:13
stintelhmm wait
#asahi-alt · 2023-08-10 09:07
stintelhmm now if (!val) evaluates to true
#asahi-alt · 2023-08-10 09:03
_jannau__missing -e in the echo command
#asahi-alt · 2023-08-10 09:02
stintels/matches/evaluates to true/
#asahi-alt · 2023-08-10 09:02
stintelif (!end) matches

plus ›