[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] OK, got kernal to Compile... Output is non-existant or corrupt



OK,
 
I got the kernal to compile (See below how to do it):
OS : Fedora 3 running on VMware
 
PROBLEM NOW : now as before (I get a corrupted output or no outout on the serial port).
- I have checked several boards (all the same).
- I have checked the baud rate. I have wrote programs to input / output on this port and it works fine.
- I have tried the 'boot loader' program as well as the generated .elf files.
- I either get a corrupted output or no output.
- Is there something in the linker I am setting up wrong (when generating the bootloader program)?
- Am I missing something?
 
I do :
dow -data image.bin 0x80000000
dow executable.elf (this is the bootloader)
run
(output none or corrupted).
 
-OR-
dow image.elf (same result)
 
To build the Kernel with the downloads as of 1-3-05:
1). Downloaded kernel : http://www.uclinux.org/pub/uClinux/dist/
2). Downloaded latest toolchain (from this website)
3). Setup according to this website
4). libxil.a  (From EDK install) file into uClinux-dist library
(Fixes this : bin/mb-ld.real: cannot find -lxil)
5). Did this according to yashi (Thanks to yashi!) - I just did manually
(Fixes lcrypty_old issues)
 
Change this file: uClinux-dist/vendors/config/microblaze/config.arch
===================================================================
--- uClinux-dist.orig/vendors/config/microblaze/config.arch 2004-12-15
13:19:17.000000000 +0900
+++ uClinux-dist/vendors/config/microblaze/config.arch 2004-12-31
12:52:56.045773014 +0900
@@ -209,7 +209,7 @@ ifdef UCLINUX_BUILD_USER
SLIBPCAP     = -lpcap
SLIBSSL      = -lssl
SLIBCRYPTO   = -lcrypto
- SLIBCRYPT    = -lcrypt_old
+ SLIBCRYPT    = -lcrypt
SLIBPTHREAD  = -lpthread

   ifdef BUILD_SHARED