UniElec U7628-01
Router with 4 eth 100Mbps lan, one eth 100Mbps lan, and a mini pcie slot with sim card reader (standard size) for one usb mini pcie wifi card or one usb mini pcie UMTS/LTE data card, available as only pcb or with metal enclosure. This last version come with 2 wifi and 2 LTE sma-reverse connector and the antennas for wifi and lte in a nice cardboard package. The power supply is only with chinese plug, no EU plug. MMC card reader working only with the original firmware. The GPIO extension is mainly used to support an external microSD card or connect I2C peripherals
Getting started
- if you have the breed bootloader version only, you can log on to the Unielec OpenWrt version and go to the upgrade page, load the OpenWrt 18.06.1 firmware and the work is done!!
- please be aware that you loose the mmc reader function
- with an LTE card installed, the usb port near the power plug don't work anymore - USB lines in miniPCIe and regular A-type socket are connected together, without any proper analog switch or USB HUB.
Supported Versions
Hardware Highlights
Installation
Flash Layout
Find out flash layout, then add the flash layout table here (copy, paste, modify the example).
Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.
OEM easy installation
The instructions below are for Broadcom devices and only serve as an example.
Remove / modify them if they do not apply to this particular device!
This section deals with
- How you install OpenWrt from a device freshly opened
- The steps required such as reset to factory defaults if the device has already been configured
Note: Reset router to factory defaults if it has been previously configured.
- Browse to
http://192.168.1.1/Upgrade.asp
- Upload .bin file to router
- Wait for it to reboot
- Telnet to 192.168.1.1 and set a root password, or browse to
http://192.168.1.1
if LuCI is installed.
OEM installation using the TFTP method
Specific values needed for tftp
Enter values for “FILL-IN” below
Bootloader tftp server IPv4 address | FILL-IN |
---|---|
Bootloader MAC address (special) | FILL-IN |
Firmware tftp image | Latest OpenWrt release (NOTE: Name must contain “tftp”) |
TFTP transfer window | FILL-IN seconds |
TFTP window start | approximately FILL-IN seconds after power on |
TFTP client required IP address | FILL-IN |
Upgrading OpenWrt
These are generic instructions. Update with your router's specifics.
LuCI Web Upgrade Process
- Browse to
http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/
LuCI Upgrade URL - Upload image file for sysupgrade to LuCI
- Wait for reboot
Terminal Upgrade Process
If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:
sysupgrade
mtd
Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
sysupgrade
- Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
mtd
If sysupgrade
does not support this router, use mtd
.
- Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
Debricking
BREED version
U-BOOT version
if you have the u-boot version and upgrade with the openwrt 18.06.1 sysupgrade file, you brick your router then you need :
- a serial ttl 3.3v to usb adapter
- a pc with ethernet port acting as tftp server
at the u-boot menu and countdown hit the “2” key (write tftp to flash) and follow the instruction displayed to upload via ftfp the right original firmware
Failsafe mode
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
Please fill in real values for this device, then remove the EXAMPLEs
Network interfaces
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | EXAMPLE LAN & WiFi | EXAMPLE 192.168.1.1/24 |
vlan0 (eth0.0) | EXAMPLE LAN ports (1 to 4) | EXAMPLE None |
vlan1 (eth0.1) | EXAMPLE WAN port | EXAMPLE DHCP |
wl0 | EXAMPLE WiFi | EXAMPLE Disabled |
Switch Ports (for VLANs)
Numbers 1-4 are Ports 1-4 as labeled on the unit, number 0 is the Internet (WAN) on the unit, 6 is the internal connection to the router itself. vlan1 (lan) = eth0.1, vlan2 (wan) = eth0.2.
Port | Switch port |
---|---|
Internet (WAN) | 0 |
LAN 1 | 1 |
LAN 2 | 2 |
LAN 3 | 3 |
LAN 4 | 4 |
Buttons
→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.
The UniElec U7628-01 has the following buttons:
BUTTON | Event |
---|---|
Reset | reset |
Hardware
Info
Photos
Opening the case
Note: This will void your warranty!
Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...
- To remove the cover and open the device, do a/b/c
LED's
1. | LAN 4 | /sys/class/leds/u7628-01:green:lan4/ |
---|---|---|
2. | LAN 3 | /sys/class/leds/u7628-01:green:lan3/ |
3. | LAN 2 | /sys/class/leds/u7628-01:green:lan2/ |
4. | LAN 1 | /sys/class/leds/u7628-01:green:lan1/ |
5. | WAN | /sys/class/leds/u7628-01:green:wan/ |
6. | LTE/EVDO | |
7. | 2.4G WIFI | /sys/class/leds/u7628-01:green:power/ |
8. | POWER | +3.3V |
GPIO-PIN-6 | /sys/class/leds/u7628-01:green:wlan/ | |
/sys/class/leds/u7628-01:green:usb/ |
GPIO
1. | SDXC_D3 / I2C_SCLK (gpio4) |
---|---|
2. | SDXC_D2 / I2C_SD (gpio5) |
3. | SDXC_D1 / I2S_DI (gpio0) |
4. | SDXC_D0 / I2S_WS (gpio2) |
5. | SDXC_CMD / I2S_CLK (gpio3) |
6. | SDXC_CLK / GPIO11 (/sys/class/leds/u7628-01:green:wlan/) |
7. | SDXC_CD / UART_RXD1 (gpio46) |
8. | UART_TXD1 (gpio45) |
9. | 3V3 |
10. | GND |
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port
Serial connection parameters for UniElec U7628-01 (breed version after bootloader) | 115200, 8N1 |
---|---|
for UniElec U7628-01 (u-boot version during bootloader) | 57600, 8N1 |
for UniElec U7628-01 (u-boot version after bootloader) | depending on the boot kernel parameter 57600 or 115200, 8N1 |
JTAG
→ port.jtag general information 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
Bootloader mods
Hardware mods
None so far.
Bootlogs
OEM bootlog u-boot version
[04030C0A][04030C0C] DDR Calibration DQS reg = 00008786 U-Boot 1.1.3 (May 20 2018 - 05:24:52) Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb8000 flash manufacture id: c2, device id 20 18 find flash: MX25L12805D ============================================ Ralink UBoot Version: 4.3.0.0 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:May 20 2018 Time:05:24:52 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 575 MHZ #### estimate memory size =64 Mbytes RESET MT7628 PHY!!!!!! Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 0 3: System Boot system code via Flash. ## Booting image at bc050000 ... Image Name: OpenWrt Linux-3.10.14-p112871 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1266738 Bytes = 1.2 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 64 Starting kernel ... LINUX started... THIS IS ASIC [ 0.000000] Linux version 3.10.14 (root@ubuntu) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #11 Thu Aug 9 05:53:38 PDT 2018 [ 0.000000] [ 0.000000] The CPU feqenuce set to 575 MHz [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc) [ 0.000000] Software DMA cache coherency [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x07ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x07ffffff] [ 0.000000] Primary instruction cache 64kB, 4-way, VIPT, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0002ba2a [ 0.000000] Readback ErrCtl register=0002ba2a [ 0.000000] Memory: 125996k/131072k available (2818k kernel code, 5044k reserved, 672k data, 220k init, 0k highmem) [ 0.000000] NR_IRQS:128 [ 0.000000] console [ttyS1] enabled [ 0.096000] Calibrating delay loop... 382.46 BogoMIPS (lpj=764928) [ 0.128000] pid_max: default: 32768 minimum: 301 [ 0.132000] Mount-cache hash table entries: 512 [ 0.136000] NET: Registered protocol family 16 [ 0.140000] RALINK_GPIOMODE = 54050404 [ 0.144000] RALINK_GPIOMODE = 54040404 [ 0.244000] ***** Xtal 40MHz ***** [ 0.248000] start PCIe register access [ 0.748000] RALINK_RSTCTRL = 2400000 [ 0.752000] RALINK_CLKCFG1 = fdbfffc0 [ 0.756000] [ 0.756000] *************** MT7628 PCIe RC mode ************* [ 1.256000] PCIE0 no card, disable it(RST&CLK) [ 1.284000] bio: create slab <bio-0> at 0 [ 1.288000] usbcore: registered new interface driver usbfs [ 1.292000] usbcore: registered new interface driver hub [ 1.296000] usbcore: registered new device driver usb [ 1.300000] cfg80211: Calling CRDA to update world regulatory domain [ 1.304000] Switching to clocksource MIPS [ 1.308000] NET: Registered protocol family 2 [ 1.320000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 1.332000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 1.344000] TCP: Hash tables configured (established 1024 bind 1024) [ 1.360000] TCP: reno registered [ 1.364000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 1.376000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 1.388000] NET: Registered protocol family 1 [ 1.400000] MTK/Ralink EHCI/OHCI init. [ 1.408000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.420000] jffs2: version 2.2. (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 1.440000] msgmni has been set to 246 [ 1.448000] io scheduler noop registered (default) [ 1.468000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 1.480000] serial8250: ttyS0 at MMIO 0x10000d00 (irq = 21) is a 16550A [ 1.492000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A [ 1.508000] Ralink gpio driver initialized [ 1.516000] flash manufacture id: c2, device id 20 18 [ 1.528000] MX25L12805D(c2 2018c220) (16384 Kbytes) [ 1.536000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 [ 1.556000] Creating 5 MTD partitions on "raspi": [ 1.568000] 0x000000000000-0x000001000000 : "ALL" [ 1.576000] 0x000000000000-0x000000030000 : "Bootloader" [ 1.588000] 0x000000030000-0x000000040000 : "Config" [ 1.600000] 0x000000040000-0x000000050000 : "Factory" [ 1.612000] 0x000000050000-0x000001000000 : "firmware" [ 1.624000] 0x000000185472-0x000001000000 : "rootfs" [ 1.636000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 1.660000] mtd: partition "rootfs_data" created automatically, ofs=0x470000, len=0xb90000 [ 1.676000] 0x000000470000-0x000001000000 : "rootfs_data" [ 1.688000] GMAC1_MAC_ADRH -- : 0x00008c88 [ 1.700000] GMAC1_MAC_ADRL -- : 0x2b00000d [ 1.708000] Ralink APSoC Ethernet Driver Initilization. v3.1 256 rx/tx descriptors allocated, mtu = 1500! [ 1.724000] GMAC1_MAC_ADRH -- : 0x00008c88 [ 1.732000] GMAC1_MAC_ADRL -- : 0x2b00000d [ 1.744000] PROC INIT OK! [ 1.748000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.760000] ehci-pci: EHCI PCI platform driver [ 1.772000] ehci-platform: EHCI generic platform driver [ 1.800000] ******MT7628 mtk phy [ 1.808000] *****run project phy. [ 1.824000] FM_OUT value: u4FmOut = 0(0x00000000) [ 1.840000] FM_OUT value: u4FmOut = 137(0x00000089) [ 1.848000] FM detection done! loop = 1 [ 1.864000] SR calibration value u1SrCalVal = 6 [ 1.872000] *********Execute mt7628_phy_init!! [ 1.880000] ehci-platform ehci-platform: EHCI Host Controller [ 1.892000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 1.908000] ehci-platform ehci-platform: irq 18, io mem 0x101c0000 [ 1.932000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 1.944000] hub 1-0:1.0: USB hub found [ 1.952000] hub 1-0:1.0: 1 port detected [ 1.960000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.992000] *********Execute mt7628_phy_init!! [ 2.000000] ohci-platform ohci-platform: Generic Platform OHCI Controller [ 2.016000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2 [ 2.032000] ohci-platform ohci-platform: irq 18, io mem 0x101c1000 [ 2.104000] hub 2-0:1.0: USB hub found [ 2.112000] hub 2-0:1.0: 1 port detected [ 2.120000] TCP: cubic registered [ 2.128000] NET: Registered protocol family 10 [ 2.136000] NET: Registered protocol family 17 [ 2.144000] 8021q: 802.1Q VLAN Support v1.8 [ 2.184000] registered taskstats version 1 [ 2.200000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. [ 2.216000] Freeing unused kernel memory: 220K (80369000 - 803a0000) procd: Console is alive [ 4.544000] SCSI subsystem initialized [ 4.560000] uhci_hcd: USB Universal Host Controller Interface driver [ 4.584000] usbcore: registered new interface driver usb-storage procd: - preinit - [ 5.452000] Raeth v3.1 (Tasklet,SkbRecycle) [ 5.464000] [ 5.464000] phy_tx_ring = 0x07007000, tx_ring = 0xa7007000 [ 5.476000] [ 5.476000] phy_rx_ring0 = 0x07008000, rx_ring0 = 0xa7008000 [ 5.508000] GMAC1_MAC_ADRH -- : 0x00008c88 [ 5.516000] GMAC1_MAC_ADRL -- : 0x2b00000d [ 5.524000] RT305x_ESW: Link Status Changed 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 kmod: ran 1 iterations [ 9.072000] jffs2: notice: (256) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 0 orphan) found. block: extroot: no root or overlay mount defined jffs2 is ready jffs2 is ready [ 9.176000] jffs2: notice: (253) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 10 of xref (0 dead, 0 orphan) found. switching to overlay [ 9.220000] ra2880stop()...Done [ 9.224000] Free TX/RX Ring Memory! procd: - early - procd: - ubus - procd: - init - Please press Enter to activate this console. [ 12.212000] NTFS driver 2.1.30 [Flags: R/O MODULE]. [ 12.252000] nf_conntrack version 0.5.0 (1972 buckets, 7888 max) [ 12.280000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 13.120000] [ 13.120000] [ 13.120000] === pAd = c05fc000, size = 1476032 === [ 13.120000] [ 13.140000] <-- RTMPAllocTxRxRingMemory, Status=0, ErrorValue=0x [ 13.152000] <-- RTMPAllocAdapterBlock, Status=0 [ 13.160000] RtmpChipOpsHook(492): Not support for HIF_MT yet! [ 13.172000] mt7628_init()--> [ 13.180000] mt7628_init(FW(8a00), HW(8a01), CHIPID(7628)) [ 13.188000] e2.bin mt7628_init(1117)::(2), pChipCap->fw_len(63056) [ 13.200000] mt_bcn_buf_init(218): Not support for HIF_MT yet! [ 13.212000] <--mt7628_init() [ 13.228000] MTK MSDC device init. [ 13.256000] msdc0 -> ================ <- msdc_set_mclk() : L<686> PID<kmodloader><0x260> [ 13.272000] msdc0 -> !!! Set<400KHz> Source<48000KHz> -> sclk<400KHz> <- msdc_set_mclk() : L<687> PID<kmodloader><0x260> [ 13.292000] msdc0 -> ================ <- msdc_set_mclk() : L<688> PID<kmodloader><0x260> [ 13.328000] msdc0 -> ops_get_cd return<0> <- msdc_ops_get_cd() : L<2317> PID<kworker/u2:0><0x6> [ 13.348000] msdc0 -> set mclk to 0!!! <- msdc_set_mclk() : L<634> PID<kworker/u2:0><0x6> [ 13.364000] mtk-sd: MediaTek MT6575 MSDC Driver [ 14.040000] register rt2860 [ 14.052000] usbcore: registered new interface driver cdc_acm [ 14.064000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 14.084000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 14.096000] Type=Linux [ 14.116000] Ralink APSoC Hardware Watchdog Timer [ 14.128000] rdm_major = 253 [ 14.140000] usbcore: registered new interface driver usbserial [ 14.152000] usbcore: registered new interface driver usbserial_generic [ 14.168000] usbserial: USB Serial support registered for generic [ 14.196000] xt_time: kernel timezone is -0000 [ 14.212000] PPP generic driver version 2.4.2 [ 14.224000] NET: Registered protocol family 24 [ 14.244000] usbcore: registered new interface driver option [ 14.252000] usbserial: USB Serial support registered for GSM modem (1-port) [ 20.460000] Raeth v3.1 (Tasklet,SkbRecycle) [ 20.468000] [ 20.468000] phy_tx_ring = 0x06b21000, tx_ring = 0xa6b21000 [ 20.484000] [ 20.484000] phy_rx_ring0 = 0x06b22000, rx_ring0 = 0xa6b22000 [ 20.512000] GMAC1_MAC_ADRH -- : 0x00008c88 [ 20.520000] GMAC1_MAC_ADRL -- : 0x2b00000d [ 20.528000] RT305x_ESW: Link Status Changed [ 20.552000] device eth0.1 entered promiscuous mode [ 20.564000] device eth0 entered promiscuous mode [ 20.596000] br-lan: port 1(eth0.1) entered forwarding state [ 20.604000] br-lan: port 1(eth0.1) entered forwarding state procd: - init complete - [ 21.712000] TX_BCN DESC a6877000 size = 320 [ 21.724000] RX[0] DESC a6879000 size = 2048 [ 21.732000] RX[1] DESC a687a000 size = 1024 [ 21.752000] E2pAccessMode=2 [ 21.760000] cfg_mode=9 [ 21.764000] cfg_mode=9 [ 21.768000] wmode_band_equal(): Band Equal! [ 21.780000] APSDCapable[0]=1 [ 21.788000] APSDCapable[1]=1 [ 21.792000] APSDCapable[2]=1 [ 21.800000] APSDCapable[3]=1 [ 21.804000] APSDCapable[4]=1 [ 21.808000] APSDCapable[5]=1 [ 21.816000] APSDCapable[6]=1 [ 21.820000] APSDCapable[7]=1 [ 21.828000] APSDCapable[8]=1 [ 21.832000] APSDCapable[9]=1 [ 21.840000] APSDCapable[10]=1 [ 21.844000] APSDCapable[11]=1 [ 21.852000] APSDCapable[12]=1 [ 21.856000] APSDCapable[13]=1 [ 21.864000] APSDCapable[14]=1 [ 21.868000] APSDCapable[15]=1 [ 21.876000] default ApCliAPSDCapable[0]=1 [ 21.884000] default ApCliAPSDCapable[1]=1 [ 22.092000] Key1Str is Invalid key length(0) or Type(0) [ 22.100000] Key2Str is Invalid key length(0) or Type(0) [ 22.112000] Key3Str is Invalid key length(0) or Type(0) [ 22.124000] Key4Str is Invalid key length(0) or Type(0) [ 22.160000] RTMPSetDefaultChannel() : default channel to 1 [ 22.168000] load fw image from fw_header_image [ 22.180000] AndesMTLoadFwMethod1(2174)::pChipCap->fw_len(63056) [ 22.192000] FW Version:_e2_mp [ 22.196000] FW Build Date:20150211175503 [ 22.204000] CmdAddressLenReq:(ret = 0) [ 22.212000] CmdFwStartReq: override = 1, address = 1048576 [ 22.224000] CmdStartDLRsp: WiFI FW Download Success [ 22.420000] MtAsicDMASchedulerInit(): DMA Scheduler Mode=0(LMAC) [ 22.432000] efuse_probe: efuse = 10000002 [ 22.440000] RtmpChipOpsEepromHook::e2p_type=2, inf_Type=4 [ 22.452000] RtmpEepromGetDefault::e2p_dafault=2 [ 22.460000] RtmpChipOpsEepromHook: E2P type(2), E2pAccessMode = 2, E2P default = 2 [ 22.476000] NVM is FLASH mode [ 22.480000] 1. Phy Mode = 14 [ 22.608000] br-lan: port 1(eth0.1) entered forwarding state [ 22.648000] Country Region from e2p = ffff [ 22.660000] tssi_1_target_pwr_g_band = 34 [ 22.668000] 2. Phy Mode = 14 [ 22.672000] 3. Phy Mode = 14 [ 22.680000] NICInitPwrPinCfg(11): Not support for HIF_MT yet! [ 22.688000] NICInitializeAsic(651): Not support rtmp_mac_sys_reset () for HIF_MT yet! [ 22.704000] mt_mac_init()--> [ 22.712000] MtAsicInitMac()--> [ 22.716000] mt7628_init_mac_cr()--> [ 22.724000] MtAsicSetMacMaxLen(1241): Set the Max RxPktLen=1024! [ 22.736000] <--mt_mac_init() [ 22.744000] WTBL Segment 1 info: [ 22.748000] MemBaseAddr/FID:0x28000/0 [ 22.756000] EntrySize/Cnt:32/128 [ 22.764000] WTBL Segment 2 info: [ 22.772000] MemBaseAddr/FID:0x40000/0 [ 22.776000] EntrySize/Cnt:64/128 [ 22.784000] WTBL Segment 3 info: [ 22.792000] MemBaseAddr/FID:0x42000/64 [ 22.800000] EntrySize/Cnt:64/128 [ 22.804000] WTBL Segment 4 info: [ 22.812000] MemBaseAddr/FID:0x44000/128 [ 22.820000] EntrySize/Cnt:32/128 [ 22.828000] AntCfgInit(2876): Not support for HIF_MT yet! [ 22.840000] MCS Set = ff ff 00 00 01 [ 22.844000] MtAsicSetChBusyStat(826): Not support for HIF_MT yet! [ 23.164000] CmdSlotTimeSet:(ret = 0) [ 25.528000] [PMF]ap_pmf_init:: apidx=0, MFPC=0, MFPR=0, SHA256=0 [ 25.540000] [PMF]RTMPMakeRsnIeCap: RSNIE Capability MFPC=0, MFPR=0 [ 25.552000] MtAsicSetRalinkBurstMode(2919): Not support for HIF_MT yet! [ 25.564000] MtAsicSetPiggyBack(763): Not support for HIF_MT yet! [ 25.648000] MtAsicSetTxPreamble(2898): Not support for HIF_MT yet! [ 25.664000] MtAsicAddSharedKeyEntry(1308): Not support for HIF_MT yet! [ 25.676000] MtAsicSetPreTbtt(): bss_idx=0, PreTBTT timeout = 0xf0 [ 25.688000] Main bssid = 8c:88:2b:00:00:0c [ 25.696000] <==== rt28xx_init, Status=0 [ 25.716000] mt7628_set_ed_cca: TURN OFF EDCCA mac 0x10618 = 0xd7083f0f [ 25.732000] WiFi Startup Cost (ra0): 4.020s [ 26.912000] device ra0 entered promiscuous mode [ 26.924000] br-lan: port 2(ra0) entered forwarding state [ 26.932000] br-lan: port 2(ra0) entered forwarding state [ 28.936000] br-lan: port 2(ra0) entered forwarding state BusyBox v1.22.1 (2018-07-23 19:27:47 PDT) 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 (Barrier Breaker, unknown) ----------------------------------------------------- * 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 -----------------------------------------------------
OpenWrt bootlog u-boot snapshot 18/09/27
[04040C09][04040C0B] DDR Calibration DQS reg = 00008786 U-Boot 1.1.3 (May 20 2018 - 05:24:52) Board: Ralink APSoC DRAM: 64 MB relocate_code Pointer at: 83fb8000 flash manufacture id: c2, device id 20 18 find flash: MX25L12805D ============================================ Ralink UBoot Version: 4.3.0.0 -------------------------------------------- ASIC 7628_MP (Port5<->None) DRAM component: 512 Mbits DDR, width 16 DRAM bus: 16 bit Total memory: 64 MBytes Flash component: SPI Flash Date:May 20 2018 Time:05:24:52 ============================================ icache: sets:512, ways:4, linesz:32 ,total:65536 dcache: sets:256, ways:4, linesz:32 ,total:32768 ##### The CPU freq = 575 MHZ #### estimate memory size =64 Mbytes RESET MT7628 PHY!!!!!! Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 3 You choosed 1 0 1: System Load Linux to SDRAM via TFTP. Please Input new ones /or Ctrl-C to discard Input device IP (10.10.10.123) ==:10.10.10.123 Input server IP (10.10.10.1) ==:10.10.10.1 Input Linux Kernel filename (openwrt-ramips-mt76x8-u7628-01-128M-16M-initramfs-kernel.bin) ==:openwrt-ramips-mt76x8-u7628-01-128M-16M-squashfs-sysupgrade_snapshot_180927.bin netboot_common, argc= 3 NetTxPacket = 0x83FE5900 KSEG1ADDR(NetTxPacket) = 0xA3FE5900 NetLoop,call eth_halt ! NetLoop,call eth_init ! Trying Eth0 (10/100-M) Waitting for RX_DMA_BUSY status Start... done ETH_STATE_ACTIVE!! TFTP from server 10.10.10.1; our IP address is 10.10.10.123 Filename 'openwrt-ramips-mt76x8-u7628-01-128M-16M-squashfs-sysupgrade_snapshot_180927.bin'. TIMEOUT_COUNT=10,Load address: 0x80a00000 Loading: T checksum bad checksum bad T Got ARP REPLY, set server/gtwy eth addr (a0:1d:48:ab:4d:b3) Got it ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ###################################################### done Bytes transferred = 3932896 (3c02e0 hex) NetBootFileXferSize= 003c02e0 Erasing SPI Flash... . Writing to SPI Flash... . done Automatic boot of image at addr 0x80A00000 ... ## Booting image at 80a00000 ... Image Name: MIPS OpenWrt Linux-4.14.68 Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1631989 Bytes = 1.6 MB Load Address: 80000000 Entry Point: 80000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80000000) ... ## Giving linux memsize in MB, 64 Starting kernel ... [ 0.000000] Linux version 4.14.68 (buildbot@crazyhorse) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8061-24d82c2)) #0 Thu Sep 13 09:06:30 2018 [ 0.000000] Board has DDR2 [ 0.000000] Analog PMU set to hw control [ 0.000000] Digital PMU set to hw control [ 0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019655 (MIPS 24KEc) [ 0.000000] MIPS: machine is UniElec U7628-01 (128M RAM/16M flash) [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x47c with crng_init=0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0002ba2a [ 0.000000] Readback ErrCtl register=0002ba2a [ 0.000000] Memory: 124576K/131072K available (3801K kernel code, 178K rwdata, 884K rodata, 184K init, 215K bss, 6496K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 256 [ 0.000000] intc: using register map from devicetree [ 0.000000] CPU Clock: 580MHz [ 0.000000] timer_probe: no matching timers found [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns [ 0.000011] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns [ 0.015378] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216) [ 0.087588] pid_max: default: 32768 minimum: 301 [ 0.096939] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.109899] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.129560] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.148941] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.161036] pinctrl core: initialized pinctrl subsystem [ 0.172567] NET: Registered protocol family 16 [ 0.289609] mt7620-pci 10140000.pcie: Port 0 N_FTS = 1b105000 [ 0.450651] mt7620-pci 10140000.pcie: PCIE0 no card, disable it(RST&CLK) [ 0.463793] mt7620-pci: probe of 10140000.pcie failed with error -1 [ 0.492841] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.504062] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.515174] mt7621_gpio 10000600.gpio: registering 32 gpios [ 0.530939] clocksource: Switched to clocksource MIPS [ 0.542014] NET: Registered protocol family 2 [ 0.551544] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.565250] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.577762] TCP: Hash tables configured (established 1024 bind 1024) [ 0.590454] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.601919] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.614520] NET: Registered protocol family 1 [ 0.626365] Crashlog allocated RAM at address 0x3f00000 [ 0.638202] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.656575] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.668015] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.697740] io scheduler noop registered [ 0.705415] io scheduler deadline registered (default) [ 0.716394] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.731791] console [ttyS0] disabled [ 0.738758] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A [ 0.756688] console [ttyS0] enabled [ 0.763694] bootconsole [early0] disabled [ 0.763694] bootconsole [early0] disabled [ 0.772409] cacheinfo: Failed to find cpu0 device node [ 0.777619] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.784584] spi-mt7621 10000b00.spi: sys_freq: 193333333 [ 0.797077] m25p80 spi0.0: mx25l12805d (16384 Kbytes) [ 0.802313] 4 fixed-partitions partitions found on MTD device spi0.0 [ 0.808752] Creating 4 MTD partitions on "spi0.0": [ 0.813632] 0x000000000000-0x000000030000 : "bootloader" [ 0.819923] 0x000000030000-0x000000040000 : "config" [ 0.825886] 0x000000040000-0x000000050000 : "factory" [ 0.831953] 0x000000050000-0x000001000000 : "firmware" [ 0.902004] 2 uimage-fw partitions found on MTD device firmware [ 0.908033] 0x000000050000-0x000000185472 : "kernel" [ 0.913994] 0x000000185472-0x000001000000 : "rootfs" [ 0.919812] mtd: device 5 (rootfs) set to be root filesystem [ 0.927167] 1 squashfs-split partitions found on MTD device rootfs [ 0.933509] 0x000000470000-0x000001000000 : "rootfs_data" [ 0.940599] libphy: Fixed MDIO Bus: probed [ 0.955650] rt3050-esw 10110000.esw: link changed 0x00 [ 0.962521] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5 [ 0.972764] NET: Registered protocol family 10 [ 0.981601] Segment Routing with IPv6 [ 0.985441] NET: Registered protocol family 17 [ 0.989990] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.003179] 8021q: 802.1Q VLAN Support v1.8 [ 1.011933] VFS: Cannot open root device "(null)" or unknown-block(31,5): error -5 [ 1.019619] Please append a correct "root=" boot option; here are the available partitions: [ 1.028144] 1f00 192 mtdblock0 [ 1.028150] (driver?) [ 1.034789] 1f01 64 mtdblock1 [ 1.034794] (driver?) [ 1.041432] 1f02 64 mtdblock2 [ 1.041437] (driver?) [ 1.048064] 1f03 16064 mtdblock3 [ 1.048068] (driver?) [ 1.054703] 1f04 1237 mtdblock4 [ 1.054708] (driver?) [ 1.061345] 1f05 14826 mtdblock5 [ 1.061350] (driver?) [ 1.067977] 1f06 11840 mtdblock6 [ 1.067981] (driver?) [ 1.074618] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5) [ 1.084126] Rebooting in 1 seconds..
Notes
Space for additional notes, links to forum threads or other resources.
- ...
Tags
Add tags below, then remove this fixme.