boot.ini.multi 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. ODROIDXU-UBOOT-CONFIG
  2. # ===============================================================
  3. # = Multi boot & install parameters =
  4. # ===============================================================
  5. # Time (sec) to automatic boot if no key is pressed (min 5) =
  6. # ------------------------------------------------------------- =
  7. setenv BOOT_DELAY "10"
  8. # ===============================================================
  9. # Menu item to boot if no key is pressed ("1" ~ "8") =
  10. # ------------------------------------------------------------- =
  11. setenv DEFAULT_OS "1"
  12. #
  13. # ===============================================================
  14. # ===============================================================
  15. # Time (sec) to automatic install if no key is pressed =
  16. # ------------------------------------------------------------- =
  17. setenv INST_DELAY "10000"
  18. # ===============================================================
  19. # U-Boot Parameters
  20. setenv initrd_high "0xffffffff"
  21. setenv fdt_high "0xffffffff"
  22. # Mac address configuration
  23. setenv macaddr "00:1e:06:61:7a:39"
  24. #-------------------------------------------------------------------------------------------------------------------
  25. # Basic Ubuntu Setup. Don't touch unless you know what you are doing.
  26. #-------------------------------------------------------------------------------------------------------------------
  27. setenv bootrootfs "console=tty0 quiet instdelay=${INST_DELAY} no_console_suspend loglevel=0}"
  28. # boot commands
  29. setenv bootcmd "fatload mmc 0:1 0x40008000 multiboot/zImage.multi; fatload mmc 0:1 0x42000000 multiboot/uInitrd.multi; fatload mmc 0:1 0x44000000 multiboot/exynos5422-odroidxu3.dtb.multi; bootz 0x40008000 0x42000000 0x44000000"
  30. # --- Screen Configuration for HDMI --- #
  31. # ---------------------------------------
  32. # Uncomment only ONE line! Leave all commented for automatic selection.
  33. # Uncomment only the setenv line!
  34. # ---------------------------------------
  35. # ODROID-VU forced resolution
  36. # setenv videoconfig "video=HDMI-A-1:1280x800@60"
  37. # -----------------------------------------------
  38. # ODROID-VU forced EDID
  39. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x800.bin"
  40. # -----------------------------------------------
  41. # 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
  42. # setenv videoconfig "video=HDMI-A-1:1920x1080@60"
  43. # -----------------------------------------------
  44. # 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
  45. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
  46. # -----------------------------------------------
  47. # 1920x1080 50hz (1080P) with monitor provided EDID information. (1080p 50hz-edid)
  48. # setenv videoconfig "video=HDMI-A-1:1920x1080@50"
  49. # -----------------------------------------------
  50. # 1920x1080 50hz (1080P) without monitor data using generic information (1080p 50hz-noedid)
  51. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080_50hz.bin"
  52. # -----------------------------------------------
  53. # 1440x900 with monitor provided EDID information.
  54. # setenv videoconfig "video=HDMI-A-1:1440x900@60"
  55. # -----------------------------------------------
  56. # 1440x900 without monitor data using generic information
  57. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1440x900.bin"
  58. # -----------------------------------------------
  59. # 1280x720 (720P) with monitor provided EDID information. (720p-edid)
  60. # setenv videoconfig "video=HDMI-A-1:1280x720@60"
  61. # -----------------------------------------------
  62. # 1280x720 (720P) without monitor data using generic information (720p-noedid)
  63. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1280x720.bin"
  64. # -----------------------------------------------
  65. # 1024x768 without monitor data using generic information
  66. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/1024x768.bin"
  67. # -----------------------------------------------
  68. # 800x600 without monitor data using generic information
  69. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/800x600.bin"
  70. # -----------------------------------------------
  71. # 720x576 without monitor data using generic information
  72. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x576.bin"
  73. # -----------------------------------------------
  74. # 720x480 without monitor data using generic information
  75. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/720x480.bin"
  76. # -----------------------------------------------
  77. # 640x480 without monitor data using generic information
  78. # setenv videoconfig "drm_kms_helper.edid_firmware=edid/640x480.bin"
  79. # --- CPU Governor Setup ---
  80. # Uncomment only one line. New governor is set after 90secs after boot.
  81. # ------------------------------------------
  82. # - Performance (Keep all the CPU's at Maximum frequency)
  83. setenv governor "performance"
  84. # ------------------------------------------
  85. # - Ondemand
  86. # setenv governor "ondemand"
  87. # ------------------------------------------
  88. # - Interactive (Pretty much just like ondemand with more possible customization via sysfs.)
  89. # setenv governor "interactive"
  90. # ------------------------------------------
  91. # - Conservative (Like ondemand, but do the frequency transitions more slowly, great for battery powered applications)
  92. # setenv governor "conservative"
  93. # ------------------------------------------
  94. # - Powersave (Keeps the CPU's to the lowest possible temps)
  95. # setenv governor "powersave"
  96. # =================================================
  97. # = NEEDED FOR BOOT SELECT SCRIPT, DO NOT CHANGE =
  98. # =================================================
  99. mw.b 0x60000000 0x41 0x10
  100. fatwrite mmc 0:1 0x60000000 _BOOT_FROM_ 10
  101. sleep 1
  102. # =================================================
  103. # final boot args
  104. setenv bootargs "${bootrootfs} ${videoconfig} smsc95xx.macaddr=${macaddr} governor=${governor}"
  105. # drm.debug=0xff
  106. # Boot the board
  107. boot