Got two different versions of lm32 tools conflicting...had lots of
headaches trying to compile the 4.5.4 gcc so I just used the lattic
toolchain tools only for now: Got to this point but I can't quite figure
what script is failing. I suspect it has something to do with a DOS file
type (as I sometimes have problems running altera scripts in Cygwin also)
and have to do a dos2unix on those files...any ideas what script is choking
on my cygwing...

./make.py -p papilio_pro -t simple
make: Entering directory
'/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/bios'
 CC  isr.o
 CC  sdram.o
 CC  main.o
 CC  boot.o
make -C ../../software/libcompiler-rt
make[1]: Entering directory
'/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libcompiler-rt'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory
'/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libcompiler-rt'
make -C ../../software/libbase
make[1]: Entering directory
'/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libbase'
 CC  system.o
 CC  id.o
 CC  uart.o
 CC  time.o
 AR  libbase.a
 RANLIB   libbase.a
 AR  libbase-nofloat.a
 RANLIB   libbase-nofloat.a
make[1]: Leaving directory
'/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libbase'
make -C ../../software/libnet
make[1]: Entering directory
'/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libnet'
 CC  microudp.o
 AR  libnet.a
 RANLIB   libnet.a
make[1]: Leaving directory
'/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libnet'
 LD  bios.elf
chmod -x bios.elf
make -C ../../tools
make[1]: Entering directory
'/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/tools'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/tools'
 OBJCOPY  bios.bin
chmod -x bios.bin
../../tools/mkmscimg bios.bin write
CRC32 (bios.bin): 00f7274f
*make: Leaving directory
'/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/bios'*
*: invalid optionpapilio_pro.sh: line 2: set: -*
*set: usage: set [--abefhkmnptuvxBCHP] [-o option-name] [arg ...]*
*build_simplesoc-papilio_pro.sh: line 3: $'\r': command not found*
Release 14.7 - xst P.20131013 (nt64)
Copyright (c) 1995-2013 Xilinx, Inc.  All rights reserved.
 not found 27 - Entry File simplesoc-papilio_pro.xst
Release 14.7 - ngdbuild P.20131013 (nt64)
Copyright (c) 1995-2013 Xilinx, Inc.  All rights reserved.
"RROR:Portability:90 - Command line error: Argument
"simplesoc-papilio_pro.ngd
   has an invalid extension.  The valid extension is ".ngd".  If your file
name
   has more than one "." in it you must explicitly enter the full file name
with
   its extension.



On Wed, Jan 22, 2014 at 1:27 PM, Salman Sheikh <salmanishe...@gmail.com>wrote:

> Okay, I fixed the path...I set the PYTHONPATH in the environment settings
> of Windows..when I had it as export PYTHONPATH=/cygdrive/C... it would
> append c:\\ to that cygdrive\c path.
>
> Now, I am getting another error related to lm32-elf-ld.exe which I
> compiled about 10 days ago...
>
>  CC  main.o
> make -C ../../software/libcompiler-rt
> make[1]: Entering directory
> '/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libcompiler-rt'
> make[1]: Nothing to be done for 'all'.
> make[1]: Leaving directory
> '/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libcompiler-rt'
> make -C ../../software/libbase
> make[1]: Entering directory
> '/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libbase'
> make[1]: Nothing to be done for 'all'.
> make[1]: Leaving directory
> '/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libbase'
> make -C ../../software/libnet
> make[1]: Entering directory
> '/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libnet'
> make[1]: Nothing to be done for 'all'.
> make[1]: Leaving directory
> '/cygdrive/c/GMSAG/CPU_TESTING/MiSOC/misoc/software/libnet'
>  LD  bios.elf
> lm32-elf-ld: isr.o: Relocations in generic ELF (EM: 1638)
> isr.o: error adding symbols: File in wrong format
> Makefile:20: recipe for target 'bios.elf' failed
> make: *** [bios.elf] Error 1
>
>
>
>
>
> On Wed, Jan 22, 2014 at 12:03 PM, Sébastien Bourdeauducq <
> sebastien.bourdeaud...@lekernel.net> wrote:
>
>> On 01/22/2014 06:06 PM, Salman Sheikh wrote:
>> > then it still gives an error about misclib not being Imported....is the
>> > above path correct?
>>
>> It is obviously incorrect, you need to remove misoclib. Please read up
>> on the way Python import modules.
>>
>> _______________________________________________
>> Devel mailing list
>> Devel@lists.milkymist.org
>> https://ssl.serverraum.org/lists/listinfo/devel
>>
>
>
>
> --
> Even a Smile is charity :)
> - Prophet Muhammad
>
>
>


-- 
Even a Smile is charity :)
- Prophet Muhammad
_______________________________________________
Devel mailing list
Devel@lists.milkymist.org
https://ssl.serverraum.org/lists/listinfo/devel

Reply via email to