將要選擇什麼打造 PIXEL PC 呢?幾經考慮看上了類似樹莓派 3B 的 Up-board ︰
The purpose of these wiki pages is to collect and share all useful technical information related to UP Board hardware, software, and its usage.
Feel free to contribute content and corrections which may be useful to others!
依著 Up Ubuntu 安裝步驟,先下載 Raspbian 映像檔。成功開機後就卡在
sudo add-apt-repository ppa:ubilinux/up
上也。即使手動加入 repo
pi@raspberry:/etc/apt/sources.list.d
,或因 Ubuntu 套件相容性問題,無法安裝 Up-board kernel 哩︰
pi@raspberry:~
只好鼻子摸著嘗試自行編譯的呦︰
Compile ubilinux kernel from source
Contents
How to compile a custom kernel for UP / UP Squared / Up Core
Build Environment Setup
The following instruction are base on Ubuntu 16.04 host gcc-4.9 is needed for the compilation of the upboard kernel
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update sudo apt-get dist-upgrade -y
sudo apt-get install -y git build-essential kernel-package libncurses5-dev libssl-dev gcc-4.9 g++-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
Getting the source
git clone https://github.com/emutex/ubilinux-kernel.git -b upboard-4.9 linux-upboard
to get only the latest commit (faster):
git clone --depth=1 https://github.com/emutex/ubilinux-kernel.git -b upboard-4.9 linux-upboard
偏偏 Debian Stretch 預設程式庫中沒有 kernel-package 套件,還得在 /etc/apt/sources.list 裡添上
deb http://ftp.debian.org/debian stretch-backports main
repo 呀!
更別說一時哪尋 gcc-4.9 g++-4.9 耶?且用新版
gcc version 6.3.0 20170516 (Debian 6.3.0-18)
,死馬當活馬醫吧!?
近乎三小時的等待,終於產生了 □□.deb 檔︰
pi@raspberry:~
好佳在
sudo dpkg -i *.deb
成功乎?!
※ 有圖為證