#asahi-dev · 2021-02-11 18:56
GlanzmannDo you guys have any thunderbolt devices?#asahi-dev · 2021-02-11 18:56
GlanzmannI see it.#asahi-dev · 2021-02-11 18:55
GlanzmannAnd about the IO MMU (Dart) does the m1 really need it? Can you do DMA over usb4/thunderbolt?#asahi-dev · 2021-02-11 18:54
GlanzmannBtw, have you already figured out with all devices are directly connected to the physical device tree (physical address space) or if there are more bridges. I heard already the keyboard is on antoher bus, what about audio and the camera?#asahi-dev · 2021-02-11 18:52
GlanzmannYeah, so it bastically just another way to populate the offset for the I/O devices.#asahi-dev · 2021-02-11 18:52
GlanzmannOkay.#asahi-dev · 2021-02-11 18:52
GlanzmannAh device tree.#asahi-dev · 2021-02-11 18:52
Glanzmannmarcan: What is dt?#asahi-dev · 2021-02-11 18:49
GlanzmannI see.#asahi-dev · 2021-02-11 18:47
GlanzmannBtw. did I read that correctly, that macbook air support usb otg support?#asahi-dev · 2021-02-11 18:46
GlanzmannI see. But that is not in production, is it?#asahi-dev · 2021-02-11 18:44
Glanzmannmarcan: Does that mean google uses RJ45?#asahi-dev · 2021-02-11 18:43
Glanzmannmarcan: I see. I also that makes most sense, using coper instead of fibre for short distance.#asahi-dev · 2021-02-11 18:38
GlanzmannAnd the docking stations for example from lenovo are also thunderbolt aren't they?#asahi-dev · 2021-02-11 18:38
Glanzmannwow.#asahi-dev · 2021-02-11 18:34
GlanzmannI see. wow.#asahi-dev · 2021-02-11 18:34
GlanzmannAnd thunderbolt is also PCIe so probably 4 lanes v4? And they use the same physical connector as usb-c?#asahi-dev · 2021-02-11 18:28
GlanzmannProbably the fastest thing. But now I get a little bit of idea how it works.#asahi-dev · 2021-02-11 18:27
GlanzmannI see.#asahi-dev · 2021-02-11 18:26
GlanzmannWhich you probably already did.#asahi-dev · 2021-02-11 18:25
GlanzmannOkay. So we need to look at the device tree to find out the offsets of the devices.#asahi-dev · 2021-02-11 18:25
GlanzmannI see. And the devices are accessiable, like on x86 via the physical address space?#asahi-dev · 2021-02-11 18:24
GlanzmannI see. On x86 that would be the acpi tables?#asahi-dev · 2021-02-11 18:22
Glanzmannokay, so on x86 we have physical memory, we have the legacy io bus and we have pcie lines, so how is it on m1?#asahi-dev · 2021-02-11 18:21
GlanzmannExactly.#asahi-dev · 2021-02-11 18:21
GlanzmannI see.#asahi-dev · 2021-02-11 18:20
Glanzmannmarcan: Perfect. Btw. I read some things on IRC or you said it, That some of the I/O devices is directly connected to the memory bus without PCIe inbetween, is that true or did I misunderstand something?#asahi-dev · 2021-02-11 18:18
GlanzmannDHL says my serial console arrives today, don't believe it becauase it is still 600km away, but we will see.#asahi-dev · 2021-02-11 18:17
GlanzmannWill switch channels, btw. good work on the v2 patch series today. ;-) I look forward to get it merged upstream.#asahi-dev · 2021-02-11 18:16
GlanzmannAnd it works.#asahi-dev · 2021-02-11 18:16
GlanzmannThan you boot into 1 true recovery and install the kernel.#asahi-dev · 2021-02-11 18:16
Glanzmannon the 1 GB you copy the firmware from macos.#asahi-dev · 2021-02-11 18:15
Glanzmannthan you dd the raspberry pie image on the 16 GB one.#asahi-dev · 2021-02-11 18:15
Glanzmanntmlind: If you follow the guide, it works. SO basically reduce apfs container, create two new partitions, one with 16GB, one with 1 GB#asahi-dev · 2021-02-11 14:57
GlanzmannBut I had to do increase the partition 100MB was not enough because the firmware is 150 MB so I did a 1 GB partition, but that's it.#asahi-dev · 2021-02-11 14:56
GlanzmannFor me it worked out of the box.#asahi-dev · 2021-02-11 14:56
GlanzmannI assume that this fat partition is mounted and the firmware for the broadcom wifi is retrieved.#asahi-dev · 2021-02-11 14:56
Glanzmanntmlind: I have not looked at it, but you need a fat partition and copy the firmwar to it.#asahi-dev · 2021-02-07 14:21
GlanzmannThe difference between thunderbolt and usb-c(3) is the throughput isn't it? usb is 10 Gbit/s and thunderbolt is 40 Gbit/s?#asahi-dev · 2021-02-07 14:21
Glanzmannmarcan: Cables that come with eizo monitors (USB-c) will probably also work fine.#asahi-dev · 2021-02-07 14:20
GlanzmannI see.#asahi-dev · 2021-02-07 07:09
Glanzmannno idea, I'm qaiting for my second mac.#asahi-dev · 2021-02-07 02:39
GlanzmannI put the packages for debian in there.#asahi-dev · 2021-02-07 02:39
GlanzmannSee also https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart the section Using m1n1#asahi-dev · 2021-02-07 02:38
GlanzmannSee this: https://pbot.rmdir.de/irO7XujhYDZDfFIIUpiOAg#asahi-dev · 2021-02-07 02:38
GlanzmannNo, you don't.#asahi-dev · 2021-02-07 02:36
GlanzmannI'm using debian for this.#asahi-dev · 2021-02-07 02:34
Glanzmannand you're done.#asahi-dev · 2021-02-07 02:34
Glanzmannbastilian: sudo apt install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross device-tree-compiler imagemagick; git clone --recursive https://github.com/AsahiLinux/m1n1.git; cd m1n1; make#asahi-dev · 2021-02-07 02:31
Glanzmannbastilian: Do you have Linux amd64 machine, if so just follow the developper quickstart or look at this: