Commit 65886189 authored by Nick Elsmore's avatar Nick Elsmore

configs: omap5_pyra: Add base Pyra environment

parent d247a3ad
......@@ -123,4 +123,52 @@
#define CONFIG_SYS_SCSI_MAX_DEVICE (CONFIG_SYS_SCSI_MAX_SCSI_ID * \
CONFIG_SYS_SCSI_MAX_LUN)
/* Redefine environment */
#undef CONFIG_EXTRA_ENV_SETTINGS
#define CONFIG_EXTRA_ENV_SETTINGS \
DEFAULT_LINUX_BOOT_ENV \
"bootenv=boot.txt\0" \
"bootfile=zImage\0" \
"bootpart=1\0" \
"bootos=bootz ${loadaddr} - ${fdtaddr}\0" \
"console=ttyO2\0" \
"fdtfile=pyra.dtb\0" \
"finduuid=part uuid mmc ${mmcdev}:${rootfspart} uuid\0" \
"importbootenv=if ext4load mmc ${mmcdev}:${bootpart} ${loadaddr} ${bootenv}; then " \
"env import -t ${loadaddr} ${filesize}; " \
"fi\0" \
"importuserenv=if ext4load mmc ${mmcdev}:${bootpart} ${loadaddr} ${userenv}; then " \
"env import -t ${loadaddr} ${filesize}; " \
"fi\0" \
"loados=ext4load mmc ${mmcdev}:${bootpart} ${loadaddr} ${bootfile}; " \
"ext4load mmc ${mmcdev}:${bootpart} ${rdaddr} ${rdfile}; " \
"ext4load mmc ${mmcdev}:${bootpart} ${fdtaddr} ${fdtfile}\0" \
"mmcargs=run finduuid; setenv bootargs " \
"console=${console} " \
"root=PARTUUID=${uuid} rw "\
"rootfstype=${rootfstype} rootwait " \
"vram=12M " \
"omapfb.vram=0:8M,1:4M " \
"omapfb.rotate_type=0 " \
"omapdss.def_disp=lcd " \
"twl4030_charger.allow_usb=1 " \
"musb_hdrc.preserve_vbus=1 " \
"log_buf_len=8M " \
"ignore_loglevel " \
"earlyprintk " \
"drm_kms_helper.fbdev_rotation=8\0" \
"mmcdev=0\0" \
"rdfile=initrd.img\0" \
"rootfspart=2\0" \
"rootfstype=ftfs\0" \
"userenv=uEnv.txt\0"
#undef CONFIG_BOOTCOMMAND
#define CONFIG_BOOTCOMMAND \
"run importbootenv; " \
"run importuserenv; " \
"run loados; " \
"run mmcargs; " \
"run bootos;"
#endif /* __CONFIG_OMAP5_EVM_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment