神居岬(北海道 積丹半島)


Date/Time: 2004:09:04 14:21:19
Camera: SONY
Model: DCR-HC1000
Exporsure Time: 1/500
FNumber: 4.0
Aperture Value: 4.0
Focal Length: 6.7

Close

y2blog » BeagleBone Botic7環境を自分で再構築してみる(その1)

9

01

2019

BeagleBone Botic7環境を自分で再構築してみる(その1)

Botic7の環境を再現してみる


“Botic7” のホームページ “BeagleBone Black with I2S, DSD and SPDIF interface” を折に触れてチェックしているが、”Botic7″ 自体の開発はここ数年完全に止まってしまっているようだ.


“Botic7″のバージョンが3年前の Linux Kernel(4.8.13) のままなので、最近の新しいカーネルを用いて動かしたり、自分でカスタマイズするには”Botic7″環境を完全に自分で作り直さなければならない.


今回は、”Botic7″環境を完全に自分で作り直すための準備として、先ずは”Botic7″のフリーズバージョン(v4.8.13-rc3)を自分の開発環境上で再現して見ることにする.


幸いなことに、”Botic7″の作者である “Miero”さんこと “Miroslav Rudisin” さんが、GitHub 上に “Botic7” を開発していた時の開発環境一式のリポジトリを公開してくれているので、このGitHubリポジトリを用いて、”Botic7″を再構築してみることにする.


“Botic7” 自体は Robert C. Nelsonさんが用意してくれているBeagleBone用のLinuxカーネル構築環境に、”Miero”さんが “Botic7” 用のコードやコンフィグレーションを追加したものである.


開発環境の準備とGitHubリポジトリからの開発リソースの取得


開発環境については、前回の『BeagleBone用I2S環境の再構築(カーネル構築練習編)』で準備した環境をそのまま使うことにすれば良い.


“Botic7” リポジトリの内容は3年前の環境が前提なので、最新開発環境を用いる場合にはスクリプト等の手直しが必要になるかもしれない.クロス開発ツールも3年前の開発環境をダウンロードしてしまうので、折角なので最新のLinux開発環境に合わせておくことにする.


GitHubの”Botic7″リポジトリにアクセスする

MieroさんのBoticのホームページ “BeagleBone Black with I2S, DSD and SPDIF interface” の末尾に、GitHubの”Botic7″リポジトリへのリンクが3つほど貼られているが、この3つのリンクがイマイチ分かり難い.


