Canon EOS 3000D / 4000D / Rebel T100 Developments
JOELwindows7: I have this camera. I gotta get this running!
URL syntax below uses Markdown format (example_link
) & wonāt open in new tab! Be sure to always use Middle Click if you like to make sure staying here.
Info:
Threads
- EOS 4000D / 3000D / Rebel T100 Development I saw no development. I shall attempt!
- EOS 4000D / 3000D / Rebel T100 Development All page Oh yeah, once again, apply this ROM Patch! Itās even listed on that 4000D thread.
- EOS 1300D / Kiss X80 / Rebel T6 Development We were told by
a1ex
himself to go follow here after that main 3000D thread. - Initiated Introduction at ML forum
Steps:
- Dump ROM. Not yet! (I have to wait for my younger sister finished her semester (around April-June 2023) first before I can risk my own camera! Maybe DM me for ROM file?? idk.., OR convinve me just ROM dumping
FIR
never bricks the camera.)- Does just running ROM Dumper
FIR
has potential to brick the camera? If 0% brick chance, then I can just do it now! I have no contact yet for you to give me the ROM at the moment. I shall reserve username, yeee..Magic Lantern forum username =JOELwindows7
- Does just running ROM Dumper
- Prepare QEMU.
- Seriously updated the Magic Lantern hg repository to
qemu
with-C
argument. inmagic-lantern
directory,hg update qemu -C
! ./install.sh
with WSL- hangs at
Initialized empty Git repository in /mnt/w/kolmo_simple/Artistic_Setups/MagicLantern.fm/qemu-eos/qemu-2.5.0/.git/
. how long? is it hang? or is it processing?!?!??!?! - nvm, it goes again. Yes, it took long time.
- Let the script compile QEMU as well.
- damn! it errors again!
- kay you know what, like said just bypass those
WError
with./configure-eos --disable-werror
in theqemu-eos/qemu-2.5.0
directory. keep in mind theqemu-eos
repo is outside thismagic-lantern
directory! - try just do
- still error! here last
install.log
&config.log
. Pls help whatās wrong?!?!?!??!?!??!???! - VM trye faile VM hang
- QEMU reticulatedpines not working. issue
- Issue closed. but suggested new repo instead. Beware! Over 90K commits, be patient when cloning!
- Configure success! at first the configure scripts werrors. log! Fortunately found this answer. Yep, thatās because the configure script line endings somehow are in DOS format. And So I installed that
dos2unix
package, & thendos2unix ../qemu-eos/configure
file. Run again it works. - Make werror! log! Idk what went wrong. Iāve checked the
script
folder there, it has all the stuffs including the ones it said it couldnāt find, the thegit_submodule.h
. Oh yeah uh.. theMakefile
,scripts
. &python
are.. symbolic link? shown in cyan.. yeh.. - I think Iāve been typo this whole time. log1 & log2 (fixed finally) & log continued
- I saw the
qemu-eos-build/script
folder is linked to thatqemu-eos/scripts
folder. Yes, if youls -l
a symlink, you can see where folder did it linked to. I didls -l scripts
and saw that. - Oh God, the same
bin/sh^M
error again. I believe weāve got all of those file in DOS / Windows Line endings! lemme figure this out how to resolve all of those files & then each to be converted. - Also, Do not forget to add Executable permissions! it error
Permission denied
to especiallysh
script without extention! - Figured out! in that
qemu-eos/scripts
folder, you do thisfor FILER in ./*; do chmod +x $FILER; dos2unix $FILER; done
. Basically query everything (for
) right here, and for each (for FILER
) in here (& possibly recursive to directories idk..), add executable rights (chmod +x $FILER
) also convert line endings to Unix ones (dos2unix $FILER
). Yes, theFILER
variable is the each file. make clean
should now works. Hopefully.- After this, try again.
make -j12
. Remember, My laptop (ASUS ROG GL503GE) has 12 thread because on Intel, each core has 2 thread, and thisi7-8750H
is Hexa core. Six times 2 threads a core equals 12 total threads (6 * 2 = 12). so the-j
number is12
. Easy math (disclaimer, I still hate math). How many core you have, times two. thatās your-j
number. If you forgot this-j
itās okay, though it will take extremely long, as you only used just that 1 thread. Now I wonder if somebody can-j128
with Threadripper idk lmao! - somehow my internet failed, cannot clone some stuffs. log
- Internet available. try again!
- failed! log here Somehow character did not seen properly.
dos2unix
-ify suggestion overruled (or is it? says itās inappropriate fix). It edits the file & would risk messing further commits (compare & stuffs) to upstream. The Git will track those changed file & treat it as huge change, which will break comparison compatibilities in case other people made changes on other forks, idk.- I could not figure out what cause of this
CRLF
madness atm. - who
create_config
did messed up theconfig_host.h
?!?!? snippet - Update in repo
qemu-eos
available!git stash -a
now to stash changes! Thengit pull
. Return toqemu-eos-build
! log. You can see what changed. - made sure
make clean
,make -j12
again. - Different fail! log
- I think I forgot to update that
magiclantern_simplified
. So yeah, letās update. - have
make clean
qemu-eos-build
, try again. still failed. log - pls clean up & redo exactly said. give last source that causes problem the sha1sum. hereās how
- Same Failed! log & sha1sum of
vpc.c
inqemu-eos
repo isf9ad389e82886eb53f242bde967519fac416e891
. - Suggested that GCC version too high. my GCC is
11.3.0
(usegcc --version
) right now! log - Okay, package
gcc-10
exist. and./configure
has a way to choose older GCC. hereās how. - ah crack. log
- Somehow GCC still stuck at here
11
. Sigh! you know what, letās break my WSL. weāre gonna make the gcc defaults to10
. Found way! Replace the4.X.X
thingy with10
!! - fail
- Okay, go back to GCC 9? Fail different error.
- Maybe I forgot to last step in that stack overflow? clear alternatives & update alternatives to
10
again, do not forget configure that update alternatives!. okay nothing happens because I only have installed 1 alternative for each. - try again. configure with
--disable-werror
. same-nopie
mistake error. log - Ubuntu horribly fails! Gave up! IDK HOW TO GCC!!! Just
iso
the Debian 11 Bullseye instead! AAAAAAAAAAAAAAAAAAAAAAAAAAAA - Virtualbox setup! install essential.
- idk, sort of working.
- Python missing vncdotool but fortunately I just have to
pip intall vncdotool
wtf!??!?! - QEMU COMPILE WORKS!!!⦠right? I need the dumped ROM to test it out. wrong log, hereās recompiled one
- finally able install Guest Addition. Oh yeah, will share VHD later.
- & vboxguest working. Damn, Iām sorry I have lost the URL where article tutorial is from.
- also pls clone OG ML source code in the VHD
- Moar doing. log1 BISON LEX, log2 try again
- Hey, Download Ghidra man! https://ghidra-sre.org/ . Source code. You havenāt been downloading ghidra where you shouldāve the first time hearing it in LiveOverflow YouTube channel.
- FORGOR RECONFIGURE WHOOPS. also I too late, thereās already that Debian WSL. Yeah I get upset easily for compile failures after all these years experiencing so many hard to figure why fails. Donāt worry, weāll get both of them cleaned, configured & compiled.
- here command you should copy. here
- Install Debian WSL. Download & Info here
- Install packages as much as I remember
- Make directories & almost forgot the
vncdotool
pip - Clone ML Simplified & QEMU simplified
- Forgot libgtk
- Compile QEMU works too
- Test works sort of idkā¦
- Also pls fix the VM Debian ML too
- My mom said about 24th December 2022, she will have the final exam of the semester.
- Ah damn it, I thought Iāve already installed
bison
&flex
what the peck?! - sigh letās just do it again
- install
bison
&flex
also on the VM - Make again VM WORKS whew!
- Dump the ROM now! (Pls wait! Waiting for my younger sister to complete her semester with Photography subject. I think about Feb to June 2023. If you can convince me that just running ROM Dumper
FIR
definitely do not brick my only camera, I can do this now.)
- Seriously updated the Magic Lantern hg repository to
- Reattempt porting ML.
- Prepared the ML source
- Test compile anything.
- FAILED! here last
make zip
log! - names_are_hard replied. Kay, you told me to change things in the
Makefile.top
, okay, hold on. let me this.. and then that.. - Right, For QEMU, I gotta learn how to make configurator points to modern QEMU. well letās just try the ML compiler first.
make clean
!make zip
again. - faile!
module_string
missing! heremake zip
log again. - Oh wow, just as I go back to reticulatedpinesā magic-lantern simplified everything works again. thatās not the qemu. I test compiled the 100D version. here
make zip
log. it even had the zip file on hand. Yes, clicking that downloads it. I think I should try the others. Note, that one I have noMakefile.user
file there, just let it uses theMakefile.user.default
entirely. - okay, just the 200D ones ironically does not work. here
make zip
log. Dude, what did make yours work? Think I should make issue over there? - EOS M version works too! download zip, see
make zip
log. - Issue closed, reticulatedpines no longer maintain QEMU on that Magic Lantern anymore, instead on the separate repo here.
- oh wait, reticulatedpines == names_are_hard?!?!? LMAO lol! Oh okay, is that right? anyways..
- he said that I happened to used that GCC 5, too old for this. Now, idk how am I supposed to prevent the
make
from choosing that wrong version? Okay, in names_are_hard / reticulatedpines ML, I didMakefile.user
, only contains a line ofARM_PATH=/usr
. - & for good measure, I move away those old gcc original ML repo downloaded. yeah just put those gcc directories into
hide
folder e.g. - my
rst2html --version
command outputsrst2html (Docutils 0.17.1 [release], Python 3.10.6, on linux)
. - Try again 200D. Well it works. here file. and log too.
- Now, letās see if QEMU ready.
Awaitingā¦DONE - Recollect all stuffs from various repos! stubs from ccritix & petabytās pieces on the 1300D branch!.. yeah..
- Prepare Simplified in the VM
- Forgor Python2 VM
- montage not found VM
- Sigh Synaptic this now! VM
- Oh God! Lots of packages I didnāt install! VM
- lots complicated! VM
- Iām tired of this! letās just compile 1 even
make docq
skipped! VM WORKS - Try & attempt combining. Always test in the QEMU!
Stuffs
- ccritixās 3000D Platform folder Complete with Stubs. Lacks the Installation folder atm. OR try using libUSB method? commit 1
- names_are_hardās how to QEMU in Magic Lantern Simplified
eos.c
in ccritix Notice the4000D
definition! Ctrl + F and take a look for4000D
Flash ID & stuffs. commit 1eos.c
in names_are_hard No 4000D definition, but1300D
definition! Ctrl + F that too, itās in Enumeration. I gotta bring this4000D
in! commit 1
End
by JOELwindows7
Perkedel Technologies
CC4.0-BY-SA