Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [jcm@fedora m1n1]$ sudo M1N1DEVICE=/dev/ttyACM1 ./proxyclient/tools/chainload.py -r m1n1-uboot.bin
- TTY> CPU init (MIDR: 0x611f0221)...
- TTY> CPU part: 0x22 rev: 0x11
- TTY> CPU: M1 Icestorm
- TTY>
- TTY> boot_args at 0x803358088
- TTY> revision: 2
- TTY> version: 2
- TTY> virt_base: 0xd128000
- TTY> phys_base: 0x801128000
- TTY> mem_size: 0x1df8b4000
- TTY> top_of_kdata: 0x80335c000
- TTY> video:
- TTY> base: 0x9e3a1c000
- TTY> display: 0x0
- TTY> stride: 0xa00
- TTY> width: 640
- TTY> height: 1136
- TTY> depth: 32bpp
- TTY> density: 1
- TTY> machine_type: 0
- TTY> devtree: 0xeb80000
- TTY> devtree_size: 0x58000
- TTY> cmdline: -v
- TTY> boot_flags: 0x0
- TTY> mem_size_act: 0x200000000
- TTY>
- TTY>
- TTY>
- TTY> m1n1 v1.3.3
- TTY> Copyright The Asahi Linux Contributors
- TTY> Licensed under the MIT license
- TTY>
- TTY> Running in EL2
- TTY>
- TTY> Device info:
- TTY> Model: Macmini9,1
- TTY> Target: J274
- TTY> Board-ID: 0x22
- TTY> Chip-ID: 0x8103
- TTY>
- TTY> OS FW version: 13.5 (iBoot-8422.141.2)
- TTY> System FW version: unknown (iBoot-10151.1.1)
- TTY> Heap base: 0x80335c000
- TTY> MCC: Initializing T8103 MCC...
- TTY> MCC: Initialized T8103 MCC (8 channels)
- TTY> MMU: Initializing...
- TTY> MMU: RAM base: 0x800000000
- TTY> MMU: Top of normal RAM: 0x9e09dc000
- TTY> MMU: Unmapping TZ0 region at 0x9e09e4000..0x9e271c000
- TTY> MMU: Unmapping TZ1 region at 0x9e09dc000..0x9e09e4000
- TTY> MMU: Unmapping TZ3 region at 0x9e6e24000..0x9ffe24000
- TTY> MMU: Adding Device-nGnRE mapping at 0x400000000 (0x80000000)
- TTY> MMU: Adding Device-nGnRE mapping at 0x480000000 (0x80000000)
- TTY> MMU: Adding Device-nGnRE mapping at 0x580000000 (0x80000000)
- TTY> MMU: Adding Device-nGnRE mapping at 0x600000000 (0x80000000)
- TTY> MMU: Adding Device-nGnRE mapping at 0x6a0000000 (0x20000000)
- TTY> MMU: Adding Device-nGnRE mapping at 0x6c0000000 (0x40000000)
- TTY> MMU: Adding Device-nGnRE mapping at 0x700000000 (0x100000000)
- TTY> MMU: Adding Normal-NC mapping at 0x9fff38000 (0x28000)
- TTY> MMU: Adding Normal-NC mapping at 0x9fff08000 (0x8000)
- TTY> MMU: Adding Normal-NC mapping at 0x9ffee0000 (0x28000)
- TTY> MMU: Adding Normal-NC mapping at 0x9ffeb0000 (0x8000)
- TTY> MMU: Adding Normal-NC mapping at 0x9fffb8000 (0x4000)
- TTY> MMU: Adding Normal-NC mapping at 0x9fff74000 (0x4000)
- TTY> MMU: SCTLR_EL1: 30100180 -> 30901085
- TTY> MMU: running with MMU and caches enabled!
- TTY> AIC: Version 1 @ 0x23b100000
- TTY> WDT registers @ 0x23d2b0000
- TTY> WDT disabled
- TTY> pmgr: Cleaning up device states...
- TTY> pmgr: Enabling 0.AUDIO_P, parent of active device MCA1
- TTY> pmgr: Enabling 0.SIO_ADMA, parent of active device MCA1
- TTY> pmgr: Enabling 0.ANS2, parent of active device APCIE_ST
- TTY> pmgr: Enabling 0.DEBUG, parent of active device DEBUG_USB
- TTY> pmgr: initialized, 268 devices on 1 dies found.
- TTY> display: Display is external
- TTY> display: Dummy framebuffer found, initializing display
- TTY> dart: dart /arm-io/dart-dcp at 0x23130c000 is a t8020 (locked)
- TTY> dart: dart /arm-io/dart-disp0 at 0x231304000 is a t8020
- TTY> dart: dart /arm-io/dart-disp0.0.0 L1 0 is real-time at 0x9fff38000
- TTY> dart: dart /arm-io/dart-disp0.0.0 L1 1 is real-time at 0x8035e0000
- TTY> dart: dart /arm-io/dart-disp0.0.0 L1 2 is real-time at 0x8035e8000
- TTY> dart: dart /arm-io/dart-disp0.0.0 L1 3 is real-time at 0x8035f0000
- TTY> rtkit(dcp): booting with version 12
- TTY> rtkit(dcp): unknown system endpoint 0x0a
- TTY> rtkit(dcp): pre-allocated buffer (ep 0x1, dva 0xf00267000, phys 0x9e6247000)
- TTY> rtkit(dcp): unknown oslog message 103ff8000f0025f
- TTY> EPIC: got unexpected message 00:0032 during iface start
- TTY> EPIC: started interface 3 (disp0-service)
- TTY> display: waited 0 ms for display status
- TTY> display: connected:1 timing_cnt:54 color_cnt:14
- TTY> display: timing mode: valid=1 1920x1200 60.00 Hz
- TTY> display: color mode: valid=1 colorimetry=1 eotf=1 encoding=1 bpp=32
- TTY> display: swapped! (swap_id=2)
- TTY> display: Modeset took 301 ms
- TTY> display: Sleeping DCP (external)
- TTY> pmgr: resetting device 0.DISP0_CPU0
- TTY> fb init: 1920x1200 (30) [s=1920] @0x9e3a1c000
- TTY> fb console: max rows 71, max cols 104
- TTY> fb: display logo
- TTY> Initialization complete.
- TTY> Boot policy: sip0 = 127
- TTY> Bringing up USB for early debug...
- TTY> dart: dart /arm-io/dart-usb0 at 0x382f80000 is a t8020
- TTY> USB0: initialized at 0x803ea6030
- TTY> dart: dart /arm-io/dart-usb1 at 0x502f80000 is a t8020
- TTY> USB1: initialized at 0x803ea6360
- TTY> Waiting for proxy connection... Connected!
- Fetching ADT (0x00058000 bytes)...
- m1n1 base: 0x802c30000
- Total region size: 0x7f0000 bytes
- Loading kernel image (0x1b1689 bytes)...
- ..................................................................
- Copying SEPFW (0x5f8000 bytes)...
- Adjusting addresses in ADT...
- Setting secondary CPU RVBARs...
- cpu1: [0x210150000] = 0x802c30000
- cpu2: [0x210250000] = 0x802c30000
- cpu3: [0x210350000] = 0x802c30000
- cpu4: [0x211050000] = 0x802c30000
- cpu5: [0x211150000] = 0x802c30000
- cpu6: [0x211250000] = 0x802c30000
- cpu7: [0x211350000] = 0x802c30000
- Pushing ADT (354044 bytes)...
- Setting up bootargs...
- Copying stub...
- Entry point: 0x802c30800
- Reloading into stub at 0x80d160200
- TTY> i2c: Error enabling power for /arm-io/i2c0
- TTY> usb: i2c init failed.
- TTY> Preparing to run next stage at 0x80d160200...
- Waiting for reconnection... ....................................................................................................Traceback (most recent call last):
- File "/data/asahi/m1n1/proxyclient/m1n1/proxy.py", line 330, in wait_boot
- return self.reply(self.REQ_BOOT)
- ^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/data/asahi/m1n1/proxyclient/m1n1/proxy.py", line 249, in reply
- reply += self.readfull(1)
- ^^^^^^^^^^^^^^^^
- File "/data/asahi/m1n1/proxyclient/m1n1/proxy.py", line 186, in readfull
- block = self.dev.read(size - len(d))
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/lib/python3.11/site-packages/serial/serialposix.py", line 595, in read
- raise SerialException(
- serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/data/asahi/m1n1/./proxyclient/tools/chainload.py", line 152, in <module>
- p.reload(stub.addr, new_base + bootargs_off, image_addr, new_base, image_size)
- File "/data/asahi/m1n1/proxyclient/m1n1/proxy.py", line 712, in reload
- self.iface.wait_boot()
- File "/data/asahi/m1n1/proxyclient/m1n1/proxy.py", line 346, in wait_boot
- raise UartTimeout("Reconnection timed out")
- m1n1.proxy.UartTimeout: Reconnection timed out
Advertisement
Add Comment
Please, Sign In to add comment