最初のリンク “DEB package of compiled kernel (various versions)”

 ・“Botic repository” [ http://repo.ieero.com/botic/pool/main/l/linux-upstream/ ]

は、MieroさんのBoticのホームページ上に Debianの配布パッケージ形式やtarボールの形で開発リソースが置かれているのだが、作業ディレクトリのような物で、これをベースにするのは止めて置く方が良いだろう.


その下にある2つのリンクがGitHub上に置かれた “Botic7” のソースコードリポジトリへのリンクで、

 ・“Linux kernel with integrated Botic driver (select a branch and check the patches/botic directory)”
  [ https://github.com/miero/linux-dev ]

が、Rober C. Nelsonさんの BeagleBoneカーネル開発リソースからブランチ(枝分かれ)して、Mieroさんが “Botic” 化のコードを加えた “Botic” リポジトリだ.


最後のリンクがちょっと分かり難いかもしれないが、”Botic” 独自のソースコードとRober C. Nelsonさんのカーネルコード実装に対して”Botic”化で手を加えたソースコードを抜き出したものだ.


 ・“Latest Botic driver sources” [ https://github.com/miero/botic-dev ]

この3番目のリンクからソースコードを辿れば、”Botic”化の概要がわかるのだが、元のコードとの差分が欠落してしまっているので、”Botic”独自の改造がどのような物なのか追うのは困難だ.


今回は、2番目のGitHubリポジトリを用いて “Botic7″ の再構築を行うことにする.このリポジトリを利用すれば、Robert C. Nelson版のカーネル実装に対して、”Botic” 化で手を加えた部分を掌握し易くなる.


GitHub からのソースコード一式を取得する


GitHubの操作に関しては、前回のRobert C. Nelson版のカーネル実装練習と同じなので、”git clone”、 “git checkout” コマンドを用いて必要なブランチのソースコードを取得する.



botic7-v48ブランチを選択する

GitHub botic7-v48 repository
botic7-v48ブランチの内容をWEBブラウザから確認する

GitHubはWEBブラウザでリポジトリの内容を確認したり、zip形式でリソース一式をダウンロードすることも可能だが、今回もコマンドラインベースで行う事とする.


作業用のディレクトリ(今回は “Botic7-4813” )を作成し、そこで “git clone” する.”linux-dev” という名前のディレクトリが作成されるので、そこにカレントディレクトリを移し、”git checkout” で利用するブランチを選択する.



yasuaki@ubuntu18srv:~$ mkdir Botic7-4813
yasuaki@ubuntu18srv:~$ cd Botic7-4813
yasuaki@ubuntu18srv:~/Botic7-4813$ git clone https://github.com/miero/linux-dev.git
Cloning into 'linux-dev'...
remote: Enumerating objects: 36829, done.
remote: Total 36829 (delta 0), reused 0 (delta 0), pack-reused 36829
Receiving objects: 100% (36829/36829), 35.24 MiB | 8.04 MiB/s, done.
Resolving deltas: 100% (23867/23867), done.
yasuaki@ubuntu18srv:~/Botic7-4813$ cd linux-dev
yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$ git branch -r
  origin/HEAD -> origin/master
  origin/botic5
  origin/botic7
  origin/botic7-v48  <=== このブランチを取得する
  origin/master
  origin/v48
yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$ git checkout origin/botic7-v48 -b b7-original
Branch 'b7-original' set up to track remote branch 'botic7-v48' from 'origin'.
Switched to a new branch 'b7-original'
yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$ ls -la
total 112
drwxr-xr-x  8 yasuaki 501  4096 Sep  1 12:24 .
drwxr-xr-x  3 yasuaki 501  4096 Sep  1 12:23 ..
drwxr-xr-x  3 yasuaki 501  4096 Sep  1 12:24 3rdparty
-rwxr-xr-x  1 yasuaki 501  5157 Sep  1 12:24 build_deb.sh
-rwxr-xr-x  1 yasuaki 501  9772 Sep  1 12:24 build_kernel.sh
-rwxr-xr-x  1 yasuaki 501  7447 Sep  1 12:24 build_mainline.sh
drwxr-xr-x  8 yasuaki 501  4096 Sep  1 12:24 .git
-rw-r--r--  1 yasuaki 501   226 Sep  1 12:24 .gitignore
-rw-r--r--  1 yasuaki 501  1111 Sep  1 12:24 LICENSE
drwxr-xr-x 18 yasuaki 501  4096 Sep  1 12:24 patches
-rwxr-xr-x  1 yasuaki 501 28187 Sep  1 12:24 patch.sh
-rw-r--r--  1 yasuaki 501  1103 Sep  1 12:24 readme.md
drwxr-xr-x  2 yasuaki 501  4096 Sep  1 12:24 repo_maintenance
-rwxr-xr-x  1 yasuaki 501  2838 Sep  1 12:24 run.sh
drwxr-xr-x  2 yasuaki 501  4096 Sep  1 12:24 scripts
-rw-r--r--  1 yasuaki 501   988 Sep  1 12:24 system.sh.sample
drwxr-xr-x  2 yasuaki 501  4096 Sep  1 12:24 tools
-rw-r--r--  1 yasuaki 501   926 Sep  1 12:24 version.sh
yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$


取得したリソースをざっと眺めると、ファイル構成は先に紹介した Robert C. Nelsonさんのカーネル構築リポジトリそのものであることが分かるだろう.勿論、このリポジトリには Mieroさんの”Botic” 化の手が加えられているのだが、Mieroさんが手を加えた部分については、別途紹介することにして、先ずは、Robert C. Nelsonさんのカーネル構築自動化スクリプト “build_kernel.sh” を実行してみることにする.


今回私が用意した開発環境は、”Ubuntu Linux Server 18LTS” であるが、実はこのリポジトリのリソースの内容は3年前の内容なので、それ以降にリリースされた”Ubuntu Linux Server 18LTS”では、一部のスクリプトを手直ししなければならない.



yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$ ./build_kernel.sh
+ Detected build host [Ubuntu 18.04.3 LTS]
+ host: [x86_64]
+ git HEAD commit: [f2258c8fcdefbfd6eda874bd2913a916306c3b6e]
Dependency check skipped, you are on your own.
-----------------------------
Unrecognized deb based system:
-----------------------------
Please cut, paste and email to: bugs@rcn-ee.com
-----------------------------
git: [f2258c8fcdefbfd6eda874bd2913a916306c3b6e]
git: [url=https://github.com/miero/linux-dev.git]
uname -m: [x86_64]
lsb_release -a:
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic
-----------------------------
* Failed dependency check
yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$


このエラー内容だけだと何処でエラーが発生したのか良く分からない.これまでは “build_kernel.sh” スクリプトの中身が良く分からなくても、お任せ全自動モードで何とかカーネルの構築ができたが、やはりスクリプトの中身をきちんと把握してエラーに対処するしか方法はなさそうだ.


実は、このエラーは “scripts/host_det.sh” の実行中に起きているもので、開発ホストのOS環境が、”host_det.sh” で認識できないことに起因している.”Ubuntu 18(bionic)” が定義されていないことが原因だ.


これを解決するのは簡単で、”host_det.sh” に”Ubuntu 18(bionic)”の情報を追加すれば良い.Robert C. Nelsonさんの最近のLinux kernelリポジトリには “host_det.sh” に”Ubuntu 18(bionic)”の情報が書き加えられているので、それを基に追記するか ”host_det.sh” そのものを新しいバージョンで置き換えてしまえば良い.(353行目辺りに “Ubuntu” のホスト定義が記載されている)



                #https://wiki.ubuntu.com/Releases
                unset error_unknown_deb_distro
                case "${deb_distro}" in
                wheezy|jessie|stretch|sid)
                        #7 wheezy: https://wiki.debian.org/DebianWheezy
                        #8 jessie: https://wiki.debian.org/DebianJessie
                        #9 stretch: https://wiki.debian.org/DebianStretch
                        unset warn_eol_distro
                        ;;
                squeeze)
                        #6 squeeze: 2016-02-06 https://wiki.debian.org/DebianSqueeze
                        warn_eol_distro=1
                        stop_pkg_search=1
                        ;;
#--------------------------------------------------------------
#         Adding "Ubuntu 18(bionic)"  by Y2. [ 8/31 2019 ]
#--------------------------------------------------------------
                bionic|cosmic|disco|eoan)
                        #18.04 bionic: (EOL: April 2023) lts: bionic -> xyz
                        #18.10 cosmic: (EOL: July 2019)
                        #19.04 disco: (EOL: )
                        #19.10 eoan: (EOL: )
                        unset warn_eol_distro
                        ;;
#--------------------------------------------------------------
                yakkety)
                        #16.10 yakkety: (EOL: July 2017)
                        unset warn_eol_distro
                        ;;
                xenial)
                        #16.04 xenial: (EOL: April 2021) lts: xenial -> xyz
                        unset warn_eol_distro
                        ;;
                utopic|vivid|wily)


