일단 리뷰에 따르면,
GbE + CAT 5e 케이블을 사용하여 2배 정도의 성능 차이가 있지만 (100MB에서 10MB/s 1000MB에서 18MB/s)
단순하게 숫자만 따진다면 10배 이상의 속도인 100MB/s 정도는 나와야 하는데 그러한 속도가 나오지 않아
의아해하던 중 PCI 랜카드라는게 생각이 났다.
Width in bits
32 or 64
Capacity
133 MB/s
(32-bit at 33 MHz)
266 MB/s (32-bit at 66 MHz or 64-bit at 33 MHz)
533 MB/s (64-bit at 66 MHz)
cksum -b <location> -l <length> Compute a 32bit checksum [POSIX algorithm] for a range of memory
d_cp15 Dump the contents of register 0 to 6 of the coprocessor 15
dump -b <location> [-l <length>] [-s] [-1|2|4] Display (hex dump) a range of memory
memcpy -b <address> -l <length> <target address> Copy the contents of memory load [-r] [-v] [-h <host>] [-m {TFTP | xyzMODEM -c
<channel_number>}]
[-b <base_address>]
<file_name> Load a file
version Display RedBoot version
information
help [<topic>] Help about help?
ldrb <address> Read 8 bits value from the address
ldrh <address> Read 16 bits value from the address
ldr <address> Read 32 bits value from the address
strb -b <address> <value> - Write 8 bits value to the
address
strh -b <address> <value> - Write 16 bits value to the
address
str -b <address> <value> - Write 32 bits value to the
address
mac [read | write] <new addr> Read / Write MAC address
ping [-v] [-n <count>] [-l <length>] [-t <timeout>] [-r <rate>]
[-i <IP_addr>] -h <IP_addr> Network connectivity test
Run a script located at the given address The script should end with end
script <address>
RedBoot>
help
Boot Linux Kernel boot
Manage machine caches cache [ON
| OFF]
Compute a 32bit checksum [POSIX algorithm] for a range of memory cksum -b
<location> -l <length>
Dump the contents of register 0 to 6 of the coprocessor 15 d_cp15
Display (hex dump) a range of memory dump
-b <location> [-l <length>] [-s] [-1|2|4] Manage FLASH images fis {cmds}
Execute code at a location go [-w
<timeout>] [entry]
Help about help? help [<topic>]
Read 32 bits value from the address ldr <address>
Read 8 bits value from the address ldrb <address>
Read 16 bits value from the address ldrh <address>
Load a file load [-r]
[-v] [-h <host>] [-m {TFTP | xyzMODEM -c <channel_number>}]
[-b <base_address>] <file_name>
Read / Write MAC address mac read
| write <new addr>
Execute macro 1
1
Execute macro 2
2
Execute macro 3
3
Execute macro 4
4
Execute macro 5
5
Execute macro 6
6
Execute macro 7
7
Execute macro 8
8
Execute macro 9
9
Set Macro macro Num
CommandStrings
Copy the contents of memory memcpy -b
<address> -l <length> <target address>
Network connectivity test ping [-v]
[-n <count>] [-l <length>] [-t <timeout>] [-r
<rate>]
[-i <IP_addr>] -h <IP_addr>
Run a script located at the given address
The script should end with end script <address>
Display All Macros
0
Write 32 bits value to the address str -b
<address> <value>
Write 8 bits value to the address strb -b
<address> <value>
Write 16 bits value to the address strh -b
<address> <value>
Display RedBoot version information version
흐음.. REDBOOT를 익숙해지는게 좋을려나..
손에 익은 u-boot로 갈아치우는게 좋을려나 ㄱ-
+------------------------------------------
CS8900A[0x08000000] - type: 0x630e, rev: 0x0900
Ethernet eth0: MAC address 00:00:00:00:00:00
Can't get BOOTP info for device!
RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 17:44:04, Apr 16 2003
Platform: COGENT (XScale)
Copyright (C) 2000, 2001, Red Hat, Inc.
RAM: 0xa0000000-0xa2000000, 0xa0012fb8-0xa1ebf000 available FLASH: 0x04000000 - 0x06000000, 128 blocks of 0x00040000 bytes each.
Waiting for key input for 5 seconds : ..... memcpy -b 0x04080000 -l 0x00100000 0xa0208000
memcpy -b 0x04180000 -l 0x00280000 0xa0800000
go 0xa0208000 Uncompressing Linux....................................................... done, booting the kernel.
Linux version 2.4.18-rmk5-pxa1 (root@bear) (gcc version 2.95.3 20010315 (release)) #1 2003. 08. 23. (Åä) 19:07:20 KST
Processor: Intel XScale-PXA255 revision 6
Machine: TynuxBox-X Development Platform
Security risk: creating user accessible mapping for 0x20000000 at 0xf6000000
Security risk: creating user accessible mapping for 0x30000000 at 0xf7000000
Security risk: creating user accessible mapping for 0x04000000 at 0xf1000000
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: init=/linuxrc mem=32M console=ttyS0,115200
Console: colour dummy device 80x30
Calibrating delay loop... 99.12 BogoMIPS Memory: 32MB = 32MB total
Memory: 22168KB available (1444K code, 334K data, 72K init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket CPU clock: 99.500 MHz (0.000-398.100 MHz)
Starting kswapd
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Console: switching to colour frame buffer device 30x40
keyboard reset failed. no keyboard connected
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xf8100000x (irq = 14) is a PXA UART
ttyS01 at 0xf8200000x (irq = 13) is a PXA UART
ttyS02 at 0xf8700000x (irq = 12) is a PXA UART
PXA250 Real Time Clock driver v1.00
DS1307 registered
keypad registered
block: 64 slots per queue, batch=16
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
tbx89x0:tbx89x0_probe()
tbx89x0.c: (kernel 2.3.99) Russell Nelson, Andrew Morton
eth0: cs8900 rev J Base 0xF0000000<6>, IRQ 36, MAC 00:23:31:26:C0:0B
pxa_ac97_read(0x00) = 0x0180
pxa_ac97_read(0x3c) = 0x0000
pxa_ac97_read(0x7c) = 0x4352
pxa_ac97_read(0x7e) = 0x5973
ac97_codec: AC97 Audio codec, id: 0x4352:0x5973 (Cirrus Logic CS4202)
pxa_ac97_read(0x00) = 0x0180
pxa_ac97_read(0x02) = 0x1f1f
pxa_ac97_read(0x26) = 0x000f Probing TB-X flash at physical address 0x00000000
Using buffer write method
Using static partition definition
Creating 4 MTD partitions on "TBX flash": 0x00000000-0x00080000 : "Bootloader" 0x00080000-0x00180000 : "Kernel" 0x00180000-0x00400000 : "Root" 0x00400000-0x02000000 : "Usr1"
Linux Kernel Card Services 3.1.22
options: [pm]
Intel PXA250/210 PCMCIA (CS release 3.1.22)
Tracer: Initialization complete
tynuxpm register
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 8192K
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 72K
INIT: version 2.74 booting
Wed Aug 8 11:51:00 UTC 2001
INIT: Entering runlevel: 3
Starting modutils Calculating module dependencies... done.
Loading modules:
Starting system logger: syslogd
Bringing up interface lo
Starting portmapper: portmap
Starting INET services: inetd
Starting pcmcia Starting PCMCIA services: cardmgr.
TynuxBox_X login: Could not read calibration: /etc/pointercal
Unable to open /root/Settings/Categories.xml
tr for sysapplet: /usr/Tynux/Qtopia//i18n/en/libbatteryapplet.qm
tr for sysapplet: /usr/Tynux/Qtopia//i18n/en/libcardmonapplet.qm
tr for sysapplet: /usr/Tynux/Qtopia//i18n/en/libclockapplet.qm
tr for sysapplet: /usr/Tynux/Qtopia//i18n/en/libnetmonapplet.qm
tr for sysapplet: /usr/Tynux/Qtopia//i18n/en/libvolumeapplet.qm
Categories::labels didn't find app Document View
QDir::readDirEntries: Cannot read the directory: /usr/Tynux/Qtopia/plugins/obex
could not load IR plugin
Kicad is an open source (GPL) software for the creation of
electronic
schematic diagrams and printed circuit board artwork.
Designed and written by Jean-Pierre Charras, a researcher at LIS
(Laboratoire des Images et des Signaux) and a teacher in IUTde Saint Martin d'Hères.(France), in the field of
electrical engineering and
image processing.
Kicad is a set of four softwares and a project manager:
Eeschema :Schematic entry.
Pcbnew :Board editor.
Gerbview :GERBER viewer (photoplotter documents).
Cvpcb :footprint selector for components used in the
circuit design.
이것 대신 /var/log/Xorg.log 에서 0x 로 검색 framebuffer의 주소를 알아내서
$ v4l-conf /dev/video1 -a 0xfb000000
이런식으로 설정을 해주고 xawtv를 실행하니,
프레임 버퍼는 맞는지 화면이 이상하게 출력되면서 시스템 다운 ㄱ-
Basically, you figure out which PCI bus:slot.function your device is,
then look in your /sys/bus/pci/devices/0000:<that
bus:slot.function>/resource file. That will list all memory ranges
that your video card has reserved.
DGA is short for Direct Graphics
Access and is a means for a program to bypass the X server
and
directly modifying the framebuffer memory. Technically spoken this
happens
by mapping the framebuffer memory into the memory range of your process.
This is allowed by the kernel only if you have superuser privileges. You
can get these either by logging in as root
or by setting the SUID bit on the
MPlayer executable (not
recommended).
리눅스에서 심심해서 한번 꼽아봤더니 인식을 한다.
아직, xawtv를 쓸줄을 몰라서 제대로 구동은 하지 못하고 있지만, 제대로 돌아만 간다면 쓸만할 것으로 보인다.
설정이 문제인지, 조금만 건드리면 바로 segmentation fault가 뜨며 xawtv가 죽는다.
vlc 역시 디바이스를 열자마자 죽는 현상이 발생하고 있다.
아래는 리눅스 상의 인식 내용이다.
$ lsusb
Bus 002 Device 003: ID 0768:0006 Camtel Technology Corp. Camtel Technology USB TV Genie Pro FM Model TVB330
# dmesg
[ 159.360021] usb 2-1: new full speed USB device using uhci_hcd and address 3
[ 159.846752] usb 2-1: configuration #1 chosen from 4 choices
[ 159.894129] usbvision_probe: Camtel Technology USB TV Genie Pro FM Model TVB330 found
[ 159.894354] USBVision[0]: registered USBVision Video device /dev/video1 [v4l2]
[ 159.894450] USBVision[0]: registered USBVision Radio device /dev/radio0 [v4l2]
[ 159.894531] USBVision[0]: registered USBVision VBI device /dev/vbi0 [v4l2] (Not Working Yet!)
[ 159.896748] usbcore: registered new interface driver usbvision
[ 159.898295] USBVision USB Video Device Driver for Linux : 0.9.10
[ 160.234368] saa7115 5-0025: saa7113 found (1f7113d0e100000) @ 0x4a (usbvision #1)
[ 161.473870] tuner 5-0061: chip found @ 0xc2 (usbvision #1)
[ 161.529521] tuner-simple 5-0061: creating new instance
[ 161.529529] tuner-simple 5-0061: type set to 17 (Philips NTSC_M (MK2))
$ v4l-conf -c /dev/video1
v4l-conf: using X11 display :0.0
dga: version 2.0
WARNING: No DGA direct video mode for this display.
mode: 1024x768, depth=24, bpp=32, bpl=4096, base=unknown
/dev/video1 [v4l2]: no overlay support
$ xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.32-23-generic)
looking for available devices
port 164-195
type : Xvideo, image scaler
name : NV05 Video Blitter
/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : DC10plus[0]
flags: overlay capture
/dev/video1: OK [ -device /dev/video1 ]
type : v4l2
name : Camtel Technology USB TV Genie
flags: capture tuner
BT878 계열의 TV 수신칩을 제어가능한데, 그 외에 몇가지 칩도 지원을 한다.
아무튼, Pinnacle DC10 plus 라는 녀석을 검색해보면 아래와 같이 v4l2를 지원한다는데
VLC에서 나오지 않아 xawtv에서 출력을 하지만, 창의 크기를 바꾼다던가 하면 나오지 않는 문제가 발생했다.
$ xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.32-23-generic)
looking for available devices
port 164-195
type : Xvideo, image scaler
name : NV05 Video Blitter
/dev/video0: OK [ -device /dev/video0 ] type : v4l2
name : DC10plus[0]
flags: overlay capture
참고사항으로, xawtv는 ssh를 통해서는 아래와 같이 도움말 조차도 볼수가 없다. (X11 Tunneling 하면 되려나?)
$ xawtv --help
xdpyinfo: unable to open display "".
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.32-23-generic)
Error: Can't open display:
$ xawtv --help
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.32-23-generic)
usage: xawtv [ options ] [ station ]
options:
-h -help print this text
-v -debug n debug level n, n = [0..2]
-remote assume remote display
-n -noconf don't read the config file
-m -nomouse startup with mouse pointer disabled
-f -fullscreen startup in fullscreen mode
-(no)dga enable/disable DGA extention
-(no)vm enable/disable VidMode extention
-(no)randr enable/disable Xrandr extention
-(no)xv enable/disable Xvideo extention altogether
-(no)xv-video enable/disable Xvideo extention (for video only,
i.e. XvPutVideo() calls)
-(no)xv-image enable/disable Xvideo extention (for image scaling
only, i.e. XvPutImage() calls)
-(no)gl enable/disable OpenGL
-b -bpp n color depth of the display is n (n=24,32)
-o -outfile file filename base for snapshots
-c -device file use <file> as video4linux device
-C -dspdev file use <file> as audio (oss) device
-vbidev file use <file> as vbi device
-joydev file use <file> as joystick device
-shift x shift display by x bytes
-fb let fb (not X) set up v4l device
-parallel n use n compression threads
-bufcount n use n video buffers
-hwscan print a list of available devices.
station:
this is one of the stations listed in $HOME/.xawtv
Check the manual page for a more detailed description.
캐패시터 별로 주파수 특성이 있다고 해서
어떤걸 달아야 하나 고심을 하고 있었는데, 솔찍히 안달아도 상관은 없고
세라믹 / 전해 / 탄탈 캐패티서가 1uF 용으로 추천된다고 되어있다.
세라믹 / 탄탈 / 전해 / 마이카 / 마일러
Instead of adding more
subjective specifications, I prefer to refer to the Maxim 232 datasheet.
It's rather clear in all regards, I think.
Quote:
The capacitor type used for C1–C4 is not critical
for proper operation. The MAX232E and MAX241E require 1µF capacitors,
although in all cases capacitors up to 10µF can be used without harm.
Ceramic, aluminum-electrolytic, or tantalum capacitors are suggested for
the 1µF capacitors.
When using the minimum recommended capacitor values, make sure the
capacitance value does not degrade excessively as the operating
temperature varies. If in doubt, use capacitors with a larger (e.g., 2x)
nominal value. The capacitors’ effective series resistance (ESR), which
usually rises at low temperatures, influences the amount of ripple on
V+ and V-.
Use larger capacitors (up to 10µF) to reduce the output impedance at V+
and V-. This can be useful when “stealing” power from V+ or from V-.