[Gta04-owner] Impressions from running Replicant
Alexander Rumyantsev
ran at mail.wplus.net
Tue Jun 25 12:23:24 CEST 2013
> > Please, try
> > https://docs.google.com/file/d/0B-rRgKAzYyoBbVdIS0l6aXY4SGc/edit?usp=sharing
> > The problem was solved.
> > To prepare working SD execute ./replicant_gta04_install.sh
> > system /dev/sdb into restored
> > directory. ( change /dev/sdb to your device ).
> > Boot from 1 partition using ordinary ( HW-testing/QT ) uBoot from NAND.
>
> Great.
>
> How was it solved? I would like to build it from sources (at least in
> the future) and I think I have used the latest ones... So a pure rootfs
> does not help much beyond showing that it can be solved.
Find patch in attachment for current Replicant-2.3 repo
-------------- next part --------------
commit 49c71108f6a6ca3c208218c5938f104350c5d2f6
Author: Alexandre Roumiantsev <ran at mail.wplus.net>
Date: Thu Jan 31 16:33:28 2013 +0400
Temporary patch, i hope. Do not switch consoles or sync on suspend. Follow Neil Brown.
diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c
index f7686ca..686ba67 100644
--- a/kernel/power/suspend.c
+++ b/kernel/power/suspend.c
@@ -98,7 +98,7 @@ static int suspend_prepare(void)
if (!suspend_ops || !suspend_ops->enter)
return -EPERM;
- pm_prepare_console();
+// pm_prepare_console();
error = pm_notifier_call_chain(PM_SUSPEND_PREPARE);
if (error)
@@ -119,7 +119,7 @@ static int suspend_prepare(void)
usermodehelper_enable();
Finish:
pm_notifier_call_chain(PM_POST_SUSPEND);
- pm_restore_console();
+// pm_restore_console();
return error;
}
@@ -266,7 +266,7 @@ static void suspend_finish(void)
suspend_thaw_processes();
usermodehelper_enable();
pm_notifier_call_chain(PM_POST_SUSPEND);
- pm_restore_console();
+// pm_restore_console();
}
/**
@@ -289,9 +289,9 @@ int enter_state(suspend_state_t state)
if (!mutex_trylock(&pm_mutex))
return -EBUSY;
- printk(KERN_INFO "PM: Syncing filesystems ... ");
- sys_sync();
- printk("done.\n");
+ printk(KERN_INFO "PM: Not Syncing filesystems ... ");
+// sys_sync();
+// printk("done.\n");
pr_debug("PM: Preparing system for %s sleep\n", pm_states[state]);
error = suspend_prepare();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20130625/a321ca37/attachment.bin>
More information about the Gta04-owner
mailing list