これで “build_kernel.sh” 一発で “Botic7” 化されたカーネルモジュールが生成されることだろう.開発環境にも依るが、数十分〜小一時間程度で一連のカーネル構築処理が完了する.


このリポジトリの内容でも一応問題なくカーネルモジュールの構築が可能だが、旧バージョンのクロスコンパイラ “gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabihf” をダウンロードしてしまったりするのでイマイチ都合が悪い.


“build_kernel.sh”が吐き出すログ内容を追って行けば、”build_kernel.sh”および関連するスクリプト群によって処理される一連の処理の概要を知ることが出来るだろう.


一連の処理の流れは、
 ・クロスコンパイラツールのダウンロード
 ・Linux kernelソースの取得(git)
 ・一連のパッチ充て作業
 ・”menu config”
 ・カーネル&モジュールのコンパイル

の順番で処理が進行する.


・クロスコンパイラツールのダウンロード

yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$ ./build_kernel.sh
+ Detected build host [Ubuntu 18.04.3 LTS]
+ host: [x86_64]
+ git HEAD commit: [f2258c8fcdefbfd6eda874bd2913a916306c3b6e]
'/home/yasuaki/Botic7-4813/linux-dev/system.sh.sample' -> '/home/yasuaki/Botic7-4813/linux-dev/system.sh'
Installing: 
-----------------------------
--2019-09-01 13:21:19--  https://releases.linaro.org/components/toolchain/binaries/6.1-2016.08/arm-linux-gnueabihf/gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabihf.tar.xz
Resolving releases.linaro.org (releases.linaro.org)... 13.228.101.204
Connecting to releases.linaro.org (releases.linaro.org)|13.228.101.204|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://publishing-ap-linaro-org.s3.amazonaws.com/releases/components/toolchain/binaries/6.1-2016.08/arm-linux-gnueabihf/gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabihf.tar.xz?Signature=ICZwbQs0FwOHxaqy6HCuHxyTI%2FQ%3D&Expires=1567344171&AWSAccessKeyId=AKIAIELXV2RYNAHFUP7A [following]
--2019-09-01 13:21:21--  https://publishing-ap-linaro-org.s3.amazonaws.com/releases/components/toolchain/binaries/6.1-2016.08/arm-linux-gnueabihf/gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabihf.tar.xz?Signature=ICZwbQs0FwOHxaqy6HCuHxyTI%2FQ%3D&Expires=1567344171&AWSAccessKeyId=AKIAIELXV2RYNAHFUP7A
Resolving publishing-ap-linaro-org.s3.amazonaws.com (publishing-ap-linaro-org.s3.amazonaws.com)... 52.219.128.20
Connecting to publishing-ap-linaro-org.s3.amazonaws.com (publishing-ap-linaro-org.s3.amazonaws.com)|52.219.128.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 200302052 (191M) [application/octet-stream]
Saving to: ‘/home/yasuaki/Botic7-4813/linux-dev/dl/gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabihf.tar.xz’

