#asahi · 2021-08-07 00:41
amw*connect via a USB hub I mean#asahi · 2021-08-07 00:40
amwalyssa: Might be a lots easier to by a USB hub - mine works fine for keyboard + USB drive, might be limited to USB2 support though...#asahi · 2021-08-03 23:25
amwYou might be right about the partitioning - I'll have to check exactly what I did as it was a while ago and didn't touch it since then#asahi · 2021-08-03 23:23
amwj_ey: As per quick start you just re-partition it under the MacOS filesystem APFS #asahi · 2021-08-03 22:56
amwPlenty of fun to be had with other things #asahi · 2021-08-03 22:55
amwj_ey: Talk to sven, it's too unstable for me to risk it for me#asahi · 2021-08-03 22:54
amwThere is a bug in the system some where with the extra spaces (in the python/m1n1) I believe#asahi · 2021-08-03 22:53
amwI'm not in a position to try again for another 12 hours or so#asahi · 2021-08-03 22:53
amwj_ey: I think so - See https://paste.debian.net/1206483/ - that output was from linux.py over the serial I believe#asahi · 2021-08-03 13:34
amwpipcet[m]: That's not set but CONFIG_CMDLINE_FROM_BOOTLOADER=y is set#asahi · 2021-08-03 13:29
amwj_ey: I tried that and it didn't work for me#asahi · 2021-08-03 13:27
amwj_ey: The boot_args are for the HV. I tried it didn't go through to Linux#asahi · 2021-08-03 13:25
amwFinally got the nvme/USB running under the HV - needed to compile in the kernel parameters into the kernel image - updated https://github.com/AsahiLinux/docs/wiki/SW:Linux#nvme--usb#asahi · 2021-08-03 11:49
amwsven: Thanks - I might just focus on the keyboard/spi for the moment - but fun to get this far...#asahi · 2021-08-03 10:34
amwsven: nvme + dart + ans clocks can see nvme drive - now how would I re-partition it for Linux? - https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/nvme-boot.jpg#asahi · 2021-08-03 08:48
amwmarcan: Just made PR for the fix to shell.py#asahi · 2021-08-03 08:26
amwUnder shell.py - I had to fix the broken help code though - just did a try to catch the exception when no Signature found#asahi · 2021-08-03 08:26
amwsven: Yep - this fixes my boot up with the nvme tree: pmgr_adt_clocks_enable("/arm-io/ans")#asahi · 2021-08-03 08:09
amwI think my changes to proxyclient/m1n1/shell.py have broken proxyclient/tools/shell.py :-( sorry#asahi · 2021-08-03 07:52
amwYep - need to be in proxyclient dir - now works - thanks#asahi · 2021-08-03 07:52
amwModuleNotFoundError: No module named 'm1n1'?#asahi · 2021-08-03 07:51
amwand further removing that leads to other ones in ./proxyclient/m1n1/setup.py ...?#asahi · 2021-08-03 07:50
amwRemoving the '.' from .utils just pushes the problem further down to "from .setup import *"#asahi · 2021-08-03 07:49
amwI'm getting a ImportError on "python3.9 ./proxyclient/m1n1/adt.py --retrieve dt.bin" - attempted relative import with no known parent package#asahi · 2021-08-03 06:52
amw*Sorry that was MBA - I think it might have been running m1n1 when I closed the lid till the battery went flat - it wouldn't start up till I plugged in a power cable to a good USB charger#asahi · 2021-08-03 06:51
amwpipcet[m]: Thanks - my MBP is down doing an update/charging (run it out of battery under m1n1 I think)#asahi · 2021-08-03 06:07
amwI assume something similar but for "ans" - don't understand the syntax so will require some reading...#asahi · 2021-08-03 06:06
amwproxyclient/experiments/i2c.py has "...run pmgr_adt_clocks_enable for /arm-io/i2c0 before this script."#asahi · 2021-08-03 06:03
amwDo I call pmgr_clock_enable() in a m1n1 script before loading?#asahi · 2021-08-03 06:01
amwsvenpeter[m]: I have both the nvme branch and the dart combined (but it is the nvme that introduces the problem...)#asahi · 2021-08-03 04:43
amwIs there a better way? I am getting a bit confused of how that would all hold together...#asahi · 2021-08-03 04:41
amwI've just been doing run_guest.py as per https://github.com/AsahiLinux/docs/wiki/SW:Linux#under-hypervisor#asahi · 2021-08-03 04:37
amwNo special kernel cmdline for 1 cpu? Just a edited ds#asahi · 2021-08-03 04:34
amwok - will have a go and report back. I think I need to disable the first USB port in the device tree so m1n1 can use it#asahi · 2021-08-03 04:23
amwI think I might try and get this error under the hypervisor as it might be a much better way to debug exceptions#asahi · 2021-08-03 03:14
amwPerhaps similarly with the SError register info#asahi · 2021-08-03 03:14
amwmarcan: So I'm ok to patch another (Samsung based?) spi driver et cetera based on my readings of corellium code#asahi · 2021-08-03 02:25
amwIt's very reproducible so that's my way in - at least now thanks to you I have some idea of what it is complaining about#asahi · 2021-08-03 02:24
amwchadmed: Thanks - my ARM64 manual doesn't have the term SERROR in it at all - but google found another ARM document on Exception types that says it is an System Error -> memory system #asahi · 2021-08-03 01:31
amwGreat - is there a way to point to how I can learn how to decode this - the disconnect of the linux info from the ARM manuals is very frustrating#asahi · 2021-08-03 01:08
amwPSTATE is clear enough - but is that exception because it accessed a bad address, illegal (PAN active?) address and if so what address?#asahi · 2021-08-03 01:07
amwLinux code has an esr register - what should I look at in the ARM manual to decode that?#asahi · 2021-08-03 01:06
amwI can't link the Linux code names with the relevant ARM64 Exception terms - e.g. e1h_64_error -> is that Hypervisor exception, PL1 ?#asahi · 2021-08-03 01:05
amwCan some one decode SError crash? I have a crash here https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/nvme-crash.png#asahi · 2021-08-02 23:53
amwShould this be on #asahi-re? I'm just reading publically available C code on github...#asahi · 2021-08-02 23:53
amwCan I just start writing fresh code based on reading that and submit a PR or is that too risky?#asahi · 2021-08-02 23:52
amwmarcan: Looked at the correllium code and keyboard looks straight forward, SPI + GPIO hardware + patches to apple keyboard driver#asahi · 2021-08-02 13:04
amwWould the linux/drivers/input/keyboard/applespi.c be relevant?#asahi · 2021-08-02 10:43
amwok - thanks - will do#asahi · 2021-08-02 10:40
amwpipcet[m]:That would be nice. If it doesn't compromise my ability to make PRs I would be happy to look at it.