2008-06-06 08:11:54     Porting uClinux on BF537 EZKIt

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-06-06 08:11:54     Porting uClinux on BF537 EZKIt

Juhi Sinha (INDIA)

Message: 56810   

 

We want to port uClinux in flash memory of the BF537 EZKit. How do we do this using UARTs and

Ethernet.. We started reading from

<a target="_blank" href="http://docs.blackfin.uclinux.org/doku.php?id=introduction_to_blackfin.uclinux.org">http://docs.blackfin.uclinux<wbr></wbr>.org/doku.php?id=introduction<wbr></wbr>_to_blackfin.uclinux.org.

We want to know how do we set up an ethernet connection between CPU to

the target board and do we need both serial and ethernet connections

for porting uClinux ?

 

If anyone can give us a little insight we would really appreciate it.

 

Thanks

 

Juhi & Priyanka

QuoteReplyEditDelete

 

 

2008-06-06 09:40:50     Re: Porting uClinux on BF537 EZKIt

Mike Frysinger (UNITED STATES)

Message: 56814   

 

do you have u-boot installed ?  if not, install that first.  there are documents on the wiki that explain how.

 

QuoteReplyEditDelete

 

 

2008-06-06 11:02:10     Re: Porting uClinux on BF537 EZKIt

Juhi Sinha (INDIA)

Message: 56817   

 

Thanks for reply

 

We did not install uboot .We will do that.

 

Moreover, there are many Blackfin toolchains in the URL:

 

http://blackfin.uclinux.org/gf/project/toolchain/frs/

 

We are confused with what to install.Could you please guide us regarding this??

 

 

 

 

 

 

 

 

QuoteReplyEditDelete

 

 

2008-06-06 11:17:04     Re: Porting uClinux on BF537 EZKIt

Mike Frysinger (UNITED STATES)

Message: 56818   

 

the documentation already explains things: http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

QuoteReplyEditDelete

 

 

2008-06-07 09:25:34     Re: Porting uClinux on BF537 EZKIt

Juhi Sinha (INDIA)

Message: 56839   

 

 

 

While configuring the kernel for uClinux, after the command make we are getting following errors.What could be the possble reason and how to solve it?

 

******************************************************************************

 

[root@machine-33 uClinux-dist-2008R1-RC8]# make

rm -f linux-2.6.x/usr/initramfs_data.cpio.gz

make ARCH=blackfin   CROSS_COMPILE=bfin-uclinux- -j4 -C linux-2.6.x  || exit 1

make[1]: Entering directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/linux-2.6.x'

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CC      arch/blackfin/kernel/asm-offsets.s

In file included from include/linux/spinlock.h:53,

                 from include/linux/capability.h:47,

                 from include/linux/sched.h:46,

                 from arch/blackfin/kernel/asm-offsets.c:31:

include/linux/kernel.h:10:20: error: stdarg.h: No such file or directory

In file included from include/linux/spinlock.h:53,

                 from include/linux/capability.h:47,

                 from include/linux/sched.h:46,

                 from arch/blackfin/kernel/asm-offsets.c:31:

include/linux/kernel.h:123: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:127: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:131: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:135: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:139: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:155: error: expected declaration specifiers or ‘...’ before ‘va_list’

make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1

make[1]: *** [prepare0] Error 2

make[1]: Leaving directory `/root/Desktop/Install/uClinux_kernel/uClinux-dist-2008R1-RC8/linux-2.6.x'

make: *** [linux] Error 1

 

*****************************************************************************************

QuoteReplyEditDelete

 

 

2008-06-07 11:29:49     Re: Porting uClinux on BF537 EZKIt

Mike Frysinger (UNITED STATES)

Message: 56840   

 

please search the forums ... you havent installed all the necessary toolchain packages as documented here:

http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

Attachments

    Outcomes