QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1674|回复: 2

linux-2.6.14 编绎出错

[复制链接]
发表于 2005-12-21 17:07:02 | 显示全部楼层 |阅读模式
出错信息:
arch/arm/mach-s3c2410/built-in.o(.text+0x2470): In function `$a':
: undefined reference to `printascii'
make: *** [.tmp_vmlinux1] Error 1

环境:
内核linux-2.6.14(没有修改过内核)
交叉编绎器:ARM-LINUX-GCC 3.4.1

请问大侠这是什么问题啊,多谢。
 楼主| 发表于 2005-12-22 11:24:19 | 显示全部楼层
内核编绎成功了。又有一个问题:
请问怎么下载到开发板上的,我用VIVI引导。用超级终端下载。
在VIVI命令行输入:
load flash kernel x ,然后在超级终端发送:zImage,提示下载成功。但
就是不能启动linux。
请大侠们多多指教!!!小弟谢了!!!
回复

使用道具 举报

 楼主| 发表于 2005-12-23 09:28:14 | 显示全部楼层
原来kernel的空间不够,修改空间后可以运行kernel了.但出错了.

VIVI version 0.1.4 ([email protected]) (gcc version 2.95.2 20000516 (re
lease) [Rebel.com]) #0.1.4 六 6月 18 01:37:33 CST 2005
MMU table base address = 0x33DFC000
Succeed memory mapping.
NAND device: Manufacture ID: 0xec, Chip ID: 0x75 (Samsung KM29U256T)
Found saved vivi parameters.
Press Return to start the LINUX now, any other key for vivi
Copy linux kernel from 0x00030000 to 0x30008000, size = 0x00140000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: ":noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttyS
AC0"
MACH_TYPE = 193
NOW, Booting Linux......
Uncompressing Linux......................................................... don
e, booting the kernel.
Linux version 2.6.14 ([email protected]) (gcc version 3.4.1) #9 Fri Dec
23 19:52:50 CST 2005
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: SMDK2410
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 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/mtdblock3 init=/linuxrc console=ttySAC0

irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00000000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
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: 62976KB available (1292K code, 406K data, 72K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Linux NoNET1.0 for Linux 2.6
S3C2410: Initialising architecture
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
JFS: nTxBlock = 492, nTxLock = 3943
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
S3C2410 RTC, (c) 2004 Simtec Electronics
nvram: can't create /proc/driver/nvram
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
ipmi message handler version 36.0
ipmi device interface
IPMI Watchdog: driver initialized
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
NFTL driver: nftlcore.c $Revision: 1.97 $, nftlmount.c $Revision: 1.40 $
INFTL: inftlcore.c $Revision: 1.18 $, inftlmount.c $Revision: 1.16 $
slram: not enough parameters.
ftl_cs: FTL header not found.
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for Generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for Belkin / Pera
com / GoHubs USB Serial Adapter
usbcore: registered new driver belkin
drivers/usb/serial/belkin_sa.c: USB Belkin Serial converter driver v1.2
drivers/usb/serial/usb-serial.c: USB Serial support registered for Digi 2 port U
SB adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Digi 4 port U
SB adapter
usbcore: registered new driver digi_acceleport
drivers/usb/serial/digi_acceleport.c: v1.80.1.2:Digi AccelePort USB-2/USB-4 Seri
al Converter driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport 2 po
rt adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport 4 po
rt adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport 8 po
rt adapter
usbcore: registered new driver io_edgeport
drivers/usb/serial/io_edgeport.c: Edgeport USB Serial Driver v2.7
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport TI 1
port adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport TI 2
port adapter
usbcore: registered new driver io_ti
drivers/usb/serial/io_ti.c: Edgeport USB Serial Driver v0.7
drivers/usb/serial/usb-serial.c: USB Serial support registered for Empeg
usbcore: registered new driver empeg
drivers/usb/serial/empeg.c: v1.2:USB Empeg Mark I/II Driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for PocketPC PDA
drivers/usb/serial/ipaq.c: USB PocketPC PDA driver v0.5
usbcore: registered new driver ipaq
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan - (wi
thout firmware)
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 1 por
t adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 2 por
t adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 4 por
t adapter
usbcore: registered new driver keyspan
drivers/usb/serial/keyspan.c: v1.1.4:Keyspan USB to Serial Converter Driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan PDA
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan PDA -
(prerenumeration)
drivers/usb/serial/usb-serial.c: USB Serial support registered for Xircom / Entr
egra PGS - (prerenumeration)
usbcore: registered new driver keyspan_pda
drivers/usb/serial/keyspan_pda.c: USB Keyspan PDA Converter driver v1.1
drivers/usb/serial/usb-serial.c: USB Serial support registered for KOBIL USB sma
rt card terminal
usbcore: registered new driver kobil
drivers/usb/serial/kobil_sct.c: 21/05/2004 KOBIL Systems GmbH - http://www.kobil
.com
drivers/usb/serial/kobil_sct.c: KOBIL USB Smart Card Terminal Driver (experiment
al)
drivers/usb/serial/usb-serial.c: USB Serial support registered for MCT U232
usbcore: registered new driver mct_u232
drivers/usb/serial/mct_u232.c: Magic Control Technology USB-RS232 converter driv
er z2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for PL-2303
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.12
drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Vi
sor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5

drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0

usbcore: registered new driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
drivers/usb/serial/usb-serial.c: USB Serial support registered for Connect Tech
- WhiteHEAT - (prerenumeration)
drivers/usb/serial/usb-serial.c: USB Serial support registered for Connect Tech
- WhiteHEAT
usbcore: registered new driver whiteheat
drivers/usb/serial/whiteheat.c: USB ConnectTech WhiteHEAT driver v2.0
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
VFS: Cannot open root device "mtdblock3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
好像没有挂载root..晕啊!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-30 17:21 , Processed in 0.101422 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表