| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- #DESCRIPTION Odroid OpenElec
- # U-Boot Parameters
- setenv initrd_high "0xffffffff"
- setenv fdt_high "0xffffffff"
- #------------------------------------------------------------------------------------------------------
- #
- # Boot Specific Stuff
- #
- #------------------------------------------------------------------------------------------------------
- setenv bootrootfs "boot=LABEL=userdata disk=LABEL=oelec"
- #------------------------------------------------------------------------------------------------------
- #
- # Console Setup
- #
- #------------------------------------------------------------------------------------------------------
- setenv console "console=ttySAC2,115200n8"
- #------------------------------------------------------------------------------------------------------
- #
- # Video output
- #
- # Setup the video output
- # Unset variable = automatic
- #
- # setenv video_output "video=HDMI-A-1:1920x1080M@60" : 1080p (Use connected display's EDID)
- # setenv video_output "video=HDMI-A-1:1280x720@60" : 720p (Use connected display's EDID)
- #
- # setenv video_output "drm_kms_helper.edid_firmware=edid/1920x1080.bin" : 1080p (Use system EDID)
- # setenv video_output "drm_kms_helper.edid_firmware=edid/1280x720.bin" : 720p (Use system EDID)
- #------------------------------------------------------------------------------------------------------
- # setenv video_output "video=HDMI-A-1:1920x1080M@60"
- #------------------------------------------------------------------------------------------------------
- #
- # OpenELEC variables
- #
- # Setup the OpenELEC options
- # valid values are: progress ssh debugging quiet break verbose
- #------------------------------------------------------------------------------------------------------
- setenv openelec "quiet ssh"
- #------------------------------------------------------------------------------------------------------
- #
- # MAC Network Address
- #
- #------------------------------------------------------------------------------------------------------
- setenv macaddr "00:1e:06:61:7a:39"
- #------------------------------------------------------------------------------------------------------
- #
- # Kernel boot
- #
- #------------------------------------------------------------------------------------------------------
- setenv bootargs "${console} ${bootrootfs} ${openelec} smsc95xx.macaddr=${macaddr}"
- # ========================================================
- # = RESTORE boot.scr FOR MULTIBOOT, DO NOT CHANGE =
- # ========================================================
- mmc list
- mmc dev
- setenv change_osdev no;
- setenv bootdev "0:1";
- if test "${mmc_boot_device}" = "0"; then
- setenv bootdev "0:1";
- elif test "${mmc_boot_device}" = "1"; then
- setenv bootdev "1:1";
- fi
- setenv os_dev "${bootdev}";
- if test "${change_osdev}" = "yes"; then
- if test "${bootdev}" = "0:1"; then
- setenv os_dev "1:1";
- else
- setenv os_dev "0:1";
- fi
- fi
- # ========================================================
- fatload mmc ${os_dev} 40008000 multiboot/KERNEL
- fatload mmc ${os_dev} 42000000 multiboot/INITRD
- fatload mmc ${os_dev} 44000000 multiboot/exynos5422-odroidxu3.dtb.oelec
- # === RESTORE MULTIBOOT SCRIPT ===========================
- fatload mmc ${bootdev} 0x60000000 multiboot/boot.scr.multi
- fatwrite mmc ${bootdev} 0x60000000 boot.scr ${filesize}
- #=========================================================
- # Boot the board
- bootz 40008000 42000000 44000000
|