20151227_jeffrey - silenceuncrio/diary GitHub Wiki

Index

  • 1630 - 早上帶寶貝回台中拿中藥
  • 1640 - OpenWrt JXcore - Package Creation
  • 1650 - OpenWrt JXcore - Package Creation - build
  • 1810 - OpenWrt JXcore - Package Creation - build ok
  • 2230 - OpenWrt JXcore - 寶貝老婆聰明的建議 - 讓我交換了兩部電腦的硬碟

1630

早上帶寶貝回台中拿中藥
然後沿著海線

  • 大肚 - 品香肉包 - 買十送一
  • 沙鹿 - 聯翔 - 買麵包
  • 清水 - 阿財米糕 - 太多人... 放棄
  • 大甲 - 拜拜, 吃魚翅羹, 買水煎包

1640

繼續昨天的 jxcore

At this point you need to find a link to your device's SDK from OpenWrt downloads page i.e. for Asus n14u, we picked the SDK from this page

Sample Link (make sure your link also starts with OpenWrt-SDK)

https://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620n/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2

家裡的是之前跟 Jammy 一起買的 newifi mini
參考 newifi mini(Y1) OpenWrt 14.07正式版固件&刷机教程

所以 newifi mini 的 SDK 連結為

http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2

繼續

1650

Once you find the link, use it as shown below;

> cd wrt-jx
> ./create_package.js [THE LINK for OpenWrt-SDK] [DEVICE-ARCH]

For [DEVICE-ARCH] use either arm or mipsel based on your device's chipset. i.e. the sample device has mipsel

  • [THE LINK for OpenWrt-SDK] - http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
  • [DEVICE-ARCH] - mipsel

所以我要敲的 command 為

./create_package.js http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/OpenWrt-SDK-ramips-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 mipsel

This operation may take a little bit time (depends to your Internet connection speed). Eventually you should have the text message below;

OpenWRT package builder is ready
Visit OpenWrt-SDK folder and run 'make V=s'

So the last step is compiling your package;

cd OpenWrt-SDK
make V=s

做吧

1810

build 好了耶

newifi 拆機後還要自己焊 TTL 接點上去... 小麻煩

2230

今晚多虧了寶貝老婆聰明的建議
一邊啃骨頭順便建議讓我交換了兩部電腦的硬碟
省了兩片顯示卡重裝的時間
以及兩邊電腦的應用程式的重新安裝時間
聰明的孩子