기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

제가 했던 절차는 아래와 같습니다.

 

1. dd명령어를 통해 ramdisk파일을 만들었습니다.

host : dd if=/dev/zero of=my_ramdisk bs=1024 count=25600             => 25Mbyte ramdisk 생성

 

2. 생선된 ramdisk 이미지에 파일 시스템을 만든다.

host : mke2fs my_ramdisk

 

3. ramdisk_dir폴더를 만들고 이 폴더에 ramdisk를 mount한다.

host : mount -t ext2 -o loop my_ramdisk ramdisk_dir

 

4. mount된 ramdisk_dir폴더에 파일시스템에 필요한 파일들을 복사한다.

host : cp -rf at91_rootfs/* ramdisk_dir            => at91_rootfs는 jffs2파일 시스템 파일들로 인터넷에 받음

 

5. jffs2포맷의 루트 이미지를 만든다.

host : mkfs.jffs2 -e 0x20000 -d ramdisk_dir -o mtd_img

 

 

위의 순서대로 만들어서 다운로드 해서 파일 시스템이 부팅이 되는 것을 확인 했습니다.

그런데...

 

아래의 빨간색으로 칠한 에러들은 왜? 발생하는 것인가요?

 

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009eed08: 0x7073 instead
Further such events for this erase block will not be printed
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "man" (ino #1824) of dir ino #709 appears to be a hard link

 

그리고 왜? 그런지 모르게 ㅠㅠ root계정으로 로그인 하려면 incorret가 나오서 root계정을 사용할 수 없어여 ㅠㅠ;

 

 

 

 

---------------------------------------------------------- 부팅 로그 -----------------------------------------

Uncompressing Linux.............................................................                         ................................................. done, booting the kernel.
Linux version 2.6.30 (root@jongju-desktop) (gcc version 4.3.3 (GCC) ) #40 Tue Ma                         y 15 14:48:39 KST 2012
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM9G20-EK
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 396 MHz, master 132 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: mem=32M console=ttyS0,115200 root=/dev/mtdblock5 mtdparts=a                         t91_nand:128k(bootstrap)ro,256k(uboot)ro,128k(env1)ro,128k(env2)ro,2M(linux),-(r                         oot) rw rootfstype=jffs2
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 28964KB available (3028K code, 234K data, 112K init, 0K highmem)
Calibrating delay loop... 197.83 BogoMIPS (lpj=989184)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 296 bytes
NET: Registered protocol family 16
AT91: Power Management
AT91: Starting after user reset
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  Aⓒ 2001-2006 Red Hat, Inc.
msgmni has been set to 56
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
4
4
ControlBox - GPIO init, Function Called
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
ssc ssc.0: Atmel SSC device at 0xc2888000 (irq 14)
Driver 'sd' needs updating - please use bus_type methods
macb macb: invalid hw address, using random
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (8a:5d:71:a1:41:d7)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bi                         t)
AT91 NAND: 8-bit, Software ECC
Scanning device for bad blocks
Bad eraseblock 1623 at 0x00000cae0000
Creating 6 MTD partitions on "atmel_nand":
0x000000000000-0x000000020000 : "bootstrap"
0x000000020000-0x000000060000 : "uboot"
0x000000060000-0x000000080000 : "env1"
0x000000080000-0x000000200000 : "env2"
0x000000200000-0x000000400000 : "linux"
0x000000400000-0x000010000000 : "root fs"
atmel_spi atmel_spi.0: Atmel SPI Controller at 0xfffc8000 (irq 12)
atmel_spi atmel_spi.1: Atmel SPI Controller at 0xfffcc000 (irq 13)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
IRQ 1/rtc0: IRQF_DISABLED is not guaranteed on shared IRQs
Advanced Linux Sound Architecture Driver Version 1.0.20.
No device for DAI atmel-ssc0
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
lib80211: common routines for IEEE802.11 drivers
rtc-at91sam9 at91_rtt.0: setting system clock to 2012-06-11 07:47:19 UTC (1339400839)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009eed04: 0xec85 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009eed08: 0x7073 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009eed0c: 0xff6c instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009ef240: 0xba6f instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009ef244: 0x5e78 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009ef248: 0x8fcf instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009ef24c: 0xc714 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009ef250: 0x5bf2 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009ef254: 0x0c20 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x009ef258: 0xc265 instead

Further such events for this erase block will not be printed
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "man" (ino #1824) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "alsa" (ino #1818) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "dict" (ino #1822) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "info" (ino #1823) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "misc" (ino #1825) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "opkg" (ino #1826) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "avahi" (ino #1819) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "terminfo" (ino #1827) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "base-passwd" (ino #1820) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "dbus-1" (ino #1821) of dir ino #709 appears to be a hard link
JFFS2 error: (1) jffs2_build_inode_pass1: child dir "udhcpc" (ino #1828) of dir ino #709 appears to be a hard link

VFS: Mounted root (jffs2 filesystem) on device 31:5.
Freeing init memory: 112K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
udev: starting version 151
Remounting root file system...
Caching udev devnodes
Populating dev cache
ALSA: Restoring mixer settings...
Configuring network interfaces... udhcpc (v1.13.2) started
run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
/usr/sbin/alsactl: load_state:1625: No soundcards found...
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Dropbear SSH server: dropbear.
Starting syslogd/klogd: done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
   ...done.

.---O---.
|       |                  .-.           o o
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution at91sam9263ek ttyS0

Angstrom 2011.03 at91sam9263ek ttyS0

List of Articles
번호 제목 글쓴이 날짜 조회 수
5408 BMA150 이 3축 가속도 센서가 과세 품목인가요? [4] 땜철학자 2012-06-21 1717
5407 u-boot 환경설정에 관해서 질문드립니다. [1] 라창균 2012-06-20 925
5406 misc_register()와 register_chrdev()의 차이점 [2] 김경식 2012-06-20 1553
5405 Exynos 4210 GPS관련 [2] lyreisis 2012-06-18 1370
5404 3D 가속기 관련 [2] 박영호 2012-06-18 1291
5403 nand 4Gb+8Gb를 동시에 붙일수있나요? [5] 문철민 2012-06-17 1188
5402 USB Device속도 관련 [8] lyreisis 2012-06-16 1507
5401 android preview thread [1] 강유 2012-06-16 1071
5400 release build시 certificate 설정 [4] 동전귀신 2012-06-16 1239
5399 6410, CS5 사용방법 질문 비바1005 2012-06-16 1072
5398 FFmpeg arm cross compile 오류 관련 [1] 53% 2012-06-15 1145
5397 exynos 4210 가격 [7] 김장균 2012-06-14 1454
5396 s5pv310 시스템에서 u-boot에 data cache enable시 interrupt stat... [2] sonbong 2012-06-13 1382
5395 안드로이드 커널 포팅 및 스터디 [1] 조현호 2012-06-13 2358
5394 질문 하나만 더드립니다. serial 통신과 오류 [3] Supsupi 2012-06-13 1404
5393 jffs2파일을 데스탑 host에서 mount하는 방법 ^^초보님들 도움 되시길... [1] 혜민아빠 2012-06-12 1214
5392 MFC 인코딩시 fps문제 [4] jclab 2012-06-12 1444
5391 rc.local을 이용하여 부팅시 자동으로 프로그램이... [4] Supsupi 2012-06-12 1957
5390 제가 만들고 있는 파일 시스템에서 root계정을 생성는 어디서 해야... [1] 혜민아빠 2012-06-12 1174
» jffs2파일 시스템을 만들어 부팅을 하면 나는 에러에 대해서 문의가... 혜민아빠 2012-06-12 2288

사용자 로그인