기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.
커널 부팅 도중, 다음 화면에서 매번 정지하는 현상이 일어납니다.
U-Boot 1.3.4 (Apr 28 2010 - 14:04:19) for NT-S5PC100 (Rev.01)
CPU: S5PC100@666MHz
Fclk = 1332MHz, Hclk = 166MHz, Pclk = 66MHz, Serial = PCLK
Board: NT-S5PC100 Serise
DRAM: 256 MB
Flash: 0 kB
SD/MMC: Card not found
NAND: 512 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
smc911x: initializing
smc911x: detected LAN9215 controller
smc911x: phy initialized
smc911x: MAC c8:2a:14:2a:47:91
TFTP from server 192.168.23.61; our IP address is 192.168.23.118
Filename 'zImage-S5PC100'.
Load address: 0xc0008000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###################################
done
Bytes transferred = 2173544 (0x212a68)
Boot with zImage
Starting kernel ...
Uncompressing Linux.............................................................
................................................................................
. done, booting the kernel.
답변 감사합니다.
말씀데로, 디버그포트를 수정하니, 커널패닉 메시지를 확인하는데에 성공하였습니다.
U-Boot 1.3.4 (Apr 28 2010 - 14:04:19) for NT-S5PC100 (Rev.01)
CPU: S5PC100@666MHz
Fclk = 1332MHz, Hclk = 166MHz, Pclk = 66MHz, Serial = PCLK
Board: NT-S5PC100 Serise
DRAM: 256 MB
Flash: 0 kB
SD/MMC: Card not found
NAND: 512 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
smc911x: initializing
smc911x: detected LAN9215 controller
smc911x: phy initialized
smc911x: MAC c8:2a:14:2a:47:91
TFTP from server 192.168.23.75; our IP address is 192.168.23.118
Filename 'zImage-S5PC100'.
Load address: 0xc0008000
Loading: #################################################################
#################################################################
#################
done
Bytes transferred = 2149384 (0x20cc08)
Boot with zImage
Starting kernel ...
Uncompressing Linux.............................................................
...............................................................................
done, booting the kernel.
Linux version 2.6.29 (root@getfeus-Primary) (gcc version 4.3.1 (GCC) ) #65 Tue O
ct 16 00:42:27 JST 2012
CPU: ARMv7 Processor [412fc081] revision 1 (ARMv7), cr=10c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SMDKC100
Ignoring unrecognised tag 0x41001099
Memory policy: ECC disabled, Data cache writeback
CPU S5PC100 (id 0x43100000)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S5PC100: PLL settings, A=1332000000, M=267000000, E=67500000, H=24000000
S5PC100: ARMCLK=666000000, HCLKD0=166500000, PCLKD0=83250000, HCLK=133500000, PC
LK=66750000
mout_apll: source is fout_apll (1), rate is 1332000000
mout_epll: source is fout_epll (1), rate is 67500000
mout_mpll: source is mpll (1), rate is 267000000
mout_hpll: source is srclk (1), rate is 24000000
mmc_bus: source is dout_mpll (1), rate is 44500000
mmc_bus: source is dout_mpll (1), rate is 66750000
mmc_bus: source is dout_mpll (1), rate is 66750000
usb-host-bus: source is dout_mpll (1), rate is 133500000
uclk1: source is dout_mpll (1), rate is 66750000
sclk_spi: source is dout_mpll2 (1), rate is 66750000
sclk_spi: source is dout_mpll2 (1), rate is 66750000
sclk_spi: source is dout_mpll2 (1), rate is 66750000
sclk_audio: source is mout_epll (0), rate is 67500000
audio-bus: source is mout_epll (0), rate is 67500000
audio-bus: source is mout_epll (0), rate is 67500000
audio-bus: source is fout_epll (0), rate is 67500000
sclk_irda: source is dout_mpll (1), rate is 133500000
sclk_pwi: source is srclk (0), rate is 0
sclk_fimd: source is dout_mpll (1), rate is 133500000
sclk_fimc: source is dout_mpll (1), rate is 133500000
sclk_fimc: source is dout_mpll (1), rate is 133500000
sclk_fimc: source is dout_mpll (1), rate is 133500000
sclk_mixer: source is clk_27m (0), rate is 27000000
s5pc1xx: 6291456 bytes system memory reserved for fimc0 at 0x2069d000
s5pc1xx: 6291456 bytes system memory reserved for fimc1 at 0x20c9d000
s5pc1xx: 6291456 bytes system memory reserved for fimc2 at 0x2129d000
s5pc1xx: 33554432 bytes system memory reserved for mfc at 0x2189d000
s5pc1xx: 33554432 bytes system memory reserved for jpeg at 0x2389d000
s5pc1xx: 8388608 bytes system memory reserved for pmem at 0x2589d000
s5pc1xx: 3145728 bytes system memory reserved for pmem_gpu1 at 0x2609d000
s5pc1xx: 6291456 bytes system memory reserved for pmem_adsp at 0x2639d000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=ttySAC1,115200 root=/dev/nfs rw nfsroot= 192.168.23
.75:/nfs-Root/RootFS-S5PC100 ip=192.168.23.118:192.168.23.75:192.168.23.1:255.25
5.255.0::eth0:off mem=256M ethaddr=c8:2a:14:2a:47:91
Unknown boot option `192.168.23.75:/nfs-Root/RootFS-S5PC100': ignoring
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
console [ttySAC1] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 153600KB available (3996K code, 465K data, 180K init)
Calibrating delay loop... 665.19 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 564 bytes
S5PC1XX GPIO Driver Init
NET: Registered protocol family 16
s5pc1xx Power Management init, (c) 2009 Samsung Electronics
S5PC100: Initialising architecture
S3C PL330-DMA Controller Driver, (c) 2008-2009 Samsung Electronics
Total 24 DMA channels will be initialized.
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
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
S5PC100 Button init function
11 Button Interrupt occure
No such irq number 47<6>S5PC1XX ADC driver, (c) 2008 Samsung Electronics
ADC platform data read
S5PC1XX ADC driver successfully probed
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
yaffs Oct 16 2012 00:42:10 Installing.
msgmni has been set to 300
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
s3cfb s3cfb: [fb0] dma: 0x2fa00000, cpu: 0xff000000, size: 0x00177000
Console: switching to colour frame buffer device 100x30
s3cfb s3cfb: registered successfully
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
s5pc100-uart.0: s3c2410_serial0 at MMIO 0xec000000 (irq = 16) is a S3C6400/10
s5pc100-uart.1: s3c2410_serial1 at MMIO 0xec000400 (irq = 20) is a S3C6400/10
s5pc100-uart.2: s3c2410_serial2 at MMIO 0xec000800 (irq = 24) is a S3C6400/10
s5pc100-uart.3: s3c2410_serial3 at MMIO 0xec000c00 (irq = 28) is a S3C6400/10
brd: module loaded
loop: module loaded
pmem: 1 init
pmem_gpu1: 1 init
pmem_adsp: 1 init
PPP generic driver version 2.4.2
eth0 (smc911x): not using net_device_ops yet
eth0: LAN9215 (rev 0) at 0x98000000 IRQ 38
eth0: Ethernet addr: 00:09:c0:ff:ec:48
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
Linux video capture interface: v2.00
S5PC100 MFC Driver, (c) 2009 Samsung Electronics
S3C Rotator Driver, (c) 2008 Samsung Electronics
s3c_rotator_probe called
s3c_rotator_probe success
S3C G3D Driver, (c) 2007-2009 Samsung Electronics
s3c_g3d version : 0x1020100
G3D_RESERVED_MEM_SIZE : 32 MB
G3D_CHUNK_SIZE : 2 MB
G3D_CHUNK_NUM : 16
g3d is registered successfully!<4>Driver 'sd' needs updating - please use bus_ty
pe methods
S3C NAND Driver, (c) 2008 Samsung Electronics
S3C NAND Driver is using software ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bi
t)
Creating 3 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x000000000000-0x000000080000 : "Bootloader"
0x000000080000-0x000000400000 : "Kernel"
0x000000400000-0x000020000000 : "File System"
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 87, io mem 0xed400000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
s3c-udc : S3C HS USB OTG Device Driver, (c) 2008-2009 Samsung Electronics
s3c-udc : version 15 March 2009 (DMA Mode)
android init
android_bind
mass_storage_function_add
android_usb gadget: Number of LUNs=1
adb_function_add
android_usb gadget: android_usb ready
Registered gadget driver 'android_usb'
mice: could not register psaux device, error: -16
mice: PS/2 mouse device common for all mice
input: nt-keypad as /devices/virtual/input/input0
Aesop Keypad Initialized!!
S3C Touchscreen driver, (c) 2008 Samsung Electronics
S3C TouchScreen got loaded successfully : 12 bits
PRESS KEY : KEY_RIGHT
Press keycode = 106
input: S3C TouchScreen as /devices/virtual/input/input1
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2410-i2c s3c2410-i2c.0: slave address 0x10
s3c2410-i2c s3c2410-i2c.0: bus frequency set to 379 KHz
s3c2410-i2c s3c2410-i2c.0: i2c-0: S3C I2C adapter
s3c2410-i2c s3c2410-i2c.1: slave address 0x10
s3c2410-i2c s3c2410-i2c.1: bus frequency set to 379 KHz
s3c2410-i2c s3c2410-i2c.1: i2c-1: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133500000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133500000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (44500000 Hz)
Registered led device: mmc0::
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133500000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133500000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (44500000 Hz)
Registered led device: mmc1::
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133500000 Hz)
s3c-sdhci s3c-sdhci.2: clock source 1: hsmmc (133500000 Hz)
s3c-sdhci s3c-sdhci.2: clock source 2: mmc_bus (44500000 Hz)
Registered led device: mmc2::
mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI WM8580 PAIFRX
No device for DAI WM8580 PAIFTX
No device for DAI WM8580 SAIF
WM8580 Audio Codec 0.1
asoc: WM8580 PAIFRX <-> s5p-i2s-v5 mapping ok
asoc: WM8580 PAIFTX <-> s5p-i2s-v5 mapping ok
asoc: WM8580 SAIF <-> s5p-i2s mapping ok
Manjunath: Registered sound card
ALSA device list:
#0: smdk (WM8580)
TCP cubic registered
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
lib80211: common routines for IEEE802.11 drivers
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
s3c-fimc: fimc_configure_subdev: v4l2 subdev board registering failed
s3c-fimc: fimc_configure_subdev: v4l2 subdev board registering failed
S5PC1XX TVOUT Driver, (c) 2009 Samsung Electronics
s5p-tvout s5p-tvout: hpd status is cable removed
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
eth0: link down
IP-Config: Complete:
device=eth0, addr=192.168.23.118, mask=255.255.255.0, gw=192.168.23.1,
host=192.168.23.118, domain=, nis-domain=(none),
bootserver=192.168.23.75, rootserver=192.168.23.75, rootpath=
Looking up port of RPC 100003/2 on 192.168.23.75
eth0: link up, 100Mbps, half-duplex, lpa 0xC5E1
Looking up port of RPC 100005/1 on 192.168.23.75
Root-NFS: Server returned error -13 while mounting /tftpboot/
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 512 mtdblock0 (driver?)
1f01 3584 mtdblock1 (driver?)
1f02 520192 mtdblock2 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
boog log를 잘 보시면 답이 있습니다.
Kernel command line: console=ttySAC1,115200 root=/dev/nfs rw nfsroot= 192.168.23
.75:/nfs-Root/RootFS-S5PC100 ip=192.168.23.118:192.168.23.75:192.168.23.1:255.25
5.255.0::eth0:off mem=256M ethaddr=c8:2a:14:2a:47:91
Unknown boot option `192.168.23.75:/nfs-Root/RootFS-S5PC100': ignoring
nfs server 설정은 당연히 하셨겠지요???
typing 하실 때 공백이 들어간 것으로 보입니다. 여기에
nfsroot= 192.168.23.75:/nfs-Root/RootFS-S5PC100 공백없이 다시 입력해 보세여
nfsroot=192.168.23.75:/nfs-Root/RootFS-S5PC100 이렇게
bootargs 가 잘못된것으로 보입니다. 제 기억이 맞다면 debug serial는 ttySAC1입니다. 수정후 다시 시도해 보세요.
마찬가지로 kernel에서도 debug port가 1로 설정되어 있는지 확인해 보시구요.