Send commitlog mailing list submissions to
        commitlog@lists.openmoko.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        commitlog-requ...@lists.openmoko.org

You can reach the person managing the list at
        commitlog-ow...@lists.openmoko.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r4916 - in developers/werner: myroot wlan-trial
      (wer...@docs.openmoko.org)
   2. r4917 - trunk/src/host/dfu-util/src (wer...@docs.openmoko.org)
--- Begin Message ---
Author: werner
Date: 2009-02-08 23:40:21 +0100 (Sun, 08 Feb 2009)
New Revision: 4916

Modified:
   developers/werner/myroot/werner.init
   developers/werner/myroot/werner.myroot
   developers/werner/wlan-trial/wlan-trial.init
   developers/werner/wlan-trial/wlan-trial.myroot
Log:
Some small changes to the myroot and wlan-trial root file systems.

- init: export PATH (or the system handles weird after changing PATH)
- myroot: add mke2fs and tune2fs
- wlan-trial: remove busybox-udhcpd. What I wanted was udhcpc, but that's not 
  so easy to get without the rest of Busybox. Not important now.



Modified: developers/werner/myroot/werner.init
===================================================================
--- developers/werner/myroot/werner.init        2009-02-06 13:45:36 UTC (rev 
4915)
+++ developers/werner/myroot/werner.init        2009-02-08 22:40:21 UTC (rev 
4916)
@@ -36,5 +36,5 @@
 PS1='con:\w\$ '
 HOME=/home/root
 cd $HOME
-export PS1 HOME
+export PS1 HOME PATH
 exec setsid /bin/bash -l </dev/ttySAC2 >/dev/ttySAC2 2>&1

Modified: developers/werner/myroot/werner.myroot
===================================================================
--- developers/werner/myroot/werner.myroot      2009-02-06 13:45:36 UTC (rev 
4915)
+++ developers/werner/myroot/werner.myroot      2009-02-08 22:40:21 UTC (rev 
4916)
@@ -27,6 +27,7 @@
 
 pkg grep bash debianutils
 pkg mtd-utils sysfsutils apm
+pkg e2fsprogs-mke2fs e2fsprogs-tune2fs
 pkg openssh ntpdate netkit-telnet bind-utils
 pkg dhcp-client wireless-tools wpa-supplicant
 pkg portmap ppp rsync

Modified: developers/werner/wlan-trial/wlan-trial.init
===================================================================
--- developers/werner/wlan-trial/wlan-trial.init        2009-02-06 13:45:36 UTC 
(rev 4915)
+++ developers/werner/wlan-trial/wlan-trial.init        2009-02-08 22:40:21 UTC 
(rev 4916)
@@ -50,6 +50,6 @@
 PS1='con:\w\$ '
 HOME=/home/root
 cd $HOME
-export PS1 HOME
+export PS1 HOME PATH
 cat /etc/motd
 exec setsid /bin/bash -l </dev/ttySAC2 >/dev/ttySAC2 2>&1

Modified: developers/werner/wlan-trial/wlan-trial.myroot
===================================================================
--- developers/werner/wlan-trial/wlan-trial.myroot      2009-02-06 13:45:36 UTC 
(rev 4915)
+++ developers/werner/wlan-trial/wlan-trial.myroot      2009-02-08 22:40:21 UTC 
(rev 4916)
@@ -27,7 +27,8 @@
 pkg grep bash debianutils
 pkg mtd-utils sysfsutils apm
 pkg openssh ntpdate netkit-telnet bind-utils
-pkg dhcp-client busybox-udhcpd wireless-tools wpa-supplicant
+pkg dhcp-client wireless-tools wpa-supplicant
+# pkg busybox-udhcpd  -- oops, I actually want udhcpc, but that's not so easy
 pkg portmap ppp rsync
 pkg file
 pkg nano




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2009-02-09 02:50:55 +0100 (Mon, 09 Feb 2009)
New Revision: 4917

Modified:
   trunk/src/host/dfu-util/src/main.c
   trunk/src/host/dfu-util/src/sam7dfu.c
Log:
Date: Sat, 7 Feb 2009 16:51:02 +0000
From: Bruce Cran <br...@cran.org.uk>
To: openmoko-ker...@lists.openmoko.org
Subject: dfu-util: missing includes

I've been porting dfu-util to work with FreeBSD using the new USB stack
and the libusb 0.1 compatibility layer.  While it builds and runs, I
noticed a few compiler warnings because libusb20_compat01.h doesn't
include unistd.h and stdlib.h: src/main.c needs stdlib.h and unistd.h
while src/sam7dfu.c just needs unistd.h - they should ideally be
explicitly included instead of picking them up from libusb.



Modified: trunk/src/host/dfu-util/src/main.c
===================================================================
--- trunk/src/host/dfu-util/src/main.c  2009-02-08 22:40:21 UTC (rev 4916)
+++ trunk/src/host/dfu-util/src/main.c  2009-02-09 01:50:55 UTC (rev 4917)
@@ -21,7 +21,9 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <stdlib.h>
 #include <stdio.h>
+#include <unistd.h>
 #include <string.h>
 #include <getopt.h>
 #include <usb.h>

Modified: trunk/src/host/dfu-util/src/sam7dfu.c
===================================================================
--- trunk/src/host/dfu-util/src/sam7dfu.c       2009-02-08 22:40:21 UTC (rev 
4916)
+++ trunk/src/host/dfu-util/src/sam7dfu.c       2009-02-09 01:50:55 UTC (rev 
4917)
@@ -6,6 +6,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>




--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to