[OpenWrt-Devel] [PATCH] unbound bump to 1.4.20 and add uci support

2013-05-06 Thread Adam Gensler
The following patch does these things:

1. bumps unbound to version 1.4.20.

2. adds uci support via /etc/config/unbound. The entirety of unbound.conf has 
been implemented here.

3. removes the existing patch which applied a memory optimized config to 
/etc/unbound/unbound.conf. This has been migrated to /etc/config/unbound as 
"option lowmem '1'" under "config server". This is the default. Disabling 
"lowmem" opens up the relevant parameters for individual tuning, if desired.

4. The other portions of the existing /etc/unbound/unbound.conf have been 
migrated to the default /etc/config/unbound, yielding the same operation.

5. The old /etc/unbound/unbound.conf has been renamed to 
/etc/unbound/unbound.conf.example to avoid confusion.

This is my first attempt at a uci configuration port. Any feedback and/or 
suggestions are greatly appreciated.

Signed-off-by: Adam Gensler 
---


Index: net/unbound/files/unbound.init
===
--- net/unbound/files/unbound.init  (revision 36569)
+++ net/unbound/files/unbound.init  (working copy)
@@ -1,14 +1,355 @@
#!/bin/sh /etc/rc.common
-#Copyright (C) 2010 Ondrej Caletka 
-START=61
+# Copyright (C) 2007-2013 OpenWrt.org

-start () {
-   unbound
+START=60
+
+SERVICE_USE_PID=1
+
+CONFIGFILE="/var/etc/unbound.conf"
+
+writeconf() {
+   local opt="$1"
+   local val="$2"
+   local extra="$3"
+
+   # wrap values with spaces or / in quotes
+   if [ `echo $val | grep -c "[.[:space:]/]"` -gt 0 ]; then
+   val="\"$val\""
+   fi
+
+   if [ -z "$val" ]; then
+   echo "${opt}: ${val} ${extra}" >> $CONFIGFILE
+   else
+   echo "  ${opt}: ${val} ${extra}" >> $CONFIGFILE
+   fi
}

-stop () {
-   PIDFILE='/var/run/unbound.pid'
-   if [ -f $PIDFILE ] ; then
-   kill $(cat $PIDFILE)
+add_bool() {
+   local section="$1"
+   local option="$2"
+
+   if [ -z "$3" ]; then
+   local config="$2"
+   else
+   local config="$3"
fi
+
+   config_get value "$section" "$option"
+   [ -z "$value" ] && return 0
+
+   if [ "$value" -eq 0 ]; then
+   value="no"
+   elif [ "$value" -eq 1 ]; then
+   value="yes"
+   else
+   return 0
+   fi
+
+   writeconf "$config" "$value"
}
+
+add_param() {
+   local section="$1"
+   local option="$2"
+   
+   if [ -z "$3" ]; then
+   local config="$2"
+   else
+   local config="$3"
+   fi
+
+   config_get value "$section" "$option"
+   [ -z "$value" ] && return 0
+
+   writeconf "$config" "$value"
+}
+
+add_server() {
+   local cfg="$1"
+
+   add_param "$cfg" "include"
+
+   writeconf "server"
+   add_param "$cfg" "verbosity"
+   add_param "$cfg" "statistics_interval" "statistics-interval"
+   add_bool "$cfg" "statistics_cumulative" "statistics-cumulative"
+   add_bool "$cfg" "extended_statistics" "extended-statistics"
+   add_param "$cfg" "port"
+   config_list_foreach "$cfg" "interface" add_list "interface"
+   add_param "$cfg" "interface_automatic" "interface-automatic"
+   config_list_foreach "$cfg" "outgoing_interface" add_list 
"outgoing-interface"
+   add_param "$cfg" "outgoing_port_permit" "outgoing-port-permit"
+   add_param "$cfg" "outgoing_port_avoid" "outgoing-port-avoid"
+   add_param "$cfg" "edns_buffer_size" "edns-buffer-size"
+   add_param "$cfg" "jostle_timeout" "jostle-timeout"
+   add_param "$cfg" "so_rcvbuf" "so-rcvbuf"
+   add_param "$cfg" "so_sndbuf" "so-sndbuf"
+   add_param "$cfg" "cache_min_ttl" "cache-min-ttl"
+   add_param "$cfg" "cache_max_ttl" "cache-max-ttl"
+   add_param "$cfg" "infra_host_ttl" "infra-host-ttl"
+   add_bool "$cfg" "do_ip4" "do-ip4"
+   add_bool "$cfg" "do_ip6" "do-ip6"
+   add_bool "$cfg" "do_udp" "do-udp"
+   add_bool "$cfg" "do_tcp" "do-tcp"
+   add_bool "$cfg" "tcp_upstream" "tcp-upstream"
+   add_bool "$cfg" "ssl_upstream" "ssl-upstream"
+   add_param "$cfg" "ssl_service_key" "ssl-service-key"
+   add_param "$cfg" "ssl_service_pem" "ssl-service-pem"
+   add_param "$cfg" "ssl_port" "ssl-port"
+   add_bool "$cfg" "do_daemonize" "do-daemonize"
+   add_param "$cfg" "chroot"
+   add_param "$cfg" "username"
+   add_param "$cfg" "directory"
+   add_param "$cfg" "logfile"
+   add_bool "$cfg" "use_syslog" "use-syslog"
+   add_bool "$cfg" "log_time_ascii" "log-time-ascii"
+   add_bool "$cfg" "log_queries" "log-queries"
+   config_get tmpval "$cfg" pidfile "/var/run/unbound.pid"
+   writeconf "pidfile" "$tmpval"
+
+   config_get tmpfile "$cfg" "root_hints"
+   if [ ! -z "$tmpfile" ]; then
+   if [ -s $tmpfile ]; then
+   writeconf "root-hints" "$tmpfile"
+   else
+   logger -t

[OpenWrt-Devel] [PATCH] add uci support for "proxy-dnssec" in dnsmasq

2013-05-06 Thread Adam Gensler
This patch simply adds support for the "--proxy-dnssec" command in dnsmasq into 
the init file so it can be used with /etc/config/dhcp.

Signed-off-by: Adam Gensler 
---

Index: network/services/dnsmasq/files/dnsmasq.init
===
--- network/services/dnsmasq/files/dnsmasq.init (revision 36569)
+++ network/services/dnsmasq/files/dnsmasq.init (working copy)
@@ -96,6 +96,7 @@
append_bool "$cfg" enable_tftp "--enable-tftp"
append_bool "$cfg" nonwildcard "--bind-interfaces"
append_bool "$cfg" fqdn "--dhcp-fqdn"
+   append_bool "$cfg" proxydnssec "--proxy-dnssec"
 
append_parm "$cfg" dhcpscript "--dhcp-script"
append_parm "$cfg" cachesize "--cache-size"

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


[OpenWrt-Devel] [PATCH] [brcm63xx] led and buttons support for board DWV-S0

2013-05-06 Thread gianluca a
Signed-off-by: Gianluca Agliozzo 

Index: 554-board_DWVS0_leds_buttons.patch
===
--- 554-board_DWVS0_leds_buttons.patch    (revisione 0)
+++ 554-board_DWVS0_leds_buttons.patch    (revisione 0)
@@ -0,0 +1,98 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -1754,6 +1754,95 @@ static struct board_info __initdata boar
+ 
+     .has_ohci0            = 1,
+     .has_ehci0            = 1,
++
++    .leds = {
++    {
++    .name   = "DWV-S0:red:power",
++    .gpio   = 5,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:power",
++    .gpio   = 4,
++    .active_low = 1,
++    .default_trigger = "default-on",
++    },
++    {
++    .name   = "DWV-S0:red:internet",
++    .gpio   = 6,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:internet",
++    .gpio   = 7,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:ADSL",
++    .gpio   = 2,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:ADSL",
++    .gpio   = 12,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:wifi",
++    .gpio   = 10,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:VoIP",
++    .gpio   = 9,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:VoIP",
++    .gpio   = 0,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:ethernet",
++    .gpio   = 1,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:ethernet",
++    .gpio   = 8,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:USB",
++    .gpio   = 11,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:USB",
++    .gpio   = 3,
++    .active_low = 1,
++    },
++    },
++
++    .buttons = {
++    {
++    .desc   = "reset",
++    .gpio   = 37,
++    .active_low = 1,
++    .type   = EV_KEY,
++    .code   = KEY_RESTART,
++    .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
++    },
++    {
++    .desc   = "wps",
++    .gpio   = 34,
++    .active_low = 1,
++    .type   = EV_KEY,
++    .code   = KEY_WPS_BUTTON,
++    .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
++    },
++    },
++
+ };
+ 
+ /* D-Link DSL-274xB revison C2/C3 */
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] [brcm63xx] led and buttons support for board DWV-S0

2013-05-06 Thread gianluca a
Signed-off-by: Gianluca Agliozzo 

Index: 554-board_DWVS0_leds_buttons.patch
===
--- 554-board_DWVS0_leds_buttons.patch    (revisione 0)
+++ 554-board_DWVS0_leds_buttons.patch    (revisione 0)
@@ -0,0 +1,98 @@
+--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 b/arch/mips/bcm63xx/boards/board_bcm963xx.c
+@@ -1754,6 +1754,95 @@ static struct board_info __initdata boar
+ 
+     .has_ohci0            = 1,
+     .has_ehci0            = 1,
++
++        .leds = {
++    {
++    .name   = "DWV-S0:red:power",
++    .gpio   = 5,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:power",
++    .gpio   = 4,
++    .active_low = 1,
++    .default_trigger = "default-on",
++    },
++    {
++    .name   = "DWV-S0:red:internet",
++    .gpio   = 6,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:internet",
++    .gpio   = 7,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:ADSL",
++    .gpio   = 2,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:ADSL",
++    .gpio   = 12,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:wifi",
++    .gpio   = 10,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:VoIP",
++    .gpio   = 9,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:VoIP",
++    .gpio   = 0,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:ethernet",
++    .gpio   = 1,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:ethernet",
++    .gpio   = 8,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:red:USB",
++    .gpio   = 11,
++    .active_low = 1,
++    },
++    {
++    .name   = "DWV-S0:green:USB",
++    .gpio   = 3,
++    .active_low = 1,
++    },
++    },
++
++    .buttons = {
++    {
++    .desc   = "reset",
++    .gpio   = 37,
++    .active_low = 1,
++    .type   = EV_KEY,
++    .code   = KEY_RESTART,
++    .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
++    },
++    {
++    .desc   = "wps",
++    .gpio   = 34,
++    .active_low = 1,
++    .type   = EV_KEY,
++    .code   = KEY_WPS_BUTTON,
++    .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,
++    },
++    },
++
+ };
+ 
+ /* D-Link DSL-274xB revison C2/C3 */
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Native compiling on a 32MB Ralink

2013-05-06 Thread jonsm...@gmail.com
I attached my current makefiles for mpc, mpfr, gmp and gcc.


On Mon, May 6, 2013 at 1:40 PM, jonsm...@gmail.com wrote:

> Suppose I am crazy and I want to directly compile something on my RT3050
> chip. Has anyone tried this? Will the compiler work in 32MB? I can load it
> via a USB stick so there is plenty of storage. I only want to compile small
> programs - a few thousand lines.
>
> Right now I am trying to cross compile a native MIPS GCC and I'm having a
> lot of issues.
>
> Here's my current failure...
> c -c -DIN_GCC-DGENERATOR_FILE -I. -Ibuild -I../.././gcc
> -I../.././gcc/build -I../.././gcc/../include
> -I../.././gcc/../libcpp/include  -I../.././gcc/../libdecnumber
> -I../.././gcc/../libdecnumber/dpd -I../libdecnumber\
>  -o build/genflags.o ../.././gcc/genflags.c
> In file included from ../.././gcc/rtl.h:28:0,
>  from ../.././gcc/genflags.c:28:
> ../.././gcc/real.h:77:13: error: size of array 'test_real_width' is
> negative
>
> Source...
>
> /* We store a REAL_VALUE_TYPE into an rtx, and we do this by putting it in
>consecutive "w" slots.  Moreover, we've got to compute the number of "w"
>slots at preprocessor time, which means we can't use sizeof.  Guess.  */
>
> #define REAL_VALUE_TYPE_SIZE (SIGNIFICAND_BITS + 32)
> #define REAL_WIDTH \
>   (REAL_VALUE_TYPE_SIZE/HOST_BITS_PER_WIDE_INT \
>+ (REAL_VALUE_TYPE_SIZE%HOST_BITS_PER_WIDE_INT ? 1 : 0)) /* round up */
>
> /* Verify the guess.  */
> extern char test_real_width
>   [sizeof(REAL_VALUE_TYPE) <= REAL_WIDTH*sizeof(HOST_WIDE_INT) ? 1 : -1];
>
>
> --
> Jon Smirl
> jonsm...@gmail.com
>



-- 
Jon Smirl
jonsm...@gmail.com


Makefile
Description: Binary data


Makefile
Description: Binary data


Makefile
Description: Binary data


Makefile
Description: Binary data
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Native compiling on a 32MB Ralink

