mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
336a531c15
The SolidRun ClearFog Pro is a router based on the SolidRun CN9130 SOM. Specs: - SoC: Quad-Core Cortex-A72 CN9130 SoC - RAM: 4GiB DDR4 - Serial: Micro-USB port on front (FT232R, 115200 8n1) - Storage: 8GiB eMMC, microSD card slot, 8MiB SPI NOR flash - Ethernet: 7x GbE (1 port dedicated on SoC, 6 port switch with single GbE CPU port) - SFP: 1x SFP+ - USB: 1x USB-A 3.1 Gen 1 - PCIe: 2x mini PCIe (one slot with USB and SIM card socket) - SATA: 1x M.2 Key-B In addition to the usual connectivity options this device also features an internal mikroBUS expansion connector. SATA is currently untested due to lack of a suitable M.2 SSD. Installation ============ 1. Write sdcard sysupgrade image to microSD card using dd or similar 2. Insert microSD card into router and apply power 3. Device boots into OpenWRT 4. (optional) dd sysupgrade image to /dev/mmcblk0 to install to eMMC Signed-off-by: Tobias Schramm <tobias@t-sys.eu>
17 lines
664 B
Plaintext
17 lines
664 B
Plaintext
# Standard Boot-Script
|
|
# use only well-known variable names provided by U-Boot Distro boot
|
|
# This script assumes the boot partition to be partition 1
|
|
# and that the root partition is always partition 2.
|
|
# The vendor u-boot ships without setexpr compiled in.
|
|
|
|
# figure out partition uuid to pass to the kernel as root=
|
|
part uuid ${devtype} ${devnum}:2 uuid
|
|
|
|
# generate bootargs (rootfs)
|
|
setenv bootargs root=PARTUUID=${uuid} rootfstype=auto rootwait
|
|
|
|
echo "Booting Linux with ${bootargs}"
|
|
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} @DTB@.dtb
|
|
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} Image
|
|
booti ${kernel_addr_r} - ${fdt_addr_r}
|