- #------------------------------------------------------------------------------------------------------
- #
- # Boot.ini text file template
- #
- #------------------------------------------------------------------------------------------------------
- #
- # boot.ini identification
- #
- #------------------------------------------------------------------------------------------------------
- ODROIDXU-UBOOT-CONFIG
- # U-Boot Parameters
- setenv initrd_high "0xffffffff"
- setenv fdt_high "0xffffffff"
- #------------------------------------------------------------------------------------------------------
- #
- # Boot Specific Stuff
- # Ubuntu
- # setenv bootrootfs "console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro"
- # Android
- setenv bootroofs "root=/dev/mmcblk0p2 rw rootfstype=ext4 init=/init console=ttySAC2,115200n8 vmalloc=512M androidboot.console=ttySAC2"
- #------------------------------------------------------------------------------------------------------
- #
- # Frame buffer size.
- # Example.. If you are on LCD Kit set the values bellow to:
- # x = 1280 and y = 800
- # Otherwise please set this value below to your wanted resolution
- # Values:
- # LCD Kit: x = 1280 y = 800
- # ---------------------------
- # HDMI:
- # 480: x = 720 y = 480
- # 576: x = 720 y = 576
- # 720: x = 1280 y = 720
- # 1080: x = 1920 y = 1080
- #
- #------------------------------------------------------------------------------------------------------
- setenv fb_x_res "1920"
- setenv fb_y_res "1080"
- #------------------------------------------------------------------------------------------------------
- #
- # Controls the Board Output Method.
- # Valid values are: lcd dp hdmi dvi
- #
- #------------------------------------------------------------------------------------------------------
- setenv vout "hdmi"
- #------------------------------------------------------------------------------------------------------
- #
- # FB Timing Control
- #
- #------------------------------------------------------------------------------------------------------
- setenv left "56"
- setenv right "24"
- setenv upper "3"
- setenv lower "3"
- setenv hsync "14"
- setenv vsync "3"
- setenv fb_control "left=${left} right=${right} upper=${upper} lower=${lower} vsync=${vsync} hsync=${hsync}"
- #------------------------------------------------------------------------------------------------------
- #
- # Example.. Timing parameters of some monitor..
- #
- #------------------------------------------------------------------------------------------------------
- #
- # AOC I2269V 22" (1920 X 1080)
- # left = 56, right = 24, upper = 3, lower = 3, hsync = 14, vsync = 3
- #
- #------------------------------------------------------------------------------------------------------
- #
- # YAMAKASI Monitor 27" (2560 X 1440)
- # left = 15, right = 10, upper = 10, lower = 10, hsync = 10, vsync = 10,
- #
- #------------------------------------------------------------------------------------------------------
- #
- # X-Star Monitor 27" (2560 X 1440)
- # left = 56, right = 24, upper = 3, lower = 3, hsync = 14, vsync = 3,
- #
- #------------------------------------------------------------------------------------------------------
- #
- # LG Monitor 27" (2560 * 1080)
- #
- # left = 56, right = 248, upper = 3, lower = 3, hsync = 144, vsync = 3,
- # left = 100, right = 100, upper = 100, lower = 100, hsync = 100, vsync = 100,
- #
- #------------------------------------------------------------------------------------------------------
- #------------------------------------------------------------------------------------------------------
- #
- # Forces a fixed resolution on the HDMI controller. Please make sure that your screen supports and
- # It matchs the resolution above! setted the X and Y
- # valid values are: 480p60hz 576p50hz 720p60hz 720p50hz 1080p60hz 1080i60hz 1080i50hz 1080p50hz
- # 1080p30hz 1080p25hz 1080p24hz
- #
- #------------------------------------------------------------------------------------------------------
- setenv hdmi_phy_res "1080p60hz"
- #------------------------------------------------------------------------------------------------------
- #
- # System Status LED: Blink the RGB LED or disable it
- # valid values: 0 to 255
- #
- # Example..
- # led_blink "0" : LED Off
- # led_blink "1" : LED blink period 1 sec.
- #------------------------------------------------------------------------------------------------------
- setenv led_blink "1"
- #------------------------------------------------------------------------------------------------------
- #
- # U-Boot bootcmd command
- #
- #------------------------------------------------------------------------------------------------------
- setenv bootcmd "movi r k 0:1 40008000; bootz 0x40008000"
- #------------------------------------------------------------------------------------------------------
- #
- # Kernel boot arguments
- #
- #------------------------------------------------------------------------------------------------------
- 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}"
- # Boot the board
- boot