!!!SH-3マイコン !!T-SH7706LSR *[T-SH7706LSR – TAC Inc.|https://tacinc.jp/products/sh3-linux/t-7706lsr] *==[T-SH7706LSR|http://web.kyoto-inet.or.jp/people/takagaki/T-SH7706/T-SH7706LSR.htm]== *[MES(Micro Embeded System)|http://mes.sourceforge.jp/mes2/index-j.html] *[Trinity ◇T-SH7706LSR(仕様)◇|http://www.itrinity.jp/products/tac_board/sh7706lsr/sh7706lsr_spec.html] *[Trinity ◇T-SH7706LAN(仕様)◇|http://www.itrinity.jp/products/tac_board/sh7706lan/sh7706_spec.html] *[株式会社若松通商 / T-SH7706LSR|https://wakamatsu.co.jp/biz/products/detail.php?product_id=38220006] *[Linux | 共通技術推進センター|https://pctec.org/category/linux/] *[8月16日SH7706LSRマイコン - 趣味時々日記、芝、ギター、山、DIY他|https://makky0.blog.fc2.com/blog-entry-923.html] *[SH7706 : prittyparakeetのblog|http://blog.livedoor.jp/prittyparakeet/archives/cat_1237024.html] *[20150501 「Linux による組込みシステム開発(H27 年版 ...|http://seminarinfo.html.xdomain.jp/FedoraLinux/使用物品リスト27年版.pdf] !! Debian etchのインストール *==[SH7706 で Debian (2009.05.07)|http://www.ikko-lab.k.hosei.ac.jp/joomla1508/sh7706/43-sh7706-de-debian.html]== *==[SH7706 で Debian (2009.05.07) - こばやしじっけんしつへようこそ|http://www.ikko-lab.k.hosei.ac.jp/joomla3201/%E3%83%9E%E3%82%A4%E3%82%B3%E3%83%B3/10-sh7706-%E3%81%A7-debian-2009-05-07.html]== *[SH7706 で Debian (2009.05.07) - こばやしじっけんしつへようこそ|https://www.ikko-lab.k.hosei.ac.jp/joomla3802/%E3%83%9E%E3%82%A4%E3%82%B3%E3%83%B3/sh7706-%E3%81%A7-debian-2009-05-07.html] *==[SH7706 で Debian (2009.05.07)|https://www.ikko-lab.k.hosei.ac.jp/joomla3802/%E3%83%9E%E3%82%A4%E3%82%B3%E3%83%B3/10-sh7706-%E3%81%A7-debian-2009-05-07.html]== *==[SH7706でDebian環境を構築する - ハウグリー みんなでつくるレシピ|http://www.howgry.com/page/view/id/574]== → [SH7706でDebian環境を構築する - ハウグリー みんなでつくるレシピ|https://web.archive.org/web/20110301102341/http://www.howgry.com/page/view/id/574] *[T-SH7706LANのDebian化 プラスアルファ|http://sh7706lan.blog85.fc2.com/] *[SH7706LSRにDebian 5.0をインストール - Plan9日記|http://d.hatena.ne.jp/oraccha/20110508/1304856718] !プロキシの設定 apt-getやwgetのためにプロキシサーバを設定する。 # export http_proxy=http://proxy:8080 !「起動途中でエラーや警告が表示されるが起動には問題ないので無視する」ようなことはしません 次の4点を行うと「起動途中でエラーや警告が表示される」のを解消することができる。 !udevのアンインストール udevはカーネルのバージョンが2.6.15以降でないと使えないようなのでアンインストールする。 # apt-get --purge remove udev !modules.depの作成 # cd /lib/modules/ # mkdir 2.6.12.6 # cd 2.6.12.6/ # touch modules.dep カーネルをリビルドすることでも作成される。 !tmpfsを有効にする カーネルをリビルドすることで行う。 !slram: not enough parameters. カーネルのリビルドすることで出なくなる。 !!kernelのセルフビルド !ソースの取得 # cd /usr/src # wget http://www.ring.gr.jp/pub/linux/kernel.org/kernel/v2.6/linux-2.6.12.6.tar.bz2 # apt-get install bzip2 # tar jxf linux-2.6.12.6.tar.bz2 !パッチの適用 # wget http://mes.sourceforge.jp/mes2/linux/lsr/linux-2.6.12.6-shmin-4.patch # apt-get install patch # patch linux-2.6.12.6-shmin-4.patch ! # apt-get install dpkg-dev binutils gcc make libncurses5-dev # apt-get install gcc-3.4 ! # make ARCH=sh CC=gcc-3.4 menuconfig # make ARCH=sh CC=gcc-3.4 # make ARCH=sh CC=gcc-3.4 modules_install # mount /dev/shmmc1 /boot # cp -a vmlinux /boot !tmpfsを有効にする !起動 Linux boot loader 2009/4/11, build by Eclipse. initrd loading.. vmlinux loading.................. Linux version 2.6.12.6 (root@ucat1) (gcc version 3.4.6 (Debian 3.4.6-5)) #8 Mon Feb 1 15:36:40 JST 2010 This is SH7706LAN board Ver 2.0 Built 1 zonelists Kernel command line: mem=32M console=ttySC1,115200 root=/dev/shmmc2 PID hash table entries: 256 (order: 8, 4096 bytes) CPU clock: 120.00MHz Bus clock: 40.00MHz Module clock: 40.00MHz Interval = 100000 Console: colour dummy device 80x25 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 30304k/32768k available (1498k kernel code, 2400k reserved, 216k data, 68k init) Mount-cache hash table entries: 512 CPU: SH7706 checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 183k freed NET: Registered protocol family 16 SCSI subsystem initialized SH Virtual Bus initialized Real Time Clock Driver v1.12 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled SuperH SCI(F) driver initialized ttySC0 at MMIO 0xfffffe80 (irq = 25) is a sci ttySC1 at MMIO 0xa4000150 (irq = 59) is a scif io scheduler noop registered io scheduler anticipatory registered RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) nbd: registered device at major 43 ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com) Last modified Nov 1, 2000 by Paul Gortmaker NE*000 ethercard probe at 0x300: 00 18 5f 00 09 2e eth0: NE2000 found at 0x300, using IRQ 34. slram: not enough parameters. SH_MMC: MMC Reset OK. SH_MMC: SDHC Card shmmc: shmmc1 shmmc2 SH_MMC: 3911680Kbyte 1024 blocksize NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 RAMDISK: Compressed image found at block 0 EXT2-fs warning: checktime reached, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Trying to move old root to /initrd ... okay Freeing unused kernel memory: 68k freed INIT: version 2.86 booting Activating swap...done. Checking root file system...fsck 1.40-WIP (14-Nov-2006) e2fsck 1.40-WIP (14-Nov-2006) /dev/shmmc2: clean, 33059/483840 files, 170972/967680 blocks done. EXT3 FS on shmmc2, internal journal Setting the system clock.. Cleaning up ifupdown.... Loading kernel modules...done. Loading device-mapper support. Checking file systems...fsck 1.40-WIP (14-Nov-2006) done. Setting kernel variables...done. Mounting local filesystems...done. Activating swapfile swap...done. Setting up networking.... Configuring network interfaces...done. INIT: Entering runlevel: 2 Starting system log daemon: syslogd. Starting kernel log daemon: klogd. Starting internet superserver: inetd. Starting periodic command scheduler: crond. Debian GNU/Linux 4.0 ucat1 ttySC1 ucat1 login: root Last login: Mon Feb 1 15:10:02 2010 on ttySC1 Linux ucat1 2.6.12.6 #8 Mon Feb 1 15:36:40 JST 2010 sh?! The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. ucat1:~# free total used free shared buffers cached Mem: 30620 10232 20388 0 1712 5392 -/+ buffers/cache: 3128 27492 Swap: 0 0 0 !時間が遅れる カーネルビルド中に時間がずれているようで、とりあえずほとんど何もしない状態で一晩様子を見てみることにした。 システムクロックがずれているだけで、ハードウェアクロックはそれほどずれないようです。 TACから直接rev.2をホルダー+バッテリーのオプションも付けて購入したが遅れは解消せず。 オリジナルではtopコマンドを実行している間にもどんどん時間が遅れていく状態でしたが[linux-2.6.27.45の移植|http://wave.iobb.net/doc/summary/sh3wiki/wifky.cgi?p=linux-2.6.27.45%A4%CE%B0%DC%BF%A2]を行った方がおられて、そのカーネルに差し替えて一晩放置したところ数秒遅れる程度でした。 *[SH3 linux - linux-2.6.27.45の移植|https://web.archive.org/web/20110714002238/http://wave.iobb.net/doc/summary/sh3wiki/wifky.cgi?p=linux-2.6.27.45%A4%CE%B0%DC%BF%A2] ! *[アフィリエイトの大福ブログ:SH7706LANのshLinuxでのRTCについて|http://www.worksblog.jp/affiliate/blogs/351580.php] *[セミナー実施情報|http://seminarinfo.html.xdomain.jp/] *[DebianでBIOSの時間がUTC(9時間前)になるとき - 虚ろなるパソコン技術ノート|http://www.net-phantom.jp/blog6/2009/09/debianbiosutc9.html] *==[Linux/debian/時計が9時間ずれる - hirokasa.jp|http://hirokasa.jp/new/index.php?Linux%2Fdebian%2F%BB%FE%B7%D7%A4%AC9%BB%FE%B4%D6%A4%BA%A4%EC%A4%EB]== *[Markopee::Notebook: debian で時間が 9時間ずれる|http://markopee.blogspot.com/2008/01/debian-9.html] *[時間が9時間進む(hwclock,rcS) - bnote|http://www.bnote.net/kuro_box/debian_date.shtml] !linux-2.6.27.45の移植 //*[SH3 linux - FrontPage|http://wave.iobb.net/doc/summary/sh3wiki/wifky.cgi] *[SH3 linux - FrontPage|http://wave2.iobb.net/doc/summary/sh3wiki/wifky.cgi] ! *[T-SH7706LAN(TAC) の Linux(SHMIN) - War? Wiki|http://www3.kct.ne.jp/~mt03605z/fswiki/index.cgi?page=T%2DSH7706LAN%28TAC%29+%A4%CE+Linux%28SHMIN%29] ! *[Pythonでmmapの使い方について 質問と回答(Q&A) [okyuu.com]|http://okyuu.com/ja/question/7822] ! *[T-SH7706LAN - siliconlinuxの日記|http://d.hatena.ne.jp/siliconlinux/20061005/p1] *[T-SH7706LANその2 - siliconlinuxの日記|http://d.hatena.ne.jp/siliconlinux/20061006/p1] *[T-SH7706LANその3 - siliconlinuxの日記|http://d.hatena.ne.jp/siliconlinux/20061012/1160581747] *[不定期更新日記|http://www3.cnet.ne.jp/yokomizu/_exc/dmsgbd2/dmsgbd.asp] *[[ 2015/07] - morikuma.net - morikuma.net|https://www.morikuma.net/archive/Season-all.html] *[今日の組み込み 2007/03 - morikuma.net - morikuma.net|https://www.morikuma.net/archive/embedded-200703E.html] *[Linux-2.6.39.4のT-SH7706LSR向けコンパイル - へにゃぺんて@日々勉強のまとめ|https://yohgami.hateblo.jp/entry/20121229/1356779566] *[SH7706のLinux-5.11.1カーネル差分の公開 | 共通技術推進センター|https://pctec.org/tech/sh7706%E3%81%AElinux-5-11-1%E3%82%AB%E3%83%BC%E3%83%8D%E3%83%AB%E5%B7%AE%E5%88%86%E3%81%AE%E5%85%AC%E9%96%8B/] *[SH7706のLinux-5.17.3カーネル差分の公開 | 共通技術推進センター|https://pctec.org/tech/sh7706%e3%81%aelinux-5-17-3%e3%82%ab%e3%83%bc%e3%83%8d%e3%83%ab%e5%b7%ae%e5%88%86%e3%81%ae%e5%85%ac%e9%96%8b/] !その他 *[T-SH7706LSRのCN2 3番ピンのハイ/ローを制御するデバイスドライバを作成 - へにゃぺんて@日々勉強のまとめ|https://yohgami.hateblo.jp/entry/20121231/1356945578] *[T-SH7706LANへのUSBホスト増設の実験|https://www3.cnet.ne.jp/yokomizu/shmin/index.html] *[GitHub - oraccha/SH7706LSR: Linux/SH3 test code.|https://github.com/oraccha/SH7706LSR] *[sh3|https://wiki.netbsd.org/ports/sh3/] *[アフィリエイトの大福ブログ:SH7706LSR + SG12864Aを稼動させてみました|http://www.worksblog.jp/affiliate/blogs/380850.php] *[MES でtftpがうまくいかないな(2) | cashtrayのブログ|https://ameblo.jp/cashtray/entry-11062998925.html] *[MES2 for H8|http://www.interq.or.jp/earth/atsushi/mes2/] *[URIBO User's manual|https://uribo.sourceforge.net/doc/index.html] *[日記/2008-12-13/LED クラスドライバ - BAK|http://jr0bak.homelinux.net/~imai/pukiwiki/pukiwiki.php?%C6%FC%B5%AD%2F2008-12-13%2FLED%20%A5%AF%A5%E9%A5%B9%A5%C9%A5%E9%A5%A4%A5%D0] *[連載:体験!マイコンボードで組込みLinux|gihyo.jp … 技術評論社|http://gihyo.jp/dev/serial/01/micom-linux] *[R-2.11.1 on T-SH7706LSR - 温泉気分で♪ - Yahoo!ブログ|http://blogs.yahoo.co.jp/nozawa_onsen_potta/14961345.html] *[メモ帳: T-SH7706LSR|http://zak-ele.blogspot.jp/search/label/T-SH7706LSR]