• 検索結果がありません。

PICKIT3オフライン書き込みガイドブック

N/A
N/A
Protected

Academic year: 2021

シェア "PICKIT3オフライン書き込みガイドブック"

Copied!
8
0
0

読み込み中.... (全文を見る)

全文

(1)

ホームページ:http://www.csun.co.jp メール:info@csun.co.jp 1

コンパイリングマニュアル

株式会社日昇テクノロジー

http://www.csun.co.jp

info@csun.co.jp

作成日 2015/2/18

copyright@2015

日昇テクノロジー

(2)

ホームページ:http://www.csun.co.jp メール:info@csun.co.jp 2 •

修正履歴

NO バージョン 修正内容 修正日 1 Ver1.0 新規作成 2015/2/18

※ この文書の情報は、文書を改善するため、事前の通知なく変更されることがあります。

最新版は弊社ホームページからご参照ください。「http://www.csun.co.jp」

※ (株)日昇テクノロジーの書面による許可のない複製は、いかなる形態においても厳重に

禁じられています。

日昇テクノロジー

(3)

ホームページ:http://www.csun.co.jp メール:info@csun.co.jp 3

目次

1.クロスコンパイラツールのインストール ... 4 1.1.クロスコンパイラツール ... 4 1.2.クロスコンパイラツールのインストール ... 4 2.カーネルのコンパイル ... 5 2.1.カーネルソースコード ... 5 2.2.カーネルのコンパイル ... 5 3. 各ドライバのカーネル上の保存場所 ... 7

日昇テクノロジー

(4)

ホームページ:http://www.csun.co.jp メール:info@csun.co.jp 4

1.クロスコンパイラツールのインストール

1.1.クロスコンパイラツール

付属DVDのUbuntuフォルダにtoolchain.7zを解凍するとarm-linux-gnueabihf-4.7.tar.gz になる。

1.2.クロスコンパイラツールのインストール

(1)解凍:

# sudo tar xzf arm-linux-gnueabihf-4.7.tar.gz -C /opt

(2)環境変数を追加

/etc/profileファイルの最後に下記の内容を追記: export PATH=/opt/arm-linux-gnueabihf-4.7/bin/:$PATH

(3)PCを再起動→下記のコマンドを入力してツールチェーンのインストールが完

了したかを確認

# arm-linux-gnueabihf-gcc -v インストール完了後、下記の情報が表示される。

日昇テクノロジー

(5)

ホームページ:http://www.csun.co.jp メール:info@csun.co.jp 5

2.1.カーネルソースコード

保存場所:付属DVDのUbuntuフォルダにkernel.7zファイルがある。解凍すると linux-3.8.13-nanopc-t1-140523.tar.gz ファイルがある。 ※140523は公開日付である。不定期更新が行われるので、実際の状況と異なる可能性がある。

2.2.カーネルのコンパイル

(1)ソースコード圧縮バッグを解凍:

# tar xzf linux-3.8.13-nanopc-t1-140523.tar.gz linux-3.8.13ソースコードを取得

(2)ソースコードフォルダに入る

# cd linux-3.8.13

(3)カーネルをコンフィーグする

# cp nanopc_t1_ubuntu_defconfig .config # make menuconfig

日昇テクノロジー

(6)

ホームページ:http://www.csun.co.jp メール:info@csun.co.jp 6 変更せずに、<Exit>をクリックする。

(4)カーネルをコンパイル

# make zImage コンパイルが完了したら、linux-3.8.13/arch/arm/bootの下にzImageが作成される。 その後、NanoPC-T1_Install_Ubuntu_manual.pdfを参考にしながら、コンパイルしたzImageでUbuntuシステ ムカーネルを更新する

日昇テクノロジー

(7)

ホームページ:http://www.csun.co.jp メール:info@csun.co.jp 7

the kernel/the path of drive module in the file system

nt board 1 Yaffs2 file

system

linux-3.8.13/fs/yaffs2/ Come with kernel. Open source 2 LCD linux-3.8.13/drivers/video/s3c

-fb.c

/dev/fb* Transplanted, Open source 3 Serial port linux-3.8.13/drivers/tty/seria

