LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Adrian" <adrian@it-live.co.uk>
To: <linuxppc-embedded@ozlabs.org>
Subject: PPChameleonEVB Newbie question
Date: Thu, 12 Oct 2006 13:47:55 +0200	[thread overview]
Message-ID: <005b01c6edf4$452f03b0$3a0da8c0@adrianlaptop> (raw)

Thanks Wolfgang.

I have now got the target compiling modules, kernel and everything.

For the record, I found it very difficult and time consuming.

To get to this stage I had to :-

Install Slack 8.1 kernel 2.4.18
Install ELDK version 4
as per docs add /usr/local/eldk/usr/bin:/usr/local/eldk/bin to PATH

set and export ARCH=ppc, CROSS_COMPILE=ppc_4xx-

make mrproper

make PPChameleon_defconfig

edit arch/ppc/platforms/4xx/Kconfig and add

'select WANT_EARLY_SERIAL'

to PPChameleonEVB definition

make menuconfig

make
then copy kernel to /tftpboot dir.

Board then booted ok provided the ELDK instructions about NFS shares were 
followed.

Under Slack 9 + 10.1 the kernel cross-compile barfed with 'clobber list' 
errors.

The dev host would cross-compile the modules, but wouldn't install them 
(INSTALL_MOD_PATH set).

After that i wanted to build the Kernel and modules on the target to make 
sure it was all ok, so :-

Installed Perl 5.6.4 with etc/Digest/MD5 copied from Perl 5.8.2 tree
(make modules_install wouldn't work without perl, and it isn't supplied 
AFAICS)
cd /usr/src/linux/include

ln -s asm-ppc asm

make mrproper
make PPChameleon_defconfig

edit arch/ppc/platforms/4xx/Kconfig and add

'select WANT_EARLY_SERIAL'

to PPChameleonEVB definition

make menuconfig

make
make modules
make modules_install

On the target it is (naturally) slow and you have to set up some NFS shared 
swap if you don't have much ram (i have 32mb and the kernel compile ran out 
of memory).

Out of the box i couldn't get ELDK 3.1.1 working at all, and the 
linux-2.4.20-pelk- thing wouldn't compile under either.

The main hurdle was needing to retro-grade the dev host.

Anyway. It is working happily now. Thanks for your help.

Adrian Atkins
IT Live Limited

tel: 0161 408 3327
fax: 08702 360 443
skype: adrianitlive
ES mob: (0034) 606806236 

             reply	other threads:[~2006-10-12 11:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12 11:47 Adrian [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-10-11 15:24 PPChameleonEVB Newbie question Adrian
2006-10-11 23:00 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005b01c6edf4$452f03b0$3a0da8c0@adrianlaptop' \
    --to=adrian@it-live.co.uk \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox