summarylogtreecommitdiffstats
path: root/uEnv-mainline.txt
blob: f2617a6c2bdb482fd949d7f14b9cbc240a574f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Use this file to make modifications to the U-Boot environment.
# Defaults in the environment are provided below, uncomment and modify to change them.

# NOTE: This file was modified to be self-sufficient, i.e. not depend on the
# commands burned into u-boot, because those change with u-boot version. The
# only commands that we depend on is the one that loads this file and the one
# (1) import this file:
        envaddr=0x40000000
        bootpart=0:1
        envfile=uEnv.txt
        loadenv='load mmc ${bootpart} ${envaddr} ${envfile}'
        importenv='run loadenv; env import -t ${envaddr} ${filesize}'
# (2) the boot command: bootcmd='run importenv; run mmcboot'

### Kernel
bootpart=0:1
bootdir=/
bootfile=zImage
rdfile=initramfs-linux.img

### root filesystem device
mmcroot=/dev/mmcblk1p3 rw rootwait

### optargs (extra options to pass to the kernel)
# optargs=

### Flattened Device Tree file (specify for mainline kernel use)
fdtfile=exynos4412-odroidu3.dtb

### video
## 1920x1080 (1080P) with monitor provided EDID information. (1080p-edid)
# video=HDMI-A-1:1920x1080@60

## 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
# optargs=drm_kms_helper.edid_firmware=edid/1920x1080.bin

## 1280x720 (720P) with monitor provided EDID information. (720p-edid)
# video=HDMI-A-1:1280x720@60

## 1280x720 (720P) without monitor data using generic information (720p-noedid)
# optargs=drm_kms_helper.edid_firmware=edid/1280x720.bin

## 1024x768 without monitor data using generic information
# optargs=drm_kms_helper.edid_firmware=edid/1024x768.bin

setbootargs=setenv bootargs console=${console} console=tty0 ${optargs} root=${mmcroot} consoleblank=180

mmcboot=run setbootargs; load mmc ${bootpart} ${loadaddr} ${bootfile};load mmc ${bootpart} ${rdaddr} ${rdfile};load mmc ${bootpart} ${fdtaddr} ${fdtfile};bootz ${loadaddr} ${rdaddr} ${fdtaddr}