Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.18 KB | None | 0 0
  1. ODROIDC-UBOOT-CONFIG
  2.  
  3. # Possible screen resolutions
  4. # Uncomment only a single Line! The line with setenv written.
  5. # At least one mode must be selected.
  6.  
  7. # setenv m "vga" # 640x480
  8. # setenv m "480p" # 720x480
  9. # setenv m "576p" # 720x576
  10. # setenv m "800x480p60hz" # 800x480
  11. # setenv m "800x600p60hz" # 800x600
  12. # setenv m "1024x600p60hz" # 1024x600
  13. # setenv m "1024x768p60hz" # 1024x768
  14. # setenv m "1360x768p60hz" # 1360x768
  15. # setenv m "1440x900p60hz" # 1440x900
  16. # setenv m "1600x900p60hz" # 1600x900
  17. # setenv m "1680x1050p60hz" # 1680x1050
  18. setenv m "720p" # 720p 1280x720
  19. # setenv m "800p" # 1280x800
  20. # setenv m "sxga" # 1280x1024
  21. # setenv m "1080i50hz" # 1080I@50Hz
  22. # setenv m "1080p24hz" # 1080P@24Hz
  23. # setenv m "1080p50hz" # 1080P@50Hz
  24. # setenv m "1080p" # 1080P@60Hz
  25. # setenv m "1920x1200" # 1920x1200
  26.  
  27. # HDMI DVI Mode Configuration
  28. setenv vout_mode "hdmi"
  29. # setenv vout_mode "dvi"
  30.  
  31. # HDMI BPP Mode
  32. setenv m_bpp "32"
  33. # setenv m_bpp "24"
  34. # setenv m_bpp "16"
  35.  
  36. # HDMI Hotplug Force (HPD)
  37. # 1 = Enables HOTPlug Detection
  38. # 0 = Disables HOTPlug Detection and force the connected status
  39. setenv hpd "0"
  40.  
  41. # CEC Enable/Disable (Requires Hardware Modification)
  42. # 1 = Enables HDMI CEC
  43. # 0 = Disables HDMI CEC
  44. setenv cec "0"
  45.  
  46. # PCM5102 I2S Audio DAC
  47. # PCM5102 is an I2S Audio Dac Addon board for ODROID-C1+
  48. # Uncomment the line below to __ENABLE__ support for this Addon board.
  49. # setenv enabledac "enabledac"
  50.  
  51. # UHS Card Configuration
  52. # Uncomment the line below to __DISABLE__ UHS-1 MicroSD support
  53. # This might break boot for some brand models of cards.
  54. # setenv disableuhs "disableuhs"
  55.  
  56.  
  57. # Disable VPU (Video decoding engine, Saves RAM!!!)
  58. # 0 = disabled
  59. # 1 = enabled
  60. setenv vpu "0"
  61.  
  62. # Disable HDMI Output (Again, saves ram!)
  63. # 0 = disabled
  64. # 1 = enabled
  65. setenv hdmioutput "1"
  66.  
  67. # Default Console Device Setting
  68. # setenv condev "console=ttyS0,115200n8" # on serial port
  69. # setenv condev "console=tty0" # on display (HDMI)
  70. setenv condev "console=ttyS0,115200n8 console=tty0" # on both
  71.  
  72. ###########################################
  73. if test "${hpd}" = "0"; then setenv hdmi_hpd "disablehpd=true"; fi
  74. if test "${cec}" = "1"; then setenv hdmi_cec "hdmitx=cecf"; fi
  75.  
  76.  
  77. # Set Linux partition UUID
  78. # setenv linuuid "<%= rootfs_blkid %>"
  79.  
  80. # Custom groups to boot with on first boot
  81. setenv _GROUPS "sambashare,cdrom,floppy,audio,dip,video,plugdev,netdev,lpadmin,scanner,bluetooth,adm"
  82.  
  83. # Boot Arguments
  84. setenv bootargs "root=/dev/mmcblk0p1 rootwait rw ${condev} no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs} ${hdmi_hpd} ${hdmi_cec} boot=live components hostname=live-pc username=live live-config.user-default-groups=${_GROUPS} timestamp="
  85.  
  86. # Booting
  87. ext4load mmc 0:1 0x21000000 boot/uImage
  88. ext4load mmc 0:1 0x21800000 boot/meson8b_odroidc.dtb
  89. fdt addr 21800000
  90.  
  91. if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
  92.  
  93. # if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi
  94.  
  95. bootm 0x21000000 - 0x21800000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement