logo
한국어 Select Language
FF 포럼
포럼지기에게 한 마디
공지사항
뉴스 EZ보드 통합 메뉴얼
FA-VUS 개발환경 !강추! 타켓보드 부팅-HyperTerminal 타켓보드 부팅-Tutty 타켓보드 부팅-minicom Windows환경-타겟 Linux 구동 Linux환경-타겟 Linux 구동 개발 시스템 구축 유형 페도라 설치 CentOS 설치 크로스 컴파일러 설치 TFTP 환경 구축 NFS 파일 시스템 구축 삼바 서버 구축 부트로더 부트로더 쓰기 커널 이미지 제작 및 설치 램디스크 이미지 제작 및 설치
임베디드 제품 사용기 오늘의 영어 휴게실 Appliance
강좌 & 팁
강좌 & 팁 EZ-보드 그래픽 & 멀티미디어 네트워크 프로그래밍 디바이스 드라이버 ImJa 솔루션 임베디드 FLEX 안드로이드 iOS 개발 FAIDE 하드웨어 C/C++ go언어 GNU C 레퍼런스 메뉴얼 ARM 루아 응용 프로젝트 이클립스 지그비 개발자 노트 권장도서 FPGA
VIVADO DSP HSIO Logic Zynq
함수설명
C 라이브러리 함수 커널 API 그래픽 라이브러리 - gxLib
자료실
자료실 FALINUX SDK ARM PC-V210 S3C6410
G100-S3C6410 S100-S3C6410 C221-S3C6410 N200-S3C6410 EZ-S3C6410
S5PV210
G100-S5PV210 S100-S5PV210 N200-S5PV210 C221-S5PV210
EZ-S3C2440 EZ-PXA270 EZ-X5 EZ-S2410 Auto Package
도와주세요
FAQ 도와주세요

  • 회원가입
  • ID/PW 찾기
 
  1. FAQ

  2. 도와주세요


최근 글

  • [특판][성Y인Y용Y품][...
  • 요즘 잘 나가는,,,
  • 요즘은 vmware 말고 ...
  • [docker] buildx 를 ...
  • buildroot 사용 관련
  • GPIO 제어 방법 문의 [1]
  • 임베디드 리눅스 개발...
  • make wandboard_quad ...
  • LCD 초기화 코드 좀 ... [1]
  • 임베디드 리눅스 커널...

최근 댓글

  • 오래 전에 해결법을 터득해서 ...
  • 비트 코인으로 작업하는 것은 ...
  • 10년차 임베 엔지니어 입니다. ...
  • 임베디드쪽이라면 SOC 쪽 displ...
  • 그렇군요 제가 질문이 잘못됬었...
  • 취준생으로서 포트폴리오를 만...
  • 제가 현재 취업준비생입니다. ...
  • 에프에이리눅스 보드는 아래 링...
  • 전체
  • 일반
  • X5
  • S2410
  • ESP-NS
  • S3C2440
  • EP9312
  • 구매
  • 기타

X5 mkflashroot 쉘 명령을 실행하면 에러 발생

2009.09.11 17:44

오궁 조회 수:17291

안녕하세요. 현재 EZ-PXA270 보드를 사용 중에 있습니다.

여기에 EZ-LCD-Q2를 사용하려고 합니다.

 

LCD를 사용하기 위하여 커널을 "zImage.ez-pxa270-480x272" 으로 바꾸고나서 램디스크 모드(LR)로 부팅하였습니다.

부팅 후에 YAFFS 모드로 바꾸기 위하여 ./mkflashroot 를 실행하면 아래와 같은 에러 메세지가 출력됩니다.

 

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

./mkflashroot 실행 시의 에러 메세지

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

[root@falinux ~]$ ./mkflashroot

mkflashroot ver 1.1 (www.falinux.com)

wait about 20sec ...

backup app

mkdir: Cannot create directory `/tmp/': File exists

copy /bin

copy /dev

copy /etc

copy /home

copy /lib

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

copy /root

cp: Write Error: No space left on device

[root@falinux ~]$ ls

mkflashroot  nfsmnt

[root@falinux ~]$ mkflashroot

-bash: mkflashroot: command not found

[root@falinux ~]$ ./mkflashroot

mkflashroot ver 1.1 (www.falinux.com)

wait about 20sec ...

backup app

mkdir: Cannot create directory `/tmp/': File exists

cp: cannot create directory `/tmp/app/bin': No space left on device

cp: cannot create directory `/tmp/app/dev': No space left on device

cp: cannot create directory `/tmp/app/etc': No space left on device

cp: cannot create directory `/tmp/app/home': No space left on device

cp: cannot create directory `/tmp/app/lib': No space left on device

cp: cannot create directory `/tmp/app/root': No space left on device

copy /bin

copy /dev

copy /etc

copy /home

copy /lib

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

cp: Write Error: No space left on device

copy /root

cp: Write Error: No space left on device

copy /sbin

cp: cannot create directory `/app/sbin': No space left on device

copy /tmp

cp: cannot create directory `/app/tmp': No space left on device

copy /usr

cp: cannot create directory `/app/usr': No space left on device

copy /var

cp: cannot create directory `/app/var': No space left on device

mkdir: Cannot create directory `/app/proc': No space left on device

mkdir: Cannot create directory `/app/mnt': No space left on device

mkdir: Cannot create directory `/app/mnt/nfs': No such file or directory

mkdir: Cannot create directory `/app/mnt/cf': No such file or directory

mkdir: Cannot create directory `/app/mnt/mmc': No such file or directory

mkdir: Cannot create directory `/app/mnt/usb': No such file or directory

mkdir: Cannot create directory `/app/mnt/nand': No such file or directory

mkdir: Cannot create directory `/app/mnt/temp': No such file or directory

mkdir: Cannot create directory `/app/sys': No space left on device

mkdir ...done

restore app

cp: cannot create directory `/app/app': No space left on device

chmod: /app/app: No such file or directory

chmod: /app/mnt: No such file or directory

cp: /root/.fstab: No such file or directory

 

please reboot system and enter EZBOOT->set

   Select >> LF

: will be changed [noinitrd root=/dev/mtdblock2]

 

[root@falinux ~]$

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

 

 

 

df 명령을 실행하면 아래와 같이 표시됩니다.

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

[root@falinux app]$ df

Filesystem           1k-blocks      Used Available Use% Mounted on

/dev/ram                 15863     15863         0 100% /

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

 

 

 

부트로더 설정 화면은 아래와 같습니다.

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

EZBOOT>set

^^;

   1) mac address            : 00:FA:07:78:27:04

   2) local ip               : 192.168.10.95

   3) local netmask          : 255.255.255.0

   4) local gateway          : 192.168.10.1

   5) server ip              : 192.168.10.100

   6) zImage      file name  : zImage.ez-pxa270-480x272

   7) ram disk    file name  : ramdisk-1.11-16M.gz

   8) boot loader file name  : ezboot.ez-pxa270

   9) logo image  file name  :

  10) auto execute full name :

  11) autoboot wait time     : 3

  12) copy ramdisk [Y/N]     : Y

  13) arm kernel arch number : 3003

  14) nand part (B,C,L,K,R,A): 0,1,0,3,5,55

  15) watchdog  (sec, off=0) : 0

  16) KCMD 1 : mem=64M

  17) KCMD 2 : initrd=0xA0800000,5M root=/dev/ram ramdisk=16384

  18) KCMD 3 : console=ttyPXA2,115200

  19) KCMD 4 :

  20) KCMD 5 :

  21) KCMD 6 :

 

  L)  Load default

      LF) load KCMD2 root=flash

      LR) load KCMD2 root=ramdisk

  S)  Save to flash

  P)  aPply & exit

  Q)  Quit

 

  Select >>

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

 

 

커널 부팅 중 메세지는 아래와 같습니다.

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

WELCOME EZBOOT V2.2.49 (FALINUX Co.,Ltd) ..........PXA270(EZ-PXA270)

Program by You Young-chang, Oh Jae-Kyoung, Jang Hyung-Gi

Last Modify Aug  1 2008

 

  Detect ES29LV400_B Flash : vid=4A pid=22BA

  SIZE 4-Mbits [512-Kbytes]

 

  Detect Samsung NAND 64M 3.3V 8-bit Flash : vid=EC pid=76

  SIZE 64-Mbytes (page=512, block=16K)

 

                                                              ...

