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. bin/
  2. build_library/
  3. chroot_version_hooks.d/
  4. lib/
  5. mod_for_factory_scripts/
  6. mod_for_test_scripts/
  7. .gitignore
  8. archive_build.sh
  9. archive_hwqual
  10. bash_completion
  11. build_image
  12. build_kernel_image.sh
  13. call_autoserv.py
  14. check_control_files.sh
  15. clean_loopback_devices
  16. common.sh
  17. cros_deps_diff
  18. cros_download_latest_image
  19. cros_generate_breakpad_symbols
  20. cros_generate_deps_graphs
  21. cros_show_stacks
  22. dot_helper.py
  23. enable_localaccount.sh
  24. enter_chroot.sh
  25. fixup_image_for_qemu.py
  26. get_latest_image.sh
  27. get_package_list
  28. image_to_usb.sh
  29. image_to_vm.sh
  30. make_developer_script_runner.sh
  31. make_factory_package.sh
  32. make_netboot.sh
  33. make_universal_factory_shim.sh
  34. mk_memento_images.sh
  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