ramips: add support for Xiaomi Mi Router 4AC (100M Edition)

Adrian Schmutzler mail at adrianschmutzler.de
Tue Dec 8 10:19:17 EST 2020


> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Sorin Pop
> Sent: Sonntag, 6. Dezember 2020 02:06
> To: Adrian Schmutzler <mail at adrianschmutzler.de>
> Cc: openwrt-devel at lists.openwrt.org
> Subject: Re: ramips: add support for Xiaomi Mi Router 4AC (100M Edition)
> 
> The difference is the size of the overlay and partition table and the uboot
> that is used on the devices.
> 
> xiaomi_mir4a-100m uses bc160000 as entry point and xiaomi_mir4ac-100m
> uses bc260000 as entry point
> 
> from what I have seen mir4a is a CN version of MIR4AC which is EU.

And could you please check whether this runs with spi-max-frequency = 40 MHz like mi-router-4c does?

Best

Adrian

> 
> On Sun, Dec 6, 2020 at 2:38 AM Adrian Schmutzler
> <mail at adrianschmutzler.de> wrote:
> >
> > > -----Original Message-----
> > > From: openwrt-devel [mailto:openwrt-devel-
> bounces at lists.openwrt.org]
> > > On Behalf Of Sorin Pop
> > > Sent: Sonntag, 6. Dezember 2020 00:54
> > > To: openwrt-devel at lists.openwrt.org
> > > Subject: ramips: add support for Xiaomi Mi Router 4AC (100M Edition)
> > >
> > > - SoC:      MediaTek MT7628AN
> > > - Flash:    16MB (Winbond W25Q128JV)
> > > - RAM:      64MB
> > > - Serial:   As marked on PCB, 3V3 logic, baudrate is 115200
> > > - Ethernet: 3x 10/100 Mbps (switched, 2x LAN + WAN)
> > > - WIFI0:    MT7628AN 2.4GHz 802.11b/g/n
> > > - WIFI1:    MT7612EN 5GHz 802.11ac
> > > - Antennas: 4x external (2 per radio), non-detachable
> > > - LEDs:     Programmable power-LED (two-colored, yellow/blue)
> > >             Non-programmable internet-LED (shows WAN-activity)
> > > - Buttons:  Reset
> >
> > So, the only difference in implementation is the size of overlay/firmware
> partitions?
> >
> > Best
> >
> > Adrian
> >
> > >
> > > INSTALLATION:
> > >
> > > 1. Connect to the serial port of the router and power it up.
> > >    If you get a prompt asking for boot-mode, go to step 3.
> > > 2. Unplug the router after
> > >        > Erasing SPI Flash...
> > >        > raspi_erase: offs:20000 len:10000
> > >    occurs on the serial port. Plug the router back in.
> > > 3. At the prompt select option 2 (Load system code then
> > >    write to Flash via TFTP.)
> > > 4. Enter 192.168.1.1 as the device IP and 192.168.1.2 as the
> > >    Server-IP.
> > > 5. Connect your computer to LAN1 and assign it as 192.168.1.2/24.
> > > 6. Serve the sysupgrade image via TFTP
> > >
> > > This router seems to have the same hardware as Xiaomi Mi Router 4A
> > > (100M
> > > Edition) but it uses a different U-Boot.
> > >
> > > Signed-off-by: Sorin Pop <alexsorinpop at gmail.com>
> 
> 
> 
> --
> Sorin Alexandru Pop
> Tel: +40-723-346437
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20201208/f1ef8b4a/attachment.sig>


More information about the openwrt-devel mailing list