boot.ini.android 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. ODROIDC-UBOOT-CONFIG
  2. # Resolution Configuration
  3. # 'hdmimode' must be one of below to configure display resolution within
  4. # supported by your TV or monitor.
  5. # Symbol | Resolution
  6. # --------------------+-------------
  7. # "vga" | 640x480
  8. # "480p" | 720x480
  9. # "576p" | 720x576
  10. # "800x480p60hz" | 800x480
  11. # "800x600p60hz" | 800x600
  12. # "1024x600p60hz" | 1024x600
  13. # "1024x768p60hz" | 1024x768
  14. # "1080i50hz" | 1080I@50Hz
  15. # "1080p24hz" | 1080P@24Hz
  16. # "1080p50hz" | 1080P@50Hz
  17. # "1080p" | 1080P@60Hz
  18. # "720p" | 1280x720
  19. # "800p" | 1280x800
  20. # "sxga" | 1280x1024
  21. # "1360x768p60hz" | 1360x768
  22. # "1366x768p60hz" | 1366x768
  23. # "1440x900p60hz" | 1440x900
  24. # "1600x900p60hz" | 1600x900
  25. # "1680x1050p60hz" | 1680x1050
  26. # "1920x1200" | 1920x1200
  27. setenv hdmimode "1080p"
  28. # HDMI/DVI Mode Configuration
  29. # This will enforce the singal type of display
  30. # "hdmi" - For HDMI interface
  31. # "dvi" - For DVI interface
  32. setenv vout_mode "hdmi"
  33. # HPD enable/disable option
  34. setenv disablehpd "true"
  35. # Overscan offset configuration
  36. # All offsets are zero and can be tuned by manual or ODROID Utility
  37. setenv overscan_top "0"
  38. setenv overscan_left "0"
  39. setenv overscan_bottom "0"
  40. setenv overscan_right "0"
  41. suspend_hdmiphy=0
  42. # UHS Card Configuration
  43. # Uncomment the line below to __DISABLE__ UHS-1 MicroSD support
  44. # This might break boot for some brand/models of cards.
  45. setenv disableuhs "disableuhs"
  46. # Disable IR remote
  47. setenv ir_remote "1"
  48. setenv selinuxopt "androidboot.selinux=disabled"
  49. # Booting
  50. setenv bootargs "root=/dev/mmcblk0p2 rw console=ttyS0,115200n8 no_console_suspend vdaccfg=${vdac_config} logo=osd1,loaded,${fb_addr},${outputmode},full hdmimode=${hdmimode} cvbsmode=${cvbsmode} hdmitx=${cecconfig} vout=${vout_mode} disablehpd=${disablehpd} ${disableuhs} androidboot.serialno=${fbt_id#} ir_remote=${ir_remote} usbcore.autosuspend=-1 ${selinuxopt} suspend_hdmiphy=${suspend_hdmiphy}"
  51. #save
  52. #setenv bootcmd "movi read 0x660 0 0x800000 0x12000000; movi read 0x5E0 0 0x10000 0x12800000; bootm 0x12000000 - 0x12800000"
  53. setenv bootcmd "fatload mmc 0:1 0x12000000 multiboot/uImage.android; fatload mmc 0:1 0x12800000 multiboot/meson8b_odroidc.dtb.android; bootm 0x12000000 - 0x12800000"
  54. # =================================================
  55. # = RESTORE boot.ini FOR MULTIBOOT, DO NOT CHANGE =
  56. # =================================================
  57. fatload mmc 0:1 0x30000000 multiboot/boot.ini.multi
  58. fatwrite mmc 0:1 0x30000000 boot.ini ${filesize}
  59. # =================================================
  60. run bootcmd