openwrt-mirror/target/linux
Chris Blake fe9e5fbd75 x86: add support for Meraki MX100
This commit will add support for the Meraki MX100 in OpenWRT.

Specs:
* CPU: Intel Xeon E3-1200 Series 1.5GHz 2C/4T
* Memory: 4GB DDR3 1600 ECC
* Storage: 1GB USB NAND, 1TB SATA HDD
* Wireless: None
* Wired: 10x 1Gb RJ45, 2x 1Gb SFP

UART:
The UART header is named CONN11 and is found in the
center of the mainboard. The pinout from Pin 1 (marked
with a black triangle) to pin 4 is below:
Pin 1: VCC
Pin 2: TX
Pin 3: RX
Pin 4: GND
Note that VCC is not required for UART on this device.

Booting:
1. Flash/burn one of the images from this repo to a
flash drive.
2. Take the top off the MX100, and unplug the SATA
cable from the HDD.
3. Hook up UART to the MX100, plug in the USB drive,
and then power up the device.
4. At the BIOS prompt, quickly press F7 and then
scroll to the Save & Exit tab.
5. Scroll down to Boot Override, and select the
UEFI entry for your jumpdrive.

Note: UEFI booting will fail if the SATA cable for
the HDD is plugged in.
The issue is explained under the Flashing instructions.

Flashing:
1. Ensure the MX100 is powered down, and not plugged
into power.
2. Take the top off the MX100, and unplug the SATA
cable from the HDD.
3. Using the Mini USB female port found by the SATA
port on the motherboard,
flash one of the images to the system. Example:
`dd if=image of=/dev/sdb conv=fdatasync` where sdb
is the USB device for the MX100's NAND.
4. Unplug the Mini USB, hook up UART to the MX100,
and then power up the device.
5. At the BIOS prompt, quickly press F7 and then
scroll to the Boot tab.
6. Change the boot order and set UEFI: USB DISK 2.0
as first, and USB DISK 2.0 as second.
Disable the other boot options.
7. Go to Save & Exit, and then select Save Changes and
Reset

Note that OpenWRT will fail to boot in UEFI mode when
the SATA hard drive is plugged in. To fix this, boot
with the SATA disk unplugged and then run the following
command:
`sed -i "s|hd0,gpt1|hd1,gpt1|g" boot/grub/grub.cfg`
Once the above is ran, OpenWRT will boot when the HDD
is plugged into SATA. The reason this happens is the
UEFI implementation for the MX100 will always set
anything on SATA to HD0 instead of the onboard USB
storage, so we have to accomidate it since OpenWRT's
GRUB does not support detecting a boot disk via UUID.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
2021-10-10 16:47:41 +02:00
..
apm821xx apm821xx: disable and move kernel CONFIG_ symbols 2021-10-10 16:47:41 +02:00
arc770 kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
archs38 kernel: Add missing kernel config options 2021-09-13 13:04:21 +02:00
armvirt armvirt: remove obsolete Kernel 5.4 2021-10-02 18:13:46 +02:00
at91 kernel: move some drm symbols to generic config 2021-06-13 23:30:10 +02:00
ath25 kernel: bump 5.4 to 5.4.132 2021-07-17 13:21:03 +02:00
ath79 kernel: bump 5.10 to 5.10.71 2021-10-10 00:09:22 +01:00
bcm27xx kernel: bump 5.10 to 5.10.71 2021-10-10 00:09:22 +01:00
bcm47xx bcm47xx: use device vendor/model variable 2021-09-23 21:45:30 -10:00
bcm53xx kernel: backport bgmac upstream commits from 5.15 / for 5.16 2021-10-07 11:30:18 +02:00
bcm63xx bcm63xx: remove memcpy from mac assignment 2021-09-21 15:46:19 -10:00
bcm4908 kernel: Deactivate some ARM64 errata workarounds 2021-10-03 01:13:18 +02:00
bmips linux: update b53 upstream driver 2021-09-17 10:15:26 +02:00
gemini gemini: splash banner on framebuffer console 2021-10-10 16:44:15 +02:00
generic kernel: bump 5.4 to 5.4.152 2021-10-10 00:12:55 +01:00
imx6 kernel: 5.10: add missing symbols 2021-10-05 23:54:18 +02:00
ipq40xx ipq40xx: add testing support for kernel 5.10 2021-09-25 19:28:54 +02:00
ipq806x ipq806x: remove obsolete Kernel 5.4 2021-10-02 18:15:23 +02:00
ipq807x kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-09 20:24:12 +02:00
kirkwood kirkwood: switch to kernel 5.10 2021-10-09 18:44:55 +02:00
lantiq lantiq: kernel: xway-nand: Move ECC engine setting to new DT binding 2021-10-02 16:45:33 +02:00
layerscape kernel: Deactivate some ARM64 errata workarounds 2021-10-03 01:13:18 +02:00
malta malta: remove obsolete Kernel 5.4 2021-10-02 18:13:46 +02:00
mediatek mediatek: enable configfs for DT overlay on mt7622 and mt7623 2021-10-09 16:48:34 +01:00
mpc85xx mpc85xx: switch to Kernel 5.10 2021-10-05 23:54:48 +02:00
mvebu mvebu: mochabin: correct LED labels in DTS 2021-10-09 19:27:11 +02:00
mxs treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
octeon kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
octeontx kernel: Deactivate some ARM64 errata workarounds 2021-10-03 01:13:18 +02:00
omap kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
oxnas kernel: bump 5.10 to 5.10.72 2021-10-10 00:09:22 +01:00
pistachio kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
ramips ramips: fix USW-Flex reversed switch-port order 2021-10-04 23:24:32 +02:00
realtek kernel: bump 5.10 to 5.10.72 2021-10-10 00:09:22 +01:00
rockchip rockchip: rename "Rock Pi 4" to "Rock Pi 4A" 2021-10-10 00:57:56 +02:00
sunxi kernel: Deactivate some ARM64 errata workarounds 2021-10-03 01:13:18 +02:00
tegra kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-09 20:24:12 +02:00
uml treewide: switch the timer frequency to 100 Hz 2021-04-21 10:31:10 +01:00
x86 x86: add support for Meraki MX100 2021-10-10 16:47:41 +02:00
zynq kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00