Re: [LEDE-DEV] [RFC] au1000: drop support / serial console

2017-03-09 Thread Bastian Bittorf
* Bruno Randolf  [09.03.2017 14:15]:
> The connector is on the second picture 
> (http://intercity-vpn.de/files/openwrt/au1000/.800/.html/IMG_20170309_085751.jpg.html),
> above the 4G logo. It's actually a 24 pin connector. I updated the
> wiki.

thanks a lot, it works. will dig deeper, something is wrong here now.
i have seen a booting 4.9.13 kernel, but now it...:

YAMON> load /ram.srec
About to load tftp://192.168.0.100/ram.srec
Press Ctrl-C to break






Start = 0x810001c0, range = (0x8100,0x8119e7a7), format = SREC
YAMON> go 0x810001c0 

* Exception (user) : Bus error (instruction fetch) *

CAUSE= 0x00808018  STATUS   = 0x0002
EPC  = 0x9000  ERROREPC = 0x
BADVADDR = 0x9dffed9b

$ 0(zr):0x  $ 8(t0):0x0000  $16(s0):0x80004000 $24(t8):0x
$ 1(at):0x  $ 9(t1):0x001f  $17(s1):0x80004000 $25(t9):0x
$ 2(v0):0x8010  $10(t2):0x0010  $18(s2):0x0020 $26(k0):0x
$ 3(v1):0x  $11(t3):0x0800  $19(s3):0x0020 $27(k1):0x
$ 4(a0):0x0001  $12(t4):0x800e0662  $20(s4):0x4000 $28(gp):0x
$ 5(a1):0x80082920  $13(t5):0x80082920  $21(s5):0x0080 $29(sp):0x800fff90
$ 6(a2):0x80044838  $14(t6):0x80044838  $22(s6):0x $30(s8):0x8008ca44
$ 7(a3):0x0400  $15(t7):0x0400  $23(s7):0x $31(ra):0x8100019c

YAMON>

need some distance 8-)
btw: i think only the ethernet-driver has probs...

bye, bastian 

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [RFC] au1000: drop support / serial console

2017-03-09 Thread Bruno Randolf

On 09/03/17 08:46, Bastian Bittorf wrote:

* Florian Fainelli  [09.03.2017 08:36]:

Is that already a compressed kernel, seems like you could easily get it
down to 1-2MiB with compression.


at the moment i have problems finding the real serial pinout.
(YAMON is not enough at this stage). I uploaded 7 pictures here:
http://intercity-vpn.de/files/openwrt/au1000/

the wiki says that the "T-Mobile Internet Box" has a 10 pin-connector
near the Ethernet port, but I can not spot it.
https://wiki.openwrt.org/toh/4g.systems/access.cube#serial_and_jtag


Hi Bastian,

