Михаил Капелько 3a6a3a54db | 9 月之前 | |
---|---|---|
.. | ||
ogspkg/games/ogs-memory | 9 月之前 | |
README.md | 9 月之前 |
Instructions for TP-Link TL-MR3020 v1
Based on OpenWrt Hello World guide
You are supposed to be running Ubuntu 22.04 LTS with a home directory at /home/vboxuser
(Update paths below and ogspkg/games/ogs-memory/Makefile
if your home directory is different)
apt install libtinfo5 gawk
``
~/research-portable-memory
~/openwrt-sdk
:
tar -xf lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz
mv lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64 ~/openwrt-sdk
``
feeds.conf
pointing to ogspkg
:
echo 'src-link ogspkg /home/vboxuser/research-portable-memory/platform-OpenWrt/ogspkg' > ~/openwrt-sdk/feeds.conf
``
~/openwrt-sdk/scripts/feeds update ogspkg
~/openwrt-sdk/scripts/feeds install -a -p ogspkg
``
make menuconfig
from openwrt-sdk
Games -> ogs-memory
is selected as Module , Save
if necessarycd ~/openwrt-sdk
make package/ogs-memory/compile
``
~/openwrt-sdk/bin/packages/ogspkg/ogs-memory*ipk
to /tmp
on the device with OpenWrtopkg install /tmp/ogs-memory*ipk -d ram
``
ogs-memory
:
LD_LIBRARY_PATH=/tmp/usr/lib /tmp/usr/bin/ogs-memory