l/samsung.c

/dev/ttySAC0,1,2,3 4 Serial ports Come with core Open source 4 gateway linux-3.8.13/drivers/net/usb/d m9620.c Transplanted, Open source 5 audio 1) rootfs/lib/modules/3.8.13.16/k ernel/sound/soc/samsung/snd-so c-tiny4412-wm8960.ko 2) rootfs/lib/modules/3.8.13.16/k ernel/sound/soc/samsung/snd-so c-wm8960.ko /dev/snd Transplanted, Closed source Only Drive module is supplied 6 SD/MMC linux-3.8.13/drivers/mmc/host/ sdhci-s3c.c /dev/mmcblkX Transplanted, Open source 7 RTC linux-3.8.13/drivers/rtc/rtc-s 3c.c

/dev/rtc* Come with kernel. Open source 8 LED linux-3.8.13/drivers/char/leds /sys/class/leds/led

X

Transplanted, Open source 9 I2C bus linux-3.8.13/drivers/i2c/busse

s/i2c-s3c2410.c /dev/i2c/X(X is stand for a number,means which i2c interface) Transplanted, Open source 10 SPI bus linux-3.8.13/drivers/spi/spi_s

3c64xx.c /dev/spidevX.0(X is stand for a number,means which spi interface) Transplanted, Open source 11 USB Camera linux-3.8.13/drivers/media/vid

eo/uvc/

/dev/videoX(X is stand for a

number,means which camera)

Come with kernel. Open source 12 USB WiFi linux-3.8.13/drivers/net/wirel

ess

mouse:

/dev/input/mice Key-board:

Come with kernel. Open source

(8)

ホームページ:http://www.csun.co.jp メール:info@csun.co.jp 8

/dev/input/eventX 13 USB

mouse&Key-board

linux-3.8.13/drivers/usb/hid/ Come with kernel. Open source 14 USB Bluetooth linux-3.8.13/drivers/bluetooth

/

Come with kernel. Open source 15 3G linux-3.8.13/drivers/usb/seria

l/

Most 3G cards are actually based on USB interface, and have used the driver of USB to serial port ;in communication, /serial has just used the form of serial port names for instead, in order to use the AT command to dial up connections, the actual communication rate is the rate of USB Slave. 16 HDMI linux-3.8.13/drivers/media/vid

eo/s5p-tv/

/dev/videoX Come with kernel. Open source 17 Media MFC linux-3.8.13/drivers/media/vid

eo/s5p-mfc/

/dev/videoX Come with kernel. Open source 18 JPEG hardware

decoding

linux-3.8.13/drivers/media/vid eo/s5p-jpeg /

/dev/videoX Come with kernel. Open source 19 eMMC linux-3.8.13/drivers/mmc/host/

dw_mmc.c, dw_mmc.h, dw_mmc-pltfm.c

/dev/mmcblkX Come with kernel. Open source 20 watchdog linux-3.8.13/drivers/watchdog/

s3c2410_wdt.c

/dev/watchdog* Come with kernel. Open source

以上。

参照

関連したドキュメント

As just mentioned, the method used for recognizing circulant graphs is based on the notions of coherent configurations and Schur rings generated by graphs and on the in-

Using a clear and straightforward approach, we have obtained and proved inter- esting new binary digit extraction BBP-type formulas for polylogarithm constants.. Some known results

When the device is operating as a sink and it receives a Hard Reset or a Power Role Swap, the automatic discharge circuitry and SNK output will be disabled by the host processor

「Silicon Labs Dual CP210x USB to UART Bridge : Standard COM Port (COM**)」. ※(COM**) の部分の

- Parts of the foregoing machinery, apparatus or equipment Plates, cylinders and other printing components; plates, cylinders and lithographic stones, prepared for printing purposes

Amount of Remuneration, etc. The Company does not pay to Directors who concurrently serve as Executive Officer the remuneration paid to Directors. Therefore, “Number of Persons”

The sensor is set in global shutter serial mode (integration time not overlapping readout) and the FLO signal is used to control a 550 nm normal incident (or large f#

S ADDR Input Selects device address for the two−wire slave serial interface.. When connected to GND, the device ID