I can use FTDI chip TTL-232R-3V3, USB to TTL Serial Cable(3.3V) with FreeBSD(FreeBSD-10-current)
1. load uftdi driver(SEE man uftdi)
add below line into /boot/loader.conf
uftdi_load="YES"
2. use cu command
cu -l /dev/ttyU0 -s 115200
2012年10月16日火曜日
2012年8月10日金曜日
Serial Console for Raspberry PI
I created Serial Console for Raspberry PI without soldering.
1. USB serial cables and jumper wire.
2. pin assigment
If you use another USB serial cable, please check your data sheet of your USB serial cable.
3. cabling sample
I use this Serial cable for FreeBSD/RaspberryPI project.
1. USB serial cables and jumper wire.
- FTDI chip TTL-232R-3V3, USB to TTL Serial Cable(3.3V)-1.8m (for example, http://akizukidenshi.com/catalog/g/gM-05840/)
- bread board jumper wire (female/male cables)(for example, http://akizukidenshi.com/catalog/g/gP-03471/)
- Raspberry PI
2. pin assigment
If you use another USB serial cable, please check your data sheet of your USB serial cable.
3. cabling sample
I use this Serial cable for FreeBSD/RaspberryPI project.
2012年8月6日月曜日
FreeBSD on Raspberry PI
- Create image file
- related link http://kernelnomicon.org/ and latest build information(2012/Aug/6)
http://kernelnomicon.org/?p=164
- I changed build script to
[NEW]
tar -x -v -z –uname root -C /mnt -f freebsd-uboot-sd.tar.gz
- you need to run build script on root account.
- how to setup serial console(sorry in Japanese):
http://chicklab.blog84.fc2.com/blog-entry-46.html
and The layout of the Raspberry Pi GPIOs
http://elinux.org/RPi_Low-level_peripherals
- TTL level converter
USB <--> 3.3v RS-232C(in Japanese)
TTL-232R-3V3 FTDI USB
http://akizukidenshi.com/catalog/g/gM-05840/
But pin assign is different from Raspberry PI. you need excange lines.
I use bread board cable.
- related link http://kernelnomicon.org/ and latest build information(2012/Aug/6)
http://kernelnomicon.org/?p=164
- I changed build script to
[NEW]
tar -x -v -z –uname root -C /mnt -f freebsd-uboot-sd.tar.gz
- you need to run build script on root account.
- how to setup serial console(sorry in Japanese):
http://chicklab.blog84.fc2.com/blog-entry-46.html
and The layout of the Raspberry Pi GPIOs
http://elinux.org/RPi_Low-level_peripherals
- TTL level converter
USB <--> 3.3v RS-232C(in Japanese)
TTL-232R-3V3 FTDI USB
http://akizukidenshi.com/catalog/g/gM-05840/
But pin assign is different from Raspberry PI. you need excange lines.
I use bread board cable.
2012年5月12日土曜日
change display coding system to UTF-8 on FreeBSD
Now I use Prompt(ssh client for iPhone/iPad). However this ssh client software only support UTF-8
(not support SJIS and EUC).
I had to change terminal coding system to UTF-8.
I changed below configuration
1. .screenrc for GNU screen
encoding utf8
defencoding utf8
kanji utf8 utf8
defkanji utf8
terminfo xterm KJ=UTF-8
terminfo screen KJ=UTF-8
2. I execute screen with -U option
% screen -U
3. .cshrc for environment variable
now I removed LANG(noset LANG environment variable
4. use lv from jless(Because jless does not support UTF-8, I think)
alias less lv -Ou8
(not support SJIS and EUC).
I had to change terminal coding system to UTF-8.
I changed below configuration
1. .screenrc for GNU screen
encoding utf8
defencoding utf8
kanji utf8 utf8
defkanji utf8
terminfo xterm KJ=UTF-8
terminfo screen KJ=UTF-8
2. I execute screen with -U option
% screen -U
3. .cshrc for environment variable
now I removed LANG(noset LANG environment variable
4. use lv from jless(Because jless does not support UTF-8, I think)
alias less lv -Ou8
mlterm on FreeBSD 10-current(2012/5/9)
I upgraded FreeBSD 10-current(2012/5/9).
After upgrade, I could not execute mlterm(ports/x11/mlterm) on it.
Does some one have same problem?
error message is :(.mlterm/msg.log )
Unable to start - open_screen_intern() failed.
June/4
I updated ports tree. I could solved this issue with latest mlterm(Updated to 3.1.2)
Thank you > nobutaka-san
After upgrade, I could not execute mlterm(ports/x11/mlterm) on it.
Does some one have same problem?
error message is :(.mlterm/msg.log )
Unable to start - open_screen_intern() failed.
June/4
I updated ports tree. I could solved this issue with latest mlterm(Updated to 3.1.2)
Thank you > nobutaka-san
2012年5月1日火曜日
プレスポ(プレシジョンスポーツ)のプロスケット交換
プロスケットを交換しました。
交換前の構成(標準品)
CS-HG30-8 11T-30T 368g
交換後
CS-HG50-9 12T-23T 215g
最初はチェーンを変更せずにCS-HG50-8 12-23 278gでも良いと考えていましたが、お店に行って持って比べたら軽さでCS-HG50-9を選んでしまいました!!
チェーン
Dura-Ace 9速用チェーンCN7701(9S 114)
設置方法情報
以下のページを参考にして交換しました。
9速プロスケット関連
CS-HG50-9R 12-23の装着例(FP2とプレスポ等のブログだお)
CS-HG50-9R 12-25の装着例(カワセミ自転車記[クロスバイク プレシジョンスポーツ編])
リアディレーラ調製例(FP2とプレスポ等のブログだお)
リアディレーラ調製例(こちらの方が9速プロスケット時のより詳しい調製例/カワセミ自転車記[クロスバイク プレシジョンスポーツ編])
8速プロスケット交換関連
CS-HG50-8s(13-23t)への交換(いつまでたっても未完成~プレスポゆるポタ日記~)
CS-HG50-8s(13T-23T)への交換(●つれづれ雑記●)
交換に使った機材
Dura ace グリス(お店で特に他のグリスが売っていなかったのでDura ace)
PARK TOOL FR-5G クロスケット外し用(SHIMANO製が売り切れで同等品)
SHIMANO TL-CN27 チェーンカッター (もっと安い物の予定が売り切れでSHIMANO純正)
YC-501A プロスケット外し(チェーンがついているもの、同種類ならば可)
買ったけど使っていない機材
MISSING LINK
自宅の機材
モンキースパナー(プロスケット外し時に利用)
今後の改造予定:
リアディレーラ(RD)をTIAGRA RD4600へ(装着例 http://kawa.naturum.ne.jp/e748215.html)、そしてタイヤ交換時により軽いホイールに交換しようと考えています。
交換前の構成(標準品)
CS-HG30-8 11T-30T 368g
交換後
CS-HG50-9 12T-23T 215g
最初はチェーンを変更せずにCS-HG50-8 12-23 278gでも良いと考えていましたが、お店に行って持って比べたら軽さでCS-HG50-9を選んでしまいました!!
チェーン
Dura-Ace 9速用チェーンCN7701(9S 114)
設置方法情報
以下のページを参考にして交換しました。
9速プロスケット関連
CS-HG50-9R 12-23の装着例(FP2とプレスポ等のブログだお)
CS-HG50-9R 12-25の装着例(カワセミ自転車記[クロスバイク プレシジョンスポーツ編])
リアディレーラ調製例(FP2とプレスポ等のブログだお)
リアディレーラ調製例(こちらの方が9速プロスケット時のより詳しい調製例/カワセミ自転車記[クロスバイク プレシジョンスポーツ編])
8速プロスケット交換関連
CS-HG50-8s(13-23t)への交換(いつまでたっても未完成~プレスポゆるポタ日記~)
CS-HG50-8s(13T-23T)への交換(●つれづれ雑記●)
交換に使った機材
Dura ace グリス(お店で特に他のグリスが売っていなかったのでDura ace)
PARK TOOL FR-5G クロスケット外し用(SHIMANO製が売り切れで同等品)
SHIMANO TL-CN27 チェーンカッター (もっと安い物の予定が売り切れでSHIMANO純正)
YC-501A プロスケット外し(チェーンがついているもの、同種類ならば可)
買ったけど使っていない機材
MISSING LINK
自宅の機材
モンキースパナー(プロスケット外し時に利用)
今後の改造予定:
リアディレーラ(RD)をTIAGRA RD4600へ(装着例 http://kawa.naturum.ne.jp/e748215.html)、そしてタイヤ交換時により軽いホイールに交換しようと考えています。
2012年4月15日日曜日
ahci driver for FreeBSD
I bought HP ML110 G7 for my home server(FreeBSD-8.2-RELEASE). However I had two problems.
And finally I solved these problems with 8.3-RELEASE.
[PROBLEM1]
- FreeBSD-8.2-RELEASE and ahci driver could not probe Seagate ST3320620NS Barracuda ES SATA 3.0Gb/s 320-GB Hard Drive with ahci driver.
and finally I can use with FreeBSD-8.3-RELEASE.
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: ATA-7 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
[PROBLEM2]
- FreeBSD-8.2-RELEASE and ahci driver could probe but some time hang-up with SAMSUNG HD154UI 1AG01113.
and finally I can use with FreeBSD-8.3-RELEASE.
ada2 at ahcich3 bus 0 scbus3 target 0 lun 0
ada2: ATA-7 SATA 2.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C)
ahci0: port 0x1400-0x1407,0x1408-0x140b,0x1410-0x1417,0x1418-0x141b,0x1420-0x143f mem 0xfaca0000-0xfaca07ff irq 17 at device 31.2 on pci0
ahci0: [ITHREAD]
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier supported
ahcich0: at channel 0 on ahci0
ahcich0: [ITHREAD]
error message
ahcich3: is 00000000 cs 00000008 ss 00000000 rs 00000008 tfd c0 serr 00000000
ahcich3: Timeout on slot 3
ahcich3: is 00000000 cs 00000fe0 ss 00000ff8 rs 00000ff8 tfd c0 serr 00000000
ahcich3: Timeout on slot 20
ahcich3: is 00000000 cs 3fe00000 ss 3ff00000 rs 3ff00000 tfd c0 serr 00000000
ahcich3: Timeout on slot 6
ahcich3: is 00000000 cs 0000ff00 ss 0000ffc0 rs 0000ffc0 tfd c0 serr 00000000
ahcich3: Timeout on slot 24
ahcich3: is 00000000 cs fc000003 ss ff000003 rs ff000003 tfd c0 serr 00000000
And finally I solved these problems with 8.3-RELEASE.
[PROBLEM1]
- FreeBSD-8.2-RELEASE and ahci driver could not probe Seagate ST3320620NS Barracuda ES SATA 3.0Gb/s 320-GB Hard Drive with ahci driver.
and finally I can use with FreeBSD-8.3-RELEASE.
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1:
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
[PROBLEM2]
- FreeBSD-8.2-RELEASE and ahci driver could probe but some time hang-up with SAMSUNG HD154UI 1AG01113.
and finally I can use with FreeBSD-8.3-RELEASE.
ada2 at ahcich3 bus 0 scbus3 target 0 lun 0
ada2:
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C)
ahci0:
ahci0: [ITHREAD]
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier supported
ahcich0:
ahcich0: [ITHREAD]
error message
ahcich3: is 00000000 cs 00000008 ss 00000000 rs 00000008 tfd c0 serr 00000000
ahcich3: Timeout on slot 3
ahcich3: is 00000000 cs 00000fe0 ss 00000ff8 rs 00000ff8 tfd c0 serr 00000000
ahcich3: Timeout on slot 20
ahcich3: is 00000000 cs 3fe00000 ss 3ff00000 rs 3ff00000 tfd c0 serr 00000000
ahcich3: Timeout on slot 6
ahcich3: is 00000000 cs 0000ff00 ss 0000ffc0 rs 0000ffc0 tfd c0 serr 00000000
ahcich3: Timeout on slot 24
ahcich3: is 00000000 cs fc000003 ss ff000003 rs ff000003 tfd c0 serr 00000000
登録:
投稿 (Atom)