#asahi · 2021-05-16 11:35
amwJust for the record it took me three tries to install the latest m1n1, I had to do csrutil clear, reboot, csrutil disable a few times before it took!#asahi · 2021-05-16 11:33
amwOk - I'm currently getting this python exception - https://paste.debian.net/1197758/#asahi · 2021-05-16 11:31
amwNow can I use it to boot Linux with serial console?#asahi · 2021-05-16 11:30
amwI've just loaded the latest m1n1 and now get *two* ACM ttys on my one USB-A <-> C cable - Yeah!#asahi · 2021-05-16 10:48
amwsvenpeter: Thanks - found it - had to click open that right sections#asahi · 2021-05-16 03:37
amwsvenpeter: I'm trying to follow your blog - can you say where ucontext_t I assume from ucontext.h is on MacOS ?#asahi · 2021-05-09 11:36
amwSorry just thinking out loud ideas not complete solutions :-)#asahi · 2021-05-09 11:35
amwThe two part would have only the command not the bulk data protected, or perhaps just a unprotected blob operation or a switch to cheaper builtin checksum#asahi · 2021-05-09 11:33
amwI am thinking proxyclient/proxy.py checksum() used to protect commands is the problem?#asahi · 2021-05-09 11:32
amwOn the checksum backwards compatibility you can always add a new command extension, partially checksummed commands supported, if yes, send new style, command + unprotected data otherwise use old style fully protected command.#asahi · 2021-05-09 09:36
amwIf the image isn't changed much after a run, you could implement rsync like update in place only the blocks with a changed checksum?#asahi · 2021-05-09 08:39
amwIt's probably too much work but perhaps remote gdb protocol could allow easy stack dumps, breakpoints, watch points, but I don't know much about the effort required.#asahi · 2021-05-09 08:21
amwPerhaps it's worth adding a tracing to help zero in on where it hangs. e.g. record the PC every certain time period or watch points?#asahi · 2021-05-09 08:17
amwSorry, I meant it's worth building support..., definitely like the idea that you can start trapping the page faults and only break on the very specific faults you are interested in#asahi · 2021-05-09 03:14
amwIf you are buried deep in exception traps perhaps it's work building support to trap (breakpoint?) earlier and ealier in the trap heap?#asahi · 2021-04-25 01:56
amwkettenis1: Thanks for the dt links - would be nice if it there was a search method, perhaps there should be a linking page of all the dt fields as I need to build a definitive DT one day#asahi · 2021-04-24 00:21
amwkettenis1: Where about is your dt-bindings on the wiki - github wiki says no updates for the last week?#asahi · 2021-04-18 13:41
amwok - Sigh. Thanks again - Time for bed - I was getting excited :-(#asahi · 2021-04-18 13:40
amwok - I can't see any documentation for the debug port mode on the TI site https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components/Kernel/Kernel_Drivers/USB/DWC3.html#asahi · 2021-04-18 13:31
amwOk - I'll have to dig into that - is there an example node for the dts?#asahi · 2021-04-18 13:29
amwI can just try it and see what happens, I might get lucky :-)#asahi · 2021-04-18 13:25
amwThis shows console *after* boot using gadget mode ARM linux https://forum.armbian.com/topic/8237-serial-console-access-via-usb-uartgadget-mode-on-linuxwindowsosx/#asahi · 2021-04-18 13:20
amwCan the gadget driver be used as a console at all? Or only has a serial port e.g. once booted?#asahi · 2021-04-18 13:17
amwI think it's standard on the USB controllers, usally the first port only, but might require some other hardware/PHY tweaks possibly?#asahi · 2021-04-18 13:16
amwA few posts suggest that gadget mode is not so useful for debugging as it starts up quite late#asahi · 2021-04-18 13:16
amwI found the usb2 debug port to not be very reliable in practise - might be better with usb3#asahi · 2021-04-18 13:08
amwIt sounds like it might be the next step after using a normal USB m1n1 boot for linux serial console#asahi · 2021-04-18 13:07
amwHas anyone tried CONFIG_EARLY_PRINTK_USB_XDBC as per linux/Documentation/driver-api/usb/usb3-debug-port.rst ?#asahi · 2021-04-07 04:20
amwSo m1n1 is very rarely upgraded but u-boot occasionally bugfixed/extra features, Linux regularly upgraded#asahi · 2021-04-07 04:20
amwIf I'm understanding the end plan is signed (minimal) m1n1 -> u-boot (complex boot loader support) -> Linux#asahi · 2021-03-27 02:51
amwsvenpeter: I've updated the Developer-Quickstart Wiki page with a brief description of using your m1n1 to get normal USB CDC-ACM link going. Hope it's reasonable#asahi · 2021-03-26 05:44
amwmarcan: Ok - great. Happy to wait, good to get a status update, I can work from Sven's branch#asahi · 2021-03-26 03:39
amwBut I that the m1n1 main is a fairly similar date - but not sure if it has usb serial support yet?~.#asahi · 2021-03-26 03:14
amwBut I that the m1n1 main is a fairly similar date - but not sure if it has usb serial support yet?#asahi · 2021-03-26 03:13
amwI'm just thinking this week end might be nice to have official branch that you can boot with a normal USB cable serial as per Sven's usb-uartproxy-console-wip for m1n1#asahi · 2021-03-26 03:09
amwgit log --format=fuller marcan/upstream-bringup-v4 : shows commitdate Mar 6th vs Feb 4th for authordate#asahi · 2021-03-26 03:08
amwmarcan: Ok - used git for many years didn't know about commitdate vs authordate#asahi · 2021-03-26 01:32
amwfor me - at least linux kernel booting.#asahi · 2021-03-26 01:31
amwI'm thinking it would be nice to consolidate Sven's normal USB serial code support on m1n1 as it worked#asahi · 2021-03-26 01:31
amwI've just looked at linux and m1n1 and they are pretty old e.g. Feb and March 15th.#asahi · 2021-03-26 01:30
amwmarcan: Is there any plans to update the asahi github "stable" branches?#asahi · 2021-03-24 13:13
amwTime for me to git the bed though - At least I can go to bed on a real high!#asahi · 2021-03-24 13:13
amwThat is from my Linux laptop (an old 2012 Macbook Pro running Linux (debian buster))#asahi · 2021-03-24 13:12
amwsven: I don't know either => I think I might have to rebuild things / add more debug et cetera#asahi · 2021-03-24 13:11
amwsven: The kernel loading hasn't worked yet - but that will be fun for tomorrow - I'm getting F0Mn: write data fail messages#asahi · 2021-03-24 13:10
amwsven: I got the ttyACM0 USB serial port going for the proxy and the chainload - Thank-you!#asahi · 2021-03-24 12:47
amwWoah! Sounds great. I might just try that right now#asahi · 2021-03-24 12:46
amwsven: Just boot the pure m1n1? Will it do device like things that I can see from the other end?#asahi · 2021-03-24 12:45
amwBut I have no idea which end that was from :-)