主题 : u-boot 2008.10 植移 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 1790
精华: 0
发帖: 33
金钱: 350 两
威望: 222 点
综合积分: 66 分
注册时间: 2008-09-28
最后登录: 2015-08-07
楼主  发表于: 2009-04-12 21:25

 u-boot 2008.10 植移


我有两块板子,用u-boot想启动我的阳初2440,我的vga 必须要用I2C 初始化

现在增加了Xmodem下载,但下个kernel要好几分钟.

dm9000  今天用nfs,居然可以下东西,但是下半卡机了.    每次都是ping的通,下不了.不知道为什么


U-Boot 2008.10 (Apr 11 2009 - 22:29:14)
I2C:   ready
DRAM:  64 MB
Flash:  1 MB
NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3
V 8-bit)
64 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
chase2440 # printenv
bootdelay=2
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
ipaddr=192.168.1.70
netmask=255.255.255.0
vga=imw 76 4 20;imw 76 7 8c;imw 76 14 1b;imw 76 13 3
severip=192.168.1.111
bootargs=noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
bootcmd=run vga;nand read 0x31000000 0x50000 0x200000;bootm 0x31000000
serverip=192.168.1.111
stdin=serial
stdout=serial
stderr=serial
Environment size: 374/65532 bytes
chase2440 # set serverip 192.168.1.111
chase2440 # ping 192.168.1.111
dm9000 i/o: 0x19000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:00:3e:26:0a:5b
host 192.168.1.111 is alive
chase2440 # nfs 0x31000000 192.168.1.111:/mnt/nfs/zImage
dm9000 i/o: 0x19000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:00:3e:26:0a:5b
File transfer via NFS from server 192.168.1.111; our IP address is 192.168.1.70
Filename '/mnt/nfs/zImage'.
Load address: 0x31000000
Loading: #################################################################
         #################################################################
         #####################


级别: 新手上路
UID: 1790
精华: 0
发帖: 33
金钱: 350 两
威望: 222 点
综合积分: 66 分
注册时间: 2008-09-28
最后登录: 2015-08-07
1楼  发表于: 2009-04-12 22:54


还有,我用串口把linux 2.6.13 和root_qtoia 修改后 下要板子里..

有时候停在
dm9000 driver这个地方停下不动了.

但有时能运行.    
级别: 新手上路
UID: 1790
精华: 0
发帖: 33
金钱: 350 两
威望: 222 点
综合积分: 66 分
注册时间: 2008-09-28
最后登录: 2015-08-07
2楼  发表于: 2009-04-13 09:17
2.6. 22的内核启动

U-Boot 2008.10 (Apr 11 2009 - 22:29:14)

I2C:   ready
DRAM:  64 MB
Flash:  1 MB
NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3
V 8-bit)
64 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x50000, size 0x200000
2097152 bytes read: OK
## Booting kernel from Legacy Image at 31000000 ...
   Image Name:   linux-2.6.22
   Created:      2009-04-12  15:06:16 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1845144 Bytes =  1.8 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
........................................................ done, booting the kerne
l.
Linux version 2.6.22.6 (root@Chase) (gcc version 3.4.1) #1 Sun Apr 12 22:59:49 C
ST 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
S3C24XX 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.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
irq: clearing pending ext status 00000300
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60988KB available (3252K code, 466K data, 136K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, DVS off
S3C24XX DMA Driver, (c) 2003-2004,2006 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
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: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
Registering GDB sysrq handler
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
yaffs Apr 12 2009 22:50:09 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
s3c2440-uart.0: s3c2410_serial0 at MMIO map 0x50000000 mem 0xf0400000 (irq = 70)
is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO map 0x50004000 mem 0xf0404000 (irq = 73)
is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO map 0x50008000 mem 0xf0408000 (irq = 76)
is a S3C2440
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: module loaded
dm9000 Ethernet Driver