CHERRYPICK: Append vmalloc arg for ARM in build_kernel_image

Tegra2 systems require a minimum vmalloc bootarg to successfully
reserve the graphics carveout memory. If the vmalloc is insufficient
a crash can result prior to any serial output reported. The minimum
vmalloc is >= carveout size + framebuffer - 32MB, thus for a 256MB
graphics carveout (with 10MB framebuffer), vmalloc>=234MB. This
arg is not added in the u-boot configs to avoid tightly coupling
the u-boot and kernel and is discussed in greater depth at
http://gerrit.chromium.org/gerrit/#change,8293.

BUG=chrome-os-partner:5197,chrome-os-partner:5902
TEST=Manually observe /proc/cmdline reflects change

Change-Id: I70e0d2626c5467e63d42e550f05a85ec1669c604
Original-Change-Id: I66b35b266c7542771f2d4fc497dd4429587529f8
Reviewed-on: http://gerrit.chromium.org/gerrit/8373
Commit-Ready: Katie Roberts-Hoffman <katierh@chromium.org>
Reviewed-by: Katie Roberts-Hoffman <katierh@chromium.org>
Tested-by: Katie Roberts-Hoffman <katierh@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/10046
Commit-Ready: Micah Catlin <micahc@chromium.org>
Reviewed-by: Micah Catlin <micahc@chromium.org>
Tested-by: Micah Catlin <micahc@chromium.org>
1 file changed
tree: d4da58f6f7614dc89e3ee347d3a489027828e1bb
  1. .gitignore
  2. archive_build.sh
  3. archive_hwqual
  4. bash_completion
  5. bin/
  6. build_image
  7. build_kernel_image.sh
  8. build_library/
  9. call_autoserv.py
  10. check_control_files.sh
  11. chroot_version_hooks.d/
  12. clean_loopback_devices
  13. common.sh
  14. cros_deps_diff
  15. cros_download_latest_image
  16. cros_generate_breakpad_symbols
  17. cros_generate_deps_graphs
  18. cros_show_stacks
  19. dot_helper.py
  20. enable_localaccount.sh
  21. enter_chroot.sh
  22. fixup_image_for_qemu.py
  23. get_latest_image.sh
  24. get_package_list
  25. image_to_usb.sh
  26. image_to_vm.sh
  27. lib/
  28. make_developer_script_runner.sh
  29. make_factory_package.sh
  30. make_netboot.sh
  31. make_universal_factory_shim.sh
  32. mk_memento_images.sh
  33. mod_for_factory_scripts/
  34. mod_for_test_scripts/
  35. mod_image_for_recovery.sh
  36. mod_image_for_test.sh
  37. mod_test_image_for_pyauto.sh
  38. mount_gpt_image.sh
  39. remote_access.sh
  40. run_chroot_version_hooks
  41. serve_factory_packages.py
  42. set_shared_user_password.sh
  43. ssh_test.sh
  44. start_devserver
  45. update_bootloaders.sh
  46. update_chroot
  47. update_kernel.sh
  48. upload_symbols
  49. verify_rootfs_chksum.sh