gcc-linaro-6.1.1-2016.08-x86_64 100%[====================================================>] 191.02M  6.68MB/s    in 25s     

2019-09-01 13:21:48 (7.57 MB/s) - ‘/home/yasuaki/Botic7-4813/linux-dev/dl/gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabihf.tar.xz’ saved [200302052/200302052]
 ...



・Linux kernelソースの取得(git)

CROSS_COMPILE=/home/yasuaki/Botic7-4813/linux-dev/dl/gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
ccache [enabled]
Full rebuild will start in 10 seconds...
scripts/git: [git version 2.17.1]
-----------------------------
scripts/git: LINUX_GIT not defined in system.sh
cloning https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git into default location: /home/yasuaki/Botic7-4813/linux-dev/ignore/linux-src
Cloning into '/home/yasuaki/Botic7-4813/linux-dev/ignore/linux-src'...
remote: Counting objects: 6874915, done.
remote: Compressing objects: 100% (2855/2855), done.
remote: Total 6874915 (delta 3218), reused 3766 (delta 2432)
Receiving objects: 100% (6874915/6874915), 1.14 GiB | 4.40 MiB/s, done.
Resolving deltas: 100% (5782845/5782845), done.
Checking out files: 100% (65260/65260), done.
-----------------------------
scripts/git: Debug: LINUX_GIT is setup as: [/home/yasuaki/Botic7-4813/linux-dev/ignore/linux-src].
scripts/git: [url=https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git]
-----------------------------
Cloning into '/home/yasuaki/Botic7-4813/linux-dev/KERNEL'...
done.
Checking out files: 100% (65260/65260), done.
fatal: Resolve operation not in progress, we are not resuming.
/usr/bin/git tree is clean...
[master b663683364e0] empty cleanup commit
HEAD is now at b663683364e0 empty cleanup commit
Already on 'master'
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)
Already up to date.
-----------------------------
scripts/git: pulling from: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
From https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
 * branch                      master     -> FETCH_HEAD
Already up to date.
-----------------------------
scripts/git: fetching from: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
remote: Counting objects: 959167, done.
remote: Compressing objects: 100% (214261/214261), done.
remote: Total 959167 (delta 766943), reused 873291 (delta 742686)
Receiving objects: 100% (959167/959167), 664.86 MiB | 4.44 MiB/s, done.
Resolving deltas: 100% (766943/766943), done.
From https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable
 * branch                      master          -> FETCH_HEAD
 * [new tag]                   v2.6.12.1       -> v2.6.12.1
 * [new tag]                   v2.6.12.2       -> v2.6.12.2
 * [new tag]                   v2.6.12.3       -> v2.6.12.3
 ...
 * [new tag]                   v5.2.9          -> v5.2.9
