Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rprr

#1
For me, those edits to Makefile.user were necessary. It failed to build otherwise.
#2
Will be happy to test. It will definitely make it easier to not have to do any edits.

My next task is to build for the QEMU.

#3
My thanks to all the developers working on ML. Thank you.

I was able to get a build environment going on my Mac Using Virtual Box. It was fairly straightforward. Here are the steps.

1. On your Mac download and install Virtual Box. I used version 5.2.2 r119230. https://www.virtualbox.org/wiki/Downloads

2. Download the Ubuntu ISO to your Mac. I used ubuntu-16.04.3 LTS. https://www.ubuntu.com/download/desktop

3. Start Virtual Box and Install Ubuntu into it. I chose 2 GB RAM and 20 GB hard drive.

4. Once Ubuntu is installed, log into it. These are the things I had to install on the stock Ubuntu version to get ML to compile.

sudo apt-get install gcc-arm-none-eabi (It installs version 4.9.3 in /usr)
sudo apt-get install mercurial
sudo apt-get install perl
sudo perl -MCPAN -e 'install File::Slurp'

(Python 2.7 installed during Ubuntu install)

sudo apt-get install python-docutils

5. Now get Magic Lantern

hg clone -u unified https://bitbucket.org/hudson/magic-lantern

6. Editing the Makefile.user.default

cd magic-lantern
cp Makefile.user.default Makefile.user

(Change GCC arm paths in the Makefile.user)
ARM_PATH=/usr
GCC_VERSION=-4.9.3

7. Build. I have a T1i (500D)

cd platform/500D.111
make clean
make zip

It went fairly smoothly. Again, thanks to all. Hope this is helpful.


Edit to add: This was not enough to compile tools such as cr2hdr etc. I needed to do

sudo apt-get install gcc-multilib

Then

cd modules/dual_iso
make cr2hdr