How to Upload Lede via Busybox Afoundry 1200
Write a brusque, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuff. Two to 4 sentences is nigh right.
Any text with a light background (like this ane) provides instructions for creating the Details Page. When y'all have filled in correct/useful information (instead of any template that'south there) remove the instructions, as well equally the <WRAP>
that encloses it.
-
This is an empty template that suggests the information that should be nowadays on a well-constructed Device Page. This means, that yous have to make full it with life and information.
-
In that location are several "fixme" tags with text on a low-cal background (like this text) throughout this template. Equally you fill in the page, remove those tags and then that people tin judge its completeness.
-
When in that location are no more "fixme" tags left, delete this one besides, forth with the
<WRAP>
that encloses it.
Keep the manufactures modular
Delight read the article flash.layout for a better agreement. It contains a couple of explanations. Then allow's have a quick view at flash layout of this item device:
Afoundry EW1200 Flash Layout | |||||||
---|---|---|---|---|---|---|---|
Layer0 | m25p80 NOR-Flash (16384 Kbytes) | ||||||
Layer1 | mtd0 u-boot 196.6 KB | mtd1 u-kick-env 65.5 KB | mtd2 factory 65.5 KB | mtd3 firmware 16.4 MB (= FlashSize-(196.6+65.v+65.5)) | |||
Layer2 | mtd4 kernel nearly ane.8 MB | mtd5 rootfs | |||||
Layer3 | /dev/root around 3.5 MB | mtd6 rootfs_data around 12 MB |
The instructions below are for Broadcom devices and only serve every bit an instance.
Remove / modify them if they practice not utilise to this particular device!
This section deals with
Annotation: Reset router to factory defaults if information technology has been previously configured.
Specific values needed for tftp
Bootloader tftp Input device IP: x.10.10.123
Bootloader tftp Input server IP: ten.10.x.three
Firmware tftp image | Latest OpenWrt release
→ generic.sysupgrade
If you don't take a GUI (LuCI) available, y'all can alternatively upgrade via the command line. There are ii control line methods for upgrading:
Note: It is of import that you lot put the firmware image into the ramdisk (/tmp) before you start flashing.
sysupgrade
cd /tmp wget http://downloads.openwrt.org/snapshots/torso/XXX/xxx.abc sysupgrade /tmp/thirty.abc
mtd
If sysupgrade
does non support this router, use mtd
.
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
→ Bones configuration Later on flashing, go on with this.
Prepare your Cyberspace connection, configure wireless, configure USB port, etc.
Delight fill in real values for this device, then remove the EXAMPLEs
The default network configuration is:
Interface Name | Clarification | Default configuration |
---|---|---|
br-lan | EXAMPLE LAN & WiFi | Instance 192.168.one.1/24 |
vlan0 (eth0.0) | Example LAN ports (1 to 4) | Example None |
vlan1 (eth0.1) | EXAMPLE WAN port | EXAMPLE DHCP |
wl0 | Case WiFi | Example Disabled |
Delight fill in real values for this device, then remove the EXAMPLEs
Numbers 0-3 are Ports i-4 as labeled on the unit of measurement, number iv is the Net (WAN) on the unit, 5 is the internal connection to the router itself. Don't exist fooled: Port ane on the unit of measurement is number iii when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 so on.
Port | Switch port |
---|---|
Net (WAN) | Instance four |
LAN 1 | Example 3 |
LAN 2 | EXAMPLE 2 |
LAN 3 | Case 1 |
LAN four | Instance 0 |
→ hardware.button on howto use and configure the hardware push button(s). Here, we merely proper noun the buttons, so we can use them in the higher up Howto.
The Afoundry EW1200 has the following buttons:
Front:
Insert photo of front of the casing
Dorsum:
Insert photo of back of the casing
Backside label:
Insert photo of behind label
Note: This will void your warranty!
Draw what needs to be done to open the device, e.thou. remove rubber feet, adhesive labels, screws, …
Main PCB:
Insert photo of PCB
→ port.serial full general information about the serial port, serial port cable, etc.
How to connect to the Series Port of this specific device:
In the center of the PCB there are the unpopulated pins for TX, GND and RX.
Insert photo of PCB with markings for serial port
Series connection parameters for Afoundry EW1200 | 57600, 8N1 |
---|
→ port.jtag full general data about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port
Re-create HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE
Starting kernel ... [ 0.000000] Linux version 4.14.131 (buildbot@188e96c27177) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7808-ef686b7292)) #0 SMP Thu Jun 27 12:18:52 2019 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] MIPS: motorcar is EW1200 [ 0.000000] Adamant concrete RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not constitute or empty - disabling initrd [ 0.000000] VPE topology {two,2} full four [ 0.000000] Principal instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary information cache 32kB, four-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 256kB, viii-way, linesize 32 bytes. [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone starting time for each node [ 0.000000] Early retention node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] random: get_random_bytes chosen from 0x80557744 with crng_init=0 [ 0.000000] percpu: Embedded fourteen pages/cpu s26256 r8192 d22896 u57344 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (lodge: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (club: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=00014010 [ 0.000000] Readback ErrCtl annals=00014010 [ 0.000000] Memory: 123668K/131072K available (4647K kernel code, 236K rwdata, 572K rodata, 228K init, 254K bss, 7404K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=32, Order=0-iii, MinObjects=0, CPUs=4, Nodes=one [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS: 256 [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns [ 0.000010] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns [ 0.015501] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.087823] pid_max: default: 32768 minimum: 301 [ 0.097137] Mount-enshroud hash table entries: 1024 (order: 0, 4096 bytes) [ 0.110158] Mountpoint-cache hash table entries: 1024 (lodge: 0, 4096 bytes) [ 0.125901] Hierarchical SRCU implementation. [ 0.135363] smp: Bringing upwards secondary CPUs ... [ 0.145775] Primary instruction enshroud 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.145784] Primary data enshroud 32kB, four-fashion, PIPT, no aliases, linesize 32 bytes [ 0.145795] MIPS secondary cache 256kB, 8-mode, linesize 32 bytes. [ 0.145929] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.204746] Synchronize counters for CPU 1: done. [ 0.275837] Chief pedagogy enshroud 32kB, VIPT, iv-way, linesize 32 bytes. [ 0.275846] Primary information cache 32kB, four-way, PIPT, no aliases, linesize 32 bytes [ 0.275854] MIPS secondary cache 256kB, eight-manner, linesize 32 bytes. [ 0.275924] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.325603] Synchronize counters for CPU 2: done. [ 0.386626] Primary teaching cache 32kB, VIPT, iv-fashion, linesize 32 bytes. [ 0.386634] Principal data enshroud 32kB, iv-mode, PIPT, no aliases, linesize 32 bytes [ 0.386642] MIPS secondary enshroud 256kB, viii-way, linesize 32 bytes. [ 0.386737] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.445170] Synchronize counters for CPU 3: done. [ 0.504770] smp: Brought up 1 node, 4 CPUs [ 0.516158] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.535622] futex hash table entries: 1024 (order: three, 32768 bytes) [ 0.548059] pinctrl core: initialized pinctrl subsystem [ 0.558928] NET: Registered protocol family xvi [ 0.573631] pull PCIe RST: RALINK_RSTCTRL = 4000000 [ 0.883629] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.893694] ***** Xtal 40MHz ***** [ 0.900426] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.910630] Port 0 N_FTS = 1b105000 [ 0.917528] Port 1 N_FTS = 1b105000 [ 0.924457] Port 2 N_FTS = 1b102800 [ 2.083141] PCIE2 no carte, disable information technology(RST&CLK) [ ii.091828] -> 21007f2 [ 2.096649] PCIE0 enabled [ two.101852] PCIE1 enabled [ two.107029] PCI host bridge /pcie@1e140000 ranges: [ 2.116553] MEM 0x0000000060000000..0x000000006fffffff [ ii.126920] IO 0x000000001e160000..0x000000001e16ffff [ 2.137277] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000 [ 2.160391] mt7621_gpio 1e000600.gpio: registering 32 gpios [ ii.171665] mt7621_gpio 1e000600.gpio: registering 32 gpios [ ii.182901] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 2.195286] i2c-mt7621 1e000900.i2c: clock 100KHz, re-start not support [ 2.208881] PCI host bridge to bus 0000:00 [ ii.216891] pci_bus 0000:00: root coach resource [mem 0x60000000-0x6fffffff] [ 2.230552] pci_bus 0000:00: root bus resource [io 0xffffffff] [ 2.242292] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 2.255779] pci_bus 0000:00: No busn resource plant for root coach, will use [jitney 00-ff] [ 2.273636] pci 0000:00:00.0: BAR 0: no infinite for [mem size 0x80000000] [ 2.286669] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000] [ 2.300484] pci 0000:00:01.0: BAR 0: no infinite for [mem size 0x80000000] [ 2.313617] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000] [ 2.327446] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff] [ 2.340919] pci 0000:00:00.0: BAR nine: assigned [mem 0x60100000-0x601fffff pref] [ 2.355263] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff] [ 2.368744] pci 0000:00:00.0: BAR one: assigned [mem 0x60300000-0x6030ffff] [ 2.382222] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff] [ 2.395715] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit] [ 2.410227] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref] [ 2.424552] pci 0000:00:00.0: PCI bridge to [coach 01] [ two.434394] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff] [ 2.447885] pci 0000:00:00.0: bridge window [mem 0x60100000-0x601fffff pref] [ 2.462229] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff] [ two.475707] pci 0000:00:01.0: PCI bridge to [motorcoach 02] [ 2.485539] pci 0000:00:01.0: span window [mem 0x60200000-0x602fffff] [ 2.500398] clocksource: Switched to clocksource GIC [ 2.511778] NET: Registered protocol family unit 2 [ 2.521155] TCP established hash tabular array entries: 1024 (order: 0, 4096 bytes) [ ii.534895] TCP bind hash tabular array entries: 1024 (order: ane, 8192 bytes) [ two.547490] TCP: Hash tables configured (established 1024 demark 1024) [ 2.560228] UDP hash table entries: 256 (lodge: ane, 8192 bytes) [ 2.571725] UDP-Lite hash table entries: 256 (guild: i, 8192 bytes) [ 2.584364] Net: Registered protocol family unit 1 [ 2.830349] 4 CPUs re-calibrate udelay(lpj = 2924544) [ 2.841702] Crashlog allocated RAM at address 0x3f00000 [ ii.852243] workingset: timestamp_bits=30 max_order=xv bucket_order=0 [ 2.869752] random: fast init done [ 2.878385] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.889896] jffs2: version two.ii (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Cherry-red Hat, Inc. [ ii.912641] io scheduler noop registered [ 2.920290] io scheduler deadline registered (default) [ two.931721] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ two.947170] panel [ttyS0] disabled [ ii.954374] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A [ 2.972260] console [ttyS0] enabled [ two.972260] console [ttyS0] enabled [ two.986046] bootconsole [early0] disabled [ 2.986046] bootconsole [early0] disabled [ 3.002754] cacheinfo: Failed to find cpu0 device node [ three.013084] cacheinfo: Unable to detect enshroud hierarchy for CPU 0 [ three.026099] MediaTek Nand driver init, version v2.one Prepare AHB virt2phys error [ 3.040404] spi-mt7621 1e000b00.spi: sys_freq: 50000000 [ iii.051654] m25p80 spi0.0: mx25l12805d (16384 Kbytes) [ 3.061779] 4 fixed-partitions partitions found on MTD device spi0.0 [ three.074443] Creating 4 MTD partitions on "spi0.0": [ iii.083986] 0x000000000000-0x000000030000 : "u-boot" [ 3.094801] 0x000000030000-0x000000040000 : "u-boot-env" [ iii.106310] 0x000000040000-0x000000050000 : "factory" [ 3.117255] 0x000000050000-0x000001000000 : "firmware" [ 3.155673] 2 uimage-fw partitions institute on MTD device firmware [ 3.167488] 0x000000050000-0x000000210d2c : "kernel" [ 3.178301] 0x000000210d2c-0x000001000000 : "rootfs" [ 3.189024] mtd: device 5 (rootfs) set to exist root filesystem [ 3.200449] 1 squashfs-split partitions constitute on MTD device rootfs [ 3.212769] 0x0000004a0000-0x000001000000 : "rootfs_data" [ 3.225138] libphy: Stock-still MDIO Bus: probed [ 3.302380] libphy: mdio: probed [ 4.708344] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver [ iv.720905] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21 [ 4.740151] NET: Registered protocol family x [ iv.750647] Segment Routing with IPv6 [ 4.758015] Net: Registered protocol family 17 [ 4.766933] bridge: filtering via arp/ip/ip6tables is no longer bachelor by default. Update your scripts to load br_netfilter if yous demand this. [ 4.792721] 8021q: 802.1Q VLAN Support v1.viii [ 4.803550] hctosys: unable to open rtc device (rtc0) [ 4.820855] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 4.835393] Freeing unused kernel retention: 228K [ four.844265] This compages does not have kernel memory protection. [ five.220270] random: crng init done [ 5.539889] init: Console is live [ 5.546949] init: - watchdog - [ 6.369117] mtk_soc_eth 1e100000.ethernet eth0: port 4 link upwards [ 6.432952] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 6.570265] usbcore: registered new interface driver usbfs [ 6.581342] usbcore: registered new interface driver hub [ vi.592087] usbcore: registered new device driver usb [ half-dozen.609485] SCSI subsystem initialized [ 6.636954] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ vi.647657] xhci-mtk 1e1c0000.xhci: new USB omnibus registered, assigned bus number 1 [ 6.662825] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up [ six.680533] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010 [ 6.698811] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000 [ vi.711265] hub 1-0:ane.0: USB hub found [ 6.718803] hub 1-0:1.0: 2 ports detected [ 6.727355] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 6.737961] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned omnibus number 2 [ six.752882] xhci-mtk 1e1c0000.xhci: Host supports USB iii.0 SuperSpeed [ 6.765909] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 6.782859] hub 2-0:ane.0: USB hub found [ 6.790432] hub 2-0:1.0: 1 port detected [ half dozen.800816] kmodloader: washed loading kernel modules from /etc/modules-boot.d/* [ six.830733] init: - preinit - [ seven.524233] mtk_soc_eth 1e100000.ethernet: PPE started Printing the [f] cardinal and hit [enter] to enter failsafe way Press the [1], [2], [3] or [4] fundamental and hit [enter] to select the debug level [ 10.816135] jffs2: discover: (477) jffs2_build_xattr_subsystem: complete edifice xattr subsystem, 5 of xdatum (three unchecked, 2 orphan) and 19 of xref (2 dead, 0 orphan) found. [ ten.849191] mount_root: switching to jffs2 overlay [ ten.954642] overlayfs: upper fs does non support tmpfile. [ 10.970639] urandom-seed: Seeding with /etc/urandom.seed [ 11.066300] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818 [ 11.091221] procd: - early on - [ 11.097046] procd: - watchdog - [ 11.770558] procd: - watchdog - [ eleven.777117] procd: - ubus - [ xi.858394] procd: - init - Delight press Enter to actuate this panel. [ 12.184305] kmodloader: loading kernel modules from /etc/modules.d/* [ 12.201079] ip6_tables: (C) 2000-2006 Netfilter Core Squad [ 12.219362] Loading modules backported from Linux version wt-2017-xi-01-0-gfe248fc2c180 [ 12.235361] Backport generated by backports.git v4.fourteen-rc2-i-31-g86cf0e5d [ 12.250422] ip_tables: (C) 2000-2006 Netfilter Core Team [ 12.267468] nf_conntrack version 0.5.0 (2048 buckets, 8192 max) [ 12.314856] xt_time: kernel timezone is -0000 [ 12.367598] coach=0x2, slot = 0x1, irq=0xff [ 12.375810] mt7603e 0000:02:00.0: ASIC revision: 76030010 [ 13.411622] mt7603e 0000:02:00.0: Firmware Version: ap_pcie [ 13.422772] mt7603e 0000:02:00.0: Build Time: 20160107100755 [ thirteen.470392] mt7603e 0000:02:00.0: firmware init washed [ 13.654697] bus=0x1, slot = 0x0, irq=0xff [ thirteen.662938] mt76x2e 0000:01:00.0: ASIC revision: 76120044 [ xiv.383527] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a [ 14.399362] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00 [ fourteen.410342] mt76x2e 0000:01:00.0: Build: 1 [ 14.418502] mt76x2e 0000:01:00.0: Build Time: 201507311614____ [ xiv.450401] mt76x2e 0000:01:00.0: Firmware running! [ 14.470158] PPP generic driver version two.4.2 [ 14.481346] Net: Registered protocol family 24 [ fourteen.493121] kmodloader: done loading kernel modules from /etc/modules.d/* [ 20.279002] mtk_soc_eth 1e100000.ethernet: PPE started [ 20.295677] br-lan: port 1(eth0.one) entered blocking country [ 20.306518] br-lan: port one(eth0.1) entered disabled state [ 20.318143] device eth0.i entered promiscuous fashion [ 20.327728] device eth0 entered promiscuous manner [ 20.340298] br-lan: port ane(eth0.ane) entered blocking land [ 20.351124] br-lan: port 1(eth0.1) entered forwarding state [ 20.362642] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is non ready [ 21.310846] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes set BusyBox v1.28.4 () built-in shell (ash) _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| West I R East L E Southward S F R E E D O M ----------------------------------------------------- OpenWrt 18.06.4, r7808-ef686b7292 ----------------------------------------------------- root@OpenWrt:/#
Space for additional notes, links to forum threads or other resource.
Source: https://openwrt.org/toh/afoundry/ew1200
0 Response to "How to Upload Lede via Busybox Afoundry 1200"
Postar um comentário