{"push_id":2661650435,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"5684d087418d176cfdef4e045e1950ca7ba3b09f","before":"3b11b225b32883d730a641c5aebef6f018c91649","commits":[{"sha":"feb0a0bf22143326b3b3515ab0bb4682194dc75a","author":{"name":"Deng Qingfang","email":"3f3055319de0068caa43ea837a9960bc46f90fed@mail2.sysu.edu.cn"},"message":"ramips: fix Newifi D1 mtd partition\n\nNewifi D1 has 32 MiB flash, so the firmware partition size should be 0x1fb0000\n\nSigned-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>","distinct":true,"url":"https://api.github.com/repos/ldir-EDB0/openwrt/commits/feb0a0bf22143326b3b3515ab0bb4682194dc75a"},{"sha":"4fa85a625f33c4602511dc5b2ee406329bf289c2","author":{"name":"Tobias Schramm","email":"17e568dde6005513fdf855304aef60603bf9cf7f@gmail.com"},"message":"ramips: Add support for mt7621 to lzma-loader\n\nSigned-off-by: Tobias Schramm <tobleminer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/ldir-EDB0/openwrt/commits/4fa85a625f33c4602511dc5b2ee406329bf289c2"},{"sha":"c0167abcb0ef049db8eba7891e1c47123a2ed8e2","author":{"name":"Tobias Schramm","email":"17e568dde6005513fdf855304aef60603bf9cf7f@gmail.com"},"message":"ramips: Add lzma-loader targets\n\nSigned-off-by: Tobias Schramm <tobleminer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/ldir-EDB0/openwrt/commits/c0167abcb0ef049db8eba7891e1c47123a2ed8e2"},{"sha":"5684d087418d176cfdef4e045e1950ca7ba3b09f","author":{"name":"Tobias Schramm","email":"17e568dde6005513fdf855304aef60603bf9cf7f@gmail.com"},"message":"ramips: Add support for Mikrotik RouterBOARD RBM33g\n\nThis commit adds support for the Mikrotik RouterBOARD RBM33g.\n\n=Hardware=\n\nThe RBM33g is a mt7621 based device featuring three gigabit ports, 2\nminiPCIe slots with sim card sockets, 1 M.2 slot, 1 USB 3.0 port and a male\nonboard RS-232 serial port. Additionally there are a lot of accessible\nGPIO ports and additional buses like i2c, mdio, spi and uart.\n\n==Switch==\n\nThe three Ethernet ports are all connected to the internal switch of the\nmt7621 SoC:\n\nport 0: Ethernet Port next to barrel jack with PoE printed on it\nport 1: Innermost Ethernet Port on opposite side of RS-232 port\nport 2: Outermost Ethernet Port on opposite side of RS-232 port\nport 6: CPU\n\n==Flash==\n\nThe device has two spi flash chips. The first flash chips is rather small\n(512 kB), connected to CS0 by default and contains only the RouterBOOT\nbootloader and some factory information (e.g. mac address).\nThe second chip has a size of 16 MB, is by default connected to CS1 and\ncontains the firmware image.\n\n==PCIe==\n\nThe board features three PCIe-enabled slots. Two of them are miniPCIe\nslots (PCIe0, PCIe1) and one is a M.2 (Key M) slot (PCIe2).\nEach of the miniPCIe slots is connected to a dedicated mini SIM socket\non the back of the board.\n\nPower to all three PCIe-enabled slots is controlled via GPIOs on the\nmt7621 SoC:\n\nPCIe0: GPIO9\nPCIe1: GPIO10\nPCIe2: GPIO11\n\n==USB==\n\nThe board has one external USB 3.0 port at the rear. Additionally PCIe\nport 0 has a permanently enabled USB interface. PCIe slot 1 shares its\nUSB interface with the rear USB port. Thus only either the rear USB port\nor the USB interface of PCIe slot 1 can be active at the same time. The\njumper next to the rear USB port controls which one is active:\n\nopen: USB on PCIe 1 is active\nclosed: USB on rear USB port is active\n\n==Power==\n\nThe board can accept both, passive PoE and external power via a 2.1 mm\nbarrel jack. The input voltage range is 11-32 V.\n\n=Installation=\n\n==Prerequisites==\n\nA USB -> RS-232 Adapter and a null modem cable are required for\ninstallation.\n\nTo install an OpenWRT image to the device two components must be built:\n\n1. A openwrt initramfs image\n2. A openwrt sysupgrade image\n\n===initramfs & sysupgrade image===\n\nSelect target devices \"Mikrotik RBM33G\" in\nopenwrt menuconfig and build the images. This will create the images\n\"openwrt-ramips-mt7621-mikrotik_rbm33g-initramfs-kernel.bin\" and\n\"openwrt-ramips-mt7621-mikrotik_rbm33g-squashfs-sysupgrade.bin\" in the output\ndirectory.\n\n==Installing==\n\n**Make sure to back up your RouterOS license in case you do ever want to\ngo back to RouterOS using \"/system license output\" and back up the created\nlicense file.**\n\nSerial settings: 115200 8N1\n\nThe installation is a two-step process. First the\n\"openwrt-ramips-mt7621-mikrotik_rbm33g-initramfs-kernel.bin\" must be booted\nvia tftp:\n\n1. Set up a dhcp server that points the bootfile to tftp server serving\n   the \"openwrt-ramips-mt7621-mikrotik_rbm33g-initramfs-kernel.bin\"\n   initramfs image\n2. Connect to WAN port (left side, next to sys-LED and power indicator)\n3. Connect to serial port of board\n4. Power on board and enter RouterBOOT setup menu\n5. Set boot device to \"boot over ethernet\"\n6. Set boot protocol to \"dhcp protocol\" (can be omitted if DHCP server\n   allows dynamic bootp)\n6. Save config\n7. Wait for board to boot via Ethernet\n\nOn the serial port you should now be presented with the OpenWRT boot log.\nThe next steps will install OpenWRT persistently.\n\n1. Copy \"openwrt-ramips-mt7621-mikrotik_rbm33g-squashfs-sysupgrade.bin\" to the device\n   using scp.\n2. Write openwrt to flash using \"sysupgrade\n   openwrt-ramips-mt7621-mikrotik_rbm33g-squashfs-sysupgrade.bin\"\n\nOnce the flashing completes reboot the router and let it boot from flash.\nIt should boot straight to OpenWRT.\n\nSigned-off-by: Tobias Schramm <tobleminer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/ldir-EDB0/openwrt/commits/5684d087418d176cfdef4e045e1950ca7ba3b09f"}]}
{"actor":{"display_login":"ldir-EDB0"}}