linux-2.6.14移植:NET: Registered protocol family 1卡住
修改好内核源码,并增加了yaffs源码,开始make,出现如下错误:
U-Boot 1.1.6 (Mar 21 2012 - 07:03:29)
DRAM: 64 MB
Flash: 2 MB
NAND: 256 MiB
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x240000, size 0x200000
2097152 bytes read: OK
## Booting from zImage at 30008000 ---by ce123
Starting kernel ...
Uncompressing Linux...................................................................................... done, booting the kernel.
Linux version 2.6.14 (root@czu) (gcc version 3.4.1) #2 Wed Dec 19 22:34:57 CST 2012
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: SMDK2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C2440: core 405.600 MHz, memory 101.400 MHz, peripheral 50.700 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
irq: clearing pending ext status 00000200
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00500000, tcnt a509, tcfg 00000200,00000000, usec 00001e4c
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 62080KB available (2210K code, 453K data, 104K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
softlockup thread 0 started up.
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, UPLL 48.000 MHz, DVS off
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS version 1.0, (C) 1999, 2000 Axis Communications AB
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Dec 19 2012 20:52:49 Installing.
lp: driver loaded but no devices found
S3C2410 RTC, (c) 2004 Simtec Electronics
ppdev: user-space parallel port driver
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
BAST NOR-Flash Driver, (c) 2004 Simtec Electronics
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4a00000
s3c2410-nand: timing: Tacls 20ns, Twrph0 60ns, Twrph1 20ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 1945 at 0x0f320000
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00080000 : "Board_uboot"
0x00240000-0x00440000 : "Board_kernel"
0x00440000-0x0ff80000 : "Board_yaffs2"
mice: PS/2 mouse device common for all mice
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 99 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1(停在这有3-5分钟,之后才输出后面的信息)
VFS: Mounted root (jffs filesystem).
Freeing init memory: 104K
Warning: unable to open an initial console.
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
从红色后面的信息也可以看出,VFS安装的是jffs文件系统,而我们是要安装yaffs2文件系统,问题就出在这。再次
make menuconfig,去掉jffs即可!这个问题的难点在于:红色后面的信息要等很久才出现,不看后面的信息很难定位错误!
分享到:
相关推荐
linux-2.6.14.tar.bz2
ansible-2.6.14-1.el7.ans.noarch.rpm
linux-2.6.14.tar.gz
该文档是我在做linux2.6.14的移植时写的一些总结,按照网上的移植步骤会遇到一些问题,这里将遇到的问题已经解决方法都包括在内
详细的讲述了linux-2.6在2410的详细移植过程,内核分区的移植,和添加分区
linux2.6.14内核移植到CVT2410上的详细过程,包括内核修改编译,根文件系统的制作,jfss2文件系统的制作,QT桌面的制作,以及nfs的搭建(研究生嵌入式系统课程所用教材!)
redis-2.6.14.tar.gz
xUtils 包含了很多实用的android工具。 目前xUtils主要有四大模块:DbUtils模块,ViewUtils模块,HttpUtils模块,BitmapUtils模块。 使用xUtils快速开发框架需要有以下权限:<uses-permission android:name="android....
linux2.6.14移植-网卡 更多资源请访问http://www.59186618.com
redis资源安装包下载,tar包解压安装即可,数据缓存必备
linux2.6.14移植-nandflash 更多资源请访问http://www.59186618.com
xUtils-2.6.14 jar包用于android开发使用
linux2.6.14内核移植流程 linux2.6.14内核移植流程 linux2.6.14内核移植流程
WinMerge-2.6.14-exe
linux2.6.14移植-yaffs2 更多资源请访问http://www.59186618.com
Rubygems是类似Radhat的RPM、centOS的Yum、Ubuntu的apt-get的应用程序打包部署解决方案。Rubygems本身基于Ruby开发,在Ruby命令行中执行。我们需要它主要是因为jekyll的执行需要...在此提供rubygems-2.6.14的下载版本。
redis-2.6.14.tar.zip
nbiotyun_test-2.6.14.apk.1.1