boot.ini.inst 5.4 KB

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