Advertisement
Guest User

Untitled

a guest
Mar 29th, 2014
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.54 KB | None | 0 0
  1. #------------------------------------------------------------------------------------------------------
  2. #
  3. # Boot.ini text file template
  4. #
  5. #------------------------------------------------------------------------------------------------------
  6. #
  7. # boot.ini identification
  8. #
  9. #------------------------------------------------------------------------------------------------------
  10. ODROIDXU-UBOOT-CONFIG
  11.  
  12. # Verify if u-boot is up-to-date to receive new Kernel
  13. setenv hk_current_version "2"
  14. setenv verify 'if test $hk_version != $hk_current_version;then;fatload mmc 0:1 40008000 u-boot.bin;emmc open 0;movi w z u 0 40008000;emmc close 0;setenv hk_version $hk_current_version;save;reset;fi'
  15. #run verify
  16.  
  17. # U-Boot Parameters
  18. setenv initrd_high "0xffffffff"
  19. setenv fdt_high "0xffffffff"
  20.  
  21. #------------------------------------------------------------------------------------------------------
  22. #
  23. # Boot Specific Stuff
  24. # Ubuntu
  25. setenv bootrootfs "console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro"
  26.  
  27. # Android
  28. # setenv bootroofs "root=/dev/mmcblk0p2 rw rootfstype=ext4 init=/init console=ttySAC2,115200n8 vmalloc=512M"
  29.  
  30. #------------------------------------------------------------------------------------------------------
  31. #
  32. # Frame buffer size.
  33. # Example.. If you are on LCD Kit set the values bellow to:
  34. # x = 1280 and y = 800
  35. # Otherwise please set this value below to your wanted resolution
  36. # Values:
  37. # LCD Kit: x = 1280 y = 800
  38. # ---------------------------
  39. # HDMI:
  40. # 480: x = 720 y = 480
  41. # 576: x = 720 y = 576
  42. # 720: x = 1280 y = 720
  43. # 1080: x = 1920 y = 1080
  44. #
  45. #------------------------------------------------------------------------------------------------------
  46. setenv fb_x_res "1920"
  47. setenv fb_y_res "1080"
  48.  
  49. #------------------------------------------------------------------------------------------------------
  50. #
  51. # Controls the Board Output Method.
  52. # Valid values are: lcd dp hdmi dvi
  53. #
  54. #------------------------------------------------------------------------------------------------------
  55. setenv vout "hdmi"
  56.  
  57. #------------------------------------------------------------------------------------------------------
  58. #
  59. # FB Control
  60. #
  61. #------------------------------------------------------------------------------------------------------
  62. setenv left "56"
  63. setenv right "24"
  64. setenv upper "3"
  65. setenv lower "3"
  66. setenv hsync "50"
  67. setenv vsync "65"
  68.  
  69. setenv fb_control "left=${left} right=${right} upper=${upper} lower=${lower} vsync=${vsync} hsync=${hsync}"
  70.  
  71. #------------------------------------------------------------------------------------------------------
  72. #
  73. # 테스트 되어진 모니터의 parameter값입니다. 위 값을 설정할 때 참고하여 사용합니다.
  74. #
  75. #------------------------------------------------------------------------------------------------------
  76. #
  77. # AOC I2269V 22" (1920 X 1080)
  78. # left = 56, right = 24, upper = 3, lower = 3, hsync = 14, vsync = 3
  79. #
  80. #------------------------------------------------------------------------------------------------------
  81. #
  82. # YAMAKASI Monitor 27" (2560 X 1440)
  83. # left = 15, right = 10, upper = 10, lower = 10, hsync = 10, vsync = 10,
  84. #
  85. #------------------------------------------------------------------------------------------------------
  86. #
  87. # X-Star Monitor 27" (2560 X 1440)
  88. # left = 56, right = 24, upper = 3, lower = 3, hsync = 14, vsync = 3,
  89. #
  90. #------------------------------------------------------------------------------------------------------
  91. #
  92. # LG Monitor 27" (2560 * 1080)
  93. #
  94. # left = 56, right = 248, upper = 3, lower = 3, hsync = 144, vsync = 3,
  95. # left = 100, right = 100, upper = 100, lower = 100, hsync = 100, vsync = 100,
  96. #
  97. #------------------------------------------------------------------------------------------------------
  98.  
  99. #------------------------------------------------------------------------------------------------------
  100. #
  101. # Forces a fixed resolution on the HDMI controller. Please make sure that your screen supports and
  102. # It matchs the resolution above! setted the X and Y
  103. # valid values are: 480p60hz 720p60hz 720p50hz 1080p60hz 1080i60hz 1080i50hz 1080p50hz
  104. # 1080p30hz 1080p25hz 1080p24hz
  105. #
  106. #------------------------------------------------------------------------------------------------------
  107. setenv hdmi_phy_res "1080p60hz"
  108.  
  109. #------------------------------------------------------------------------------------------------------
  110. #
  111. # System Status LED: Blink the RGB LED or disable it
  112. # valid values: 1 off
  113. #
  114. #------------------------------------------------------------------------------------------------------
  115. setenv led_blink "1"
  116.  
  117. #------------------------------------------------------------------------------------------------------
  118. #
  119. # U-Boot bootcmd command
  120. #
  121. #------------------------------------------------------------------------------------------------------
  122. # Android
  123. # setenv bootcmd "movi r k 0:1 40008000; bootz 0x40008000"
  124. # Ubuntu
  125. setenv bootcmd "fatload mmc 0:1 0x40008000 zImage; fatload mmc 0:1 0x42000000 uInitrd; bootz 0x40008000 0x42000000"
  126.  
  127. #------------------------------------------------------------------------------------------------------
  128. #
  129. # Kernel boot arguments
  130. #
  131. #------------------------------------------------------------------------------------------------------
  132. setenv bootargs "${bootrootfs} ${fb_control} fb_x_res=${fb_x_res} fb_y_res=${fb_y_res} vout=${vout} hdmi_phy_res=${hdmi_phy_res} led_blink=${led_blink}"
  133.  
  134. # Boot the board
  135. boot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement