멀티코어 + 최적화의 영향인지
생각보다 부드러워 진게 느껴진다!

이제 남은건.. 내가 4명 파티의 방장이 가능하냐 안하냐의 차이? ㅋㅋㅋ
Posted by 구차니
redboot는 RedHat Embedded Debug and Bootstrap firmware 이다.
redhat 사에서 만들은 bootstrap firmware인데, uboot를 주로 쓰던 나로서는
웬지 익숙하지 않은 명령어만 잔뜩 나온다.

uboot의 res(reset)은 redboot의 go 이다.

tynux box가 redboot인데, 이녀석에게서 도움말을 치니 아래와 같이 나온다.
boot - Boot Linux Kernel
go [-w <timeout>] [entry] Execute code at a location

cache [ON | OFF] Manage machine caches
fis {cmds} Manage FLASH images

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

macro Num CommandStrings Set Macro
0 Display All Macros
1 Execute macro 1
2 Execute macro 2
3 Execute macro 3
4 Execute macro 4
5 Execute macro 5
6 Execute macro 6
7 Execute macro 7
8 Execute macro 8
9 Execute macro 9

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>


[링크 : http://ecos.sourceware.org/docs-latest/redboot/redboot-guide.html]
[링크 : http://en.wikipedia.org/wiki/RedBoot]

RedBoot -> u-Boot
환경변수는 RedBoot에서 불러오지 않고 별도로 설정해준다.
[링크 : http://bugcommunity.com/wiki/index.php/U-boot]

'하드웨어 > PalmPalm Tynux Box' 카테고리의 다른 글

tynuxbox X와 H-JTAG (wiggler / parallel)  (0) 2013.07.02
tynux 커널소스 역추적  (0) 2012.07.29
Tynux Box boot log  (0) 2010.07.09
tynuxbox  (0) 2010.02.08
PalmPalm Tynuxbox  (2) 2010.02.08
Posted by 구차니
혹시나 복원을 위해 부팅로그를 저장
부팅시에는 boot argument 라던가 여러가지 정보가 있으니
나중에 복구나, 시스템 스펙을 아는데 중요한 정보들이 들어있다.

그중에 아무래도 가장 나에게 필요한건 memory map이 아닐까 싶다.

REDBOOT에서의 메모리 맵
RAM: 0xa0000000-0xa2000000, 0xa0012fb8-0xa1ebf000 available
FLASH: 0x04000000 - 0x06000000, 128 blocks of 0x00040000 bytes each.

커널에서의 메모리 맵
0x00000000-0x00080000 : "Bootloader"
0x00080000-0x00180000 : "Kernel"
0x00180000-0x00400000 : "Root"
0x00400000-0x02000000 : "Usr1"

흐음.. 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


'하드웨어 > PalmPalm Tynux Box' 카테고리의 다른 글

tynuxbox X와 H-JTAG (wiggler / parallel)  (0) 2013.07.02
tynux 커널소스 역추적  (0) 2012.07.29
RedBoot  (0) 2010.07.09
tynuxbox  (0) 2010.02.08
PalmPalm Tynuxbox  (2) 2010.02.08
Posted by 구차니
하드웨어2010. 7. 8. 16:36
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  IUT de 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.
  • Kicad: project manager.



프랑스에서 만든 오픈소스 프로그램이다.
보기에는 좋아보이는데 쉽게 적응이 가능하려나..

[링크 : http://098.co.kr/11910]
[링크 : http://www.gipsa-lab.inpg.fr/realise_au_lis/kicad/index.html]
Posted by 구차니
LC 강사님이 딱딱 맞추어서 틀어주고 하는걸 보면서 신기해서
강의가 끝나고 어떻게 하면 그렇게 딱딱맞추냐고 어떤 프로그램 쓰냐고 물어 보니 이렇게 답하셨다.



"사운드 포지나, 골든 웨이브 등등등"



오! 사운드 편집 프로그램의 새로운 용도였군!
별거 아닌거 같지만 정말.. 그 타이밍 찾을려고 winamp로 머리 굴리다가 안되서 좌절중에
한줄기 빛이라고 까지 느껴지다니!!!



오오오 눈에 보여!!!

어둠의 경로는 싫으니 오픈소스를 이용!
[링크 : http://audacity.sourceforge.net/]

'개소리 왈왈 > 토익이 싫어' 카테고리의 다른 글

토익점수  (4) 2010.08.13
토익 OTL  (2) 2010.07.10
토익에 대한 여러가지 잡소리  (2) 2010.07.07
Posted by 구차니
개소리 왈왈2010. 7. 8. 10:21
솔찍히 빌 게이츠가 아내 잘 만나서 개과천선
(머.. 우리 빌 게이츠가 달라졌어요! 수준이긴 하지만) 했지만
그래도 리차드 스톨먼과 나란히 견줄 인물도 아니고, 역사에 묻혀버린 CP/M의 개발자 게리 킬달을 자꾸만 떠올리게 한다.

[링크 : http://todayhumor.co.kr/board/view.php?table=bestofbest&no=38274&page=1&keyfield=&keyword=&sb=]
[링크 : http://ko.wikipedia.org/wiki/게리_킬달]

근데..
아테나 프로젝트 / Xwindow / XFree86 관계가 어떻게 되는거지 -ㅁ-

대충정리 하자면
"아테나 프로젝트(Project Athena)에 의해서 X window system이 생겨났고
그에따라 GUI를 조작할 수 있는 툴킷인 Motif가 생겨났다.(요즘에야 GNOME/KDE가 힘을 쓰지만)
그러다가 X.org가 조직되고, GPL을 싫어하는 BSD 진영에서 XFree86 (x86용  Free Xserver)를 만들어 지금에 이르렀다"
가 되는걸려나?

[링크 : http://ko.wikipedia.org/wiki/모티프_(툴킷)]
[링크 : http://ko.wikipedia.org/wiki/X_윈도_시스템]
[링크 : http://ko.wikipedia.org/wiki/XFree86]
[링크 : http://en.wikipedia.org/wiki/Project_Athena]



 XFree86 / X.org 의 로고
[링크 : http://en.wikipedia.org/wiki/X.Org_Server]
[링크 : http://en.wikipedia.org/wiki/XFree86]


xawtv라는 프로그램은 그렇다면 Xaw(X Window System Athena widget set)을 사용하여 만들어진 프로그램인가!
[링크 : http://en.wikipedia.org/wiki/Xaw]
Posted by 구차니
개소리 왈왈2010. 7. 8. 09:53
나만 몰랐나 -ㅁ-?


아무튼 눈에 익숙한건 왼쪽 두개
오른쪽은 이번에 새로 나온 로고?

[링크 : http://media.daum.net/digital/view.html?cateid=1008&newsid=20100708093908739]
[링크 : http://www.autodesk.co.kr/adsk/servlet/pc/index?siteID=1169528&id=13743012]
Posted by 구차니
1. 이제 토익 강의를 들은지 3일차. 벌써 지쳐간다.
   한글도 잘 모르는데 수동태가 어쩌고 부사가 어쩌고
   도대체 이걸 어따 써먹을려고 우리나라 말보다 더 열심히 배워서
   이걸 점수를 따야 하나 싶다.

   게다가. ETS 인가? 전부 생돈 미국으로 나가는데..
   그냥 영어는 영어전문가에게 다른 사람을 쓰면 되지 않나?
   한사람이 모든걸 다 하길 원하는게 웃긴게 아닐까?

2. 강사님(쌤~) 왈
    "토익을 하기로 했으면 6개월 내에 끝내도록 해요. 그이상 하게 되면 사람이 이상해져요"
    3일만에 매우 공감중. 3달이내에 확실하게 끝내버리자 ㄱ-

3. 옆사람이 누군지도 모르는 상황
   강의가 시작되었고, 누군가가 앉았다.
   하.지.만 누구인지 얼굴도 못본채로 수업은 계속되고 수업이 끝나면 서로 눈도 마추질 시간없이
   슝~ 하고 나가버린다. 이게 진정한 학원이기에 당연한 일일려나?

'개소리 왈왈 > 토익이 싫어' 카테고리의 다른 글

토익점수  (4) 2010.08.13
토익 OTL  (2) 2010.07.10
토익 LC 강사님의 팁  (0) 2010.07.08
Posted by 구차니
Linux2010. 7. 7. 16:30
글들을 찾아보면
comand > logfile 2>&1
이라고 하면 command를 실행하면서 생기는 출력(stdout)과 에러(stderr)을 logfile로 저장한다고 한다.

하지만, 막상 저장해보면 순서가 뒤죽박죽 되는것으로 보인다.
$ v4l-info /dev/video0 2> v4l.dev0 1>&2
### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
        name                    : "DC10plus[0]"
        type                    : 0x29 [CAPTURE,OVERLAY,CLIPPING]
        channels                : 3
        audios                  : 0
        maxwidth                : 640
        maxheight               : 480
        minwidth                : 48
        minheight ioctl VIDIOCGTUNER: Invalid argument
ioctl VIDIOCGAUDIO: Invalid argument
              : 32

channels
    VIDIOCGCHAN(0)
        channel                 : 0
        name                    : "Composite"
        tuners                  : 0
        flags                   : 0x0 []
        type                    : CAMERA
        norm                    : 1
    VIDIOCGCHAN(1)
        channel                 : 1
        name                    : "S-Video"
        tuners                  : 0
        flags                   : 0x0 []
        type                    : CAMERA
        norm                    : 1
    VIDIOCGCHAN(2)
        channel                 : 2
        name                    : "Internal/comp"
        tuners                  : 0
        flags                   : 0x0 []
        type                    : CAMERA
        norm                    : 1

tuner

audio

picture
    VIDIOCGPICT
        brightness              : 32896
        hue                     : 32896
        colour                  : 33026
        contrast                : 33026
        whiteness               : 0
        depth                   : 16
        palette                 : YUYV

buffer
    VIDIOCGFBUF
        base                    : (nil)
        height                  : 768
        width                   : 1024
        depth                   : 32
        bytesperline            : 4096

window
    VIDIOCGWIN
        x                       : 0
        y                       : 0
        width                   : 0
        height                  : 0
        chromakey               : 0
        flags                   : 0

$ v4l-info /dev/video0
### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
    name                    : "DC10plus[0]"
    type                    : 0x29 [CAPTURE,OVERLAY,CLIPPING]
    channels                : 3
    audios                  : 0
    maxwidth                : 640
    maxheight               : 480
    minwidth                : 48
    minheight               : 32

channels
    VIDIOCGCHAN(0)
    channel                 : 0
    name                    : "Composite"
    tuners                  : 0
    flags                   : 0x0 []
    type                    : CAMERA
    norm                    : 1
    VIDIOCGCHAN(1)
    channel                 : 1
    name                    : "S-Video"
    tuners                  : 0
    flags                   : 0x0 []
    type                    : CAMERA
    norm                    : 1
    VIDIOCGCHAN(2)
    channel                 : 2
    name                    : "Internal/comp"
    tuners                  : 0
    flags                   : 0x0 []
    type                    : CAMERA
    norm                    : 1

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
    VIDIOCGPICT
    brightness              : 32896
    hue                     : 32896
    colour                  : 33026
    contrast                : 33026
    whiteness               : 0
    depth                   : 16
    palette                 : YUYV

buffer
    VIDIOCGFBUF
    base                    : (nil)
    height                  : 768
    width                   : 1024
    depth                   : 32
    bytesperline            : 4096

window
    VIDIOCGWIN
    x                       : 0
    y                       : 0
    width                   : 0
    height                  : 0
    chromakey               : 0
    flags                   : 0

두가지를 다 리다이렉션은 하지만, 버퍼로 인해서 밀리는건가.. 아니면 다른 명령어가 있는걸까?
Posted by 구차니
이넘을 깔고 나서.. 화면이 이상하게 나오기 시작했다..


음.. 케이블을 꼽는 순간에 잠시 나온다거나 그러던데 흐음..
아무튼 mplayer 라는 xawtv와는 다른 프로그램(같은걸 기반으로 하는)이고
필요한 데이터는 비디오 형식이려나?

'하드웨어 > 캡쳐보드 카메라' 카테고리의 다른 글

OB Clamp  (0) 2012.10.09
Quadro SDI 제품군  (0) 2011.02.07
xawtv / v4l-conf 관련 끄적임  (0) 2010.07.06
CSE PotoTV on Linux  (0) 2010.07.05
xawtv (for linux)  (0) 2010.07.03
Posted by 구차니