Checking out files: 100% (68631/68631), done.
Switched to a new branch 'v4.8.13-botic7-rc3'
v4.8.13

 ...



・パッチ充て処理

'/home/yasuaki/Botic7-4813/linux-dev/KERNEL/scripts/package/builddeb' -> '/home/yasuaki/Botic7-4813/linux-dev/3rdparty/packaging/builddeb'
patching file 3rdparty/packaging/builddeb
Starting patch.sh
dir: reverts
Applying: Revert "spi: spidev: Warn loudly if instantiated from DT as "spidev""
dir: ti/iodelay/
Applying: pinctrl: bindings: pinctrl: Add support for TI's IODelay configuration
Applying: pinctrl: Introduce TI IOdelay configuration driver
Applying: ARM: dts: dra7: Add iodelay module
dir: ti/ticpufreq/
Applying: PM / OPP: Expose _of_get_opp_desc_node as dev_pm_opp API
Applying: Documentation: dt: add bindings for ti-cpufreq
Applying: cpufreq: ti: Add cpufreq driver to determine available OPPs at runtime
Applying: cpufreq: dt: Don't use generic platdev driver for ti-cpufreq platforms
dir: ti/dtbs
Applying: sync: with ti-4.4
dir: dts
Applying: ARM: dts: omap3-beagle: add i2c2
Applying: ARM: dts: omap3-beagle-xm: spidev
 
 ...

Applying: ASoC: mcasp: add suport for emulated mute pin on data pins
Applying: botic card, codec and sabre32 codec
Applying: tps65217: force low-noise fixed frequency
Applying: pm: shutdown on power button press or power loss
dir: packaging
Applying: packaging: sync builddeb changes
Applying: fixup kernel headers target package
patch.sh ran successfully
[v4.8.13-botic7-rc3 140e7cb6cf77] 4.8.13-botic7-rc3 patchset
 
 ...



・”menu config” 処理

'/home/yasuaki/Botic7-4813/linux-dev/patches/botic_defconfig' -> '.config'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --oldconfig Kconfig
#
# configuration written to .config
#
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf  Kconfig

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

'.config' -> '/home/yasuaki/Botic7-4813/linux-dev/patches/botic_defconfig'
-----------------------------

 ...



・カーネルモジュールのコンパイル

-----------------------------
make -j2 ARCH=arm LOCALVERSION=-botic7-rc3 CROSS_COMPILE="ccache /home/yasuaki/Botic7-4813/linux-dev/dl/gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-"  zImage modules
-----------------------------
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  WRAP    arch/arm/include/generated/asm/bitsperlong.h
  WRAP    arch/arm/include/generated/asm/clkdev.h
  WRAP    arch/arm/include/generated/asm/cputime.h
  WRAP    arch/arm/include/generated/asm/current.h
  WRAP    arch/arm/include/generated/asm/early_ioremap.h
  WRAP    arch/arm/include/generated/asm/emergency-restart.h
  UPD     include/config/kernel.release
  WRAP    arch/arm/include/generated/asm/errno.h
  WRAP    arch/arm/include/generated/asm/exec.h
  WRAP    arch/arm/include/generated/asm/ioctl.h

 ...

  DTC     arch/arm/boot/dts/am335x-sl50.dtb
  DTC     arch/arm/boot/dts/am335x-wega-rdk.dtb
