[uClinux-dev] 68VZ328+uClinux2.0.38+elfgcc?

zhanglei zl at imail.com.cn
Tue Nov 20 21:37:08 EST 2001

Dear Sir:
I am not a "fresh-user" on uClinux, but a "fresh-developer" on uClinux.
My hardware is VZ328ADS from Motorola.The kernel is from uclinux.org and patchs from ftp_employees_org_vag.tar.gz. The compilers are m68k-coff-gcc and m68k-pic-coff-gcc. The kernel and romdisk have run well for six months. At present, I would like to change my compiler to m68k-elf-gcc. I have followed the instructions from two sites below:
After setting up the whole enviroment, I have found the uClinux-2.0.38 were unable to be compiled. Someone on the maillist have given me a patch file called "uClinux-2.0.x.elf.diff". I have attached it to this mail. Although it is suitable for ucsimm,I have learnt some hints for my VZ328ADS.I copy some sections from ucsimm/rom.ld to my ads/rom.ld.In this way, the compiler seemms to work normally as m68k-coff.After I download the kernel(flash.b) to my VZ328ADS,the kernel almost works well.But it is panicing after VFS mount. I have followed your instructions and the result from console is as below:
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
M68EZ328ADS board support (C) 1999 Vladimir Gurevich <vgurevic at cisco.com>
KERNEL -> TEXT=0x10000400-0x1003baa8 DATA=0x000400-0x00e000 BSS=0x00e000-0x020270
KERNEL -> ROMFS=0x100496a8-0x1009cc78 MEM=0x020270-0x7fc000 STACK=0x7fc000-0x800000
No Command line passed
Done setup_arch
Calibrating delay loop.. ok - 2.77 BogoMIPS
Memory available: 7928k/8175k RAM, 3858k/4096k ROM (248k kernel data, 238k code)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
uClinux version (root at zllinux) (gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(-msep-data patches)) #408 Mon Nov 19 09:16:19 CST 2001
MC68328 serial driver version 1.00
ttyS0 at 0xfffff900 (irq = 64) is a builtin MC68328 UART
Ramdisk driver initialized : 16 ramdisks of 4096K size
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 100496A8-1009CEA7 (RO)
Open of blkmem arena 0 at 100496a8, length 53800
VFS: Mounted root (romfs filesystem) readonly. 
I do not know much about the "ld" files.So I also attach my "modified" rom.ld on my mail.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20011121/a5c77546/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClinux-2.0.x.elf.diff
Type: application/octet-stream
Size: 3446 bytes
Desc: not available
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20011121/a5c77546/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rom.ld
Type: application/octet-stream
Size: 1828 bytes
Desc: not available
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20011121/a5c77546/attachment-0001.obj>

More information about the uClinux-dev mailing list