Research portable Memory game | Исследовать портируемую игру Память
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
10 个月前
12345678910111213141516171819202122232425262728293031323334353637383940
  1. Instructions for [TP-Link TL-MR3020 v1](https://openwrt.org/toh/tp-link/tl-mr3020)
  2. Based on [OpenWrt Hello World guide](https://openwrt.org/docs/guide-developer/helloworld/start)
  3. 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)
  4. 1. Install necessary dependencies:
  5. apt install libtinfo5 gawk
  6. 1. Place this Memory game repository clone to `~/research-portable-memory`
  7. 1. Download the last supported [SDK 17.01.7](https://downloads.openwrt.org/releases/17.01.7/targets/ar71xx/generic/lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz)
  8. 1. Unpack it to `~/openwrt-sdk`:
  9. ```
  10. tar -xf lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64.tar.xz
  11. mv lede-sdk-17.01.7-ar71xx-generic_gcc-5.4.0_musl-1.1.16.Linux-x86_64 ~/openwrt-sdk
  12. `
  13. 1. Create `feeds.conf` pointing to `ogspkg`:
  14. ```
  15. echo 'src-link ogspkg /home/vboxuser/research-portable-memory/platform-OpenWrt/ogspkg' > ~/openwrt-sdk/feeds.conf
  16. `
  17. 1. Update feeds:
  18. ```
  19. ~/openwrt-sdk/scripts/feeds update ogspkg
  20. ~/openwrt-sdk/scripts/feeds install -a -p ogspkg
  21. `
  22. 1. Run `make menuconfig` from `openwrt-sdk`
  23. 1. Make sure `Games -> ogs-memory` is selected as Module <M>, `Save` if necessary
  24. 1. Build the package:
  25. ```
  26. cd ~/openwrt-sdk
  27. make package/ogs-memory/compile
  28. `
  29. 1. Transfer built `~/openwrt-sdk/bin/packages/ogspkg/ogs-memory-xxx???.ipk` to `/tmp` on the device with OpenWrt
  30. 1. Install package to device's RAM:
  31. ```
  32. opkg install /tmp/ogs-memory-xxx???.ipk -d ram
  33. `
  34. 1. Run `ogs-memory`:
  35. ```
  36. LD_LIBRARY_PATH=/tmp/usr/lib /tmp/usr/bin/ogs-memory
  37. `