Comments (9)
This is now working as of recent releases, and with the same hardware, I can see U-Boot on the screen. Closing.
from m1n1.
proxyclient/tools/chainload.py -r path/to/stage2/m1n1.bin
provided you have the udev rules to get /dev/m1n1
and co symlinks for a stable ttyACM link (sometimes it's ttyACM0, sometimes ttyACM1). Or you can prepend or export M1N1DEVICE
env var for what you have it on at the time iirc.
The udev rules can be seen at https://github.com/AsahiLinux/m1n1/blob/main/udev/80-m1n1.rules
At one point of time in earlier iterations, I also chainloaded stage2 twice to get the picture to light up - back when I didn't have any HDMI out supporting code in stage1 yet.
from m1n1.
According to the log everything work as expected:
TTY> display: connected:1 timing_cnt:35 color_cnt:10
TTY> display: timing mode: valid=1 1920x1080 60.00 Hz
TTY> display: color mode: valid=1 colorimetry=1 eotf=1 encoding=1 bpp=32
dcp has a connection to the display and will use 1 1920x1080 60.00 Hz as mode
TTY> display: swapped! (swap_id=0)
TTY> display: Modeset took 4425 ms
TTY> display: Sleeping DCP (external)
TTY> DCP: dcp_shutdown(sleep=true) is broken with dptx-port, quiesce instead
TTY> fb init: 1920x1080 (30) [s=1920] @0x9e5064000
m1n1 has set the framebuffer and reconfigured internally for 1920x1080 display.
What display is this? Does it support 1920x1080 60Hz as mode on other devices? It acts as if nothing is connected?
from m1n1.
It's a HP 22cwa. In macOS, this works fine and is reported as 1920x1080 at 60Hz in System Settings, it behaves normally when driven by other devices and graphics cards, and this is a mode it supports in its published specifications.
When the device boots for m1n1, the attached display remains in sleep mode and doesn't power up.
from m1n1.
At least with earlier iterations of the M2 HDMI m1n1 patches, it needed both stage1 and stage2 to have the support to reliably turn it on. I still usually don't see picture from stage1 unless I did a warm reboot, though with a new monitor I'm not sure it's just not the monitor being slow to light up (haven't startup cycled much yet).
That is to ask for an additional data point - does it also not work if you chainload stage2 m1n1-1.4.3+ after a stage1 m1n1-1.4.3+?
from m1n1.
does it also not work if you chainload stage2 m1n1-1.4.3+ after a stage1 m1n1-1.4.3+?
Let me report back. I can try and figure out how to do that, or do you have a quick reference for how I can chainload stage2 from the prompt?
from m1n1.
What version of m1n1 are you using in the 2nd stage?
I experienced Problems when running pacman -Syu last monday. The server didn't came up after an update and I wasn't at home...
After saving the data I reinstalled Asahi with the patched installer I used before. Asahi came up without problems but when I dated up, after a reboot, the same problem again. After another reinstall, with excluding m1n1 from the update, the reboot worked!
Tomorrow I'll try to track down the problem and open an issue to get the problem fixed.
You can try to use an older version, but then you may have to build m1n1 to support display on m2 Mac mini. If it helps, i can provide you the package I installed Asahi with.
from m1n1.
Sorry for the delay. I tried to chainload an m1n1 stage2. By reading the wiki carefully, I assume that the same stage2 binary can be obtained from https://cdn.asahilinux.org/os/uefi-only-20231012-1.zip, essentially. Subsequently extracting at ../u
and trying env M1N1DEVICE=/dev/ttyACM0 ./proxyclient/tools/chainload.py -r ../u/esp/m1n1/boot.bin
did not yield any better results; the connection drops (presumably as this stage2 is "release" and drops proxy mode, or something), and the monitor didn't wake. If there's a better stage2 payload I can use, if you upload the blob somewhere, I can try that, otherwise I have to try and construct one myself.
In the meantime, I'll see if I can try with an alternate monitor.
from m1n1.
HP 23xw and LG 27GP850-B also exhibited these symptoms.
from m1n1.
Related Issues (20)
- llvm is already installed but getting error in make on M1 mac HOT 1
- How is with gpu support for M2 Pro? HOT 1
- broken m1n1 on j473 HOT 3
- How to resize partition size back? HOT 5
- Bluetooth audio started breaking up after last upgrade. HOT 1
- Is there a way to pass Linux cmdline from m1n1? HOT 2
- [Bug] Wrong size of window content
- KDE Power Managment Issue HOT 1
- sleep mode battery improvement HOT 2
- macOS on M1 is available on GitHub Actions, so can CI builds happen there? HOT 1
- Freezing and crashing after plugging in a Nvme ssd
- (m2 mini) display fails to initialize on 3440x1440 monitor
- Allowed SSH server and mDNS by default
- Uboot env variable usb_ignorelist=0x1050:*, HOT 1
- Asahi linux cannot install
- m1n1 make: src/utils_asm.S:115:5: error: instruction requires: fp-armv8
- Error after installation
- Is it possible to set Macintosh as the primary startup option when booting? HOT 2
- How to make modified Linux distribution installation files compatible with Asahi Linux (Apple Silicon)? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m1n1.