天嵌 ARM开发社区

 找回密码
 注册
查看: 3164|回复: 8

u-boot启动不了linux

[复制链接]
hubeiluobin 发表于 2009-7-14 23:31:21 | 显示全部楼层 |阅读模式
我把光盘文件里面的u-boot_zImage_W35.bin下载到2440 有时候可以启动linux,但是有时候就出现下面的问题,是为什么,我的lcd是东华3.5寸的屏
##### EmbedSky BIOS for SKY2440 #####
Press Space key to stop autoboot !
Booting Linux ...
Copy linux kernel from 0x0004c000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,NOW, Booting Linux....
 楼主| hubeiluobin 发表于 2009-7-14 23:35:50 | 显示全部楼层
并且我如果每次按下space 进入菜单选择q退出菜单 然后在输入命令reset 都可以正常的引导linux
亚瑟王 发表于 2009-7-15 14:30:31 | 显示全部楼层
不懂你的意思。
 楼主| hubeiluobin 发表于 2009-7-15 19:15:50 | 显示全部楼层
开机后在电脑的超级终端里面如果不按空格键,进不了系统,在超级终端里面就会出现下面的现象
##### EmbedSky BIOS for SKY2440 #####
Press Space key to stop autoboot !
Booting Linux ...
Copy linux kernel from 0x0004c000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,NOW, Booting Linux....
但是如果我关机后再开机并且按下空格键后 就会出现菜单
#####    Boot for Nand Flash    #####
[1] Download u-boot to Nand Flash
[2] Download Eboot
[3] Download Linux Kernel
[4] Download WinCE NK.bin
[5] Download CRAMFS image
[6] Download YAFFS image
[7] Download to SDRAM & Run
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[q] quit from menu
Enter your selection:
我选择q 后的界面如下
EmbedSky>
然后我输入reset并回车
这样才可以启动linux
亚瑟王 发表于 2009-7-16 11:58:41 | 显示全部楼层
你的意思是不按空格键,就会出现下面列出的打印信息?
##### EmbedSky BIOS for SKY2440 #####
Press Space key to stop autoboot !
Booting Linux ...
Copy linux kernel from 0x0004c000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,NOW, Booting Linux....到这里就结束了?
然后必须按了空格键再reset uboot才能进入系统?那进入系统的打印信息是怎么样的呢?
 楼主| hubeiluobin 发表于 2009-7-16 18:56:17 | 显示全部楼层
是的不按空格键就是打印
##### EmbedSky BIOS for SKY2440 #####
Press Space key to stop autoboot !
Booting Linux ...
Copy linux kernel from 0x0004c000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,NOW, Booting Linux....
然后就一直停在那。
敲入空格键并输入reset后打印的信息如下:
##### EmbedSky BIOS for SKY2440 #####
Press Space key to stop autoboot !
Booting Linux ...
Copy linux kernel from 0x0004c000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,NOW, Booting Linux......
Uncompressing Linux.............................................................
.............................................. done, booting the kernel.
Linux version 2.6.13 (root@EmbedSky) (gcc version 3.4.1) #3 Fri Dec 5 18:46:43 C
ST 2008
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: TQ2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
BUG: mapping for 0x20000300 at 0xd0000000 overlaps vmalloc space
S3C2440: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
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 00080000
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00500000, 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: 61056KB available (2560K code, 1037K data, 176K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
USB Power Control, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: IRQ Support
S3C2440: Clock Support, UPLL 48.000 MHz
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
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)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
yaffs Dec  5 2008 18:25:34 Installing.
Initializing Cryptographic API
Console: switching to colour frame buffer device 64x30
S3C24X0 fb0: s3c2410fb frame buffer device initialize done
GPIO L3 bus interface for S3C2440, installed
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
TQ2440_backlight initialized
TQ2440_GPF initialized
TQ2440_leds initialized
TQ2440-Beep initialized
s3c24x0_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c24x0_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c24x0_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)
nbd: registered device at major 43
DM9000 ethernet driver V1.26 I/O: c481a300, VID: 90000a46
Linux video capture interface: v1.00
ovcamchip: v2.27 for Linux 2.6 : OV camera chip I2C driver
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide_s3c2440_init
ide0: S3C2410 IDE interface
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4880000
30 ns is too big for current clock rate 100000
s3c2410-nand: timing: Tacls 0ns, Twrph0 4294ns, Twrph1 0ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit
)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 1857 at 0x01d04000
Bad eraseblock 2480 at 0x026c0000
Bad eraseblock 2555 at 0x027ec000
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00040000 : "bootloader"
mtd: Giving out device 0 to bootloader
0x0004c000-0x0024c000 : "kernel"
mtd: Giving out device 1 to kernel
0x0024c000-0x03ffc000 : "root"
mtd: Giving out device 2 to root
Initial TQ2440 TWO USB HOST Driver!
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb 1-2: new full speed USB device using s3c2410-ohci and address 2
usb 1-2: device descriptor read/64, error -110
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usb 1-2: new full speed USB device using s3c2410-ohci and address 3
usb 1-2: device descriptor read/64, error -110
usbcore: registered new driver ov511
drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
hub 1-0:1.0: connect-debounce failed, port 2 disabled
usbcore: registered new driver gspca
drivers/usb/media/gspca/gspca_core.c: gspca driver 00.60.00 registered
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
TQ2440 TouchScreen successfully loaded
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
TQ2440-SD TQ2440-SD: powered down.
TQ2440-SD TQ2440-SD: initialisation done.
TQ2440 SOUND driver register
TQ2440 SOUND driver probe!
TQ2440 UDA1341 audio driver initialized
NET: Registered protocol family 2
TQ2440-SD TQ2440-SD: powered down.
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
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
block 1711 is bad
block 2334 is bad
block 2409 is bad
VFS: Mounted root (yaffs filesystem).
Mounted devfs on /dev
Freeing init memory: 176K
[11/Mar/2009:08:19:14 +0000] SKY2440 camera init!!!
enable_irq(51) unbalanced from c017c7ac

Please press Enter to activate this console. boa: server version Boa/0.94.13
[11/Mar/2009:08:19:14 +0000] boa: server built Aug 19 2007 at 17:40:00.
[11/Mar/2009:08:19:14 +0000] boa: starting server pid=774, port 80
 楼主| hubeiluobin 发表于 2009-7-16 22:45:22 | 显示全部楼层
我刚才把uboot linux内核和文件系统 又下了一次 居然都好了,奇怪,不知道为什么会出现那样的问题 ,有很多也都不是很理解
亚瑟王 发表于 2009-7-21 00:32:43 | 显示全部楼层
不知道,可能uboot的启动参数设置有关。
sunyzz 发表于 2011-9-12 15:19:11 | 显示全部楼层
大侠,请问你##### EmbedSky BIOS for SKY2440 #####
Press Space key to stop autoboot !
Booting Linux ...
Copy linux kernel from 0x0004c000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,NOW, Booting Linux....
这个问题是怎么解决的啊??谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-6-17 20:56 , Processed in 1.078125 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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