1. Preparatory work
Operating system: Ubuntu 12.04
To obtain the BCM93349DCM package:
- Bootloader Source code: Bootloader_2_2_0.zip
- CM Source code: Prodd20_bfc4.4.10.zip
- CM Source Code Patch pack: Prodd20_bfc4.4.10mp3.zip
- Compile Toolchain: gnutools321_06-23-2004.tgz
2. Configure CM source code and bootloader source code
Create cm and Bootloader source code folders in the home directory:
mkdir -P ~/bcm93349dcm/boot ~/bcm93349dcm/cm
Copy the bootloader_2_2_0.zip to the boot directory and unzip it.
Unzip Bootloader_2_2_0. Zip
Copy the CM source code two ZIP package to the CM directory and unzip it, then overwrite the update with the content under new in Prodd20_bfc4.4.10mp3.zip.
CD ~/bcm93349dcm/cmunzip prodd20_bfc4. 4.10. Zip Unzip Prodd20_bfc4. 4. 10mp3. Zip CP -RF./new/* ./
3. Install the compilation tool chain
Set up the folder CXC in the Linux home directory, copy the gnutools321_06-23-2004.tgz to CXC and unzip it. Then copy the Brcmutils folder under the CM Source code folder to CXC.
mkdir ~/~/cxctar zxvf gnutools321_06--2004. tgz CP -rf/home/zlf/bcm93349dcm/cm/brcmutils ~/cxc/
4. Configure Environment variables
Export cxc_compiler_root_dir= $HOME/cxc/zoemtools_ecos/ecos20/gnutools/mipsisa32-elf-i386-linuxexport PATH = $PATH: $CXC _compiler_root_dir/bin: $HOME/cxc/brcmutilschmod ug+x $CXC _compiler_root_dir/ {bin,/lib/gcc-lib/mipsisa32-elf/3.2. 1,/mipsisa32-elf/bin}/*
5. Compiling bootloader
CD ~/bcm93349dcm/boot/app./makeapp Spiboot
The path to the generated file compiled by bootloader is:
/home/zlf/bcm93349dcm/boot/app/bcm/bootl_jtag.bin
6. Compiling cm
CD ~/bcm93349dcm/cm/cmdocsissystem/ecos. /makeapp Bcm93349dcmvendor Noslim
The path to the build file for cm compilation is:
/home/zlf/bcm93349dcm/cm/cmdocsissystem/ecos/bcm93349dcmvendor/ecram_sto.bin
Ubuntu 12.04 compiled BCM93349DCM package