Commit Graph

66 Commits

Author SHA1 Message Date
CN_SZTL
ceb6b1fa4c
Merge Mainline 2020-05-02 20:12:16 +08:00
Richard Huynh
ecc72b7a5f ramips: Add support for Xiaomi Redmi Router AC2100 (RM2100)
Specification:
- CPU: MediaTek MT7621A
- RAM: 128 MB DDR3
- FLASH: 128 MB ESMT NAND
- WIFI: 2x2 802.11bgn (MT7603)
- WIFI: 4x4 802.11ac (MT7615)
- ETH: 3xLAN+1xWAN 1000base-T
- LED: Power, WAN, in Amber and White

Signed-off-by: Richard Huynh <voxlympha@gmail.com>
2020-05-02 19:25:28 +08:00
CN_SZTL
e56373ae93
Merge Lean's source 2020-05-02 16:48:51 +08:00
AmadeusGhost
3c510baf47
ramips: fix support for Redmi AC2100 (#4500)
This commit fix switch and image config for Redmi AC2100.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2020-05-01 22:37:45 +08:00
coolsnowwolf
01aeb5df0e ramips: Add support for Xiaomi Redmi Router AC2100 (RM2100) 2020-05-01 12:23:28 +08:00
CN_SZTL
920cf867f4
Merge Mainline 2020-05-01 10:38:39 +08:00
Lucian Cristian
3e32ce5e59 uboot-envtools: update to 2020.04
also revert to directly download the archive from https

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-04-27 09:00:56 +08:00
Adrian Schmutzler
a51b43b9fa mvebu: tidy up support for GL.iNet GL-MV1000
This fixes a bunch of cosmetic issues with GL.iNet GL-MV1000:

- apply alphabetic sorting in multiple files
- use armada-3720 prefix for DTS like for other devices
- fix vendor capitalization for model in DTSes
- remove trivial comment in DTS files
- use DEVICE_VENDOR/DEVICE_MODEL
- remove redundant SUPPORTED_DEVICES
- use SOC instead of DEVICE_DTS
- remove empty line at EOF

Fixes: 050c24f05c ("mvebu: add support for GL.iNet GL-MV1000")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-04-27 08:47:41 +08:00
Li Zhang
d63319113c mvebu: add support for GL.iNet GL-MV1000
This patch adds supports for GL-MV1000.

Specification:
	- SOC: Marvell Armada 88F3720 (1GHz)
	- Flash: 16MB (W25Q128FWSIG)
	- RAM: 1GB DDR4
	- Ethernet: 3x GE (1 WAN + 2 LAN)
	- EMMC: 8GB EMMC (KLM8G1GETF-B041)
	- MicroSD: 1x microSD slot
	- USB: 1x USB 2.0 port(TypeA),1x USB 3.0 port(TypeC)
	- Button: 1x reset button,1x slide switch
	- LED: 3x greed LED
	- UART: 1x UART on PCB (JP1: 3.3V, RX, TX, GND)

	Update firmware instructions
	============================
	In the compiled,please gzip -d xxx.img.gz,then update firmware on uboot web.

Signed-off-by: Li Zhang <li.zhang@gl-inet.com>
[Copied dts file to files-5.4]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-04-27 08:45:28 +08:00
Pawel Dembicki
96ee6cae9c
uboot-kirkwood: update to 2020.04
Update U-Boot to current 2020.04 release for kirkwood platform.

Catch up with upstream and move some configuration options from
the header files to the corresponding defconfig files.

Compile tested: all devices
Run tested: nsa310, pogoplugv4

Tested-by: Cezary Jackiewicz <cezary@eko.one.pl> [nsa310]
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
2020-04-21 09:22:31 +08:00
Chen Minqiang
7b93b863e8
x86: make crashdump works
1. KERNEL_CRASH_DUMP should depends on KERNEL_PROC_KCORE (kexec use it)
2. select crashkernel mem size by totalmem
   mem <= 256M disable crashkernel by default
   mem >= 4G use 256M for crashkernel
   mem >= 8G use 512M for crashkernel
   default use 128M
3. set BOOT_IMAGE in kdump.init
4. resolve a "Unhandled rela relocation: R_X86_64_PLT32" error

Tested on x86_64

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-04-14 03:51:40 +08:00
AmadeusGhost
a1807936af
ramips: add xiaomi_miwifi-r3 support (#3839)
* ramips: add xiaomi_miwifi-r3 support

Specification:
 - CPU: 580 MHz
 - Flash size: 128 MiB NAND
 - RAM size: 128 MiB DDR2
 - Wireless No1: SoC-integrated: MT7620A 2x2 MIMO 802.11b/g/n (2.4 GHz)
 - Wireless No2: On-board chip: MT7612E 2x2 MIMO 802.11a/n/ac (5 GHz)
 - Switch: MT7620 built-in 10/100 switch w/ vlan support
 - USB: 2.0 x1

Flash instructions:
 1. access ssh via https://wiki.openwrt.org/toh/xiaomi/mir3
 2. in ssh:
      nvram set flag_last_success=1
      nvram set boot_wait=on
      nvram set uart_en=1
      nvram commit
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-kernel1.bin kernel1
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-rootfs0.bin rootfs0
      reboot

If you want to revert back to stock fw while on LEDE:
  insert usb stick (FAT/FAT32) with stock fw renamed to miwifi.bin
  fw_setenv flag_last_success 0
  power off the device
  hold the reset button and power on the device, keep holding the reset button until yellow led starts blinking.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

* ramips: add mt7620-nand driver for NAND flash

This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-17 01:39:45 +08:00
Chen Minqiang
ef26af2420 ramips: add xiaomi_miwifi-r3 support
Specification:
 - CPU: 580 MHz
 - Flash size: 128 MiB NAND
 - RAM size: 128 MiB DDR2
 - Wireless No1: SoC-integrated: MT7620A 2x2 MIMO 802.11b/g/n (2.4 GHz)
 - Wireless No2: On-board chip: MT7612E 2x2 MIMO 802.11a/n/ac (5 GHz)
 - Switch: MT7620 built-in 10/100 switch w/ vlan support
 - USB: 2.0 x1

Flash instructions:
 1. access ssh via https://wiki.openwrt.org/toh/xiaomi/mir3
 2. in ssh:
      nvram set flag_last_success=1
      nvram set boot_wait=on
      nvram set uart_en=1
      nvram commit
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-kernel1.bin kernel1
      mtd write lede-ramips-mt7620-miwifi-r3-squashfs-rootfs0.bin rootfs0
      reboot

If you want to revert back to stock fw while on LEDE:
  insert usb stick (FAT/FAT32) with stock fw renamed to miwifi.bin
  fw_setenv flag_last_success 0
  power off the device
  hold the reset button and power on the device, keep holding the reset button until yellow led starts blinking.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-16 15:39:19 +08:00
CN_SZTL
c0bd74d534
packages/boot: bump arm-trusted-firmware-mvebu version 2020-02-23 15:28:14 +08:00
CN_SZTL
4070332704
target/sunxi: fix 2020-02-08 21:14:22 +08:00
CN_SZTL
b71ae2d610
grub2: fix compile error (#2972)
This fix commit 6901278
2020-02-07 03:22:55 +08:00
CN_SZTL
33dbd6e574
grub2: fix bugs 2020-02-06 23:51:35 +08:00
AmadeusGhost
6901278ef0
kernel: bump to 4.14.169, 4.19.101 (#2963)
* kernel: bump to 4.14.169, 4.19.101

* uboot: update to latest

* mediatek: bump to v4.19

* ath79: switch to wpad

* Revert 'grub2: update to latest'
2020-02-06 21:45:40 +08:00
CN_SZTL
6029b1ac46
Merge AmadeusGhost's source 2020-02-06 19:51:47 +08:00
AmadeusGhost
c8feba09e4 Revert 'grub2: update to latest' 2020-02-06 18:16:03 +08:00
AmadeusGhost
0fa8e4728d uboot: update to latest 2020-02-06 12:18:58 +08:00
AmadeusGhost
06dc25a010
kernel: bump to 4.14.167, 4.19.98 (#2871)
* kernel: bump to 4.14.167, 4.19.98

* ipq40xx: fix error patch

* bcm2708: sh: use /bin/sh

* kernel: sfp: add Nokia SFP fix from net-next
2020-01-30 01:43:29 +08:00
CN_SZTL
9ac9db22e8
Merge AmadeusGhost's source 2020-01-28 15:08:08 +08:00
AmadeusGhost
14d42a488d kernel: bump to 4.14.167, 4.19.98 2020-01-26 17:18:34 +08:00
CN_SZTL
afdc6c027b
uboot-sunxi: re-add support for nanopi r1s(h5) 2020-01-24 23:48:43 +08:00
CN_SZTL
c182402479
target: re-add support for nanopi r1s(h5) 2020-01-24 23:37:45 +08:00
CN_SZTL
578cfb43e4
target: support Nanopi devices (import from @speedyworldclub) 2020-01-24 23:07:03 +08:00
CN_SZTL
1eab19fe41
target: add support for nanopi r1s(h5) with no wifi 2020-01-24 11:59:52 +08:00
CN_SZTL
83e1c33c6b
Merge Lean's source 2020-01-13 13:02:30 +08:00
AmadeusGhost
5e942cf804 update some packages to latest version (#2760) 2020-01-13 09:47:13 +08:00
CN_SZTL
54557b1240
Merge Lean's source 2019-12-11 12:39:15 +08:00
LEAN-ESX
19d7f610f9 uboot-envtools: update patch 2019-12-10 19:48:48 -08:00
CN_SZTL
225e2f3fd2
uboot-mxs: bump to v2019.10 2019-11-16 08:42:51 +08:00
CN_SZTL
bb435719c7
uboot-fritz4040: update to latest HEAD 2019-10-26 08:30:40 +08:00
CN_SZTL
c0397c3a24
Merge Lean's source 2019-10-19 07:41:33 +08:00
LEAN-ESX
1328caec23 mvebu: merge upstream patch 2019-10-18 12:03:43 -07:00
CN_SZTL
9f00ef69ae
fix permission 2019-09-30 14:27:46 +08:00
CN_SZTL
2e2284d6fe
fix permission 2019-09-30 13:52:50 +08:00
CN_SZTL
ba512e29ce
fix permission 2019-09-30 13:42:16 +08:00
CN_SZTL
76a3cd7f74
fix & merge 2019-09-30 13:21:19 +08:00
CN_SZTL
68fb69a588
uboot-zynq: update to 2019.07 2019-09-07 19:44:38 +08:00
CN_SZTL
85c72bc55e
Merge branch 'master' into dev 2019-09-07 19:43:03 +08:00
CN_SZTL
b1d64ee948
grub2: bump to 2.04 2019-09-07 19:42:32 +08:00
CN_SZTL
46ab56bcec
uboot-envtools: bump to 2019.07 2019-09-07 19:21:10 +08:00
CN_SZTL
c9e45c2106
uboot-fritz4040: update PKG_MIRROR_HASH 2019-08-16 13:35:05 +08:00
CN_SZTL
ce8ed9121b
add luci-app-haproxy & luci-app-udpspeederv2 2019-05-25 21:05:51 +08:00
coolsnowwolf
a04283b4f7 ramips: add Xiaomi Mi Router 3 support 2019-04-02 21:50:44 +08:00
coolsnowwolf
6c1c7e4a1e uboot-envtools: add support for Linksys EA6350v3 dual boot 2019-03-20 14:38:13 +08:00
phorcys
a4cc14dc85 Add Xiaomi Router 4 support
Hardware is the same as mir3g
except:
ram 256M ->  128M
switch  lan 2 3  wan 1 ->  lan 1 2 wan 4
2019-02-20 17:42:37 +08:00
coolsnowwolf
07ca47b256 uboot-envtools: add support for Linksys EA6350v3 2019-01-24 14:19:50 +08:00