2013-05-06 Thread jonsm...@gmail.com
Suppose I am crazy and I want to directly compile something on my RT3050
chip. Has anyone tried this? Will the compiler work in 32MB? I can load it
via a USB stick so there is plenty of storage. I only want to compile small
programs - a few thousand lines.

Right now I am trying to cross compile a native MIPS GCC and I'm having a
lot of issues.

Here's my current failure...
c -c -DIN_GCC-DGENERATOR_FILE -I. -Ibuild -I../.././gcc
-I../.././gcc/build -I../.././gcc/../include
-I../.././gcc/../libcpp/include  -I../.././gcc/../libdecnumber
-I../.././gcc/../libdecnumber/dpd -I../libdecnumber\
-o build/genflags.o ../.././gcc/genflags.c
In file included from ../.././gcc/rtl.h:28:0,
 from ../.././gcc/genflags.c:28:
../.././gcc/real.h:77:13: error: size of array 'test_real_width' is negative

Source...

/* We store a REAL_VALUE_TYPE into an rtx, and we do this by putting it in
   consecutive "w" slots.  Moreover, we've got to compute the number of "w"
   slots at preprocessor time, which means we can't use sizeof.  Guess.  */

#define REAL_VALUE_TYPE_SIZE (SIGNIFICAND_BITS + 32)
#define REAL_WIDTH \
  (REAL_VALUE_TYPE_SIZE/HOST_BITS_PER_WIDE_INT \
   + (REAL_VALUE_TYPE_SIZE%HOST_BITS_PER_WIDE_INT ? 1 : 0)) /* round up */

/* Verify the guess.  */
extern char test_real_width
  [sizeof(REAL_VALUE_TYPE) <= REAL_WIDTH*sizeof(HOST_WIDE_INT) ? 1 : -1];


-- 
Jon Smirl
jonsm...@gmail.com
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [packages] polipo: Don't spuriously ignore CNAMEs after a DNS timeout. Polipo might quit with SIGPIPE without this patch

2013-05-06 Thread Saverio Proto
> 1. That's commit 1144bc9a from Polipo master.  Please include proper
> cross-referencing information in the future.

I just got the patch from the Debian .deb package "as it was" and I
added it to the OpenWRT package. There is a reference to the commit in
the patch.
How can I cross-reference better ?

> 2. The patch description is incorrect -- the bug symptom is not
> SIGPIPE.  SIGPIPE is globally ignored by Polipo.

I had polipo segfaulting before applying this patch. With gdb I
thought to understand it was a SIGPIPE problem, but I can be wrong
because I am not a experienced developer.

> 3. Saverio, perhaps you should be running master instead of the old 1.0.4 
> branch?

yesterday it was my first day with polipo, I didn't feel ready for the
unstable version :)

> 4. Saverio, if anyone wants to put master into shape for a 1.1
> release, I'll be very grateful.  However, I do not have a lot of time
> to spend on Polipo any more.

OK, I will consider that. Maybe somebody in Ninux has time to do this.

thanks for everything

ciao :)

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


Re: [OpenWrt-Devel] Compile target object instead of toolchain object

2013-05-06 Thread jonsm...@gmail.com
On Mon, May 6, 2013 at 4:32 AM, Jo-Philipp Wich  wrote:

> On 05.05.2013 18:46, jonsm...@gmail.com wrote:
> > How do I compile a target object when there is a toolchain object of the
> > same name?
> >
> > For example sed. I want it to make the target version, not the host
> > toolchain one.
> >
>
> make package/sed/{clean,compile} V=s
>

That works but I find things to be quite confusing when there are multiple
versions of the same package.

I was working off from this. Should the mc example be changed to make
package/mc/{clean,compile}?

http://wiki.openwrt.org/doc/howto/build
Building single Packages

When developing or packaging software for OpenWrt, it is convenient to be
able to build only the package in question (e.g. with package cups):

make package/cups/compile V=s

For the package mc (midnight commander), which is contained the feed *
packages* it looks like this:

make package/feeds/packages/mc/compile V=s

*Note that the path start in package directory and package/feeds may not
have exactly the same structure as feeds. For example package in
~/openwrt/trunk/feeds/packages/net/snort will be compiled using make
~/openwrt/trunk/package/feeds/packages/snort/compile V=s*




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



-- 
Jon Smirl
jonsm...@gmail.com
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread John Crispin

On 06/05/13 16:59, Benjamin Henrion wrote:

On Mon, May 6, 2013 at 4:58 PM, Benjamin Henrion  wrote:

On Mon, May 6, 2013 at 4:52 PM, Zoltan HERPAI  wrote:

