Finally here it ishttps://archive.org/details/debian-bullseye-mlPlease never let dumped ROM & personal password touches the VHD if you want to reshare the VHD edit!If you did even on accident, unfortunately you have to keep the VHD yourself.
User =
magiclanternPass =
magiclanternThe VirtualBox OVA VHD package for you to start compiling Magic Lantern & QEMU-EOS. yeyyy
Wait, why do we need this? Don't we already have Windows Subsystem for Linux?Good question! As you can see, I am fully aware that you can just have this Debian WSL (http://www.microsoft.com/store/productId/9MSVKQC78PK6) right on your hand and you should use it as it's available. But you see, not all developers here have the exactly same Debian Bullseye Linux Distro. and by that you can see how many complains about compile failed all around e.g. this topic over here (https://www.magiclantern.fm/forum/index.php?topic=20214.msg240990#msg240990). Okay long short I did made it works, but take a look at the before. also this log right now (https://perkedel.netlify.app/apps/wceload/canon/specialcase/3000d/) where I attempted to help for my 4000D / 3000D. It takes a while to figure out that packages shipped with distros aren't the same, and you see, this compilation requires that exact set of compiling which happens to be that specific distro to get it work.
Again, we got WSL,
Debian WSL works, but other
devs aren't using Windows. So this is why.
What this VM got here?We got:
- Installed essential development packages
- Cloned source codes
- Further instructions
Well enjoy. This still works in 2023 I tested last night. But I only tested the names_are_hard's Simplified both the ML (https://github.com/reticulatedpines/magiclantern_simplified) & the QEMU (https://github.com/reticulatedpines/qemu-eos). I also.. wait I think I already cloned the OG (http://"https://foss.heptapod.net/magic-lantern/magic-lantern/") also.. idk.. OH yeah, I remember I had mercurial, that's that. So yeah
If you have any question let me know. And, I'm gonna hate this, lots of complain would come here again. I only tested the Simplified, it works, idk about the OG ones. Idk if that one works too, coz it's old, maybe it works in my WSL Debian didn't it? huuuh...
Oh yeah, I have copied the Compile instructions, check
here (https://perkedel.netlify.app/apps/wceload/canon/compile/magiclantern/) if you want. don't forget to check the original though (e.g. NEWER (https://wiki.magiclantern.fm/new-install) & Current (https://wiki.magiclantern.fm/install) install, Simplified source code (https://github.com/reticulatedpines/magiclantern_simplified), And this OG get started (https://www.magiclantern.fm/forum/index.php?topic=991.0), etc.) coz things have changed right now.
Extra more. here are:
- Nanomad's VM (https://nanomad.magiclantern.fm/Development%20Box/) linked on uhhh this page in Get started (https://nanomad.magiclantern.fm/Development%20Box/) idk..
- Audionut's Topic on getting ML dev machine up & running (https://www.magiclantern.fm/forum/index.php?topic=9517.0)
Thank you for putting all this together :)
I wanted to compile Danne's sources but I had no idea where to start. Thanks to this VM I just had to clone the repository and make. I will never do anything useful, but I'm sure it will help others :D
Quote from: iaburn on February 15, 2023, 08:48:08 PM
Thank you for putting all this together :)
I wanted to compile Danne's sources but I had no idea where to start. Thanks to this VM I just had to clone the repository and make. I will never do anything useful, but I'm sure it will help others :D
No problem yeah
I'm using this virtual machine and trying to compile the EOS M code from Danne's branch and run it on QEMU.
Compilation seems ok just running make on the folder (sauce/danne/magic-lantern_jip_hop_git/platform/EOSM.202 in my case), but how can I now run the firmware in QEMU? It seems that QEMU is installed on this image, but no idea how to use it...
I've read a few post from 5 years ago about this, they mention the run_canon_fw.sh, but cannot figure out how to make it work ::)
For context - this VM thing was written by a random internet dude, with no input from any ML dev. Nobody asked for it :) I don't know what it does and therefore can't recommend it.
Do you know if it's qemu 2 or 4? If it's 4 then it'll be my separate qemu repo, which I modernised significantly and doesn't use run_canon_fw.sh.
If you want to work with Danne's code, ask him what he recommends :)
Quote from: names_are_hard on March 17, 2023, 07:55:42 PM
For context - this VM thing was written by a random internet dude, with no input from any ML dev. Nobody asked for it :) I don't know what it does and therefore can't recommend it.
Do you know if it's qemu 2 or 4? If it's 4 then it'll be my separate qemu repo, which I modernised significantly and doesn't use run_canon_fw.sh.
If you want to work with Danne's code, ask him what he recommends :)
You are right, I will ask Danne, but I found the qemu instructions and it's version 4. I will follow this: https://github.com/reticulatedpines/qemu-eos/tree/qemu-eos-v4.2.1/magiclantern (https://github.com/reticulatedpines/qemu-eos/tree/qemu-eos-v4.2.1/magiclantern) and see if it works :D
Hopefully those instructions work. If not, please let me know why, and I'll try and improve them - I maintain that repo.
Qemu 4 is somewhat experimental. I'd say maybe 90% feature complete vs qemu 2. But it's a lot easier to build and work with, because of the cleaner separation (and personally I think the python run script is nicer than the shell one). It's also got better emulation in some areas.
It seems to work, but I cannot see anything on the screen, it's just grey ::)
I'm trying first with the magiclantern_simplified instead of Danne's repo. I compiled the platform/EOSM.202 with a simple "sudo make" (is that enough?), copied the ROM files from my camera and then tried to run it with "./run_qemu.py EOSM", but just the grey screen and this log, with the error at the end endlessly repeating:
magiclantern@debian-magiclantern:~/sauce/simplified/qemu-eos/magiclantern$ ./run_qemu.py EOSM
Lockdown read 4
Lockdown read 4
Lockdown read 5
Lockdown read 5
Lockdown read 0
Lockdown read 0
Lockdown read 1
Lockdown read 1
Lockdown read 2
Lockdown read 2
Lockdown read 3
Lockdown read 3
00000000 - 00000FFF: eos.tcm_code
40000000 - 40000FFF: eos.tcm_data
00001000 - 0FFFFFFF: eos.ram
40001000 - 4FFFFFFF: eos.ram_uncached
F8000000 - F8FFFFFF: eos.rom1
F9000000 - F9FFFFFF: eos.rom1_mirror
FA000000 - FAFFFFFF: eos.rom1_mirror
FB000000 - FBFFFFFF: eos.rom1_mirror
FC000000 - FCFFFFFF: eos.rom1_mirror
FD000000 - FDFFFFFF: eos.rom1_mirror
FE000000 - FEFFFFFF: eos.rom1_mirror
FF000000 - FFFFFFFF: eos.rom1_mirror
C0000000 - DFFFFFFF: eos.mmio
[EOS] loading '/home/magiclantern/sauce/simplified/roms/EOSM/ROM1.BIN' to 0xF8000000-0xF8FFFFFF
[EOS] loading '/home/magiclantern/sauce/simplified/roms/EOSM/SFDATA.BIN' as serial flash, size=0x800000
[MPU] warning: non-empty spell #30 (PROP 80030019) has duplicate(s): #34
[MPU] warning: non-empty spell #40 (PROP_VIDEO_MODE) has duplicate(s): #41
[MPU] Available keys:
- Arrow keys : Navigation
- [ and ] : Main dial (top scrollwheel)
- SPACE : SET
- DELETE : guess (press only)
- M : MENU (press only)
- P : PLAY (press only)
- I : INFO/DISP (press only)
- Q : guess
- L : LiveView (press only)
- Z/X : Zoom in/out
- Shift : Half-shutter
- 0/9 : Mode dial (press only)
- V : Movie mode (press only)
- B : Open battery door
- C : Open card door
- F10 : Power down switch
- F1 : show this help
Setting BOOTDISK flag to 0
FFFF0800: MCR p15,0,Rd,cr9,cr1,0: DTCM <- 0x40000006 (40000000 - 40000FFF, 0x1000)
FFFF094C: MRC p15,0,Rd,cr1,cr0,0: SCTLR -> 0x2078
FFFF094C: MCR p15,0,Rd,cr1,cr0,0: SCTLR <- 0x12078
FFFF4604: MCR p15,0,Rd,cr6,cr0,0: 946_PRBS0 <- 0x3F (00000000 - FFFFFFFF, 0x100000000)
FFFF460C: MCR p15,0,Rd,cr6,cr1,0: 946_PRBS1 <- 0x3D (00000000 - 7FFFFFFF, 0x80000000)
FFFF4614: MCR p15,0,Rd,cr6,cr2,0: 946_PRBS2 <- 0xE0000039 (E0000000 - FFFFFFFF, 0x20000000)
FFFF461C: MCR p15,0,Rd,cr6,cr3,0: 946_PRBS3 <- 0xC0000039 (C0000000 - DFFFFFFF, 0x20000000)
FFFF4624: MCR p15,0,Rd,cr6,cr4,0: 946_PRBS4 <- 0xFF00002F (FF000000 - FFFFFFFF, 0x1000000)
FFFF462C: MCR p15,0,Rd,cr6,cr5,0: 946_PRBS5 <- 0x37 (00000000 - 0FFFFFFF, 0x10000000)
FFFF4634: MCR p15,0,Rd,cr6,cr6,0: 946_PRBS6 <- 0xF700002F (F7000000 - F7FFFFFF, 0x1000000)
FFFF463C: MCR p15,0,Rd,cr2,cr0,0: DCACHE_CFG <- 0x70
FFFF4644: MCR p15,0,Rd,cr3,cr0,0: DACR <- 0x70
FFFF4648: MCR p15,0,Rd,cr2,cr0,1: ICACHE_CFG <- 0x70
FFFF464C: MCR p15,0,Rd,cr5,cr0,0: DATA_AP <- 0x3FFF
FFFF4654: MCR p15,0,Rd,cr5,cr0,1: INSN_AP <- 0x3FFF
FFFF4658: MRC p15,0,Rd,cr1,cr0,0: SCTLR -> 0x12078
FFFF4658: MCR p15,0,Rd,cr1,cr0,0: SCTLR <- 0xC001307D
FFFF095C: MCR p15,0,Rd,cr9,cr1,1: ITCM <- 0x6 (00000000 - 00000FFF, 0x1000)
FFFF0964: MRC p15,0,Rd,cr1,cr0,0: SCTLR -> 0xC001307C
FFFF0964: MCR p15,0,Rd,cr1,cr0,0: SCTLR <- 0xC005307C
FFFF098C: MRC p15,0,Rd,cr1,cr0,0: SCTLR -> 0xC005307C
FFFF098C: MCR p15,0,Rd,cr1,cr0,0: SCTLR <- 0xC005107C
MID=0xEC(fact_area=0xEC)
K331 READY
64K Sector FROM From BL 0xec
[SF] InstallSerialFlash 4 0xc022c0d4 0x0 0x800000 1
[SF] Bufcon Base 0xc022c0d4
SerialFlash Initialize
[DMA1] Copy [0xF808A000] -> [0x40540200], length [0x00000F84], flags [0x00030001]
[DMA1] OK
[DMA1] Copy [0xF8F20000] -> [0x40541400], length [0x0001132C], flags [0x00030001]
[DMA1] OK
[EEPROM-DMA]! [0x340000] -> [0x40480000] (0xBD820 bytes)
0: 11.776 [STARTUP]
K331 ICU Firmware Version 2.0.2 ( 9.9.8 )
6: 13.568 [PROPAD] SerialFlash Packages!! 0x340000
[DMA1] Copy [0xF8F60000] -> [0x40561600], length [0x0001AEDC], flags [0x00030001]
[DMA1] OK
[EEPROM-DMA]! [0x340000] -> [0x40480000] (0x0 bytes)
[DMA1] Copy [0xF8060000] -> [0x40581700], length [0x00003B24], flags [0x00030001]
[DMA1] OK
10: 28.928 [PROPAD] SerialFlash Packages!! 0x7
12: 28.928 [PROPAD] PROPAD_CreateFROMPropertyHandle DRAMAddr 0x4fe00000
13: 28.928 [PROPAD] SerialFlash Packages!! 0x10000
[EEPROM-DMA]! [0x10000] -> [0x4FE00000] (0x191570 bytes)
[EEPROM-DMA]! [0x10000] -> [0x4FE00000] (0x0 bytes)
[MPU] Received: 06 04 02 00 00 00 (Init - spell #1)
[MPU] Sending : 50 4e 02 0e 02 02 01 01 00 00 00 60 00 00 00 19 64 00 00 00 00 21 00 00 06 04 00 00 06 04 00 00 06 04 00 00 00 00 00 00 65 28 00 00 00 00 00 00 00 00 00 00 00 00 80 48 78 48 00 03 03 01 00 00 00 00 02 01 00 00 00 01 00 00 00 00 03 00 01 00 (Mode group)
15: 34.816 [STARTUP] InitializeIntercom
16: 34.816 [STARTUP] InitializeIntercom End(0x0)
26: 49.664 [DL] dlMain : Start
29: 49.664 [DL] PROP_ACTIVE_SWEEP_MODE (1)
36: 49.664 [DL] ReqPreStartDL : End
[MPU] Sending : 24 23 02 0d 00 00 00 00 01 00 00 00 00 01 00 00 00 01 02 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 (Card group)
[MPU] Received: 0a 08 03 57 10 33 00 01 00 00 (PROP_LEO_LENSID - spell #4)
[MPU] Received: 08 06 01 1d 21 87 00 00 (PROP_PICTURE_STYLE - spell #63)
[MPU] Sending : 28 27 02 0f 01 00 00 10 01 01 00 00 00 00 00 00 00 00 00 00 00 18 00 00 00 0c 00 00 00 00 00 00 00 02 00 00 00 01 01 00 (Movie group)
[MPU] Received: 08 06 00 00 02 0e 00 00 (Complete WaitID = 0x80000001 Mode group - spell #2)
62: 65.792 [PROPAD] SerialFlash Packages!! 0x7
[MPU] Sending : 3c 3a 02 10 00 00 00 00 00 00 01 00 00 00 00 ff 00 00 ff 00 ff ff ff ff ff ff ff ff 00 00 00 00 00 01 ff 00 00 02 01 01 00 03 00 01 00 04 00 00 01 05 00 01 01 00 01 00 00 3f 00 00 (AF group)
[MPU] Sending : 3e 3c 02 11 01 ff 01 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 00 ff 00 00 ff 00 ff ff ff ff ff ff ff ff 00 00 00 (AF2 group)
[MPU] Sending : 0a 08 01 6e 80 48 00 00 00 00 (PROP_ISO_RANGE)
[MPU] Sending : 08 06 01 0b 00 00 00 00 (PROP_AEB)
[MPU] Sending : 06 05 01 76 00 00 (PROP_SILENT_CONTROL_SETTING)
[MPU] Sending : 06 05 01 71 00 00 (PROP_AF_METHOD_SELECT_FOCUS_AREA)
[MPU] Sending : 06 05 01 7e 00 00 (PROP_GPS_COMPAS_SELECT)
[MPU] Sending : 06 05 01 7c 00 00 (PROP_GPS_AUTO_TIME_SETTING)
[MPU] Sending : 0a 08 01 85 00 00 00 01 00 00 (PROP_GIS_SETTING)
[MPU] Sending : 08 06 01 47 0a 02 00 00 (PROP_SELFTIMER_CONTINUOUS_NUM)
[MPU] Sending : 06 05 01 7b 01 00 (PROP_CONTINUOUS_AF)
[MPU] Sending : 08 06 01 57 00 00 00 00 (PROP_BUILTIN_STROBO_MODE)
[MPU] Sending : 06 05 01 86 00 00 (PROP 8004004A)
[MPU] Sending : 06 05 01 87 00 00 (PROP 8004004B)
[MPU] Sending : 06 05 01 8d 00 00 (PROP 80040050)
[MPU] Sending : 06 05 01 8e 00 00 (PROP_GPSLOG_SETTING)
[MPU] Sending : 10 0e 01 8f 00 00 00 00 00 00 00 00 00 00 00 00 (PROP_LV_CFILTER)
[MPU] Sending : 06 05 01 90 00 00 (PROP_WIFI_SETTING)
[MPU] Sending : 06 05 01 8b 00 00 (PROP 8004004E)
[MPU] Sending : 08 06 01 91 00 00 00 00 (PROP_BUILTINGPS_PINPOINTING_INTERVAL_SETTING)
[MPU] Sending : 06 05 01 98 00 00 (PROP 80040056)
[MPU] Sending : 08 06 01 88 07 08 00 00 (PROP 8000004F)
[MPU] Sending : 06 05 03 37 00 00 (PROP_MIRROR_DOWN_IN_MOVIE_MODE)
[MPU] Sending : 06 05 01 92 07 00 (PROP_IMAGE_ASPECT_RATIO)
[MPU] Sending : 0e 0c 02 04 08 00 00 00 00 00 00 01 00 00 (PROP_CFN)
[MPU] Sending : 0a 08 03 58 00 00 00 00 00 00 (PROP_LEO_LENS_START)
[MPU] Sending : 06 05 03 5a 02 00 (PROP_LEO_LENS_END)
[MPU] Sending : 08 06 01 1d 21 87 00 00 (PROP_PICTURE_STYLE)
[MPU] Sending : 16 14 01 61 00 09 d1 3e 00 00 00 00 ff e7 ff ff 00 0a 26 fe 00 00 (PROP_AF_MICROADJUSTMENT)
[MPU] Received: 0a 08 03 06 00 00 00 00 00 00 (PROP_AVAIL_SHOT - spell #5)
[MPU] Received: 06 04 03 10 00 00 (PROP 80030008 - spell #6)
[MPU] Received: 06 05 03 07 ff 00 (PROP_BURST_COUNT - spell #7)
[MPU] Sending : 0a 08 03 2f 00 00 00 00 00 00 (PROP_SPECIAL_OPTION)
[MPU] Sending : 0a 08 03 2f 00 00 00 00 00 00 (PROP_SPECIAL_OPTION)
[MPU] Received: 06 05 01 2e 01 00 (PROP_SAVE_MODE - spell #8)
[DMA5] Copy [0xFF892D90] -> [0x01E00000], length [0x00065BD4], flags [0x00000001]
[DMA5] OK
[MPU] Sending : 06 05 03 20 01 00 (PROP_STARTUP_CONDITION)
[MPU] Sending : 0c 0b 03 42 00 00 00 00 00 00 00 00 (PROP_LED_LIGHT)
[MPU] Received: 0a 08 03 0b 00 00 00 00 00 00 (PROP 80030007 - spell #9)
[MPU] Sending : 62 61 02 12 01 20 50 00 f0 00 11 00 37 91 77 1a 00 00 ff 00 00 00 00 00 00 00 01 f8 96 00 00 00 00 00 00 01 f8 96 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 23 43 23 00 00 00 00 00 00 00 10 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (Lens group)
115: 65.280 [RSC] hMemoryQueue (0xA20012) hStorageQueue (0xA40014)
116: 65.280 [RSC] ### LIST 5 0 5 ###
178: 77.312 [SND] Seq LPC fin
204: 77.312 [ENG] [ENGIO](Addr:0x41400000, Data:0x 44000)
220: 82.944 [FM] FM_RegisterSpaceNotifyCallback
224: 82.944 [AUDIO] [GPS] GPS_RegisterSpaceNotifyCallback
228: 82.944 [FM] FM_RegisterSpaceNotifyCallback
230: 82.944 [TERMINATE] SHUTDOWN init comp
232: 82.944 [TERMINATE] Abort init comp
264: 86.272 [MC] [MC] PROP_HEADPHONE_VOLUME_VALUE : 0
265: 86.272 [MC] [MC] PROP_MOVIE_PLAY_VOLUME : 5
270: 86.272 [MC] regist master CardCover
[MPU] Received: 22 20 03 3b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (unnamed - spell #10)
[MPU] Received: 06 05 04 0e 01 00 (PROP 8002000D - spell #11)
[MPU] Sending : 06 05 03 05 02 00 (PROP_POWER_LEVEL)
[MPU] Sending : 06 05 04 06 05 00 (PROP_DEFAULT_LV_MANIP)
[MPU] Sending : 06 05 01 97 00 01 (PROP 8003006F)
[MPU] Sending : 06 05 04 06 05 00 (PROP_DEFAULT_LV_MANIP)
[MPU] Sending : 06 05 01 2e 01 00 (PROP_SAVE_MODE)
[MPU] Received: 08 06 00 00 01 97 00 00 (Complete WaitID = 0x8003006F PROP 8003006F - spell #3)
[MPU] Sending : 06 05 04 06 05 00 (PROP_DEFAULT_LV_MANIP)
[MPU] Sending : 06 05 04 06 05 00 (PROP_DEFAULT_LV_MANIP)
[MPU] Received: 08 07 01 2a 12 a9 00 00 (PROP_CARD2_FILE_NUMBER - spell #12)
[MPU] Received: 06 05 03 07 05 00 (PROP_BURST_COUNT - spell #13)
[MPU] Received: 0a 08 03 06 00 00 12 2e 00 00 (unknown - PROP_AVAIL_SHOT)
[MPU] Received: 06 05 03 11 01 00 (PROP_ICU_AUTO_POWEROFF - spell #15)
[MPU] Received: 06 05 02 0a 00 00 (PROP_PERMIT_ICU_EVENT - spell #16)
[MPU] Sending : 06 05 01 2c 02 00 (PROP_CURRENT_MEDIA)
[MPU] Received: 06 05 03 0d 00 00 (PROP_CARD2_RECORD - spell #17)
[MPU] Sending : 12 10 03 00 b8 00 00 3a 07 00 00 00 00 00 00 00 00 00 (PROP 80030000)
[MPU] Received: 06 05 03 0c 00 00 (PROP_CARD1_RECORD - spell #18)
[MPU] Received: 06 05 03 19 01 00 (PROP_TFT_STATUS - spell #19)
337: 72.960 [PRP[MPU] Sending : 06 05 03 23 19 00 (unnamed)
] M:B8 F:0 L:0 P:3A T:7
338: 72.960 [STARTUP] update coded version.
340: 72.960 WARN localI2C_Write : 316
[MPU] Sending : 06 05 03 04 00 00 (PROP_POWER_KIND)
[MPU] Sending : 1e 1d 03 24 45 46 2d 53 31 37 2d 35 35 6d 6d 20 66 2f 32 2e 38 20 49 53 20 55 53 4d 00 00 (PROP_LENS_NAME)
[MPU] Sending : 06 04 03 25 00 00 (unnamed)
[MPU] Sending : 24 23 03 15 01 20 50 00 f0 00 11 00 37 91 77 1a 00 00 ff 00 00 00 00 00 00 00 01 f8 96 00 00 00 00 21 00 00 (PROP_LENS)
[MPU] Sending : 24 22 03 3c 00 00 01 f8 96 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 (PROP 8003003C)
[MPU] Sending : 06 05 03 5d 8e 00 (PROP 80030062)
[MPU] Sending : 24 23 03 15 01 20 50 00 f0 00 11 00 37 91 77 1a 00 00 ff 00 00 00 00 00 00 00 01 f8 96 00 00 00 00 21 00 00 (PROP_LENS)
[MPU] Sending : 06 05 01 3d 00 00 (PROP_TEMP_STATUS)
[MPU] Sending : 06 05 03 37 00 00 (PROP_MIRROR_DOWN_IN_MOVIE_MODE)
[MPU] Sending : 06 05 04 06 05 00 (PROP_DEFAULT_LV_MANIP)
[MPU] Sending : 06 05 03 0d 00 00 (PROP_CARD2_RECORD)
[MPU] Sending : 06 05 03 0c 00 00 (PROP_CARD1_RECORD)
344: 151.296 WARN localI2C_Write : 316
346: 199.936 WARN localI2C_Write : 316
348: 249.344 WARN localI2C_Write : 316
350: 297.472 WARN localI2C_Write : 316
352: 345.856 WARN localI2C_Write : 316
353: 345.856 [AUDIO] ERROR I2C abort 0(1020000)
358: 352.768 ERROR [DL] ####################################
359: 352.768 ERROR [DL] ########## DL ERROR!!!!! ###########
360: 352.768 ERROR [DL] ####################################
361: 376.064 WARN localI2C_Write : 316
365: 424.448 WARN localI2C_Write : 316
367: 472.320 WARN localI2C_Write : 316
369: 521.728 WARN localI2C_Write : 316
371: 570.368 WARN localI2C_Write : 316
373: 619.776 WARN localI2C_Write : 316
374: 619.776 [AUDIO] ERROR I2C abort 0(1020000)
375: 649.728 WARN localI2C_Write : 316
377: 700.160 WARN localI2C_Write : 316
Key event: 44 -> 1100
Key event: c4 -> 0e0e0043
[MPU] Sending : 06 05 06 11 00 00 (GUI_SWITCH)
[MPU] Sending : 06 05 02 0b 00 00 (PROP_TERMINATE_SHUT_REQ)
[MPU] Received: 06 05 02 0b 02 00 (PROP_TERMINATE_SHUT_REQ - spell #73)
[MPU] Shutdown requested.
No, "sudo make" is not enough, and also: do not use sudo with make, ever. It's never required for ML and can cause problems with file permissions.
You want to be in platform/EOSM.202 and then run: make clean && make -j8 zip
Plain "make" will try to build magiclantern the file itself, but not create the zip you want to put on a card. If you are using my repo, you can automatically create the required disk image for qemu by running "make disk_image", but I think you're not so you'll have to work that part out.
Qemu may well be showing a grey screen because... it's emulating a camera with the screen turned off. Try pressing M to enter the menu.
For some reason the compiler was installed with superuser and I needed sudo, but I fixed that, compiled as you indicated, but still the grey screen (no menu with M either :-\ )
If I can find time and motivation, I will give it another try and install the whole thing from scratch... I hate wasting time setting up dev environments, that's why this virtual image was interesting to me u_u
Thanks for your help! :)
I bet the compiler was installed weird because you have a habit of using sudo if things don't work the first time ;)
I don't have a valid SFDATA.BIN for M (do you?), so I can't test emulation here. Mine errors out, but in a way I expect because my SFDATA is bodged. Possibly, M just doesn't emulate well. I'd expect it to get to GUI, but not sure.
The dev env for my repos are quite easy (use Debian Bullseye, also it's known to work in WSL). But... you want Danne's repo, I think, and that expects a much older dev env that is more of a pain to get working. I'm quite happy for people to use VM images etc, but I had no input in making this one, and neither did Danne, so, zero idea if it's an appropriate env.
If you want quicker help, join Discord, it's better for these kinds of things.