[ELDK] Want to build a ebc.ko object
Price, John @ SDS
john.p.price at l-3com.com
Mon Mar 24 22:31:56 CET 2008
I am able to build a uImage from your repository. When I install the
new uImage file on the Kilauea evaluation board the last output says
loading "ramdisk to xxx, end yyy ...OK" and that's it.
Are there some other dependencies that I am not aware of??? For
instance is eldkv 4.2 ok or the original ramdisk image ok?
The acutual output is listed below, first an abridged build output
followed by board startup with the uImage.
[root at ma_jpricelt linux-2.6-denx]# make ARCH=powerpc
CROSS_COMPILE=ppc_4xx- -j3 uImage
scripts/kconfig/conf -s arch/powerpc/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-powerpc
HOSTCC scripts/kallsyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
CC arch/powerpc/kernel/asm-offsets.s
GEN include/asm-powerpc/asm-offsets.h
CALL scripts/checksyscalls.sh
CC init/main.o
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/do_mounts.o
.
.
.
BOOTAR arch/powerpc/boot/wrapper.a
HOSTLD arch/powerpc/boot/dtc
WRAP arch/powerpc/boot/uImage
Image Name: Linux-2.6.25-rc6-01253-gca0a328
Created: Mon Mar 24 15:18:59 2008
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1555953 Bytes = 1519.49 kB = 1.48 MB
Load Address: 0x00000000
Entry Point: 0x00000000
########################################################################
#####
kilauea console
########################################################################
#####
=> reset\0xfe
U-Boot 1.3.1-g5dd372a2 (Jan 14 2008 - 11:01:38)
CPU: AMCC PowerPC 405EX Rev. A at 400 MHz (PLB=200, OPB=100, EBC=100
MHz)
Security support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
16 kB I-Cache 16 kB D-Cache
Board: Kilauea - AMCC PPC405EX Evaluation Board
I2C: ready
DTT1: 48 C
DRAM: 256 MB
FLASH: 64 MB
NAND: 64 MiB
PCI: Bus Dev VenId DevId Class Int
PCIE0: link is not up.
PCIE0: initialization as root-complex failed
PCIE1: link is not up.
PCIE1: initialization as root-complex failed
Net: ppc_4xx_eth0, ppc_4xx_eth1
Type "run flash_nfs" to mount root filesystem over NFS
Hit any key to stop autoboot: 5 \0x08\0x08\0x08 4 \0x08\0x08\0x08 3
\0x08\0x08\0x08 2 \0x08\0x08\0x08 1 \0x08\0x08\0x08 0
Using ip address 192.168.1.50
## Booting image at fc000000 ...
Image Name: Linux-2.6.25-rc6-01253-gca0a328
Created: 2008-03-24 19:18:59 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1555953 Bytes = 1.5 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at fc200000 ...
Image Name: kilauea Ramdisk Rev 002
Created: 2008-01-15 0:20:02 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 19048671 Bytes = 18.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Ramdisk to 0ecf5000, end 0ff1f8df ... OK
---
John Price <john.p.price at l-3com.com> 781-970-1743
L-3 Communications
Security & Detection Systems Division,
10E Commerce Way, Woburn, MA 01801
-----Original Message-----
From: wd at denx.de [mailto:wd at denx.de]
Sent: Thursday, March 20, 2008 7:32 PM
To: Price, John @ SDS
Cc: eldk at lists.denx.de
Subject: Re: [ELDK] Want to build a ebc.ko object
Dear John,
in message
<B9639434CFA424438117913649CDB78704D005F8 at MA_EXCHANGE.corp.sds.l-3com.co
m> you wrote:
>
> I have the Kilauea evaluation board with the following pieces of
> ...
> I am most interested in being able to create from source code the
uImage
> file (or if you like the kernel.img). What I do not understand is
which
> target packages are used to build uImage, lets say
> uImage-2.6.25-rc-01207-g66b3fa2.
I think you mean uImage-2.6.25-rc5-01207-g66b3fa2
The image name has the following meaning:
uImage :
U-Boot (Linux kernel) Image
2.6.25-rc5 :
The source code used to build this image was based on the
2.6.25-rc5 kernel version.
01207 :
1207 commits (yes, that's an awful lot) have been checked in
into the repository since the '2.6.25-rc5' version.
g66b3fa2 :
The specific git commit id of the source tree was 66b3fa2
Please see "man git-describe" for a more detailed description of the
format.
> Should I just perform the following command?
>
> git clone http://www.denx.de/git/linuxppc_2_6_denx.git
linuxppc_2_6_denx
This tree doesn't exist. You mean linux-2.6-denx, i.e.
$ git-clone git://www.denx.de/git/linux-2.6-denx.git
linux-2.6-denx
To check out the very same version as was used to build the image
above, then run:
$ cd linux-2.6-denx
$ git-checkout 66b3fa2
You can also check that commit ID, for example like this:
$ git-show 66b3fa2
commit 66b3fa2ea01d8f69a536cd6741ae4c22063bd376
Merge: 07f5bb2... 93d7446...
Author: Wolfgang Denk <wd at denx.de>
Date: Thu Mar 13 09:38:47 2008 +0100
Merge branch 'master' of /home/git/linux-2.6
...
> Then follow the DULG manual, section 6.2 instructions to build the
> kernel?
Right. Assuming you have set your PATH, do:
$ CROSS_COMPILE=ppc_4xx-
$ export CROSS_COMPILE
$ make ARCH=powerpc CROSS_COMPILE=ppc_4xx- kilauea_defconfig
$ make ARCH=powerpc CROSS_COMPILE=ppc_4xx- -j3 uImage
> >I'm pretty certain that you do *not* want to rebuild the ELDK from
> >scratch. It may be a very educational procedure, but it is a time-
> >consuming process and usually considered a major PITA.
>
> It was not my first choice. The git for the tarballs has been running
> all day so far.
Yes, it's a huge repository. Believe me, you normally don't want to
see all of this.
> I am currently using fedora core 6 as my build host.
I don't think you will have a quick and easy build, then.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Nothing is easier than to denounce the evildoer; nothing is more
difficult than to understand him. - Fyodor Dostoevski
More information about the eldk
mailing list