[OpenWrt-Devel] New platform (ubicom32) support

2009-07-28 Thread Erdem Ergen
Hi all, 

 

I looked docs but did not see anything about to add a new platform.

What is the procedure to give a support for a new platform ? 

And  which repository should we work on, git or svn ?  There is only
master branch in git repo, can we create another branch for ubicom32
architecture ? 

Is it enough to send new platform patches to community ? 

 

Erdem.   

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] New platform (ubicom32) support

2009-07-28 Thread Florian Fainelli
Hi Erdem,

Le Tuesday 28 July 2009 15:06:00 Erdem Ergen, vous avez écrit :
 Hi all,



 I looked docs but did not see anything about to add a new platform.

There is documentation available here: 
https://dev.openwrt.org/browser/trunk/docs/adding.tex which describes in 
details how to add a platform.


 What is the procedure to give a support for a new platform ?

Send the patch to the mailing-list would be ideal, so that developpers and 
community can review it.


 And  which repository should we work on, git or svn ?  There is only
 master branch in git repo, can we create another branch for ubicom32
 architecture ?

The official repository is still subversion, git repository is just another 
mean to access the repository. Patch against git or svn should end up as 
giving the same results.


 Is it enough to send new platform patches to community ?

Yes it is. Mentionning whether you want to maintain it directly in OpenWrt or 
you send patches that developpers apply would be a must.




 Erdem.



-- 
Best regards, Florian Fainelli
Email: flor...@openwrt.org
Web: http://openwrt.org
IRC: [florian] on irc.freenode.net
---


signature.asc
Description: This is a digitally signed message part.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] How is $rootfs set in the initramfs /init ?

2009-07-28 Thread Florian Fainelli
Hello Benjamin,

Le Tuesday 28 July 2009 18:04:39 Benjamin Cama, vous avez écrit :
 Hi,

 I am trying to boot my system through an initramfs that should mount my
 root FS somehow. My problem is, I am always stuck here :
 https://dev.openwrt.org/browser/trunk/target/linux/generic-2.6/base-files/i
nit#L9 because $rootfs is never set. I tried to look everywhere but didn't
 see any place where it could be set. I think it should come from the
 root=... kernel commandline argument, but couldn't find any place
 where it's done.

I assume you used the ramdisk target in make menuconfig - Target images - 
[*] ramdisk.

If so, there is usally nothing to set and the kernel knows that it should be 
mounting the initramfs.


 Does someone have a clue on this ?

 Thanks,
 Benjamin
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel



-- 
Best regards, Florian Fainelli
Email: flor...@openwrt.org
Web: http://openwrt.org
IRC: [florian] on irc.freenode.net
---


signature.asc
Description: This is a digitally signed message part.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] make mjpg-streamer init script executable

2009-07-28 Thread Florian Fainelli
Le Monday 27 July 2009 16:18:17 roberto.rig...@create-net.org, vous avez 
écrit :
 As in the subject, the init script is not executable.

 Signed-off-by: Roberto Riggio roberto.rig...@create-net.org

Applied in 17038, thanks !

-- 
Best regards, Florian Fainelli
Email: flor...@openwrt.org
Web: http://openwrt.org
IRC: [florian] on irc.freenode.net
---


signature.asc
Description: This is a digitally signed message part.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Bump gpsd version and use uclibc++

2009-07-28 Thread Florian Fainelli
Hi Chris,

Le Sunday 26 July 2009 18:42:21 Chris Lang, vous avez écrit :
 101-trimble.patch was not an obsolete patch. There is no support for the
 trimble devices in the latest gpsd version and  without this patch gpsd
 will not work with certain trimble devices.

Patch re-enabled in 17039, thanks !


 Thanks,

 - Chris

 On Sun, Jul 26, 2009 at 4:03 AM, Florian Fainelli 
flor...@openwrt.orgwrote:
  Le Sunday 26 July 2009 12:08:10 Roberto Riggio, vous avez écrit :
   Changes:
  
