File u-boot-omap-ttyO2.patch of Package u-boot-omap3beagle
From: Alexander Graf
Subject: [PATCH] use ttyO2 for omap boards
The default config for OMAP boards uses ttyS2, but our kernels expose it
as ttyO2. Switch to sane defaults, so we can boot without the need for a
working boot.scr.
Signed-off-by: Alexander Graf <agraf@suse.de>
Index: u-boot-linaro-20111213/include/configs/omap3_beagle.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap3_beagle.h
+++ u-boot-linaro-20111213/include/configs/omap3_beagle.h
@@ -229,7 +229,7 @@
"rdaddr=0x81000000\0" \
"usbtty=cdc_acm\0" \
"bootfile=uImage.beagle\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"mpurate=auto\0" \
"buddy=none "\
"optargs=\0" \
Index: u-boot-linaro-20111213/include/configs/omap3_evm.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap3_evm.h
+++ u-boot-linaro-20111213/include/configs/omap3_evm.h
@@ -200,7 +200,7 @@
"loadaddr=0x82000000\0" \
"usbtty=cdc_acm\0" \
"mmcdev=0\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"mmcargs=setenv bootargs console=${console} " \
"root=/dev/mmcblk0p2 rw " \
"rootfstype=ext3 rootwait\0" \
Index: u-boot-linaro-20111213/include/configs/omap3_overo.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap3_overo.h
+++ u-boot-linaro-20111213/include/configs/omap3_overo.h
@@ -155,7 +155,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x82000000\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"mpurate=500\0" \
"vram=12M\0" \
"dvimode=1024x768MR-16@60\0" \
Index: u-boot-linaro-20111213/include/configs/omap3_zoom1.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap3_zoom1.h
+++ u-boot-linaro-20111213/include/configs/omap3_zoom1.h
@@ -178,7 +178,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x82000000\0" \
"usbtty=cdc_acm\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"mmcdev=0\0" \
"videomode=1024x768@60,vxres=1024,vyres=768\0" \
"videospec=omapfb:vram:2M,vram:4M\0" \
Index: u-boot-linaro-20111213/include/configs/omap4_common.h
===================================================================
--- u-boot-linaro-20111213.orig/include/configs/omap4_common.h
+++ u-boot-linaro-20111213/include/configs/omap4_common.h
@@ -149,7 +149,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x82000000\0" \
- "console=ttyS2,115200n8\0" \
+ "console=ttyO2,115200n8\0" \
"usbtty=cdc_acm\0" \
"vram=16M\0" \
"mmcdev=0\0" \