Hi Benjamin,

Thanks. Support includes usb and rtc so far, sound and the expansion ports
are yet to come.

Does someone on the list has a -micro? I have read on the forums that there
is an issue around its memory.


There is also a dedicated mailing list where you could ask:
olinux...@yahoogroups.com

BTW, I have the MAXI and the MICRO.


And Tsevan gave some MAXI and MICRO to Nico during FOSDEM.




Benjamin,

can you please not double send all your mails ?

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


[OpenWrt-Devel] [packages] polipo: Don't spuriously ignore CNAMEs after a DNS timeout. Polipo might quit with SIGPIPE without this patch

2013-05-06 Thread Saverio Proto
Patch is attached,
please commit at least to trunk packages.

ciao :)

Saverio


polipo-openwrt.patch
Description: Binary data
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread Benjamin Henrion
On Mon, May 6, 2013 at 4:58 PM, Benjamin Henrion  wrote:
> On Mon, May 6, 2013 at 4:52 PM, Zoltan HERPAI  wrote:
>> Hi Benjamin,
>>
>> Thanks. Support includes usb and rtc so far, sound and the expansion ports
>> are yet to come.
>>
>> Does someone on the list has a -micro? I have read on the forums that there
>> is an issue around its memory.
>
> There is also a dedicated mailing list where you could ask:
> olinux...@yahoogroups.com
>
> BTW, I have the MAXI and the MICRO.

And Tsevan gave some MAXI and MICRO to Nico during FOSDEM.

-- 
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread Benjamin Henrion
On Mon, May 6, 2013 at 4:52 PM, Zoltan HERPAI  wrote:
> Hi Benjamin,
>
> Thanks. Support includes usb and rtc so far, sound and the expansion ports
> are yet to come.
>
> Does someone on the list has a -micro? I have read on the forums that there
> is an issue around its memory.

There is also a dedicated mailing list where you could ask:
olinux...@yahoogroups.com

BTW, I have the MAXI and the MICRO.

-- 
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread Zoltan HERPAI

Hi Benjamin,

Thanks. Support includes usb and rtc so far, sound and the expansion 
ports are yet to come.


Does someone on the list has a -micro? I have read on the forums that 
there is an issue around its memory.


Regards,
-w-

On Mon, 6 May 2013, Benjamin Henrion wrote:


On Mon, May 6, 2013 at 4:17 PM, Benjamin Henrion  wrote:

On Mon, May 6, 2013 at 3:34 PM, Benjamin Henrion  wrote:

On Mon, May 6, 2013 at 9:21 AM, Zoltan HERPAI  wrote:

Hi,

Please find the initial patch to support the Olinuxino i.MX233 line of
boards. This is an ARM9-based board that comes in multiple flavours
depending on devices available and board size. Current support is for 3.8.11
and ext4 rootfs, wiki page has been updated.


With the trunk of this morning, compilation fails for ead:


I redid a clean, it does not happen anymore.


Copied the binaries here, for those who want to test.

http://filez.zoobab.com/openwrt/imx23/

Got the mini and maxi at home, will test it when I have time.

--
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


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


Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread Benjamin Henrion
On Mon, May 6, 2013 at 4:17 PM, Benjamin Henrion  wrote:
> On Mon, May 6, 2013 at 3:34 PM, Benjamin Henrion  wrote:
>> On Mon, May 6, 2013 at 9:21 AM, Zoltan HERPAI  wrote:
>>> Hi,
>>>
>>> Please find the initial patch to support the Olinuxino i.MX233 line of
>>> boards. This is an ARM9-based board that comes in multiple flavours
>>> depending on devices available and board size. Current support is for 3.8.11
>>> and ext4 rootfs, wiki page has been updated.
>>
>> With the trunk of this morning, compilation fails for ead:
>
> I redid a clean, it does not happen anymore.

Copied the binaries here, for those who want to test.

http://filez.zoobab.com/openwrt/imx23/

Got the mini and maxi at home, will test it when I have time.

--
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread Benjamin Henrion
On Mon, May 6, 2013 at 3:34 PM, Benjamin Henrion  wrote:
> On Mon, May 6, 2013 at 9:21 AM, Zoltan HERPAI  wrote:
>> Hi,
>>
>> Please find the initial patch to support the Olinuxino i.MX233 line of
>> boards. This is an ARM9-based board that comes in multiple flavours
>> depending on devices available and board size. Current support is for 3.8.11
>> and ext4 rootfs, wiki page has been updated.
>
> With the trunk of this morning, compilation fails for ead:

I redid a clean, it does not happen anymore.

-- 
Benjamin Henrion 
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread Benjamin Henrion
On Mon, May 6, 2013 at 9:21 AM, Zoltan HERPAI  wrote:
> Hi,
>
> Please find the initial patch to support the Olinuxino i.MX233 line of
> boards. This is an ARM9-based board that comes in multiple flavours
> depending on devices available and board size. Current support is for 3.8.11
> and ext4 rootfs, wiki page has been updated.

With the trunk of this morning, compilation fails for ead:

make[3]: Entering directory `/home/zoobab/openwrt/package/network/services/ead'
CFLAGS="-Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves
-fhonour-copts -Wno-error=unused-but-set-variable -msoft-float
-I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/linux-imx23/linux-3.8.11/include
-I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead
-I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/tinysrp
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include
 
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include
" CXXFLAGS="-Os -pipe -march=armv5te -mtune=arm926ej-s
-fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
-msoft-float 
-I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/linux-imx23/linux-3.8.11/include
-I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead
-I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/tinysrp
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include
 
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include
" 
LDFLAGS="-L/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/lib
-L/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/lib
-L/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/lib
-L/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib
" make -j1 -C 
/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/.
AR=arm-openwrt-linux-uclibcgnueabi-ar
AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv5te
-mtune=arm926ej-s -fno-caller-saves -fhonour-copts
-Wno-error=unused-but-set-variable -msoft-float
-I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/linux-imx23/linux-3.8.11/include
-I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead
-I/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/tinysrp
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/include
-I/home/zoobab/openwrt/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/include
" LD=arm-openwrt-linux-uclibcgnueabi-ld
NM=arm-openwrt-linux-uclibcgnueabi-nm
CC="arm-openwrt-linux-uclibcgnueabi-gcc"
GCC="arm-openwrt-linux-uclibcgnueabi-gcc"
CXX="arm-openwrt-linux-uclibcgnueabi-g++"
RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib
STRIP=arm-openwrt-linux-uclibcgnueabi-strip
OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy
OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump
SIZE=arm-openwrt-linux-uclibcgnueabi-size
CROSS="arm-openwrt-linux-uclibcgnueabi-" ARCH="arm"
CONFIGURE_ARGS="--target=arm-openwrt-linux --host=arm-openwrt-linux
--build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix=""
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share
--localstatedir=/var --mandir=/usr/man --infodir=/usr/info
--disable-nls  "
LIBS_EADCLIENT="/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.9.33.2_eabi/ead/tinysrp/libtinysrp.a"
LIBS_EAD="/home/zoobab/openwrt/build_dir/target-arm_v5te_uClibc-0.

Re: [OpenWrt-Devel] [PATCH] AA:ramips: add support DIR-620D1

2013-05-06 Thread Jo-Philipp Wich
Hi Serge,

merged for AA in r36557 with a slightly changed commit message.
Thanks!

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


Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread Zoltan HERPAI

Hi John,

Sure, I've attached the splitted patchset.

Thanks,
-w-

On Mon, 6 May 2013, John Crispin wrote:


On 06/05/13 09:21, Zoltan HERPAI wrote:

Index: tools/elftosb/Makefile
===
--- tools/elftosb/Makefile  (revision 0)
+++ tools/elftosb/Makefile  (revision 0)
@@ -0,0 +1,36 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=elftosb
+PKG_VERSION:=10.12.01
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://repository.timesys.com/buildsources/e/elftosb/elftosb-10.12.01/
+PKG_MD5SUM:=e8005d606c1e0bb3507c82f6eceb3056
+


Hi,

could you please split the tools/ part into a seperate patch

John
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Index: target/linux/imx23/image/Makefile
===
--- target/linux/imx23/image/Makefile	(revision 0)
+++ target/linux/imx23/image/Makefile	(revision 0)
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/image.mk
+
+JFFS2_BLOCKSIZE=128k 16k
+JFFS2OPTS += -n
+
+#define Image/BuildKernel
+#	mkdir -p $(BIN_DIR)
+#	cp $(KDIR)/vmlinuz $(BIN_DIR)/$(IMG_PREFIX)-zImage
+#endef
+
+#define Image/Prepare
+#	cp $(LINUX_DIR)/arch/arm/boot/zImage $(KDIR)/vmlinuz
+#endef
+
+
+define Image/Build/jffs2-64k
+	dd if=$(KDIR)/root.jffs2-64k of=$(BIN_DIR)/openwrt-$(BOARD)-jffs2-64k.img bs=65536 conv=sync
+endef
+
+define Image/Build/jffs2-128k
+	dd if=$(KDIR)/root.jffs2-128k of=$(BIN_DIR)/openwrt-$(BOARD)-jffs2-128k.img bs=131072 conv=sync
+endef
+
+define Image/Build/squashfs
+	$(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
+	dd if=$(KDIR)/root.squashfs of=$(BIN_DIR)/openwrt-$(BOARD)-squashfs.img bs=131072 conv=sync
+endef
+
+define Image/Build
+	$(call Image/Build/$(1))
+	dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
+endef
+
+
+$(eval $(call BuildImage))
Index: target/linux/imx23/profiles/003-Micro.mk
===
--- target/linux/imx23/profiles/003-Micro.mk	(revision 0)
+++ target/linux/imx23/profiles/003-Micro.mk	(revision 0)
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# FiXME: need to add usb soc
+
+define Profile/MICRO
+  NAME:=OLinuXino-MICRO board
+#  PACKAGES:=kmod-rtl8187
+endef
+
+define Profile/MICRO/Description
+	Base packages for -MICRO boards.
+endef
+$(eval $(call Profile,MICRO))
+
Index: target/linux/imx23/profiles/002-Mini.mk
===
--- target/linux/imx23/profiles/002-Mini.mk	(revision 0)
+++ target/linux/imx23/profiles/002-Mini.mk	(revision 0)
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# FiXME: need to add usb soc and snd
+
+define Profile/MINI
+  NAME:=OLinuXino-MINI board
+  PACKAGES:=kmod-rtl8187
+endef
+
+define Profile/MINI/Description
+	Base packages for -MINI boards.
+endef
+$(eval $(call Profile,MINI))
+
Index: target/linux/imx23/profiles/000-Maxi.mk
===
--- target/linux/imx23/profiles/000-Maxi.mk	(revision 0)
+++ target/linux/imx23/profiles/000-Maxi.mk	(revision 0)
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# FiXME: need to add usb soc and snd
+
+define Profile/MAXI
+  NAME:=OLinuXino-MAXI board
+  PACKAGES:=kmod-usb-net-smsc95xx
+endef
+
+define Profile/MAXI/Description
+	Base packages for -MAXI boards.
+endef
+$(eval $(call Profile,MAXI))
+
Index: target/linux/imx23/profiles/001-Mini-Wifi.mk
===
--- target/linux/imx23/profiles/001-Mini-Wifi.mk	(revision 0)
+++ target/linux/imx23/profiles/001-Mini-Wifi.mk	(revision 0)
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2009 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+# FiXME: need to add usb soc and snd
+
+define Profile/MINI-WIFI
+  NAME:=OLinuXino-MINI-WIFI board
+  PACKAGES:=kmod-rtl8187
+endef
+
+define Profile/MINI-WIFI/Description
+	Base packages for -MINI-WIFI boards.
+endef
+$(eval $(call Profile,MINI-WIFI))
+
Index: target/linu

Re: [OpenWrt-Devel] Compile target object instead of toolchain object

2013-05-06 Thread Jo-Philipp Wich
On 05.05.2013 18:46, jonsm...@gmail.com wrote:
> How do I compile a target object when there is a toolchain object of the
> same name?
> 
> For example sed. I want it to make the target version, not the host
> toolchain one.
> 

make package/sed/{clean,compile} V=s

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


Re: [OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread John Crispin

On 06/05/13 09:21, Zoltan HERPAI wrote:

Index: tools/elftosb/Makefile
===
--- tools/elftosb/Makefile  (revision 0)
+++ tools/elftosb/Makefile  (revision 0)
@@ -0,0 +1,36 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=elftosb
+PKG_VERSION:=10.12.01
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://repository.timesys.com/buildsources/e/elftosb/elftosb-10.12.01/
+PKG_MD5SUM:=e8005d606c1e0bb3507c82f6eceb3056
+


Hi,

could you please split the tools/ part into a seperate patch

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


[OpenWrt-Devel] imx23: Olinuxino i.MX233 board support

2013-05-06 Thread Zoltan HERPAI

Hi,

Please find the initial patch to support the Olinuxino i.MX233 line of 
boards. This is an ARM9-based board that comes in multiple flavours 
depending on devices available and board size. Current support is for 
3.8.11 and ext4 rootfs, wiki page has been updated.


Regards,
-w-[0.00] Booting Linux on physical CPU 0x0
[0.00] Linux version 3.8.11 (wigyori@dizelgigant) (gcc version 4.6.4 
(OpenWrt/Linaro GCC 4.6-2012.12 r36550) ) #1 Mon May 6 07:54:49 CEST 2013
[0.00] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[0.00] CPU: VIVT data cache, VIVT instruction cache
[0.00] Machine: Freescale i.MX23 (Device Tree), model: i.MX23 Olinuxino 
Low Cost Board
[0.00] Memory policy: ECC disabled, Data cache writeback
[0.00] On node 0 totalpages: 16384
[0.00] free_area_init_node: node 0, pgdat c0336048, node_mem_map 
c036e000
[0.00]   Normal zone: 128 pages used for memmap
[0.00]   Normal zone: 0 pages reserved
[0.00]   Normal zone: 16256 pages, LIFO batch:3
[0.00] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[0.00] pcpu-alloc: [0] 0
[0.00] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 16256
[0.00] Kernel command line: console=ttyAMA0,115200 root=/dev/mmcblk0p2 
rw rootwait
[0.00] PID hash table entries: 256 (order: -2, 1024 bytes)
[0.00] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[0.00] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[0.00] __ex_table already sorted, skipping sort
[0.00] Memory: 64MB = 64MB total
[0.00] Memory: 61392k/61392k available, 4144k reserved, 0K highmem
[0.00] Virtual kernel memory layout:
[0.00] vector  : 0x - 0x1000   (   4 kB)
[0.00] fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
[0.00] vmalloc : 0xc480 - 0xff00   ( 936 MB)
[0.00] lowmem  : 0xc000 - 0xc400   (  64 MB)
[0.00] modules : 0xbf00 - 0xc000   (  16 MB)
[0.00]   .text : 0xc0008000 - 0xc0312d2c   (3116 kB)
[0.00]   .init : 0xc0313000 - 0xc032f554   ( 114 kB)
[0.00]   .data : 0xc033 - 0xc0343130   (  77 kB)
[0.00].bss : 0xc0343130 - 0xc036d604   ( 170 kB)
[0.00] NR_IRQS:16 nr_irqs:16 16
[0.00] of_irq_init: children remain, but no parents
[0.00] sched_clock: 32 bits at 100 Hz, resolution 1000ns, wraps 
every 4294967286ms
[0.08] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[0.08] pid_max: default: 32768 minimum: 301
[0.08] Mount-cache hash table entries: 512
[0.08] CPU: Testing write buffer coherency: ok
[0.08] Setting up static identity map for 0x4000f800 - 0x4000f83c
[0.08] pinctrl core: initialized pinctrl subsystem
[0.08] regulator-dummy: no parameters
[0.08] NET: Registered protocol family 16
[0.09] DMA: preallocated 256 KiB pool for atomic coherent allocations
[0.09] i2c-core: driver [dummy] registered
[0.12] Serial: AMBA PL011 UART driver
[0.12] 8007.serial: ttyAMA0 at MMIO 0x8007 (irq = 127) is a 
PL011 rev2
[0.26] console [ttyAMA0] enabled
[0.30] bio: create slab  at 0
[0.32] mxs-dma 80004000.dma-apbh: initialized
[0.34] mxs-dma 80024000.dma-apbx: initialized
[0.35] usb0_vbus: 5000 mV
[0.35] reg-fixed-voltage usb0_vbus.4: usb0_vbus supplying 500uV
[0.36] usbcore: registered new interface driver usbfs
[0.36] usbcore: registered new interface driver hub
[0.37] usbcore: registered new device driver usb
[0.38] Advanced Linux Sound Architecture Driver Initialized.
[0.39] Switching to clocksource mxs_timer
[0.40] NET: Registered protocol family 2
[0.40] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[0.41] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[0.41] TCP: Hash tables configured (established 512 bind 512)
[0.42] TCP: reno registered
[0.42] UDP hash table entries: 256 (order: 0, 4096 bytes)
[0.43] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[0.44] NET: Registered protocol family 1
[0.45] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[0.45] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) 
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[0.46] msgmni has been set to 119
[0.47] io scheduler noop registered
[0.47] io scheduler deadline registered (default)
[0.48] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[0.49] uart-pl011 8007.serial: no DMA platform data
[0.50] 8006c000.serial: ttyAPP0 at MMIO 0x8006c000 (irq = 124) is a 
8006c000.serial
[0.51] mxs-auart 8006c000.serial: Found APPUART 3.0.0
[0.53] i