728x90

UIMAGE  arch/arm/boot/uImage
"mkimage" command not found - U-Boot images will not be built
 Image arch/arm/boot/uImage is ready

 

컴파일에 필요한 mkimage가 없다는 것이다.

u-boot를 컴파일하면 mkimage가 생성된다. 결국 맞게 가이드를 해줘도 못알아들어서 고생함.

 

u-boot를 컴파일하고 tools directory 내에 있는 mkimage를 /usr/bin/ 으로 복사해주자.

728x90
728x90

‘파파라치’ 양성 학원 피해주의보 발령

신고포상제도를 이용해 돈을 벌게 해주겠다는 사기가 기승을 부리자 공정거래위원회가 '파파라치'양성 학원 피해주의보를 발령했습니다.

공정거래위원회는 파파라치 양성 학원에 대한 피해 상담건수가 지난 2천10년 11건에서 지난해 46건으로 크게 늘어났고 올 들어서도 11건으로 증가 추세에 있어 '학원 피해주의보'를 발령했다고 밝혔습니다.

피해 상담 유형별로는 학원측으로부터 고가에 구입한 이른바 '몰래 카메라'에 대해 환불 요청했을 때 거부하는 경우가 59%로 가장 많았고 수강료 환불 거부가 27%로 그 다음을 차지했습니다.

공정위는 학원 수강시 영수증 또는 계약서를 받지 않아 피해 구제에 어려움이 있다며 수강할 경우 영수증을 반드시 챙기고 소비자상담센터 등에 문의할 것을 당부했습니다.

입력시간 2012.04.16 (12:08)  최종수정 2012.04.16 (14:41)   이재환 기자

 

원문링크 : http://news.kbs.co.kr/economic/2012/04/16/2463389.html

=======================================================

남 등골 빼먹는 방법 배우러 갔다가 자기 등골 빼먹혔다고 하소연하는 모습

728x90
728x90

find
 
고영남 2000/110/18

find 명령어는 파일 시스템에서 주어진 조건으로 파일을 찾을 때 아주 유용하게 쓰입니다.
대표적인 용도는 오래되거나 크거나, 사용하지 않는 파일들을 찾을 때 그 위력을 발휘합니다.
기본적인 사용 방법은 다음과 같습니다.

 


%> find path operators
%> find 대상디렉토리 검색조건 처리방법

 

검색종류


 

-name filename filename 파일 이름으로 찾는다.
-user username user이름으로 찾는다.
-group groupname group 이름으로 찾는다.
-perm nnn 파일 권한이 nnn인 파일을 찾는다. (ex. -perm 755)
-type x 파일 타입이 x인 파일들을 찾는다.
( f : 일반파일, b : 블록 특수파일,
d: 디렉토리, l : 심볼릭 링크 등. )
-atime +n access time 이 n일 이전인 파일을 찾는다.
-atime -n access time이 n일 이내인 파일을 찾는다.
-mtime +n n일 이전에 변경된 파일을 찾는다.
-mtime -n n일 이내에 변경된 파일을 찾는다.
-size n 사이즈가 n이상인 파일들을 찾는다.
-links n 링크된 개수가 n인 파일들을 찾는다.
-print 표준출력
-exec command command 실행.
-operator -a and 연산, -o or 연산 
! not 연산, \( expression \)

 

 

몇가지 예를 들어 설명드리겠습니다.

 


$ find /home. -name ping -print

 


root 디렉토리 밑에서 파일이름이 ping인 파일을 찾아 절대 경로명을 화면에 출력한다.

 

 


$ find /home -name test* -print 
 


/home 아래에서 파일이름이 test로 시작하는 모든 파일을 찾아서 화면에 보여줍니다.

 

 


$ find /home -name *.c -print 
 


/home 밑에 이름이 .c로 끝나는 모든 파일들을 찾아 경로명을 보여준다.

 

 


$ find /home -name who.txt -print 
 


home 디렉토리 아래에 who.txt라는 파일을 찾아 경로명을 보여준다.

 

 


$ find /home -name core -size +2048 -print 
 


파일 이름이 core이고 크기가 2048블럭 이상인 파일을 찾아준다.

 

 


$ find /home -name core -exec ls -l {} \;

 


이름이 core인 파일을 찾아서 ls -l 한다.

 

 


$ find /home -name core -exec rm -i {} \;

 


현재 디렉토리 밑에서 이름이 core인 파일을 찾아 지운다(지우기 전에 정말 지울 지를 물어본다.)

 

 


$ find /home -user unix01 -print
 


파일 소유자가 unix01인 파일을 찾아준다.

 

 

$ find /home -group unix -print
 


사용자그룹이 unix인 파일을 찾아준다.

 

 


$ find /home -perm 700 -print 
 


파일 권한이 700인 파일을 찾아준다.

 

 


