ลง Linux บน กล่อง Andriod
จะต้องตรวจสอบก่อนว่า กล่อง andriod box นี้ ใช้ chipset อะไร
How to install CCminer TV -BOX
ดูจาก รุ่นไม่ได้นะ เพราะ ไม่แน่นอน
ตัวอย่างคือ ของผู้เขียน ใช้ รุ่น MxQ pro 4k
เอาไป Search ใน google บอกว่า เป็ฯ S905
บางอันก็บอกว่า เป็น Rk 3228 -3229
เพื่อความแน่ใจ เปิดกล่อง ดูที่ CPU เลยว่า เป็ฯอะไร
ของผู้เขียนเป็ฯ RK3229
เมื่อรู้แล้วว่า เป็ฯ cpu เบอร์อะไร ให้ทำตามขั้นตอนดังนี้
version ของ Linux
Ubuntu Debian
21.10 impish bullseye/ sid - 11
21.04 hirsute bullseye/ sid
20.10 groovy bullseye/ sid
20.04 focal bullseye/ sid
19.10 eoan buster / sid - 10
19.04 disco buster / sid
18.10 cosmic buster / sid
18.04 bionic buster / sid
17.10 artful stretch / sid - 9
17.04 zesty stretch / sid
16.10 yakkety stretch / sid
16.04 xenial stretch / sid
15.10 wily jessie / sid - 8
15.04 vivid jessie / sid
14.10 utopic jessie / sid
14.04 trusty jessie / sid
13.10 saucy wheezy / sid - 7
13.04 raring wheezy / sid
12.10 quantal wheezy / sid
12.04 precise wheezy / sid
11.10 oneiric wheezy / sid
11.04 natty squeeze / sid - 6
10.10 maverick squeeze / sid
10.04 lucid squeeze / sid
- Download Linux สำหรับ CPU เบอร์นั้น Download Image
- Burn Image ลงใน SD Card โปรแกรม Burn Image
- Config Files ใน SD Card เพื่อให้ Boot ได้
ดู clip แล้วทำตาม
4. ตรวจดูใน SD Card ว่า files boot ของเราใช้ ตัวไหน
- ดูรุ่นของ Soc ว่า รุ่นไหน เช่น A95x ใช้ Soc คือ s905x ram 1 GB
เป็น Ram 1 gb files booth คือ meson-gxl-s905x-nexbox-a95x.dtb
- ให้เข้าไปหา ที่ floder dtb หรือ floder อื่นๆ ที่มี ใน SD card ที่ burn Image ไว้
จากนั้น จำชื่อ floder/ชื่อfiles ไว้
5. เข้าไปที่ floder extlinux/extlinux.conf แก้ไข
โดยเอาชื่อจาก ข้อ 4 มาใส่ เพื่อให้มา boot ที่ files นี้ ดังนี้
files extlinux.conf
LABEL Armbian
LINUX /zImage
INITRD /uInitrd
FDTDIR /dtb
FDT /dtb/meson-gxl-s905x-nexbox-a95x.dtb (เอามาใส่ตรงนี้)
APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
แก้ไขเสร็จก็ save
6. นำ SD Card นี้ไป เสียบที่กล่อง andriod box เพื่อ boot
หมายเหตุ
ในกรณ๊ ที่ใช่สำหรับ ขุด bitcoin ควร ใช้ image files ที่เป็น Console หรือ Text Mode
สังเกตุง่ายๆ filies ที่ไม่มีคำว่า Desktop
Desktop เป็น graphic Mode กินแรง cpu เปลือง Ram ทำให้ ทำงานช้า
ตัวอย่างคือ
https://users.armbian.com/balbes150/rk3288/Armbian_21.11.0-trunk_Rk3288_bullseye_current_5.10.63.img.xz
1.
sudo apt-get update
2.
sudo apt-get install libcurl4-openssl-dev libssl-dev libjansson-dev automake autotools-dev build-essential
3.
git clone --single-branch -b ARM https://github.com/monkins1010/ccminer.git
4.
cd ccminer
5.
chmod +x build.sh && chmod +x configure.sh && chmod +x autogen.sh
6.
./build.sh
7.
nano run
./ccminer -a verus -o stratum+tcp://verushash.asia.mine.zergpool.com:3300 -u DB592Rm4h1TCF6nh79sQUXZr9ubykGF1Vw -p c=DOGE,mc=VRSC,ID=Vivo31 -t 4
./ccminer -a verus -o stratum+tcp://ap.luckpool.net:3956 -u RTnWSjh2iDT4x71QBJGnQ3AP8oiAs7Hpc7.TVBox1 -p hybrid -t 4
Ctrl+X > Y
8.
./run
ความคิดเห็น
แสดงความคิดเห็น