도와주세요!!
램디스크 영역으로하면 커널 패닉이 없는데 플래시 영역으로하면 커널 패닉이 생깁니다.
make distclean
./falinux-config.sh ez-s3c6410-android
./make_s3c6410.sh menuconfig
./make_s3c6410.sh
커널은 이렇게 만들었습니다.
1) mac address : 00:fa:01:a5:c0:48
2) local ip : 192.168.0.3
3) local netmask : 255.255.255.0
4) local gateway : 192.168.0.1
5) server ip : 192.168.0.8
6) zImage file name : zImage.ez-s3c6410
7) ram disk file name : ramdisk-1.14-24M.gz
8) boot loader file name : ezboot.ez-s3c6410
9) logo image file name :
10) auto execute full name :
11) autoboot wait time : 2
12) copy ramdisk [Y/N] : N
13) arm kernel arch number : 3000
14) nand part (B,C,L,K,R,A): 1,1,2,3,10,1007
15) watchdog (sec, off=0) : 0
16) KCMD 1 : mem=128M
17) KCMD 2 : noinitrd root=/dev/mtdblock2 rootfstype=yaffs2
18) KCMD 3 : console=ttySAC0,115200
19) KCMD 4 : init=/init /init.rc
20) KCMD 5 : ezpanel=3
21) KCMD 6 :
Copy Kernel Image .....
Starting kernel [MARCH 3000]...
kernel command [EZBOOT mem=128M noinitrd root=/dev/mtdblock2 rootfstype=yaffs2 ]
Uncompressing Linux.............................................................
Linux version 2.6.29-falinux (root@ubuntu) (gcc version 4.3.2 (GCC) ) #1 PREEMP2
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: EZS3C6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C64XX: PLL settings, A=666000000, M=532000000, E=96000000
S3C64XX: HCLKx2=266000000, HCLK=133000000, PCLK=66500000
mout_apll: source is fout_apll (1), rate is 666000000
mout_epll: source is fout_epll (1), rate is 96000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is mout_epll (0), rate is 96000000
mmc_bus: source is mout_epll (0), rate is 96000000
mmc_bus: source is mout_epll (0), rate is 96000000
usb-host-bus: source is mout_epll (0), rate is 96000000
uclk1: source is dout_mpll (1), rate is 66500000
spi-bus: source is mout_epll (0), rate is 96000000
spi-bus: source is mout_epll (0), rate is 96000000
audio-bus: source is mout_epll (0), rate is 96000000
audio-bus: source is mout_epll (0), rate is 96000000
irda-bus: source is mout_epll (0), rate is 96000000
s3c64xx: 8388608 bytes SDRAM reserved for pmem at 0x50752000
s3c64xx: 3145728 bytes SDRAM reserved for pmem_gpu1 at 0x50f52000
s3c64xx: 6291456 bytes SDRAM reserved for pmem_adsp at 0x51252000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: EZBOOT mem=128M noinitrd root=/dev/mtdblock2 rootfstype=ya
Unknown boot option `/init.rc': ignoring
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 105940KB available (4580K code, 858K data, 964K init)
Calibrating delay loop... 661.50 BogoMIPS (lpj=330752)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 520 bytes
NET: Registered protocol family 16
S3C6410 Power Management, (c) 2008 Samsung Electronics
S3C6410: Initialising architecture
S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
Total 32 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
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
S3C64XX ADC driver, (c) 2008 Samsung Electronics
S3C64XX ADC driver successfully probed
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
yaffs Nov 6 2012 18:25:48 Installing.
msgmni has been set to 207
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
S3C_LCD clock got enabled :: 133.000 Mhz
Window[0] - FB1: map_video_memory: clear ff000000:00177000
FB1: map_video_memory: dma=57a00000 cpu=ff000000 size=00177000
Window[0] - FB2: map_video_memory: clear ff0bb800:000bb800
FB2: map_video_memory: dma=57abb800 cpu=ff0bb800 size=000bb800
Console: switching to colour frame buffer device 100x30
fb0: s3cfb frame buffer device
Window[1] - FB1: map_video_memory: clear ff177000:00177000
FB1: map_video_memory: dma=57c00000 cpu=ff177000 size=00177000
Window[1] - FB2: map_video_memory: clear ff232800:000bb800
FB2: map_video_memory: dma=57cbb800 cpu=ff232800 size=000bb800
fb1: s3cfb frame buffer device
Window[2] - FB1: map_video_memory: clear ff2ee000:000bb800
FB1: map_video_memory: dma=57e00000 cpu=ff2ee000 size=000bb800
fb2: s3cfb frame buffer device
Window[3] - FB1: map_video_memory: clear ff3aa000:000bb800
FB1: map_video_memory: dma=57f00000 cpu=ff3aa000 size=000bb800
fb3: s3cfb frame buffer device
Window[4] - FB1: map_video_memory: clear ff466000:000bb800
FB1: map_video_memory: dma=57000000 cpu=ff466000 size=000bb800
fb4: s3cfb frame buffer device
s3c6400-uart.0: ttySAC0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.1: ttySAC1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
s3c6400-uart.2: ttySAC2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
s3c6400-uart.3: ttySAC3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
brd: module loaded
loop: module loaded
nbd: registered device at major 43
usbcore: registered new interface driver ub
pmem: 1 init
pmem_gpu1: 1 init
pmem_adsp: 1 init
ASIX AX88796B Ethernet Adapter:v2.1.0 18:26:47 Nov 6 2012
http://www.asix.com.tw
AX88796B: MAC ADDRESS 00 fa 01 a5 c0 48
AX88796B: found at 0x8000000, using IRQ 111.
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
Driver 'sd' needs updating - please use bus_type methods
S3C NAND Driver, (c) 2008 Samsung Electronics
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-b)
Creating 6 MTD partitions on "NAND 512MiB 3,3V 8-bit":
0x000000000000-0x000000400000 : "Bootloader"
0x000000400000-0x000001100000 : "Kernel+Ramdisk"
0x000001100000-0x000011100000 : "system"
0x000011100000-0x000021100000 : "userdata"
mtd: partition "userdata" extends beyond the end of device "NAND 512MiB 3,3V 8-0
0x000020000000-0x000030000000 : "cache"
mtd: partition "cache" is out of reach -- disabled
0x000000000000-0x000020000000 : "Application"
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 79, io mem 0x74300000
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)
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 2a:fd:ac:3c:f9:3a
usb0: HOST MAC fe:37:cf:f6:39:bd
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
Registered gadget driver 'g_ether'
mice: could not register psaux device, error: -16
mice: PS/2 mouse device common for all mice
input: falinux-gpio-keys as /devices/platform/falinux-gpio-keys/input/input0
Ok! falinux gpio key register
S3C Touchscreen driver, (c) 2008 Samsung Electronics
S3C TouchScreen got loaded successfully : 12 bits
input: S3C TouchScreen as /devices/virtual/input/input1
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410_rtc: tick irq 34, alarm irq 92
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c.0: slave address 0x10
s3c2440-i2c s3c2440-i2c.0: bus frequency set to 377 KHz
s3c2440-i2c s3c2440-i2c.0: i2c-0: 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 (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (96000000 Hz)
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI s3c64xx-ac97
WM9713/WM9714 SoC Audio Codec 0.15
asoc: AC97 HiFi <-> s3c64xx-ac97 mapping ok
ALSA device list:
#0: SMDK6400 (WM9713)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
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
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs2 filesystem) readonly on device 31:2.
Freeing init memory: 964K
Failed to execute /init. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
커널 패닉에 대해 찾아보다가
./mkflashroot를 실행 하였는데
LF로 변경을해도
플래시 영역이 아니라 램 디스크 영역으로만 실행이 됩니다.
부팅 설정이 잘못 되어 있어 init.rc 파일을 찾지 못해 패닉이 나고있습니다.
안드로이드의 init.rc 파일이 있는 파티션으로 다시 설정해 주세요.