From 498859a7eb69ce002b8cd84575ddfb8d71c4aae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Babi=C4=8D?= Date: Thu, 11 Mar 2021 14:41:38 +0100 Subject: [PATCH] insert custom image guide --- .gitignore | 1 + README.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1e34ecd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +openwrt-imagebuilder* diff --git a/README.md b/README.md index 3893840..3bdfe02 100644 --- a/README.md +++ b/README.md @@ -45,3 +45,20 @@ opkg update opkg install curl reboot ``` + +## Custom image with built in LED signal integration + +```bash +pacman -S --needed base-devel ncurses zlib gawk git gettext openssl libxslt wget unzip python +wget https://downloads.openwrt.org/snapshots/targets/ramips/mt7620/openwrt-imagebuilder-ramips-mt7620.Linux-x86_64.tar.xz +tar xJf openwrt-imagebuilder-ramips-mt7620.Linux-x86_64.tar.xz +cd openwrt-imagebuilder-ramips-mt7620.Linux-x86_64 +ln -s ../files . +make image PROFILE=tplink_archer-mr200 PACKAGES="curl" FILES=files/ +``` + +The sysupgrade +[file](./openwrt-imagebuilder-ramips-mt7620.Linux-x86_64/bin/targets/ramips/mt7620/openwrt-ramips-mt7620-tplink_archer-mr200-squashfs-sysupgrade.bin) +is available at +`openwrt-imagebuilder-ramips-mt7620.Linux-x86_64/bin/targets/ramips/mt7620/openwrt-ramips-mt7620-tplink_archer-mr200-squashfs-sysupgrade.bin` +and includes `curl` and the LED script.