- use version 2.39
- use uclibc++
- remove obsolete patches
  
   Signed-off-by: Roberto Riggio roberto.rig...@create-net.org
 
  Applied in r17001, thanks !
 
   --
  
   Index: gpsd/patches/100-reduce-size.patch
   ===
   --- gpsd/patches/100-reduce-size.patch(revision 16991)
   +++ gpsd/patches/100-reduce-size.patch(working copy)
   @@ -1,26 +0,0 @@
    a/gpsd.c
   -+++ b/gpsd.c
   -@@ -42,6 +42,7 @@
   - #include locale.h
   - #endif
   -
   -+#undef DBUS_ENABLE
   - #ifdef DBUS_ENABLE
   - #include gpsd_dbus.h
   - #endif
   -@@ -297,6 +298,7 @@
   -  * This array fills from the bottom, so as an extreme case you could
   -  * reduce LIMITED_MAX_DEVICES to 1.
   -  */
   -+#define LIMITED_MAX_DEVICES 1
   - #ifdef LIMITED_MAX_DEVICES
   - #define MAXDEVICES  LIMITED_MAX_DEVICES
   - #else
   -@@ -304,6 +306,7 @@
   - #define MAXDEVICES  4
   - #endif
   -
   -+#define LIMITED_MAX_CLIENTS 16
   - #ifdef LIMITED_MAX_CLIENTS
   - #define MAXSUBSCRIBERS LIMITED_MAX_CLIENTS
   - #else
   Index: gpsd/patches/101-trimble.patch
   ===
   --- gpsd/patches/101-trimble.patch(revision 16991)
   +++ gpsd/patches/101-trimble.patch(working copy)
   @@ -1,40 +0,0 @@
    a/drivers.c
   -+++ b/drivers.c
   -@@ -202,9 +202,13 @@
   - /* probe for the FV-18 -- expect $PFEC,GPint followed by data */
   - (void)nmea_send(session-gpsdata.gps_fd, $PFEC,GPint);
   - break;
   -+case 3:
   -+/* probe for the Trimble Copernicus */
   -+(void)nmea_send(session-gpsdata.gps_fd, $PTNLSNM,0139,01);
   -+break;
   - #endif /* NMEA_ENABLE */
   - #ifdef EVERMORE_ENABLE
   --case 3:
   -+case 4:
   - /* Enable checksum and GGA(1s), GLL(0s), GSA(1s), GSV(1s),
   RMC(1s), VTG(0s), PEMT101(1s) */ - /* EverMore will reply with:
   \x10\x02\x04\x38\x8E\xC6\x10\x03 */ - (void)gpsd_write(session,
   -@@ -212,19 +216,19 @@
   - break;
   - #endif /* EVERMORE_ENABLE */
   - #ifdef ITRAX_ENABLE
   --case 4:
   -+case 5:
   - /* probe for iTrax, looking for $PFST,OK */
   - (void)nmea_send(session-gpsdata.gps_fd, $PFST);
   - break;
   - #endif /* ITRAX_ENABLE */
   - #ifdef GPSCLOCK_ENABLE
   --case 5:
   -+case 6:
   - /* probe for Furuno Electric GH-79L4-N (GPSClock) */
   - (void)nmea_send(session-gpsdata.gps_fd, $PFEC,GPsrq);
   - break;
   - #endif /* GPSCLOCK_ENABLE */
   - #ifdef ASHTECH_ENABLE
   --case 6:
   -+case 7:
   - /* probe for Ashtech -- expect $PASHR */
   - (void)nmea_send(session-gpsdata.gps_fd, $PASHQ,RID);
   - break;
   Index: gpsd/Makefile
   ===
   --- gpsd/Makefile (revision 16991)
   +++ gpsd/Makefile (working copy)
   @@ -8,14 +8,14 @@
include $(TOPDIR)/rules.mk
  
PKG_NAME:=gpsd
   -PKG_VERSION:=2.37
   -PKG_RELEASE:=3
   +PKG_VERSION:=2.39
   +PKG_RELEASE:=1
  
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://download.berlios.de/gpsd/
   -PKG_MD5SUM:=6c96cc0b2df0279cb7baac1ebc5881d3
   +PKG_MD5SUM:=3db437196a6840c252fca99b6c19d4d0
  
   -PKG_FIXUP = libtool
   +PKG_FIXUP:=libtool-ucxx
  
PKG_BUILD_DEPENDS=libncurses
  
   @@ -24,31 +24,30 @@
define Package/gpsd
  SECTION:=net
  CATEGORY:=Network
   -  DEPENDS:=+libpthread +libstdcpp
   +  DEPENDS:=+libpthread +uclibcxx
  TITLE:=An interface daemon for GPS receivers
  URL:=http://gpsd.berlios.de/
endef
  
CONFIGURE_ARGS += \
   - --disable-dbus \
   - --disable-python \
   - --disable-sirf \
   - --disable-tsip \
   - --disable-fv18 \
   - --disable-tripmate \
   - --disable-earthmate \
   - --disable-itrax \
   - --disable-navcom \
   - --disable-garmin \
   - --disable-ubx \
   - --disable-evermore \
   - --disable-rtcm104 \
   - --disable-ntrip \
   - --disable-ntpshm \
   - --disable-pps \
   - --disable-reconfigure \
   - --without-x \
   +--disable-dbus \
   +--disable-tsip \
   +--disable-fv18 \
   +--disable-tripmate \
   +--disable-earthmate \
   +--disable-itrax \
   +--disable-navcom \
   +--disable-ubx \
   +--disable-evermore \
   +--disable-ntrip \
   +--without-x \
  
   +CONFIGURE_VARS += \
   +