[OpenWrt-Devel] how to mount sd card?

2009-08-15 Thread HongPeng Tian
Hello everybody,

I use an at91rm9200-based board, and can see below, but cannot mount it.
any hints?

mmc0: host does not support reading read-only switch. assuming
write-enable.
mmc0: new SD card at address 566d
mmcblk0: mmc0:566d S032B 29.6 MiB
mmcblk0:<7>mmc0: starting CMD18 arg  flags 00b5


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


[OpenWrt-Devel] 850-if_no_generic_time.patch is patched in new kernel 2.6.32.8

2010-02-09 Thread HongPeng Tian

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


[OpenWrt-Devel] toolchain failure

2010-03-01 Thread HongPeng Tian
When compiling toolchain with Linux 2.6.33, OW failed to find
include/asm, because 2.6.33 changes include/asm to include/generated.
BTW, 055-lzma_arm_kernel.patch should be added to
target/linux/generic-2.6/patches-2.6.33.

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


Re: [OpenWrt-Devel] [OpenWrt-Tickets] [OpenWrt] #6484: generic 2.6.33 preliminary support

2010-03-01 Thread HongPeng Tian

OpenWrt 写道:

#6484: generic 2.6.33 preliminary support
-+--
 Reporter:  acoul   |   Owner:  developers
 Type:  enhancement  |  Status:  new   
 Priority:  normal   |   Milestone:  Kamikaze  
Component:  kernel   | Version:
 Keywords:  linux kernel 2.6.33  |  
-+--

 tested on brcm47xx, works like a charm

  


When compiling toolchain with Linux 2.6.33, OW failed to find
include/asm, because 2.6.33 changes include/asm to include/generated.
BTW, 055-lzma_arm_kernel.patch should be added to
target/linux/generic-2.6/patches-2.6.33.

TianHP

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


Re: [OpenWrt-Devel] Backfire 10.03-beta

2010-03-04 Thread HongPeng Tian

Andy Boyett 写道:

*** BETA RELEASE ***
The OpenWrt Team would like to announce a beta of the next major 
release, codenamed Backfire. Testing of this build will help refine 
the code in preparation of the final release.


Binaries can be downloaded at 
http://downloads.openwrt.org/backfire/10.03-beta/


and ixp4xx is missing, a representative for ARM.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] ixp4xx build problem: endianess mismatch?

2010-03-21 Thread HongPeng Tian

Hi Jose,

I am Tian HongPeng from China. Long time no see.

I just finished a  clean compilation, and OpenWrt including GCC can work, and 
this email goes through the router MI424WR I just flashed:

cat /proc/version 
Linux version 2.6.32.10 (tia...@cybophilo) (gcc version 4.4.3 (binutils-2.20.1_gcc-4.4.3_uClibc-0.9.30.3_eabi) ) #1 Mon Mar 22 03:49:09 CST 2010


Yours 
Tian


Jose Vasconcellos 写道:


It's been quite a while since I built OpenWrt from the trunk, but
doing so for the IXP4xx architecture gives me the following errors:

