[OpenWrt-Devel] [PATCH v3][ar71xx][RFC]add support for EasyLink M150 and M-mini‏ (this time with a subscribed email account)

Michaël Zweers admin at gigabyte.getmyip.com
Thu Jun 26 05:03:14 EDT 2014


Hello Larry and the rest,   

I can confirm that the patch works, but i did have to use patch to
apply, git doesn't accept the patch on my system.

Log:
user at HartOfGold:/data/LinuxBuild/Elink-Mini$ patch -p1 <
/data/Share/EasyLink.patch
(Stripping trailing CRs from patch.)
patching file target/linux/ar71xx/base-files/etc/diag.sh
(Stripping trailing CRs from patch.)
patching file target/linux/ar71xx/base-files/etc/uci-defaults/02_network
(Stripping trailing CRs from patch.)
patching file
target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
(Stripping trailing CRs from patch.)
patching file target/linux/ar71xx/base-files/lib/ar71xx.sh
(Stripping trailing CRs from patch.)
patching file target/linux/ar71xx/base-files/lib/upgrade/platform.sh
(Stripping trailing CRs from patch.)
patching file target/linux/ar71xx/config-3.10
(Stripping trailing CRs from patch.)
patching file target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
(Stripping trailing CRs from patch.)
patching file target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
(Stripping trailing CRs from patch.)
patching file target/linux/ar71xx/generic/profiles/easylink.mk
(Stripping trailing CRs from patch.)
patching file target/linux/ar71xx/image/Makefile
(Stripping trailing CRs from patch.)
patching file
target/linux/ar71xx/patches-3.10/712-MIPS-ath79-add-EasyLink-support.patch

Did I do anything wrong? (failure is always an option)

First boot log attached for completeness.

Kind regards,
Michaël Zweers

