Re: Accessing NTFS Shares from Freescale MPC8313

2009-05-18 Thread Chris Plasun

Hi Leon,

Leon Woestenberg wrote:

Hello Chris,

On Mon, May 18, 2009 at 8:06 PM, Chris Plasun  wrote:

Scott Wood wrote:

On Sun, May 17, 2009 at 01:45:30AM -0700, Chris Plasun wrote:

(I haven't found any answers in the archives)
How would I access a NTFS shared directory from a Freescale MPC8313?
Will Samba run on a Freescale MPC8313?

It should (and if it doesn't, file a bug with them).
Userspace is pretty much the same at the source-code and user-interface
level -- the answer to "how do I do X on this PPC board" is generally the
same as the answer to "how do I do X on Linux", other than that you may
need to compile some packages manually if they don't come with whatever
distribution you're using.

Thanks Scott.

I did some more reading on the board and it appears that it's not as limited
as I thought. The "custom" Linux we're running is very limited (so it
appears) and I interpreted the board to be so as well.



To build your own fully-open Linux for this board, I can recommend
both these projects:

LTIB (http://www.bitshrine.org/)
OpenEmbedded (http://www.openembedded.org/)

We use the latter in an industrial setting with much success,


Thanks Leon. I'll definitely be back to ask for help to get these 
distributions running =)


cp
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: Accessing NTFS Shares from Freescale MPC8313

2009-05-18 Thread Chris Plasun

Scott Wood wrote:

On Sun, May 17, 2009 at 01:45:30AM -0700, Chris Plasun wrote:

Hi,

(I haven't found any answers in the archives)

How would I access a NTFS shared directory from a Freescale MPC8313?

Will Samba run on a Freescale MPC8313?


It should (and if it doesn't, file a bug with them).  


Userspace is pretty much the same at the source-code and user-interface
level -- the answer to "how do I do X on this PPC board" is generally the
same as the answer to "how do I do X on Linux", other than that you may
need to compile some packages manually if they don't come with whatever
distribution you're using.


Thanks Scott.

I did some more reading on the board and it appears that it's not as 
limited as I thought. The "custom" Linux we're running is very limited 
(so it appears) and I interpreted the board to be so as well.


I'm a Windows ASP.NET developer thrown off the deep end into Linux so 
please forgive the noob questions. After going through many post it 
appears my questions are pertinent to general Linux.


Thank you!
Chris Plasun
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Accessing NTFS Shares from Freescale MPC8313

2009-05-17 Thread Chris Plasun

Hi,

(I haven't found any answers in the archives)

How would I access a NTFS shared directory from a Freescale MPC8313?

Will Samba run on a Freescale MPC8313?

Thanks,

Chris Plasun
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Accessing MS SQL Server from embedded PPC Linux

2009-05-17 Thread Chris Plasun

Hi,

While part of my subject line might be redundant, how would I go about 
accessing MS SQL Server from my Freescale MPC8313 machine?


Do I need to use a Linux ODBC driver?

Thank you for any help.

Chris Plasun
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Trouble using with Kegel cross tool chain

2009-05-07 Thread Chris Plasun

Hi Wolfgang,

> Trouble using with Kegel cross tool chain
> Wolfgang Denk wd at denx.de
> Thu May 7 15:32:36 EST 2009
> 
>  * Previous message: Trouble using with Kegel cross tool chain
>  * Next message: Trouble using with Kegel cross tool chain
>  * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 
> Dear Chris,
> 
> In message <407093.53240.qm at web58102.mail.re3.yahoo.com> you wrote:
>  >
>  > I'm getting a bit desperate trying to build a  gcc / glibc 
> cross-toolchainfor
>  > use on a Freescale MPC8313 but am having problems.
> 
> Try using ELDK (see http://www.denx.de/wiki/view/DULG/ELDK resp.
> ftp://ftp.denx.de/pub/eldk/4.2/); it's based on crosstool but has
> these issues already solved for you.
> 
> Best regards,
> 
> Wolfgang Denk

Is Denx your site? I poured over it for U-Boot.

I will take a look at this tool.

Danke schoen!

Chris Plasun

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Trouble using with Kegel cross tool chain

2009-05-07 Thread Chris Plasun

> > + echo 'SRC_DIR not set, so source tarballs will be unpacked in the 
> > build dir
> > ectory'
> > SRC_DIR not set, so source tarballs will be unpacked in the build 
> > directory
> > + case x$PREFIX in
> > + case x$USER in
> > + abort 'Don'\''t run all.sh or crosstool.sh as root, it'\''s
> > dangerous'
> > + echo 'Don'\''t' run all.sh or crosstool.sh as root, 'it'\''s' 
> > dangerous
> > Don't run all.sh or crosstool.sh as root, it's dangerous
> > + exec false
> 
> Are you running as root?  If so, don't.
> 
> Mikey

Ah, now it's doing something...

Thanks Mikey. I didn't think running as root would prevent the process from 
running. Everything is running in VirtualBox so I wasn't concerned about 
blowing things up.

The build has been in progress for the past 15 minutes...

I set the target as powerpc-603. Is this appropriate for the MPC8313?

Thank you.

Chris Plasun
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: Trouble using with Kegel cross tool chain

2009-05-06 Thread Chris Plasun
Wow guys, thank you for all the responses. Looks like this mad dive into 
 embedded Linux programming from ASP.NET is not futile.


I will take a look at the responses and reply tomorrow.

Chris Plasun
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Trouble using with Kegel cross tool chain

2009-05-06 Thread Chris Plasun

Hi,

I'm getting a bit desperate trying to build a  gcc / glibc cross-toolchainfor 
use on a Freescale MPC8313 but am having problems.

I follow the Quick Start instructions at 
http://www.kegel.com/crosstool/crosstool-0.43/doc/crosstool-howto.html and 
run demo-powerpc-603.sh (is that the correct script for the MPC8313?)

I check the /opt/crosstool directory and there is nothing there.

Below are the results of running the above script:

=
 
linux-66oa:~/work/crosstool-0.43 # sh demo-powerpc-603.sh 
+ TARBALLS_DIR=/root/downloads
+ RESULT_TOP=/opt/crosstool
+ export TARBALLS_DIR RESULT_TOP
+ GCC_LANGUAGES=c,c++
+ export GCC_LANGUAGES
+ mkdir -p /opt/crosstool
++ cat powerpc-603.dat gcc-4.1.0-glibc-2.3.6-tls.dat
+
eval TARGET=powerpc-603-linux-gnu 'TARGET_CFLAGS="-O' '-mcpu=603"'
'GCC_EXTRA_CONFIG="--with-cpu=603' '--enable-cxx-flags=-mcpu=603"'
BINUTILS_DIR=binutils-2.16.1 GCC_CORE_DIR=gcc-3.3.6 GCC_DIR=gcc-4.1.0
GLIBC_DIR=glibc-2.3.6 LINUX_DIR=linux-2.6.15.4 
LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.6 GDB_DIR=gdb-6.5
'GLIBC_EXTRA_CONFIG="$GLIBC_EXTRA_CONFIG' --with-tls --with-__thread
'--enable-kernel=2.4.18"' sh all.sh --notest
++ TARGET=powerpc-603-linux-gnu
++ TARGET_CFLAGS='-O -mcpu=603'
++ GCC_EXTRA_CONFIG='--with-cpu=603 --enable-cxx-flags=-mcpu=603'
++ BINUTILS_DIR=binutils-2.16.1
++ GCC_CORE_DIR=gcc-3.3.6
++ GCC_DIR=gcc-4.1.0
++ GLIBC_DIR=glibc-2.3.6
++ LINUX_DIR=linux-2.6.15.4
++ LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0
++ GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.6
++ GDB_DIR=gdb-6.5
++ GLIBC_EXTRA_CONFIG=' --with-tls --with-__thread --enable-kernel=2.4.18'
++ sh all.sh --notest
You set both LINUX_DIR and LINUX_SANITIZED_HEADER_DIR - ignoring LINUX_DIR for 
the build
DEJAGNU not set, so not running any regression tests
GLIBC_ADDON_OPTIONS not set, so building all glibc add-on's
KERNELCONFIG not set, so not configuring linux kernel
+ TOOLCOMBO=gcc-4.1.0-glibc-2.3.6
++ pwd
+ 
BUILD_DIR=/root/work/crosstool-0.43/build/powerpc-603-linux-gnu/gcc-4.1.0-glibc-2.3.6
++ pwd
+ TOP_DIR=/root/work/crosstool-0.43
+ test -z ''
+ 
SRC_DIR=/root/work/crosstool-0.43/build/powerpc-603-linux-gnu/gcc-4.1.0-glibc-2.3.6
+ echo 'SRC_DIR not set, so source tarballs will be unpacked in the build 
directory'
SRC_DIR not set, so source tarballs will be unpacked in the build directory
+ case x$PREFIX in
+ case x$USER in
+ abort 'Don'\''t run all.sh or crosstool.sh as root, it'\''s dangerous'
+ echo 'Don'\''t' run all.sh or crosstool.sh as root, 'it'\''s' dangerous
Don't run all.sh or crosstool.sh as root, it's dangerous
+ exec false

=

The point of this exercise is to build a compiler to build Mono so that
I can run .NET programs on the MPC8313.

I would really appreciate any help.

Thanks,
Chris Plasun

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev