超激安WinタブレットにLinux、*BSDを入れよう 最新情報編 in KOF2018 Install Linux and Re-use 「newer ...
AndroidタブレットとWindowsタブレットにLinuxを乗せてみた
1. 1
Hacking with ARM and Intel devices on Linux
1、 Self introduction
2、Introduction with ARM devices
3、Customized of Linux Mobile ARM devices
・Customized Android devices(Nexus7)
・x86 Emulation on ARM Mobile devices
・ARM Chromebook Crouton & ChrUbuntu
4、Linux Distributions on Windows10 Tablet
Speaker:
Kapper
Tokaido Linux Users Group
Netwalker Laboratory
福井技術者の集い その7.5
2017/2/25 13:30
Place:鯖江市 メガネ会館 7階
株式会社jig.jp セミナールーム
This Presentation:
Slideshare & PDF files
publication of my HP
http://kapper1224.sakura.ne.jp
About Netwalker
ARM Mobile Ubuntu
2. 2
自己紹介 Self Introduction
●
My name: Kapper
●
Twitter account:@kapper1224
●
HP:http://kapper1224.sakura.ne.jp
●
Slideshare: http://www.slideshare.net/kapper1224
●
ニコナレ: http://niconare.nicovideo.jp/users/59379263
●
My Hobby:Linux、*BSD、and Mobile ARM Devices
●
My favorite words:Record than experiment important
●
Test Model:Netwalker(PC-Z1,T1)、Nokia N900、DynabookAZ、RaspberryPi
Nexus7(2012、2013)、Hercules eCAFE EX HD、Jetson TK-1、
OpenPandora、ARM Chromebook、ZTE OPEN C(FirefoxOS)
台湾Android電子辞書 無敵CD-920、CD-928、TW708
●
Recent Activity:
Hacking Linux on Windows10 Tablet (Intel Atom base).
I have been active in the Tokaido Linux User Group.
Hacking Linux on GPD-WIN and many Atom Devices.
I have recently often use the ARM Chromebook.
3. 3
Recent test こんな事やってます
1.Linux distributions on Android 2. Electronic Circuit on ARM
3. Linux distro on x86 Windows Tablet 4. Plesentations in Asia(HongKong,Taiwan)
Opensouce Conference
RaspberryPiを使ってLチカ
昔に戻って、電子回路工作を楽しんでます
5. 5My Activity OpenSourceConference in Japan
and Tokaido Linux Uses Group
Once it is held in one month
Sapporo
Hokkaido
Tokyo
Hamamatu
Nagoya
Kyoto
Osaka
(KOF)
Shimane
Hiroshima
Oita
Okinawa
Kawagoe(Tokyo)
Hakata
Tokushima
Niigata
Kanazawa
19. 19
Android-own build status
Distributin version Installer Multirom Root Compatible models
Factoryimg ~5.1.0 ◎ ○ △ Nexus
CynanobenMOD ~5.1.x ◎ ○ ○ Many
AOKP ◎ ○ ○ Many
ParanoidAndroid ○ ○ ○ Many
ClockworkMOD ○ ○ ○ Many
Bodhi Linux ~3.0 ○ ○ ○ Nexus7 2012
KDE Plazma ○ △ ○ Nexus7 2012
FirefoxOS ○ ○ △ Own build
Ubuntu Touch ◎ ○ ○ Nexus7(2013)
4、5、10、6
Tizen △ △ △ ?
SalfishOS △ △ △ Nexus7,RaspberryPi
Internet dogmatic investigation of Kapper (if I wrong I'm sorry. Correct)
◎:Official Support、◯:Official reports、△:Users reports
Excerpt because own build of correspondence dozens type and number is too large.
20. CyanobenMod
●
CyanogenMod Inc. and Android4.x to the various devices in one of their own
build a number of Android that are customized are developing.
●
Include the formal and informal support, corresponding to 220 devices
●
Development from the firmware (boot loader) to the OS image.If a device that
is official support, it can be installed with one click without taking root.
●
Installation has a difficult but also many operations reported to the local
device,It has contributed to the aftermarket of older models.
●
Since correspond to the regular even Nexus7,
it is easy to install.
CyanobenMod9
21. FirefoxOS
●
You can install and use FirefoxOS in Nexus7.
●
Custom ROM required Since then replacement
of FirefoxOS ROM.(supported device)
FirefoxOS SimulatorFirefoxOS
22. Ubuntu Touch
●
Nexus7 2013 is Ubuntu Touch supported now.
●
Installer and boot loader set
●
The use of Ubuntu touch is Nexus series only.
Ubuntu TouchUbuntu Touch
24. 24
x86 Emulations on ARM Devices
Emulation OS Root
Device
Emulated OS Spec Comment
Qemu Linux
Android
RaspberryPi
No Windows
MacOSX?
Linux,*BSD
Slow Tegra K-1
⇒Pen 266MHzⅡ
Ver1.5~(ARM GUI)
Qemu+Wine Linux
Android
RaspberryPi
Required +Windows APP Slow Difficult
kernel 3G/1G only
chroot environment
Exagear-Desktop Linux
RaspberryPi
Required Ubuntu,Debian Fast Tegra K-1
⇒Pen4 1.8GHz
Exagear-Desktop
+Wine
Linux
RaspberryPi
Required Ubuntu+Wine
Windows APP
Fast Tegra K-1
⇒Pen4 1.8GHz
DOSBox Linux
Android
RaspberryPi
iOS,DS,PSP
No DOS,
WIndows9x
(i386~i586)
Slow Tegra K-1
⇒Pen 266MHzⅡ
NEON Supports
Voodoo1+Glide
Bochs Linux
Android
RaspberryPi
iOS,PSP
No Windows~XP
(i386~x86-64)
Linux,*BSD
Slow Tegra K-1
⇒Pen 266MHzⅡ
XNP2
(PC-98
Emulation)
Linux
Android
RaspberryPi
iOS
No DOS、
Windows95?
Slow Tegra K-1
⇒?
VMWare and Virtualbox are not working on ARM devices.(Only x86)
26. 26
x86 Qemu Emulation on ARM devices
Cortex-A15
Tegra K-1
2.1GHz
Core i5-2540M
2.60GHz
Cortex-A15
Tegra K-1
2.1GHz
Core i5-2540M
2.60GHz
Acer Chromebook13
Qemu Win2000
HDBench4.6.1
CF-S10
Qemu Win2000
HDBench4.6.1
Acer Chromebook13
BOINC Benchmarck
CF-S10
BOINC Benchmarck
0
5,000
10,000
15,000
20,000
25,000
30,000
35,000
40,000
1,301
4,062
914
2,941
12,119
35,526
6,118
8,064
floating point MIPS (Whetstone) per CPU
integer MIPS (Dhrystone) per CPU
Qemu
WIndows2000
HDBench
BOINC Bench
Windows98、2000 on ARM chromebook
●
You can use the x86 emulator will be like can be moved and
Wine Windows apps and Steam and Skype.
●
The x86 emulator also works such as Windows and NetBSD.
TegraK-1 in Using Qemu Pentium2 266MHz equivalent Win98
is in HDBench, it was to use and Pentium4 1.8GHz equivalent
to ExaGear-Desktop.
●
In ARM Devices,Qemu is
x86:ARM=3:1
(proportional to the floating point?)
ARM x86ARM x86
NetBSD Teokure Live Image
on ARM chromebook
27. 27
x86 Emulation on Android
●
You can operate the Windows or NetBSD by the
use of Android even x86 emulation
●
PC: Bochs,Qemu,DOSBox,Limbo PC emulation
MAC:vMacMini
●
In the case of Qemu、Windows and NetBSD, and
the others operation.
NetBSD Teokure Live Image(Qemu) on Nexus7
Windows9x、2000(Qemu) on Nexus7
28. 28
x86 Emulation on ExaGear-Desktop
1 board PC, and ARM Chromebook●
ExaGear-Desktop is 4.5 times faster than qemu.
●
i686 Ubuntu12.04LTS on ARMhf Ubuntu 14.04,12.04
●
Boinc Benchmarchs:@ ARM Chromebook CB5-311 TegraK-1
Integer points (ARMhf Base) : 6118 ⇒ (i686): 1800 29.4%
Flotings points (ARMhf Base) : 914 ⇒(i686): 200 21.9%
about Pentium4 1.8GHz on ARM.(Qemu =Pentium2 266MHz)
●
Windows applications on Wine, on ARM devices.
Bonanza(Wine) on ARM Chromebookjw-cad(Wine) on ARM Chromebook
29. 29
Maujan(Wine) on ARM RaspberryPi2HDBench3.40(Wine) on ARM RaspberryPi2
x86 Emulation on ExaGear-Desktop
ARM RaspberryPi, RaspberryPi2●
ExaGear-Desktop RaspberryPi is 5 times faster than Qemu.
●
i386 Debian7Wheezy on ARMhf Raspbian,Ubuntu14.04,Debian7
●
HDBench Benchmarchs:@ ARM Raspberry Pi2
Integer points (ExaGear i686) : 7586 (Qemu i386: 1999 26.4%)
Flotings points (ExaGear i686) :6224 (Qemu i386: 384 6.2%)
about MMX Pentium 200MHz on ARM. (Qemu =Pentium 40MHz?)
●
Windows applications on Wine, on ARM devices.
30. 30
Android,iOS and JavascriptDOSBox
Android
DOSBox Turbo
on Electronic dictionary
iOS iDOS Javascript
EM-DOSBox
●
DOSBoxとはi386〜i586エミュでWindows9xや色々なアプリが動作
DOSBox can operate 〜Windows9x in the i386〜i586 emulator
●
DOSBoxは様々なモバイルOSに移植されて動く特徴があります。
DOSBox has been ported MobileOSs, about Android, iOS, WindowsMobile,
Blackberry, PSP, Vita, 3DS and others.
●
DOSBoxは独自に進化した高度なUIとドライバがあり、ゲームに最適
最近はWindows9xゲーム向けに加速的に進化しています。
DOSBox has its own evolved advanced UI and the driver, the best in the
game.Recently, they are accelerating the evolution in for Windows9x game.
32. 32
Crouton on Chromebook●
ChRomium Os Universal chrooT envirONment
The author Google developers, Mr. David Schneider.
●
Chroot automation tool for Ubuntu and Debian https://goo.gl/fd3zc
●
To display the terminal in the "ctl + alt + t", used from the terminal to activate the
"shell"
sudo sh ~/Downloads/crouton -t xfce
●
How to download the chroot environment by dropping the main script from
github
/mnt/stateful_partition/crouton/(Distribution name)
Recognized debian releases:
potato* woody* sarge* etch* lenny* squeeze* wheezy jessie sid
Recognized kali releases: kali
Recognized ubuntu releases:
warty* hoary* breezy* dapper* edgy* feisty* gutsy* hardy* intrepid*
jaunty* karmic* lucid* maverick* natty* oneiric* precise quantal*
raring* saucy* trusty utopic*
Releases marked with * are unsupported, but may work with some effort.
Terminal on Chrome-browser Crouton Window Extention
33. 33
ChrUbuntu on Chromebook
●
Dual-boot & SD USB automated installation tool for Ubuntu.
The author Google developers, Mr. Jay Lee
Method to accept the Linux Kernel and driver module of ChromeOS.
x86 does not officially support the ARM in the corresponding. It notes that there
is also not operate models.
●
When you press the "ctrl + alt + → key", a mechanism to install the Ubuntu
switched to CUI of the screen called Developer Console.
curl -L -O http://goo.gl/9sgchs; sudo bash 9sgchs(34v87 /dev/mmcblk1)
change Partition
curl -L -O http://goo.gl/9sgchs; sudo bash 9sgchs
●
Use switch in the "ctl + L" the ChromeOS and Ubuntu the OS when you boot
How to download the chroot environment by dropping the main script from
github
●
Although Ubuntu is started normally, a method is somewhat time-consuming in
the start-up manual switching.
Reference:Chromebooks and Chrome OS
39. 39
最近のWindows PCでLinuxを起動
Recently PC’s boot process for Windows and Linux
●
Ubuntu official ISO is not supported to both 32bit and 64bit.
Legacy
BIOS
Legacy
BIOS
(USB,
ISO)
Grub2
(32,64bit)
Install ISO
Ubuntu
(32,64bit)
Legacy
BIOS
(Wubi)
UEFI
32bit
(USB,
ISO)
UEFI
32bit
(Wubi)
Hard
(32,64bit)
Grub2
Wubi
(32,64bit)
auto
Install Wubi
Ubuntu
(32,64bit)
UEFI
(32bit)
Grub2
(64bit)
32bit
Install ISO
Ubuntu
(64bit)
Hard
(64bit)
Grub2
Wubi
(32,64bit)
auto
Install Wubi
Ubuntu
(64bit)
Fix
Not
Problem
Not
Problem
After
install
grub2 32bit
Fix install
wubi for
Ubuntu16.04
rev311
2016/8/2!
Only
32bit
Surface
Notebook
UEFI
64bit
UEFI
(64bit)
Grub2
(64bit)
Install ISO
Ubuntu
(64bit)
Hard
(64bit)
Not
Problem
41. 41
Manjaro OpenSuse
CyanogenMOD-x86 Extix Linux
Surface3 (Cherry-Trail)UEFI64bit
≧Kernel4.8 and no Ubuntu Linux distro?
SurfaceRT(WindowsRT) was able to install Windows10 Mobile!?
42. 42
Manjaro
Debian
Old Kernel Freeze Bug
Chinese Cheap Windows Tablet UEFI32bit
UEFI 32bit bootloader, Power and blackscreen problem
Ubuntu
Fedora
Android-x86 ExTixLinux
OpenSuse
44. 44
Install ISO for Ubuntu 16.04 on UEFI32bit
1.ISOファイルをダウンロードしてbootia32.efiをコピー
2.USBで繋いでセキュアブートをOFF、起動
3.起動時にGrub2を書き換えてインストーラーを動かす
4.通常通りインストール(まだネットには繋がらない)
5.再起動、USBからから起動して、Grub2を書き換えて
本体SSDのイメージデータを起動
6.ネットに繋いで、32bitのGrub2をインストール
7.Wifi、タッチパネルなどのドライバをインストール
Download
ISO
USB
Download
Bootia32.efi
Copy
/EFI/boot/
Connect
USB
OFF
Secureboot
boot
boot
And
Write
Grub2
Install
Linux
Distributions
(NoWifi?)
再起動
Reboot
And
Write
Grub2
Install
Grub2-ia32
(Connect
WIfi)
Start! ③ ⑤
45. 45
Dualboot Windows and Linux on UEFI
1.パーティション「/」Ext4、「/boot/efi」FAT32、Swap
を容量変更し3つ作成。
MBRの概念はないのでどこでも良い。
2.「/boot/efi」にespとして設定
3.Linuxをインストール(Windowsを消さない事)
4.電源ON後「ESC」を押しUEFIの画面でOSの選択
5.Grub2のオプション選択とOS起動
もちろんUSBやMicroSDからも起動できます
48. 48
LinuxKernel changelog on Atom
Kernel day Changelog Comments
4.0 2015/4 drm/i915/skl: add turbo support
brcmfmac: Add support for bcm43340/1 wireless chipsets
Intel: Add Cherrytrail & Braswell machine driver cht_bsw_rt5645
GPU Turbo
電源管理
4.1 2015/6 intel_idle: Add support for the Airmont Core in the Cherrytrail and Braswell SOCs
brcmfmac: Add support for BCM4345 SDIO chipset
brcmfmac: add support for BCM43430 SDIO chipset
省電力モード
4.2 2015/8 Intel: Add Cherrytrail & Braswell machine driver cht_bsw_max98090_ti sound サウンド
4.3 2015/10 surface pro 3: Add support driver for Surface Pro 3 buttons SurfacePro3
4.4 2016/1 perf/x86: Add Intel cstate PMUs support 電源
4.5 2016/3 surface pro 4: Add support for Surface Pro 4 Buttons
Intel: Atom: Add support for HP ElitePad 1000 G2 Sound
Intel: Atom: add 24-bit support for media playback and capture
Intel: Atom: add support for RT5642 Sound
SurfacePro4
4.6 2016/5 Intel: Atom: add support for CHT w/ RT5640 Sound
4.8 2016/8 ASoC: Intel: Add surface3 entry in CHT-RT5645 machine sound
Input: add Raydium I2C touchscreen driver
add new driver for the Surface 3
add Alps I2C HID Touchpad-Stick suppor
accel: Add support for Bosch BMA220
Surface3
4.9 2016/11 This early i915 DRM feature update for DRM-Next
Additional P-State Change For Linux 4.9 May Boost Intel Atom Performance
Intel Integrated Sensor Hub (ISH) Support
Speedup
Sensor
4.10? Generic Governors Support Coming For Intel P-State
supporting multi-touch data with the Surface 3. Surface 4 HID support
drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from
vlv_init_display_clock_gating
Surface3/4
Blackscreen