Copy Kernel Image .....

Copy Ramdisk Image .....

Starting kernel [MARCH 3003]...

kernel command [EZBOOT mem=64M initrd=0xA0800000,5M root=/dev/ram ramdisk=16384 console=ttyPXA2,115200    ip0=192.168.10.95 mac=00:FA]

Uncompressing Linux...................................................................................................................

Linux version 2.6.21-falinux (gemini@hw27) (gcc version 3.4.3) #2 Tue Jun 17 18:28:40 KST 2008

CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f

Machine: FALinux EZ-PXA270 Development Platform

Memory policy: ECC disabled, Data cache writeback

Run Mode clock: 208.00MHz (*16)

Turbo Mode clock: 520.00MHz (*2.5, active)

Memory clock: 104.00MHz (/2)

System bus clock: 104.00MHz

CPU0: D VIVT undefined 5 cache

CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets

CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets

Built 1 zonelists.  Total pages: 16256

Kernel command line: EZBOOT mem=64M initrd=0xA0800000,5M root=/dev/ram ramdisk=16384 console=ttyPXA2,115200    ip0=192.168.10.95 mac=

PID hash table entries: 256 (order: 8, 1024 bytes)

Console: colour dummy device 80x30

Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

Memory: 64MB = 64MB total

Memory: 55808KB available (3472K code, 397K data, 120K init)

Security Framework v1.0.0 initialized

SELinux:  Initializing.

selinux_register_security:  Registering secondary module capability

Capability LSM initialized as secondary

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

NET: Registered protocol family 16

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Time: pxa_timer clocksource has been installed.

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

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)

TCP reno registered

checking if image is initramfs...it isn't (no cpio magic); looks like an initrd

Freeing initrd memory: 5120K

NetWinder Floating Point Emulator V0.97 (double precision)

audit: initializing netlink socket (disabled)

audit(12.519:1): initialized

yaffs Jun 17 2008 18:02:53 Installing.

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered (default)

Console: switching to colour frame buffer device 60x34

pxa2xx-uart.0: ttyPXA0 at MMIO 0x40100000 (irq = 22) is a FFUART

pxa2xx-uart.1: ttyPXA1 at MMIO 0x40200000 (irq = 21) is a BTUART

pxa2xx-uart.2: ttyPXA2 at MMIO 0x40700000 (irq = 20) is a STUART

RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize

loop: loaded (max 8 devices)

AX88796B: v1.1.0