...
ln -s libgcc_s.so.1 ../.././gcc/libgcc_s.so
/bin/bash 
/home/jose/pub/wrt/trunk/build_dir/toolchain-armeb_v5te_gcc-4.3.4_uClibc-0.9.30.2/gcc-4.3.4/libgcc/../mkinstalldirs
../.././gcc
/usr/bin/install -c -m 644 libgcc.a ../.././gcc/
chmod 644 ../.././gcc/libgcc.a
/home/jose/pub/wrt/trunk/staging_dir/toolchain-armeb_v5te_gcc-4.3.4_uClibc-0.9.30.2/usr/armeb-openwrt-linux-uclibc/bin/ranlib
../.././gcc/libgcc.a
/home/jose/pub/wrt/trunk/staging_dir/toolchain-armeb_v5te_gcc-4.3.4_uClibc-0.9.30.2/usr/armeb-openwrt-linux-uclibc/bin/ranlib:
error while loading shared libraries:
/home/jose/pub/wrt/trunk/build_dir/toolchain-armeb_v5te_gcc-4.3.4_uClibc-0.9.30.2/gcc-4.3.4-final/./gcc/libgcc_s.so.1:
ELF file data encoding not little-endian
make[7]: *** [install-leaf] Error 127
make[7]: Leaving directory
`/home/jose/pub/wrt/trunk/build_dir/toolchain-armeb_v5te_gcc-4.3.4_uClibc-0.9.30.2/gcc-4.3.4-final/armeb-openwrt-linux-uclibc/libgcc'
make[6]: *** [all] Error 2
...

This was the result from a clean install (make distclean; make
menuconfig [selecting ixp4xx]; make V=99).
I've tried various version of gcc with the similar results.

How does one build ixp4xx targets?
___
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] ixp4xx build problem: endianess mismatch?

2010-03-21 Thread HongPeng Tian

hi
I compiled MI424WR against r20362.
Tian


Jose Vasconcellos 写道:

It's been quite a while since I built OpenWrt from the trunk, but
doing so for the IXP4xx architecture gives me the following errors:
  


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


Re: [OpenWrt-Devel] [OpenWrt-Tickets] [OpenWrt] #8552: e2fsck fails to link

2010-12-30 Thread HongPeng Tian

The patch resolves target compiling

svn diff ./toolchain/uClibc/config-0.9.31/common 
./toolchain/uClibc/config-0.9.30.1/common >848-enable-posix_memalign.patch


cat 848-enable-posix_memalign.patch
Index: toolchain/uClibc/config-0.9.31/common
===
--- toolchain/uClibc/config-0.9.31/common   (revision 24860)
+++ toolchain/uClibc/config-0.9.31/common   (working copy)
@@ -82,7 +82,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y
Index: toolchain/uClibc/config-0.9.30.1/common
===
--- toolchain/uClibc/config-0.9.30.1/common (revision 24860)
+++ toolchain/uClibc/config-0.9.30.1/common (working copy)
@@ -78,7 +78,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y


于 2010年12月31日 06:23, OpenWrt 写道:

#8552: e2fsck fails to link
---+
  Reporter:  anonymous  |   Owner:  developers
  Type:  defect |  Status:  new
  Priority:  normal |   Milestone:  Kamikaze
Component:  packages   | Version:  Trunk
  Keywords: |
---+

Comment(by Thomas Mangin):

  uClib has it. it is enabled with UCLIBC_HAS_ADVANCED_REALTIME which is
  setup

  grep UCLIBC_HAS_ADVANCED_REALTIME toolchain/uClibc/config-0.9.32/common
  UCLIBC_HAS_ADVANCED_REALTIME=y

  So something is not as it should :(



Index: toolchain/uClibc/config-0.9.31/common
===
--- toolchain/uClibc/config-0.9.31/common	(revision 24860)
+++ toolchain/uClibc/config-0.9.31/common	(working copy)
@@ -82,7 +82,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y
Index: toolchain/uClibc/config-0.9.30.1/common
===
--- toolchain/uClibc/config-0.9.30.1/common	(revision 24860)
+++ toolchain/uClibc/config-0.9.30.1/common	(working copy)
@@ -78,7 +78,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [OpenWrt-Tickets] [OpenWrt] #8508: trunk build fails in e2fsprogs after r24683

2010-12-30 Thread HongPeng Tian

The patch resolves target compiling

svn diff ./toolchain/uClibc/config-0.9.31/common 
./toolchain/uClibc/config-0.9.30.1/common >848-enable-posix_memalign.patch


cat 848-enable-posix_memalign.patch
Index: toolchain/uClibc/config-0.9.31/common
===
--- toolchain/uClibc/config-0.9.31/common   (revision 24860)
+++ toolchain/uClibc/config-0.9.31/common   (working copy)
@@ -82,7 +82,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y
Index: toolchain/uClibc/config-0.9.30.1/common
===
--- toolchain/uClibc/config-0.9.30.1/common (revision 24860)
+++ toolchain/uClibc/config-0.9.30.1/common (working copy)
@@ -78,7 +78,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y


于 2010年12月31日 05:01, OpenWrt 写道:

#8508: trunk build fails in e2fsprogs after r24683
---+
  Reporter:  chsh...@…  |   Owner:  developers
  Type:  defect |  Status:  new
  Priority:  normal |   Milestone:  Kamikaze
Component:  toolchain  | Version:  Trunk
  Keywords:  e2fsprogs, e2fsck  |
---+

Comment(by Thomas Mangin):

  ticket #8552 created.



Index: toolchain/uClibc/config-0.9.31/common
===
--- toolchain/uClibc/config-0.9.31/common	(revision 24860)
+++ toolchain/uClibc/config-0.9.31/common	(working copy)
@@ -82,7 +82,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y
Index: toolchain/uClibc/config-0.9.30.1/common
===
--- toolchain/uClibc/config-0.9.30.1/common	(revision 24860)
+++ toolchain/uClibc/config-0.9.30.1/common	(working copy)
@@ -78,7 +78,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] directory error [OpenWrt-Commits] r26682 - in trunk: . trunk trunk/target trunk/target/linux trunk/target/linux/brcm63xx trunk/target/linux/brcm63xx/patches-2.6.35 trunk/target/linux/b

2011-04-16 Thread Hongpeng Tian
directory error


Author: cshore
> Date: 2011-04-15 16:31:39 +0200 (Fri, 15 Apr 2011)
> New Revision: 26682
>
> Added:
>trunk/trunk/
>trunk/trunk/target/
>trunk/trunk/target/linux/
>trunk/trunk/target/linux/brcm63xx/
>trunk/trunk/target/linux/brcm63xx/patches-2.6.35/
>
> trunk/trunk/target/linux/brcm63xx/patches-2.6.35/452-board_rta1320_16m.patch
>trunk/trunk/target/linux/brcm63xx/patches-2.6.37/
>
> trunk/trunk/target/linux/brcm63xx/patches-2.6.37/452-board_rta1320_16m.patch
> Log:
> [brcm63xx] Add support for the RTA1320_16M board
>
> Added: 
> trunk/trunk/target/linux/brcm63xx/patches-2.6.35/452-board_rta1320_16m.patch
> ===
> --- 
> trunk/trunk/target/linux/brcm63xx/patches-2.6.35/452-board_rta1320_16m.patch  
> (rev 0)
> +++ 
> trunk/trunk/target/linux/brcm63xx/patches-2.6.35/452-board_rta1320_16m.patch  
> 2011-04-15 14:31:39 UTC (rev 26682)
> @@ -0,0 +1,54 @@
> +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
>  b/arch/mips/bcm63xx/boards/board_bcm963xx.c
> +@@ -178,6 +178,43 @@ static struct board_info __initdata boar
> + },
> + },
> + };
> ++
> ++static struct board_info __initdata board_rta1320_16m = {
> ++.name   = "RTA1320_16M",
> ++.expected_cpu_id= 0x6338,
> ++
> ++.has_uart0  = 1,
> ++.has_enet0  = 1,
> ++
> ++.enet0 = {
> ++.force_speed_100= 1,
> ++.force_duplex_full  = 1,
> ++},
> ++
> ++.leds = {
> ++{
> ++.name   = "adsl",
> ++.gpio   = 3,
> ++.active_low = 1,
> ++},
> ++{
> ++.name   = "ppp",
> ++.gpio   = 4,
> ++.active_low = 1,
> ++},
> ++{
> ++.name   = "power",
> ++.gpio   = 0,
> ++.active_low = 1,
> ++.default_trigger = "default-on",
> ++},
> ++{
> ++.name   = "stop",
> ++.gpio   = 1,
> ++.active_low = 1,
> ++},
> ++},
> ++};
> + #endif
> + 
> + /*
> +@@ -1811,6 +1848,7 @@ static const struct board_info __initdat
> + &board_96338gw,
> + &board_96338w,
> + &board_96338w2_e7t,
> ++&board_rta1320_16m,
> + #endif
> + #ifdef CONFIG_BCM63XX_CPU_6345
> + &board_96345gw2,
>
> Added: 
> trunk/trunk/target/linux/brcm63xx/patches-2.6.37/452-board_rta1320_16m.patch
> ===
> --- 
> trunk/trunk/target/linux/brcm63xx/patches-2.6.37/452-board_rta1320_16m.patch  
> (rev 0)
> +++ 
> trunk/trunk/target/linux/brcm63xx/patches-2.6.37/452-board_rta1320_16m.patch  
> 2011-04-15 14:31:39 UTC (rev 26682)
> @@ -0,0 +1,54 @@
> +--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
>  b/arch/mips/bcm63xx/boards/board_bcm963xx.c
> +@@ -178,6 +178,43 @@ static struct board_info __initdata boar
> + },
> + },
> + };
> ++
> ++static struct board_info __initdata board_rta1320_16m = {
> ++.name   = "RTA1320_16M",
> ++.expected_cpu_id= 0x6338,
> ++
> ++.has_uart0  = 1,
> ++.has_enet0  = 1,
> ++
> ++.enet0 = {
> ++.force_speed_100= 1,
> ++.force_duplex_full  = 1,
> ++},
> ++
> ++.leds = {
> ++{
> ++.name   = "adsl",
> ++.gpio   = 3,
> ++.active_low = 1,
> ++},
> ++{
> ++.name   = "ppp",
> ++.gpio   = 4,
> ++.active_low = 1,
> ++},
> ++{
> ++.name   = "power",
> ++.gpio   = 0,
> ++.active_low = 1,
> ++.default_trigger = "default-on",
> ++},
> ++{
> ++.name   = "stop",
> ++.gpio   = 1,
> ++.active_low = 1,
> ++},
> ++},
> ++};
> + #endif
> + 
> + /*
> +@@ -1811,6 +1848,7 @@ static const struct board_info __initdat
> + &board_96338gw,
> + &board_96338w,
> + &board_96338w2_e7t,
> ++&board_rta1320_16m,
> + #endif
> + #ifdef CONFIG_BCM63XX_CPU_6345
> + &board_96345gw2,
>
> ___
> openwrt-commits mailing list
> openwrt-comm...@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-commits
>

___