All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHES] Porting sysvinit changes from arago to meta-arago
@ 2012-08-01 22:25 Cooper Jr., Franklin
  2012-08-03 13:44 ` Maupin, Chase
  2012-08-08  2:14 ` Denys Dmytriyenko
  0 siblings, 2 replies; 6+ messages in thread
From: Cooper Jr., Franklin @ 2012-08-01 22:25 UTC (permalink / raw)
  To: meta-arago@arago-project.org; +Cc: Cooper Jr., Franklin


[-- Attachment #1.1: Type: text/plain, Size: 117 bytes --]



Regards,
Franklin Cooper Jr.
Texas Instruments
Application Engineer
fcooper@ti.com<mailto:fcooper@ti.com>


[-- Attachment #1.2: Type: text/html, Size: 2023 bytes --]

[-- Attachment #2: 0001-sysvinit-Port-from-arago-to-meta-arago.patch --]
[-- Type: application/octet-stream, Size: 3173 bytes --]

From 29e2068cc15ac65331684a67d06818f3aa5dc16a Mon Sep 17 00:00:00 2001
From: Franklin S Cooper Jr <fcooper@ti.com>
Date: Mon, 30 Jul 2012 11:49:09 -0500
Subject: [PATCH 1/2] sysvinit - Port from arago to meta-arago

* Port changes from arago to meta-arago
* Copy rcS-default from oe-core /meta/recipes-core/sysvinit/sysvinit

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 .../recipes-core/sysvinit/sysvinit/rcS-default     |   25 ++++++++++++++++++++
 .../sysvinit/sysvinit_2.88dsf.bbappend             |   24 +++++++++++++++++++
 2 files changed, 49 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/sysvinit/sysvinit/rcS-default
 create mode 100644 meta-arago-extras/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend

diff --git a/meta-arago-extras/recipes-core/sysvinit/sysvinit/rcS-default b/meta-arago-extras/recipes-core/sysvinit/sysvinit/rcS-default
new file mode 100644
index 0000000..fc6d415
--- /dev/null
+++ b/meta-arago-extras/recipes-core/sysvinit/sysvinit/rcS-default
@@ -0,0 +1,25 @@
+#
+#	Defaults for the boot scripts in /etc/rcS.d
+#
+
+# Time files in /tmp are kept in days.
+TMPTIME=0
+# Set to yes if you want sulogin to be spawned on bootup
+SULOGIN=no
+# Set to no if you want to be able to login over telnet/rlogin
+# before system startup is complete (as soon as inetd is started)
+DELAYLOGIN=no
+# Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
+# UTC=yes
+# Set VERBOSE to "no" if you would like a more quiet bootup.
+VERBOSE=no
+# Set EDITMOTD to "no" if you don't want /etc/motd to be edited automatically
+EDITMOTD=no
+# Whether to fsck root on boot
+ENABLE_ROOTFS_FSCK=no
+# Set FSCKFIX to "yes" if you want to add "-y" to the fsck at startup.
+FSCKFIX=yes
+# Set TICKADJ to the correct tick value for this specific machine
+#TICKADJ=10000
+# Enable caching in populate-volatile.sh
+VOLATILE_ENABLE_CACHE=yes
diff --git a/meta-arago-extras/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend b/meta-arago-extras/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
new file mode 100644
index 0000000..07c822b
--- /dev/null
+++ b/meta-arago-extras/recipes-core/sysvinit/sysvinit_2.88dsf.bbappend
@@ -0,0 +1,24 @@
+# Arago-specific amendments to the standard OE SysVinit recipe
+
+# look for files in this layer first
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PR_append = "-arago0"
+
+# When building for "unified" arago machine, start gettys on first 3 serial consoles (ttyS?/ttyO?)
+add_arago_gettys () {
+	echo "S0:2345:respawn:${base_sbindir}/getty 115200 ttyS0" >> ${D}${sysconfdir}/inittab
+	echo "S1:2345:respawn:${base_sbindir}/getty 115200 ttyS1" >> ${D}${sysconfdir}/inittab
+	echo "S2:2345:respawn:${base_sbindir}/getty 115200 ttyS2" >> ${D}${sysconfdir}/inittab
+	echo "O0:2345:respawn:${base_sbindir}/getty 115200 ttyO0" >> ${D}${sysconfdir}/inittab
+	echo "O1:2345:respawn:${base_sbindir}/getty 115200 ttyO1" >> ${D}${sysconfdir}/inittab
+	echo "O2:2345:respawn:${base_sbindir}/getty 115200 ttyO2" >> ${D}${sysconfdir}/inittab
+}
+
+do_install_append_arago-armv5 () {
+	add_arago_gettys
+}
+
+do_install_append_arago-armv7 () {
+	add_arago_gettys
+}
-- 
1.7.0.4


[-- Attachment #3: 0002-sysvinit-Port-changes-to-rcS-default-from-arago.patch --]
[-- Type: application/octet-stream, Size: 1184 bytes --]

From 1fb70449619c01b6a3e5af23f797df1cb2ec57a0 Mon Sep 17 00:00:00 2001
From: Franklin S Cooper Jr <fcooper@ti.com>
Date: Mon, 30 Jul 2012 11:53:27 -0500
Subject: [PATCH 2/2] sysvinit - Port changes to rcS-default from arago

* Modify the base rcS-default file which was taken from oe-core
  and tweak the file based on the rcS-default file located in arago

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 .../recipes-core/sysvinit/sysvinit/rcS-default     |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta-arago-extras/recipes-core/sysvinit/sysvinit/rcS-default b/meta-arago-extras/recipes-core/sysvinit/sysvinit/rcS-default
index fc6d415..91043f2 100644
--- a/meta-arago-extras/recipes-core/sysvinit/sysvinit/rcS-default
+++ b/meta-arago-extras/recipes-core/sysvinit/sysvinit/rcS-default
@@ -11,6 +11,8 @@ SULOGIN=no
 DELAYLOGIN=no
 # Set UTC=yes if your system clock is set to UTC (GMT), and UTC=no if not.
 # UTC=yes
+# Set to no to not run hwclock for rtc
+HWCLOCKACCESS=no
 # Set VERBOSE to "no" if you would like a more quiet bootup.
 VERBOSE=no
 # Set EDITMOTD to "no" if you don't want /etc/motd to be edited automatically
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-09 15:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-01 22:25 [PATCHES] Porting sysvinit changes from arago to meta-arago Cooper Jr., Franklin
2012-08-03 13:44 ` Maupin, Chase
2012-08-03 16:18   ` Cooper Jr., Franklin
2012-08-08  2:14 ` Denys Dmytriyenko
2012-08-08 22:18   ` Cooper Jr., Franklin
2012-08-09 15:13     ` Cooper Jr., Franklin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.