The connector is on the second picture 
(http://intercity-vpn.de/files/openwrt/au1000/.800/.html/IMG_20170309_085751.jpg.html), 
above the 4G logo. It's actually a 24 pin connector. I updated the wiki.


bruno




___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [RFC] au1000: drop support / serial console

2017-03-09 Thread Bastian Bittorf
* Florian Fainelli  [09.03.2017 08:36]:
> Is that already a compressed kernel, seems like you could easily get it
> down to 1-2MiB with compression.

at the moment i have problems finding the real serial pinout.
(YAMON is not enough at this stage). I uploaded 7 pictures here:
http://intercity-vpn.de/files/openwrt/au1000/

the wiki says that the "T-Mobile Internet Box" has a 10 pin-connector
near the Ethernet port, but I can not spot it.
https://wiki.openwrt.org/toh/4g.systems/access.cube#serial_and_jtag

bye, bastian

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [RFC] au1000: drop support

2017-03-09 Thread Bastian Bittorf
* Florian Fainelli  [09.03.2017 08:36]:
> > partition size, which is 44 blocks and ~2816 kilobytes. Our kernel
> > is around 3,3mb...ofcourse i can reduce the size, is that an option
> > for that target?
> 
> Is that already a compressed kernel, seems like you could easily get it
> down to 1-2MiB with compression.

You are right, and I was confused be the size of the .srec file.
Will do further experiments today...the kernel IS compressed, but
the .srec-format bloats it up - it seems, that YAMON refused to
upload .srec-files for the kernel which are >3.1mb - never mind,
i will report.

bye, bastian

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [RFC] au1000: drop support

2017-03-08 Thread Florian Fainelli
On 03/08/2017 03:19 AM, Bastian Bittorf wrote:
> * John Crispin  [26.02.2017 20:20]:
>> ok, send your v4.9 series when it is ready.
> 
> after some trial and error: the (ram-)kernel boots without issues,
> but flashing is not possible, because we have only 0x2c kernel
> partition size, which is 44 blocks and ~2816 kilobytes. Our kernel
> is around 3,3mb...ofcourse i can reduce the size, is that an option
> for that target?

Is that already a compressed kernel, seems like you could easily get it
down to 1-2MiB with compression.
-- 
Florian

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [RFC] au1000: drop support

2017-03-08 Thread Bastian Bittorf
* John Crispin  [26.02.2017 20:20]:
> ok, send your v4.9 series when it is ready.

after some trial and error: the (ram-)kernel boots without issues,
but flashing is not possible, because we have only 0x2c kernel
partition size, which is 44 blocks and ~2816 kilobytes. Our kernel
is around 3,3mb...ofcourse i can reduce the size, is that an option
for that target?

bye, bastian

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [RFC] au1000: drop support

2017-02-26 Thread John Crispin


On 26/02/2017 16:23, Bastian Bittorf wrote:
> * John Crispin  [26.02.2017 16:18]:
>> This target failed to boot with v4.4 and we did not have the hardware to
>> test. Bruno and myself were the last users and neither of us has any future
> 
> I have 50 of them and will try to get some serial output, what is wrong this 
> week.
> 
> bye, bastian
> 
> ___
> Lede-dev mailing list
> Lede-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
> 

ok, send your v4.9 series when it is ready.

John

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [RFC] au1000: drop support

2017-02-26 Thread Bastian Bittorf
* John Crispin  [26.02.2017 16:18]:
> This target failed to boot with v4.4 and we did not have the hardware to
> test. Bruno and myself were the last users and neither of us has any future

I have 50 of them and will try to get some serial output, what is wrong this 
week.

bye, bastian

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


[LEDE-DEV] [RFC] au1000: drop support

2017-02-25 Thread John Crispin
This target failed to boot with v4.4 and we did not have the hardware to
test. Bruno and myself were the last users and neither of us has any future
need to use this target. there are very few meshcubes left and the serial
cable of mine is broken and i would need to order new parts to build one.
I propose dropping the support unless anyone wants to start maintaining it.

Signed-off-by: John Crispin 
---
 package/boot/yamonenv/Makefile |   42 --
 .../patches/001-yamonenv_mtd_partition.patch   |   11 --
 target/linux/au1000/Makefile   |   32 -
 target/linux/au1000/au1500/config-default  |5 -
 target/linux/au1000/au1500/profiles/Atheros.mk |   13 --
 target/linux/au1000/au1500/profiles/InternetBox.mk |   18 ---
 target/linux/au1000/au1500/profiles/MeshCube.mk|   18 ---
 target/linux/au1000/au1500/target.mk   |7 -
 target/linux/au1000/au1550/config-default  |4 -
 target/linux/au1000/au1550/profiles/DBAu1550.mk|   13 --
 target/linux/au1000/au1550/target.mk   |8 --
 target/linux/au1000/base-files/etc/diag.sh |   21 ---
 .../au1000/base-files/lib/upgrade/platform.sh  |   36 -
 target/linux/au1000/config-3.18|  141 
 target/linux/au1000/image/Makefile |   74 --
 target/linux/au1000/modules.mk |   17 ---
 .../au1000/patches-3.18/002-openwrt_rootfs.patch   |   11 --
 .../au1000/patches-3.18/003-au1000_eth_ioctl.patch |   17 ---
 .../patches-3.18/004-watchdog_low_init.patch   |   12 --
 target/linux/au1000/patches-3.18/006-codec.patch   |   26 
 20 files changed, 526 deletions(-)
 delete mode 100644 package/boot/yamonenv/Makefile
 delete mode 100644 
package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch
 delete mode 100644 target/linux/au1000/Makefile
 delete mode 100644 target/linux/au1000/au1500/config-default
 delete mode 100644 target/linux/au1000/au1500/profiles/Atheros.mk
 delete mode 100644 target/linux/au1000/au1500/profiles/InternetBox.mk
 delete mode 100644 target/linux/au1000/au1500/profiles/MeshCube.mk
 delete mode 100644 target/linux/au1000/au1500/target.mk
 delete mode 100644 target/linux/au1000/au1550/config-default
 delete mode 100644 target/linux/au1000/au1550/profiles/DBAu1550.mk
 delete mode 100644 target/linux/au1000/au1550/target.mk
 delete mode 100644 target/linux/au1000/base-files/etc/diag.sh
 delete mode 100644 target/linux/au1000/base-files/lib/upgrade/platform.sh
 delete mode 100644 target/linux/au1000/config-3.18
 delete mode 100644 target/linux/au1000/image/Makefile
 delete mode 100644 target/linux/au1000/modules.mk
 delete mode 100644 target/linux/au1000/patches-3.18/002-openwrt_rootfs.patch
 delete mode 100644 target/linux/au1000/patches-3.18/003-au1000_eth_ioctl.patch
 delete mode 100644 target/linux/au1000/patches-3.18/004-watchdog_low_init.patch
 delete mode 100644 target/linux/au1000/patches-3.18/006-codec.patch

diff --git a/package/boot/yamonenv/Makefile b/package/boot/yamonenv/Makefile
deleted file mode 100644
index 011d39a..000
--- a/package/boot/yamonenv/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# 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:=yamonenv
-PKG_VERSION:=20051022
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)_gruen.4g__$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
-PKG_HASH:=466eca9cdad2c15e957fb9ce7d0b6927ecd17d85c4cc2dff37e97a3e6b209c67
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
-
-PKG_FLAGS:=nonshared
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/yamonenv
-  SECTION:=utils
-  CATEGORY:=Utilities
-  SUBMENU:=Boot Loaders
-  DEPENDS:=@TARGET_au1000
-  TITLE:=YAMON configuration utility
-  URL:=http://meshcube.org/nylon/stable/sources/
-  MAINTAINER:=Florian Fainelli 
-endef
-
-define Build/Configure
-endef
-
-define Package/yamonenv/install
-   $(INSTALL_DIR) $(1)/usr/sbin
-   $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
-endef
-
-$(eval $(call BuildPackage,yamonenv))
diff --git a/package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch 
b/package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch
deleted file mode 100644
index e1def28..000
--- a/package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 a/src/yamonenv.c
-+++ b/src/yamonenv.c
-@@ -12,7 +12,7 @@
- #include 
- #include 
- 
--#define DEFAULT_YAMON_ENV_FILE   "/dev/mtd/3"
-+#define DEFAULT_YAMON_ENV_FILE   "/dev/mtd3"
- 
- 
- // control byte definitions:
diff --git a/target/linux/au1000/Makefile b/target/linux/au1000/Makefile
deleted file mode 100644
index debc41e..000
--- a/target/linux/au1000/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# Copyright (C) 2006-2011