2009-03-09 03:38:27 uclinux-dist can't start with the uboot
wenchao zhou (CHINA)
Message: 70574
Hi Mike,
I have download the uclinux-dist-2007R1-RC3,and i have make the uclinux-dist successfully. Then i download the
uboot1.1.1 to the ADI BF533 board.the uboot1.1.1 is provided by the adi factory which send me the board .And the uboot
has been ported right, i used to use the uboot1.1.1 and the uclinux-dist provided by the factory ,and i could use NFS to start the uclinux-dist with the uboot1.1.1,the process is like this:
BOOT> tftp 0x100000 linux.bin
TFTP from server 59.77.17.105; our IP address is 59.77.17.1
Filename 'linux.bin'.
Load address: 0x100000
Loading: *#################################################################
#################################################################
#################################################################
#######
done
Bytes transferred = 1030848 (fbac0 hex)
BOOT> go 0x100000
## Starting application at 0x00100000 ...
Linux version 2.6.8.1 (Administrator@cmdstudi-8ed6ad) (gcc version 3.4.4) #73 Mon Dec 29 17:20:11 2008
Blackfin support (C) 2004 Analog Devices, Inc.
ADSP-BF533 Rev. 0.5
uClinux/BF533
Blackfin uClinux support by blackfin.uclinux.org
Processor Speed: 216 MHz core clock and 54 Mhz System Clock
Board Memory: 32MB
Memory map:
text = 0x100000-0x1df584
data = 0x1ec1a0-0x1fbac0
bss = 0x1fbac0-0x20eb4c
rootfs = 0x20eb4c-0x20f000
stack = 0x300000-0x500000
Command line: 'root=/dev/nfs rw nfsroot=59.77.17.105:/home/eflag-bfin/uClinux-dist/romfs ip=59.77.17.1:59.77.17.105:59.77.17.1:255.0.0.0 mem=32M console=ttyS0,57600'
DCPLB pos 24
Instruction Cache Enabled
Data Cache Enabled (write-through)
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=59.77.17.105:/home/eflag-bfin/uClinux-dist/romfs ip=59.77.17.1:59.77.17.105:59.77.17.1:255.0.0.0 mem=32M console=ttyS0,57600
Whoops
Configuring Blackfin Priority Driven Interrupts
PID hash table entries: 16 (order 4: 128 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Physical pages: 1f00
Memory available: 27276k/30799k RAM, (48k init code, 893k kernel code, 138k data, 1024k dma)
Blackfin Scratchpad data SRAM: 4 KB
Blackfin DATA_A SRAM: 16 KB
Blackfin DATA_B SRAM: 16 KB
Calibrating delay loop... 39.21 BogoMIPS
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Freeing initrd memory: 512k freed
NET: Registered protocol family 16
evm02_init(): registering device resources
fbmem init is called
fbmen init is done
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
spi0: INIT
BlackFin BF533 serial driver version 2.00 With DMA Support
ttyS0 at irq = 21 is a builtin BlackFin BF533 UART
Enabling Serial UART Interrupts
RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
Using anticipatory io scheduler
nbd: registered device at major 43
eth0: cs8900 rev K found at 0x203d4600
cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line
cs89x0 media RJ-45, IRQ 34, programmed I/O, MAC 61:00:00:1d:2d:02
temp_video_init is called
***** video_setup called
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
eth0: using half-duplex 10Base-T (RJ-45)
IP-Config: Complete:
device=eth0, addr=59.77.17.1, mask=255.0.0.0, gw=59.77.17.1,
host=59.77.17.1, domain=, nis-domain=(none),
bootserver=59.77.17.105, rootserver=59.77.17.105, rootpath=
RAMDISK: Couldn't find valid RAM disk image starting at 0.
Looking up port of RPC 100003/2 on 59.77.17.105
Looking up port of RPC 100005/1 on 59.77.17.105
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 48k freed (0x1e0000 - 0x1eb000)
Shell invoked to run file: /etc/rc
Reading command line: Input/output error
Execution Finished, Exiting
Sash command shell (version 1.1.1)
/>
i use the address :tftp 0x100000 linux.bin ,the address is follow the factory's instruction about the board.
But now i use the uclinux-dist 2007R1-RC3(because i want to use the linphone in it ,the old uclinux-dist provide by the factory don't include the linphone),but i can't start the new uclinux-dist with the uboot1.1.1 now. the new process is like this:
BOOT>tftp 0x1000000 linux (the linux is copyed from the /uClinux-dist/images)
BOOT>bootelf 0x1000000
Loading .text @0x00001000 (1097896 bytes)
Loading .init @0x0010d0a8 (1097896 bytes)
Loading .text_l1 @0xffa00000 (8496 bytes)
Loading .data @ 0x0011e76c (218240 bytes)
Clearing .bss @ 0x00153bf0 (56096 bytes)
##Starting application at 0x00001000
And the process stop here.i use the new address 0x1000000 which is advised by your website.In the past,i use the address 0x100000.
Mike,i asked the problem yesterday and somebody tell me that i should use the uclinux-dist-2008R1.5 or later release.
but i think the 2007R1-RC3 is enough for me. I saw the note of 2007r1 release ,and it remind we should use the uboot1.1.6 for the uclinux-2007R1-RC3.Is it because i use the uboot too old.? I also discover that the uclinux-dist start
address is different between the two proccess i paste upon.If i can solve the problem by alter the start address ,i will save
a lot of time for me .Or do you think i should port the uboot1.1.6 myself for the new uclinux-dist.
Thanks for all of your help,it is very useful!
Regards
Zhou
QuoteReplyEditDelete
2009-03-09 03:40:32 Re: uclinux-dist can't start with the uboot
Mike Frysinger (UNITED STATES)
Message: 70575
you were already told that the software you're using is old. use 2008R1.5.
QuoteReplyEditDelete
2009-03-09 04:50:49 Re: uclinux-dist can't start with the uboot
wenchao zhou (CHINA)
Message: 70593
Hi,Mike!
I have followed your advice ,now i use the linux-bf533-ezkit-2008R1.5-RC3 download from your website and the uboot is
the uboot1.1.1,but the system still can't start.Tht process is like this:
BOOT> tftp 0x1000000 linux-bf533-ezkit-2008R1.5-RC3
TFTP from server 59.77.17.245; our IP address is 59.77.17.1
Filename 'linux-bf533-ezkit-2008R1.5-RC3'.
Load address: 0x1000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###################################
done
Bytes transferred = 4502466 (44b3c2 hex)
BOOT> bootelf 0x1000000
Loading .text @ 0x00001000 (977312 bytes)
Loading .rodata @ 0x000f0000 (213456 bytes)
Loading __ksymtab @ 0x001241d0 (13992 bytes)
Loading __ksymtab_gpl @ 0x00127878 (3840 bytes)
Loading __ksymtab_strings @ 0x00128778 (42576 bytes)
Loading __param @ 0x00132dc8 (320 bytes)
Loading .data @ 0x00133000 (69632 bytes)
Loading .init.text @ 0x00144000 (80460 bytes)
Loading .init.data @ 0x00157a4c (3240 bytes)
Loading .init.setup @ 0x001586f4 (588 bytes)
Loading .initcall.init @ 0x00158940 (412 bytes)
Loading .con_initcall.init @ 0x00158adc (4 bytes)
Loading .init.ramfs @ 0x00158ae0 (2555040 bytes)
Loading .text_l1 @ 0xffa00000 (8248 bytes)
Loading .data_l1 @ 0xff800000 (192 bytes)
Clearing .bss @ 0x003cb000 (59120 bytes)
## Starting application at 0x00144000 ...�
It stops here.
Does it because the uboot cannot match the uclinux-dist?Should i upgrade the uboot to uboot1.1.6 and port the new uboot
to my board?
Thanks for your patient and help!
Regards
Zhou
QuoteReplyEditDelete
2009-03-09 04:55:34 Re: uclinux-dist can't start with the uboot
Mike Frysinger (UNITED STATES)
Message: 70595
update everything, not just the kernel
QuoteReplyEditDelete
2009-03-09 05:10:29 Re: uclinux-dist can't start with the uboot
wenchao zhou (CHINA)
Message: 70597
OK,i would try to port. Thanks Mike!
QuoteReplyEditDelete
2009-03-09 06:08:06 Re: uclinux-dist can't start with the uboot
Mike Frysinger (UNITED STATES)
Message: 70598
there is no porting for you to do. we've already done all the porting work for the BF533-EZKIT platform.