Larry Pinney schreef op 26-6-2014 6:49:
>
> From: L. D. Pinney <ldpinney at gmail.com>
>
> v3 refreshes the patch on trunk at 41337
>
> This patch adds support for the EasyLink EL-M150 and M-mini
>
> http://wiki.openwrt.org/toh/easylink/el-m150
> http://wiki.openwrt.org/toh/easylink/el-m-mini
>
> Signed-off-by: L. D. Pinney <ldpinney at gmail.com>
> ---
> diff --git a/target/linux/ar71xx/base-files/etc/diag.sh
> b/target/linux/ar71xx/base-files/etc/diag.sh
> index d5063de..687cddf 100755
> --- a/target/linux/ar71xx/base-files/etc/diag.sh
> +++ b/target/linux/ar71xx/base-files/etc/diag.sh
> @@ -65,6 +65,10 @@ get_status_led() {
> Â  eap7660d)
> Â  status_led="eap7660d:green:ds4"
> Â  ;;
> + el-mini | \
> + el-m150)
> + status_led="EasyLink:green:system"
> + ;;
> Â  hiwifi-hc6361)
> Â  status_led="hiwifi:blue:system"
> Â  ;;
> diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> index a2b2762..99c0268 100755
> --- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
> @@ -152,6 +152,16 @@ ap113)
> Â  ucidef_add_switch_vlan "switch0" "2" "0t 2"
> Â  ;;
>
> +el-m150)
> + ucidef_set_interfaces_lan_wan "eth1" "eth0"
> + ucidef_add_switch "switch0" "1" "1"
> + ucidef_add_switch_vlan "switch0" "1" "0 1 3"
> + ;;
> +
> +el-mini)
> + ucidef_set_interface_lan "eth0"
> + ;;
> +
> Â tl-wdr4300|\
> Â tl-wr1041n-v2)
> Â  ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
> diff --git
> a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
>
> b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
>
> index 093fbc1..31ce548 100755
> ---
> a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
>
> +++
> b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration
>
> @@ -81,6 +81,7 @@ ew-dorin-router)
> Â  migrate_switch_name "eth0" "switch0"
> Â  ;;
>
> +el-m150|\
> Â rb-450)
> Â  migrate_switch_name "eth1" "switch0"
> Â  ;;
> diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh
> b/target/linux/ar71xx/base-files/lib/ar71xx.sh
> index 6dd5e62..4656ac2 100755
> --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
> +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
> @@ -91,6 +91,12 @@ tplink_board_detect() {
> Â  hwver="v${hwver#0}"
>
> Â  case "$hwid" in
> + "015000"*)
> + model="EasyLink EL-M150"
> + ;;
> + "015300"*)
> + model="EasyLink EL-MINI"
> + ;;
> Â  "3C0001"*)
> Â  model="OOLITE"
> Â  ;;
> @@ -307,6 +313,12 @@ ar71xx_board_detect() {
> Â  *EAP7660D)
> Â  name="eap7660d"
> Â  ;;
> + *EL-M150)
> + name="el-m150"
> + ;;
> + *EL-MINI)
> + name="el-mini"
> + ;;
> Â  *JA76PF)
> Â  name="ja76pf"
> Â  ;;
> diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
> b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
> index 57803cc..6aaddf2 100755
> --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
> +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
> @@ -224,6 +224,8 @@ platform_check_image() {
> Â  ;;
>
> Â  archer-c7 | \
> + el-m150 | \
> + el-mini | \
> Â  oolite | \
> Â  tl-mr10u | \
> Â  tl-mr11u | \
> diff --git a/target/linux/ar71xx/config-3.10
> b/target/linux/ar71xx/config-3.10
> index c294cd8..1346c3f 100644
> --- a/target/linux/ar71xx/config-3.10
> +++ b/target/linux/ar71xx/config-3.10
> @@ -47,6 +47,8 @@ CONFIG_ATH79_MACH_DIR_825_B1=y
> Â CONFIG_ATH79_MACH_DIR_825_C1=y
> Â CONFIG_ATH79_MACH_DRAGINO2=y
> Â CONFIG_ATH79_MACH_EAP7660D=y
> +CONFIG_ATH79_MACH_EL_M150=y
> +CONFIG_ATH79_MACH_EL_MINI=y
> Â CONFIG_ATH79_MACH_EW_DORIN=y
> Â CONFIG_ATH79_MACH_GS_OOLITE=y
> Â CONFIG_ATH79_MACH_HORNET_UB=y
> diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
> b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
> new file mode 100644
> index 0000000..72a396d
> --- /dev/null
> +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
> @@ -0,0 +1,112 @@
> +/*
> + *Â  Easy-Link EL-M150 board support
> + *
> + *Â  Copyright (C) 2012 huangfc <huangfangcheng at 163.com>
> + *Â  Copyright (C) 2012 HYS <550663898 at qq.com>
> + *
> + *Â  This program is free software; you can redistribute it and/or
> modify
> it
> + *Â  under the terms of the GNU General Public License version 2 as
> published
> + *Â  by the Free Software Foundation.
> + */
> +
> +#include <linux/gpio.h>
> +
> +#include <asm/mach-ath79/ath79.h>
> +#include <asm/mach-ath79/ar71xx_regs.h>
> +
> +#include "common.h"
> +#include "dev-eth.h"
> +#include "dev-gpio-buttons.h"
> +#include "dev-leds-gpio.h"
> +#include "dev-m25p80.h"
> +#include "dev-wmac.h"
> +#include "machtypes.h"
> +#include "dev-usb.h"
> +
> +#define EL_M150_GPIO_BTN6 6
> +#define EL_M150_GPIO_BTN7 7
> +#define EL_M150_GPIO_BTN_RESET 11
> +
> +#define EL_M150_GPIO_LED_SYSTEM 27
> +#define EL_M150_GPIO_USB_POWER 8
> +
> +#define EL_M150_KEYS_POLL_INTERVAL 20 /* msecs */
> +#define EL_M150_KEYS_DEBOUNCE_INTERVAL (3 * EL_M150_KEYS_POLL_INTERVAL)
> +
> +static const char *EL_M150_part_probes[] = {
> + "tp-link",
> + NULL,
> +};
> +
> +static struct flash_platform_data EL_M150_flash_data = {
> + .part_probes = EL_M150_part_probes,
> +};
> +
> +static struct gpio_led EL_M150_leds_gpio[] __initdata = {
> + {
> + .name = "ELINK:green:system",
> + .gpio = EL_M150_GPIO_LED_SYSTEM,
> + .active_low = 1,
> + },
> +};
> +
> +static struct gpio_keys_button EL_M150_gpio_keys[] __initdata = {
> + {
> + .desc = "reset",
> + .type = EV_KEY,
> + .code = KEY_RESTART,
> + .debounce_interval = EL_M150_KEYS_DEBOUNCE_INTERVAL,
> + .gpio = EL_M150_GPIO_BTN_RESET,
> + .active_low = 0,
> + },
> + {
> + .desc = "BTN_6",
> + .type = EV_KEY,
> + .code = BTN_6,
> + .debounce_interval = EL_M150_KEYS_DEBOUNCE_INTERVAL,
> + .gpio = EL_M150_GPIO_BTN6,
> + .active_low = 1,
> + },
> + {
> + .desc = "BTN_7",
> + .type = EV_KEY,
> + .code = BTN_7,
> + .debounce_interval = EL_M150_KEYS_DEBOUNCE_INTERVAL,
> + .gpio = EL_M150_GPIO_BTN7,
> + .active_low = 1,
> + },
> +};
> +
> +static void __init el_m150_setup(void)
> +{
> + u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
> + u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
> +
> + /* disable PHY_SWAP and PHY_ADDR_SWAP bits */
> + ath79_setup_ar933x_phy4_switch(false, false);
> +
> + ath79_register_leds_gpio(-1, ARRAY_SIZE(EL_M150_leds_gpio),
> + EL_M150_leds_gpio);
> +
> + ath79_register_gpio_keys_polled(-1, EL_M150_KEYS_POLL_INTERVAL,
> + ARRAY_SIZE(EL_M150_gpio_keys),
> + EL_M150_gpio_keys);
> +
> + gpio_request_one(EL_M150_GPIO_USB_POWER,
> + GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED,
> + "USB power");
> + ath79_register_usb();
> +
> + ath79_register_m25p80(&EL_M150_flash_data);
> + ath79_init_mac(ath79_eth0_data.mac_addr, mac, 1);
> + ath79_init_mac(ath79_eth1_data.mac_addr, mac, -1);
> +
> + ath79_register_mdio(0, 0x0);
> + ath79_register_eth(0);
> + ath79_register_eth(1);
> +
> + ath79_register_wmac(ee, mac);
> +}
> +
> +MIPS_MACHINE(ATH79_MACH_EL_M150, "EL-M150",
> +Â Â Â Â  "EasyLink EL-M150", el_m150_setup);
> diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
> b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
> new file mode 100644
> index 0000000..aaccb0d
> --- /dev/null
> +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
> @@ -0,0 +1,86 @@
> +/*
> + *Â  Easy-Link EL-MINI board support
> + *
> + *Â  Copyright (C) 2012 huangfc <huangfangcheng at 163.com>
> + *Â  Copyright (C) 2011 hys <550663898 at qq.com>
> + *
> + *Â  This program is free software; you can redistribute it and/or
> modify
> it
> + *Â  under the terms of the GNU General Public License version 2 as
> published
> + *Â  by the Free Software Foundation.
> + */
> +
> +#include <linux/gpio.h>
> +
> +#include <asm/mach-ath79/ath79.h>
> +
> +#include "dev-eth.h"
> +#include "dev-gpio-buttons.h"
> +#include "dev-leds-gpio.h"
> +#include "dev-m25p80.h"
> +#include "dev-usb.h"
> +#include "dev-wmac.h"
> +#include "machtypes.h"
> +
> +#define MINI_GPIO_LED_SYSTEM 27
> +#define MINI_GPIO_BTN_RESET 11
> +
> +#define MINI_GPIO_USB_POWER 8
> +
> +#define MINI_KEYS_POLL_INTERVAL 20 /* msecs */
> +#define MINI_KEYS_DEBOUNCE_INTERVAL (3 * MINI_KEYS_POLL_INTERVAL)
> +
> +static const char *mini_part_probes[] = {
> + "tp-link",
> + NULL,
> +};
> +
> +static struct flash_platform_data mini_flash_data = {
> + .part_probes = mini_part_probes,
> +};
> +
> +static struct gpio_led mini_leds_gpio[] __initdata = {
> + {
> + .name = "ELINK:green:system",
> + .gpio = MINI_GPIO_LED_SYSTEM,
> + .active_low = 1,
> + },
> +};
> +
> +static struct gpio_keys_button mini_gpio_keys[] __initdata = {
> + {
> + .desc = "reset",
> + .type = EV_KEY,
> + .code = KEY_RESTART,
> + .debounce_interval = MINI_KEYS_DEBOUNCE_INTERVAL,
> + .gpio = MINI_GPIO_BTN_RESET,
> + .active_low = 0,
> + }
> +};
> +
> +static void __init el_mini_setup(void)
> +{
> + u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00);
> + u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
> +
> + ath79_register_m25p80(&mini_flash_data);
> + ath79_register_leds_gpio(-1, ARRAY_SIZE(mini_leds_gpio),
> + mini_leds_gpio);
> + ath79_register_gpio_keys_polled(-1, MINI_KEYS_POLL_INTERVAL,
> + ARRAY_SIZE(mini_gpio_keys),
> + mini_gpio_keys);
> +
> + gpio_request_one(MINI_GPIO_USB_POWER,
> + GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED,
> + "USB power");
> + ath79_register_usb();
> +
> + ath79_init_mac(ath79_eth0_data.mac_addr, mac, -1);
> +
> + ath79_register_mdio(0, 0x0);
> + ath79_register_eth(0);
> +
> + ath79_register_wmac(ee, mac);
> +}
> +
> +MIPS_MACHINE(ATH79_MACH_EL_MINI, "EL-MINI", "EasyLink EL-MINI",
> +Â Â Â Â  el_mini_setup);
> diff --git a/target/linux/ar71xx/generic/profiles/easylink.mk
> b/target/linux/ar71xx/generic/profiles/easylink.mk
> new file mode 100644
> index 0000000..78d2ec0
> --- /dev/null
> +++ b/target/linux/ar71xx/generic/profiles/easylink.mk
> @@ -0,0 +1,29 @@
> +#
> +# Copyright (C) 2014 OpenWrt.org
> +#
> +# This is free software, licensed under the GNU General Public License
> v2.
> +# See /LICENSE for more information.
> +#
> +
> +define Profile/ELM150
> + NAME:=EasyLink EL-M150
> + PACKAGES:=kmod-usb-core kmod-usb2
> +endef
> +
> +
> +define Profile/ELM150/Description
> + Package set optimized for the EasyLink EL-M150.
> +endef
> +$(eval $(call Profile,ELM150))
> +
> +
> +define Profile/ELMINI
> + NAME:=EasyLink EL-MINI
> + PACKAGES:=kmod-usb-core kmod-usb2
> +endef
> +
> +
> +define Profile/ELMINI/Description
> + Package set optimized for the EasyLink EL-MINI.
> +endef
> +$(eval $(call Profile,ELMINI))
> diff --git a/target/linux/ar71xx/image/Makefile
> b/target/linux/ar71xx/image/Makefile
> index d0ee363..ae319c7 100644
> --- a/target/linux/ar71xx/image/Makefile
> +++ b/target/linux/ar71xx/image/Makefile
> @@ -1134,6 +1134,8 @@ $(eval $(call
> SingleProfile,TPLINK,64kraw,TLWR1043V1,tl-wr1043nd-v1,TL-WR1043ND,
>
> Â $(eval $(call
> SingleProfile,TPLINK-LZMA,64kraw,ARCHERC7V1,archer-c7-v1,ARCHER-C7,ttyS0,115200,0x75000001,1,8Mlzma))
> Â $(eval $(call
> SingleProfile,TPLINK-LZMA,64kraw,ARCHERC7V2,archer-c7-v2,ARCHER-C7,ttyS0,115200,0xc7000002,1,16Mlzma))
> +$(eval $(call
> SingleProfile,TPLINK-LZMA,64kraw,ELM150,el-m150,EL-M150,ttyATH0,115200,0x01500101,1,8Mlzma))
> +$(eval $(call
> SingleProfile,TPLINK-LZMA,64kraw,ELMINI,el-mini,EL-MINI,ttyATH0,115200,0x01530001,1,8Mlzma))
> Â $(eval $(call
> SingleProfile,TPLINK-LZMA,64kraw,TLMR10U,tl-mr10u-v1,TL-MR10U,ttyATH0,115200,0x00100101,1,4Mlzma))
> Â $(eval $(call
> SingleProfile,TPLINK-LZMA,64kraw,TLMR11UV1,tl-mr11u-v1,TL-MR11U,ttyATH0,115200,0x00110101,1,4Mlzma))
> Â $(eval $(call
> SingleProfile,TPLINK-LZMA,64kraw,TLMR11UV2,tl-mr11u-v2,TL-MR11U,ttyATH0,115200,0x00110102,1,4Mlzma))
> diff --git
> a/target/linux/ar71xx/patches-3.10/712-MIPS-ath79-add-EasyLink-support.patch
>
> b/target/linux/ar71xx/patches-3.10/712-MIPS-ath79-add-EasyLink-support.patch
>
> new file mode 100644
> index 0000000..bf7eed9
> --- /dev/null
> +++
> b/target/linux/ar71xx/patches-3.10/712-MIPS-ath79-add-EasyLink-support.patch
>
> @@ -0,0 +1,52 @@
> +--- a/arch/mips/ath79/machtypes.h
> ++++ b/arch/mips/ath79/machtypes.h
> +@@ -50,7 +50,9 @@ enum ath79_mach_type {
> + ATH79_MACH_EW_DORIN, /* embedded wireless Dorin
> Platform */
> + ATH79_MACH_EW_DORIN_ROUTER, /* embedded wireless Dorin Router
> Platform */
> + ATH79_MACH_EAP7660D, /* Senao EAP7660D */
> ++ ATH79_MACH_EL_M150, /* EasyLink EL-M150 */
> ++ ATH79_MACH_EL_MINI, /* EasyLink EL-MINI */
> + ATH79_MACH_GS_OOLITE,           /* GS OOLITE V1.0 */
> + ATH79_MACH_HIWIFI_HC6361, /* HiWiFi HC6361 */
> + ATH79_MACH_JA76PF, /* jjPlus JA76PF */
> + ATH79_MACH_JA76PF2, /* jjPlus JA76PF2 */
> +--- a/arch/mips/ath79/Kconfig
> ++++ b/arch/mips/ath79/Kconfig
> +@@ -337,6 +337,26 @@ config ATH79_MACH_EW_DORIN
> +Â  Say 'Y' here if you want your kernel to support the
> +Â  Dorin Platform from www.80211.de .
> +
> ++config ATH79_MACH_EL_M150
> ++ bool "EasyLink EL-M150 support"
> ++ select SOC_AR933X
> ++ select ATH79_DEV_ETH
> ++ select ATH79_DEV_GPIO_BUTTONS
> ++ select ATH79_DEV_LEDS_GPIO
> ++ select ATH79_DEV_M25P80
> ++ select ATH79_DEV_USB
> ++ select ATH79_DEV_WMAC
> ++
> ++config ATH79_MACH_EL_MINI
> ++ bool "EasyLink EL-MINI support"
> ++ select SOC_AR933X
> ++ select ATH79_DEV_ETH
> ++ select ATH79_DEV_GPIO_BUTTONS
> ++ select ATH79_DEV_LEDS_GPIO
> ++ select ATH79_DEV_M25P80
> ++ select ATH79_DEV_USB
> ++ select ATH79_DEV_WMAC
> ++
> + config ATH79_MACH_GS_OOLITE
> +Â Â Â Â Â Â Â  bool "GS Oolite V1 support"
> +Â Â Â Â Â Â Â  select SOC_AR933X
> +--- a/arch/mips/ath79/Makefile
> ++++ b/arch/mips/ath79/Makefile
> +@@ -62,6 +62,8 @@ obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += m
> + obj-$(CONFIG_ATH79_MACH_DRAGINO2) += mach-dragino2.o
> + obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o
> + obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
> ++obj-$(CONFIG_ATH79_MACH_EL_M150) += mach-el-m150.o
> ++obj-$(CONFIG_ATH79_MACH_EL_MINI) += mach-el-mini.o
> + obj-$(CONFIG_ATH79_MACH_GS_OOLITE) += mach-gs-oolite.o
> + obj-$(CONFIG_ATH79_MACH_HIWIFI_HC6361) += mach-hiwifi-hc6361.o
> + obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20140626/68169bbd/attachment.htm>
-------------- next part --------------

      U-Boot 1.1.4  (Dec  3 2013 - 15:25:57)

********************************************
*      U-boot for Easylink M-mini          *
*    Build by huangfc(QQ:343669866)        *
*    Taobao:http://huangfc.taobao.com      *
********************************************
DRAM:  64 MB
id read ox100000ff
FLASH: 8M

In:  serial
Out: serial
Err: serial
Net:   ag7240_enet_initialize...

Interface eth0 MAC address: 00:23:CD:10:0E:8C
s26 reg init
ag7240_phy_setup
Interface eth0 is up

Interface eth1 MAC address: 00:23:CD:10:0E:8C
athrs26_reg_init_lan
ag7240_phy_setup
Interface eth1 is up
Hit any key to stop autobooting:   0

Easy-Link> httpd
Ethernet mode (duplex/speed): 1/100 Mbps
HTTP server is starting at IP: 192.168.1.1
uip init...
http init...
HTTP server is ready!

Data will be downloaded at 0x80800000 in RAM
Upgrade type: firmware
Upload file size: 8126464 bytes
Loading: #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #######################################
         #########

HTTP upload is done! Upgrading...
Erase flash from 0x9F020000 to 0x9F7DFFFF in bank #1
Erasing: #######################################
         #######################################
         #######################################
         #######

Erased sectors: 124

Copying to flash...
Writting at address: 0x9F020000

Done!

HTTP ugrade is done! Rebooting...


      U-Boot 1.1.4  (Dec  3 2013 - 15:25:57)

********************************************
*      U-boot for Easylink M-mini          *
*    Build by huangfc(QQ:343669866)        *
*    Taobao:http://huangfc.taobao.com      *
********************************************
DRAM:  64 MB
id read ox100000ff
FLASH: 8M

In:  serial
Out: serial
Err: serial
Net:   ag7240_enet_initialize...

Interface eth0 MAC address: 00:23:CD:10:0E:8C
s26 reg init
ag7240_phy_setup
Interface eth0 is up

Interface eth1 MAC address: 00:23:CD:10:0E:8C
athrs26_reg_init_lan
ag7240_phy_setup
Interface eth1 is up
Hit any key to stop autobooting:    0

Booting image at: 0x9F020000

   Image name:   OpenWrt r41337
   Image type:   MIPS Linux Kernel Image (lzma compressed)
   Data size:    1093668 Bytes = 1 MB
   Load address: 0x80060000
   Entry point:  0x80060000

Uncompressing kernel image... OK!
Starting kernel...

[    0.000000] Linux version 3.10.36 (user at HartOfGold) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r41337) ) #1 Thu Jun 26 10:36:58 CEST 2014
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=EL-MINI console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61076k/65536k available (2371k kernel code, 4460k reserved, 618k data, 272k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is EasyLink EL-MINI
[    0.350000] bio: create slab <bio-0> at 0
[    0.360000] Switching to clocksource MIPS
[    0.360000] NET: Registered protocol family 2
[    0.370000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.370000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.370000] TCP: Hash tables configured (established 512 bind 512)
[    0.380000] TCP: reno registered
[    0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] NET: Registered protocol family 1
[    0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.420000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.440000] msgmni has been set to 119
[    0.440000] io scheduler noop registered
[    0.440000] io scheduler deadline registered (default)
[    0.450000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.470000] console [ttyATH0] enabled, bootconsole disabled
[    0.470000] console [ttyATH0] enabled, bootconsole disabled
[    0.480000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.490000] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.490000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.500000] 5 tp-link partitions found on MTD device spi0.0
[    0.500000] Creating 5 MTD partitions on "spi0.0":
[    0.510000] 0x000000000000-0x000000020000 : "u-boot"
[    0.510000] 0x000000020000-0x00000012b224 : "kernel"
[    0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.530000] 0x00000012b224-0x0000007f0000 : "rootfs"
[    0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] mtd: device 2 (rootfs) set to be root filesystem
[    0.550000] 1 squashfs-split partitions found on MTD device rootfs
[    0.560000] 0x0000004d0000-0x0000007f0000 : "rootfs_data"
[    0.570000] 0x0000007f0000-0x000000800000 : "art"
[    0.570000] 0x000000020000-0x0000007f0000 : "firmware"
[    0.590000] libphy: ag71xx_mdio: probed
[    1.150000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.150000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.160000] TCP: cubic registered
[    1.160000] NET: Registered protocol family 17
[    1.170000] Bridge firewalling registered
[    1.170000] 8021q: 802.1Q VLAN Support v1.8
[    1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.190000] Freeing unused kernel memory: 272K (8034c000 - 80390000)
procd: Console is alive
procd: - watchdog -
[    3.950000] usbcore: registered new interface driver usbfs
[    3.960000] usbcore: registered new interface driver hub
[    3.960000] usbcore: registered new device driver usb
[    3.970000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.980000] ehci-platform: EHCI generic platform driver
[    3.980000] ehci-platform ehci-platform: EHCI Host Controller
[    3.990000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.000000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.020000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.020000] hub 1-0:1.0: USB hub found
[    4.020000] hub 1-0:1.0: 1 port detected
[    4.030000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    7.200000] eth0: link up (100Mbps/Full duplex)
jffs2 is not ready - marker found
[    7.800000] eth0: link down
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[    9.410000] NET: Registered protocol family 10
[    9.420000] tun: Universal TUN/TAP device driver, 1.6
[    9.420000] tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
[    9.440000] nf_conntrack version 0.5.0 (958 buckets, 3832 max)
[    9.450000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.470000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[    9.470000] Backport generated by backports.git backports-20140320-37-g5c33da0
[    9.490000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.530000] xt_time: kernel timezone is -0000
[    9.600000] cfg80211: Calling CRDA to update world regulatory domain
[    9.610000] cfg80211: World regulatory domain updated:
[    9.610000] cfg80211:  DFS Master region: unset
[    9.610000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    9.620000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.630000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.640000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    9.650000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    9.660000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    9.660000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    9.690000] PPP generic driver version 2.4.2
[    9.710000] NET: Registered protocol family 24
[    9.800000] cfg80211: Calling CRDA for country: US
[    9.810000] cfg80211: Regulatory domain changed to country: US
[    9.810000] cfg80211:  DFS Master region: FCC
[    9.810000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    9.820000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[    9.830000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[    9.840000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[    9.850000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[    9.860000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[    9.860000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   20.930000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   20.930000] device eth0 entered promiscuous mode
[   20.950000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   21.600000] eth0: link up (100Mbps/Full duplex)
[   21.600000] br-lan: port 1(eth0) entered forwarding state
[   21.610000] br-lan: port 1(eth0) entered forwarding state
[   21.610000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.640000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   23.610000] br-lan: port 1(eth0) entered forwarding state
[   60.230000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   60.250000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   60.250000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[   69.160000] jffs2: notice: (1005) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
procd: - init complete -



BusyBox v1.22.1 (2014-06-26 09:08:55 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r41337)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root at OpenWrt:/# 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20140626/68169bbd/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list