AX88796B: 09/20/06 (http://www.asix.com.tw)

ax88796b: MAC ADDRESS  00 fa 07 78 27 04

No NAND device found!!!

No NAND device - returning -ENXIO

pxa27x-ohci pxa27x-ohci: PXA27x OHCI

pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1

pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 3 ports detected

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver usbhid

drivers/usb/input/hid-core.c: v2.6:USB HID core driver

mice: PS/2 mouse device common for all mice

input: wm9712 TouchScreen 0.30 as /class/input/input0

wm9712ts registe complete irq=116

i2c /dev entries driver

I2C: i2c-0: PXA I2C adapter

I2C: i2c-1: PXA I2C adapter

SD Card initial

Advanced Linux Sound Architecture Driver Version 1.0.14rc3.

ASoC version 0.13.0

AC97 SoC Audio Codec 0.6

asoc: AC97 HiFi <-> pxa2xx-ac97 mapping ok

ALSA device list:

  #0: EZ-PXA270 (AC97)

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 10

lo: Disabled Privacy Extensions

Mobile IPv6

IPv6 over IPv4 tunneling driver

sit0: Disabled Privacy Extensions

NET: Registered protocol family 17

CAUTION: XScale iWMMXt coprocessor detected, but kernel support is missing.

RAMDISK: Compressed image found at block 0

length error

VFS: Mounted root (ext2 filesystem) readonly.

Freeing init memory: 120K

INIT: version 2.86 booting

INIT: Entering runlevel: 3

mount: Mounting /dev/mtdblock2 on /app failed: No such device or address

/usr/local/apache/bin/apachectl start: httpd started

Starting system logger: [  OK  ]

Starting INET services: [  OK  ]

eth0 Link mode : 100 Mb/s  Duplex mode.

 

 

Welcome to FALinux (www.falinux.com)

Linux Kernel 2.6.21-falinux

falinux login: root

[root@falinux ~]$

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

 

어떻게 해야 mkflashroot 쉘 명령이 제대로 실행이 될까요?

부트로더에서 EFA 명령으로  NAND Flash 의 어플리케이션 영역도 지웠는데요.

방법을 알려 주시면 감사하겠습니다.

 

 

 

이 게시물을
  • Twitter
  • Facebook
  • Delicious
목록

댓글 0

목록
번호 제목 글쓴이 날짜 조회 수
공지 포럼의 메뉴가 보이지 않아요! 장길석 2014.02.06 957669
공지 [중요 공지]제품 사용 및 기술 문의는 전화 상담을 받지 않습니다. 장길석 2012.11.09 1408554
공지 답글에 대한 공지 사항. falinux 2006.11.20 2424052
15341 [특판][성Y인Y용Y품][비아][시알][여성흥분제] 전부 1+1 vv8282.top 지금 확인해보세요~! dde33 2026.10.15 2
15340 요즘 잘 나가는,,, dde33 2026.09.12 845
15339 buildroot 사용 관련 로즈마리 2021.02.01 38167
15338 GPIO 제어 방법 문의 [1] 단순최고 2021.01.25 51084
15337 임베디드 리눅스 개발 보드 추천 nam 2019.12.06 48864
15336 make wandboard_quad 실행시 문제 gasi 2019.08.27 47085
15335 LCD 초기화 코드 좀 봐주세요 [1] 김용수 2019.07.12 63137
15334 임베디드 리눅스 커널 소스에 관해 질문드립니다 ! ekthatkxkd 2019.06.28 43729
15333 numpy,scipy 를 arm-linux-XXXX 로 크로스컴파일 하여 올릴수 있나요? 초보자 2019.06.24 49288
15332 I2C - deal with arbitration loss 오류가 궁금합니다. [1] S1eepingBeauty 2018.12.10 56771
15331 구형 EM-PXA270 보드 혹시 보유하시분 연락 주시면 감사드릴께요. file 존 2018.11.24 42753
15330 리눅스 GPIO 관련 센서의 단선 또는 고장유무 판별법이 궁금합니다. [2] S1eepingBeauty 2018.11.12 55127
15329 임베디드 리눅스에서 c 언어 디버깅 궁금합니다. [1] 존 2018.09.14 47073
15328 부팅 시간 문의 [1] nam 2018.06.29 45795
15327 localport? port? 검은고래 2018.06.29 39961
15326 fork()의 thread 멈추는 현상 [4] HwangRoy 2018.05.09 58616
15325 임베디드 리눅스 습득용 보드 판매하시나요? 임베디드초급자 2018.04.27 39719
15324 (도와주세요)네트워크 디바이스 드라이버 수정문제입니다. [1] Chanmini 2018.03.04 43602
15323 Ez x5 구합니다!! khobaik 2018.01.26 38317
15322 실행중 symbol not found 를 발생시키는 u-boot 본적 있으신가요 ? sayyouandme 2017.12.17 57350
첫 페이지 1 2 3 4 5 6 7 8 9 10 끝 페이지
쓰기
태그
부탁드립니다. ^^
  • 글을 작성하시려면 회원으로 가입하시고 로그인 하셔야 합니다.
  • 회원 가입은 주민등록번호가 필요 없으며, 메일 주소만 있으면 간단하게 가입하실 수 있습니다.
  • 본 포럼에 등록된 모든 글의 저작권은 작성하신 분께 있으며, 저작자의 허락 없이 다른 곳에 펌이나 도용하시면 안 됩니다.
  • 또한, 전자우편 수집 프로그램이나 그 밖의 기술적 장치를 이용하여 무단으로 이메일 주소 및 자료 수집되는 것을 거부하며,
  • 이를 위반 시 정보통신망 법에 의해 형사 처벌됨을 유념하시기 바랍니다.
  • FF 포럼
  • 강좌 & 팁
  • 함수설명
  • 자료실
  • 도와주세요