-----------------------------
'arch/arm/boot/zImage' -> '/home/yasuaki/Botic7-4813/linux-dev/deploy/4.8.13-botic7-rc3.zImage'
'.config' -> '/home/yasuaki/Botic7-4813/linux-dev/deploy/config-4.8.13-botic7-rc3'
-rwxr-xr-x 1 yasuaki 501 4.0M Sep  1 14:02 /home/yasuaki/Botic7-4813/linux-dev/deploy/4.8.13-botic7-rc3.zImage
-----------------------------
Building modules archive...
Compressing 4.8.13-botic7-rc3-modules.tar.gz...
-rw-r--r-- 1 yasuaki 501 13M Sep  1 14:02 /home/yasuaki/Botic7-4813/linux-dev/deploy/4.8.13-botic7-rc3-modules.tar.gz
-----------------------------
Building firmware archive...
Compressing 4.8.13-botic7-rc3-firmware.tar.gz...
-rw-r--r-- 1 yasuaki 501 1.2M Sep  1 14:02 /home/yasuaki/Botic7-4813/linux-dev/deploy/4.8.13-botic7-rc3-firmware.tar.gz
-----------------------------
Building dtbs archive...
Compressing 4.8.13-botic7-rc3-dtbs.tar.gz...
-rw-r--r-- 1 yasuaki 501 547K Sep  1 14:02 /home/yasuaki/Botic7-4813/linux-dev/deploy/4.8.13-botic7-rc3-dtbs.tar.gz
-----------------------------
Script Complete
eewiki.net: [user@localhost:~$ export kernel_version=4.8.13-botic7-rc3]
-----------------------------
yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$ ls -la
total 140
drwxr-xr-x 12 yasuaki 501  4096 Sep  1 14:02 .
drwxr-xr-x  3 yasuaki 501  4096 Sep  1 12:23 ..
drwxr-xr-x  3 yasuaki 501  4096 Sep  1 12:24 3rdparty
-rwxr-xr-x  1 yasuaki 501  5157 Sep  1 12:24 build_deb.sh
-rwxr-xr-x  1 yasuaki 501  9772 Sep  1 12:24 build_kernel.sh
-rwxr-xr-x  1 yasuaki 501  7447 Sep  1 12:24 build_mainline.sh
-rw-r--r--  1 yasuaki 501   119 Sep  1 13:22 .CC
drwxr-xr-x  2 yasuaki 501  4096 Sep  1 14:02 deploy
drwxr-xr-x  3 yasuaki 501  4096 Sep  1 13:21 dl
drwxr-xr-x  8 yasuaki 501  4096 Sep  1 13:22 .git
-rw-r--r--  1 yasuaki 501   226 Sep  1 12:24 .gitignore
drwxr-xr-x  3 yasuaki 501  4096 Sep  1 13:22 ignore
drwxr-xr-x 26 yasuaki 501  4096 Sep  1 14:02 KERNEL
-rw-r--r--  1 yasuaki 501    18 Sep  1 14:02 kernel_version
-rw-r--r--  1 yasuaki 501  1111 Sep  1 12:24 LICENSE
drwxr-xr-x 18 yasuaki 501  4096 Sep  1 12:24 patches
-rwxr-xr-x  1 yasuaki 501 28187 Sep  1 12:24 patch.sh
-rw-r--r--  1 yasuaki 501  1103 Sep  1 12:24 readme.md
drwxr-xr-x  2 yasuaki 501  4096 Sep  1 12:24 repo_maintenance
-rwxr-xr-x  1 yasuaki 501  2838 Sep  1 12:24 run.sh
drwxr-xr-x  2 yasuaki 501  4096 Sep  1 12:24 scripts
-rw-r--r--  1 yasuaki 501   988 Sep  1 13:21 system.sh
-rw-r--r--  1 yasuaki 501   988 Sep  1 12:24 system.sh.sample
drwxr-xr-x  2 yasuaki 501  4096 Sep  1 13:09 tools
-rw-r--r--  1 yasuaki 501   926 Sep  1 12:24 version.sh
yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$ ls -la deploy
total 18952
drwxr-xr-x  2 yasuaki 501     4096 Sep  1 14:02 .
drwxr-xr-x 12 yasuaki 501     4096 Sep  1 14:02 ..
-rw-r--r--  1 yasuaki 501   559296 Sep  1 14:02 4.8.13-botic7-rc3-dtbs.tar.gz
-rw-r--r--  1 yasuaki 501  1219975 Sep  1 14:02 4.8.13-botic7-rc3-firmware.tar.gz
-rw-r--r--  1 yasuaki 501 13363747 Sep  1 14:02 4.8.13-botic7-rc3-modules.tar.gz
-rwxr-xr-x  1 yasuaki 501  4122408 Sep  1 14:02 4.8.13-botic7-rc3.zImage
-rw-r--r--  1 yasuaki 501   126307 Sep  1 14:02 config-4.8.13-botic7-rc3
yasuaki@ubuntu18srv:~/Botic7-4813/linux-dev$ 



長くなってしまったので、このリポジトリの構成やスクリプトの内容についての説明と”Botic”化の主要部分について『BeagleBone Botic7環境を自分で再構築してみる(その2)』で説明を行う事にする.

Calendar

April 2024
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
282930  
  • Blogroll

  • Meta