Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 13th, 2012  |  syntax: None  |  size: 1.69 KB  |  views: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Initialising
  2.  
  3. A case-sensitive volume is required:
  4.  
  5. ```Bash
  6. hdiutil create -type SPARSE -volname 'Rowboat' -fs 'Case-sensitive Journaled HFS+' -size 40g rowboat.dmg.sparseimage
  7. hdiutil attach ~/rowboat.dmg.sparseimage
  8. ```
  9.  
  10. To avoid some extra/unnecessary patching, make sure you have GNU versions of tar and sed ahead of your path.
  11.  
  12. Initialise the tree using repo (I picked `manifests/rowboat-ics-am335x.xml`, though you may wish to use TI's release 3.0.1 via `manifests/TI-Android-ICS-4.0.3-DevKit-3.0.1.xml`).
  13.  
  14. # Patching
  15.  
  16. Run this: `curl -s https://raw.github.com/gist/3071139/patch.sh | bash`
  17.  
  18. # Building
  19.  
  20. It will fail building the kernel, hence follow [suggestions on iDriod project wiki](http://www.idroidproject.org/wiki/Compiling_a_Kernel#Mac_OS_X_Fixes.2FWorkarounds):
  21. ```Bash
  22. sudo cp external/elfutils/libelf/elf.h /usr/include/
  23. ```
  24. It appears that you no longer need to mess around with `malloc.h` inclusion.
  25.  
  26. As TI suggests, you need to build u-boot first:
  27. ```Bash
  28. cd u-boot; make CROSS_COMPILE=/Volumes/Rowboat/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- distclean
  29. make CROSS_COMPILE=/Volumes/Rowboat/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- am335x_evm_config
  30. make CROSS_COMPILE=/Volumes/Rowboat/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- -j3
  31. ```
  32. TI didn't not suggest this, but you will have to do this (unless you have u-boot host tools installed):
  33. ```Bash
  34. export PATH="$PATH:`pwd`/u-boot/tools/"
  35. ```
  36.  
  37. Fallow [TI's instructions](http://processors.wiki.ti.com/index.php/TI-Android-ICS-4.0.3-DevKit-3.0.1_DevelopersGuide) to build without the graphics driver (TODO: fix the SGX driver build):
  38.  
  39. ```Bash
  40. make TARGET_PRODUCT=beaglebone OMAPES=4.x -j3 droid kernel_build
  41. ```
clone this paste RAW Paste Data