Added support for QMU to sf\3tshell platform. Tested with S^4 Kernel Taster Kit ktk_s4_0.7.
authorTom Sutcliffe <thomas.sutcliffe@accenture.com>
Sat, 28 Aug 2010 14:21:25 +0100
changeset 43 96bfe2624d23
parent 42 e81b4e28b3e2
child 45 4df672617228
Added support for QMU to sf\3tshell platform. Tested with S^4 Kernel Taster Kit ktk_s4_0.7.
build/common/common.mmh
commands/variant/variant.cpp
core/group/comm.script
core/group/fshell_autoexec.bat
--- a/build/common/common.mmh	Sat Aug 28 00:12:38 2010 +0100
+++ b/build/common/common.mmh	Sat Aug 28 14:21:25 2010 +0100
@@ -277,7 +277,9 @@
 #endif
 
 #if defined(FSHELL_PLATFORM_S60) && FSHELL_PLATFORM_S60 >= 5
+#ifdef FSHELL_COMMS_SUPPORT
 #define FSHELL_CORE_SUPPORT_SYSINFO_WLAN
+#endif
 #define FSHELL_CORE_SUPPORT_SECURE_TIME
 #endif
 
--- a/commands/variant/variant.cpp	Sat Aug 28 00:12:38 2010 +0100
+++ b/commands/variant/variant.cpp	Sat Aug 28 14:21:25 2010 +0100
@@ -67,6 +67,7 @@
 	{ 0x2000DA56, DESC("5800") },
 	{ 0x2001F0A1, DESC("satio") }, // I assume this is what it shipped with...
 	{ 0x20029a73, DESC("n8") }, // Likewise...
+	{ 0x102734e3, DESC("qemu") },
 	};
 const TInt KMachineIdVariantCount = sizeof(KMachineIdVariants) / sizeof(TVariant);
 
--- a/core/group/comm.script	Sat Aug 28 00:12:38 2010 +0100
+++ b/core/group/comm.script	Sat Aug 28 14:21:25 2010 +0100
@@ -26,6 +26,9 @@
 # OPP Mid-Size Prototype, requires a special USB cable with a UART bridge built into it (normally covered in heat shrink) or a "black box".
 variant opp-mid-size && export ARGS "--console vt100busdevcons --console-title pdd=euart1,ldd=ecomm,rate=115200,port=4"
 
+# QEMU simulator - assumes you're using 2nd emulated serial port for fshell, ie with options similar to "-serial file:rdebug.txt -serial COMx"
+variant qemu && export ARGS "--console vt100busdevcons --console-title pdd=eserial,ldd=ecomm,rate=115200,port=1"
+
 # Add new variants here
 
 # And finally, start fshell with the given configuration
--- a/core/group/fshell_autoexec.bat	Sat Aug 28 00:12:38 2010 +0100
+++ b/core/group/fshell_autoexec.bat	Sat Aug 28 14:21:25 2010 +0100
@@ -1,1 +1,1 @@
-fshell autostart
+start fshell autostart