$ find /home \ ( -perm 400 -o -perm 200 ) -print 
 


파일 권한이 400인 파일과 200인 파일을 찾아준다.
(주의 : “\”의 앞뒤에 space 가 반드시 있어야 한다.)

 

 

$ find /home -type d -print 
 


파일 타입이 d인 파일을 찾아 경로명을 화면에 출력한다.

 

 


$ find /home -type c -print
 


/dev디렉토리 아래에서 파일 타입이 c인 파일을 찾아 경로명을 보여 준다.

 

 


$ find /home -atime +30 -print

 


30일 이전에 억세스되었던 파일을 찾는다.

 

 


$ find /home -mtime -7 -print

 


7일 이내에 수정된 적이 있는 파일을 찾는다.

 

 


$ find /home -size +1024 -print
 


파일의 블럭 크기가 1024 이상인 파일을 찾아준다.

 

 


$ find /home -name *.bak -exec rm -rf {} \;
 


파일 이름이 .bak 로 끝나는 파일을 찾아서 지운다.

 

 


$ find /home -name \*.c -atime +30 -exec ls -l {} \; 
 


30일 이전에 억세스된 파일 중 *.c를 찾아 ls -l 한다.

 

 


CopyLeft 1999 - 2000 by GYN
mailto gyn90001@hanmail.net

 

원문 링크 : http://coffeenix.net/doc/misc/find.html

728x90
728x90

 

(원문 http://www.rpsys.net/openzaurus/patches/alsa/info.html)

ALSA SoC Layer

The overall project goal of the ALSA System on Chip (ASoC) layer is to provide better ALSA support for embedded system on chip processors (e.g. pxa2xx, au1x00, iMX, etc) and portable audio codecs. Currently there is some support in the kernel for SoC audio, however it has some limitations:-

  • Currently, codec drivers are often tightly coupled to the underlying SoC cpu. This is not ideal and leads to code duplication i.e. Linux now has 4 different wm8731 drivers for 4 different SoC platforms.
     
  • There is no standard method to signal user initiated audio events. e.g. Headphone/Mic insertion, Headphone/Mic detection after an insertion event. These are quite common events on portable devices and ofter require machine specific code to re route audio, enable amps etc after such an event.
     
  • Current drivers tend to power up the entire codec when playing (or recording) audio. This is fine for a PC, but tends to waste a lot of power on portable devices. There is also no support for saving power via changing codec oversampling rates, bias currents, etc.

ASoC Design

The ASoC layer is designed to address these issues and provide the following features :-

  • Codec independence. Allows reuse of codec drivers on other platforms and machines.
     
  • Easy I2S/PCM audio interface setup between codec and SoC. Each SoC interface and codec registers it's audio interface capabilities with the core and are subsequently matched and configured when the application hw params are known.
     
  • Dynamic Audio Power Management (DAPM). DAPM automatically sets the codec to it's minimum power state at all times. This includes powering up/down internal power blocks depending on the internal codec audio routing and any active streams. 
     
  • Pop and click reduction. Pops and clicks can be reduced by powering the codec up/down in the correct sequence (including using digital mute). ASoC signals the codec when to change power states.
     
  • Machine specific controls: Allow machines to add controls to the sound card e.g. volume control for speaker amp.

To achieve all this, ASoC basically splits an embedded audio system into 3 components :-

  • Codec driver: The codec driver is platform independent and contains audio controls, audio interface capabilities, codec dpm definition and codec IO functions.
     
  • Platform driver: The platform driver contains the audio dma engine and audio interface drivers (e.g. I2S, AC97, PCM) for that platform.
     
  • Machine driver: The machine driver handles any machine specific controls and audio events. i.e. turing on an amp at start of playback.

ASoC is still very much work in progress and currently the only supported platform is the pxa2xx. Support for other platforms will follow soon with the iMX and au1x00 SoC's (as I have both boards). Atm, codec drivers exist for:-

  • AK4535
  • UCB1380
  • WM8753
  • WM8731
  • WM8750
  • WM8971
  • WM8974
  • WM9713, WM9714
  • WM9712, WM9711
  • AC97 codecs (supported via ac97_codec.c)

In progress:-

  • WM8772

Also included:-

  • Example Baseband modem <--> WM9713 driver
  • Example Bluetooth Codec <--> WM8753 driver

Supported machines:-

  • Mainstone II  (AC97, I2S and PCM codecs)
  • Zaurus SL-C7x0: Corgi, Shepherd, Husky, Boxer
  • Zaurus SL-Cxx00: Akita, Spitz, Borzoi, Terrier
  • Zaurus SL-6000x: Tosa
  • Zaurus SL-5600: Poodle
  • Others are in progress.......

The current ASoC snapshot (version 0.11.6) was released on 15th September 2006 and can be found at http://www.rpsys.net/openzaurus/patches/alsa/

728x90

+ Recent posts