[ELDK] Problem in porting Linux on Kontron VCE405 powerpc board
rajive.gupta at us.transport.bombardier.com
rajive.gupta at us.transport.bombardier.com
Wed Feb 2 21:45:39 CET 2011
Hi Eran,
Thanks for your response. I created a dtb file using walnut.dts file which
is very close to our target. I also added the ft_board_setup in the target
board configuration file. I am still getting the same problem. Please see
below new output
=> tftp 1c00000 uimage
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 20.255.255.100; our IP address is 20.255.255.94
Filename 'uimage'.
Load address: 0x1c00000
Loading:
*#################################################################
#################################################################
#################################################################
#################################################################
######################################################
done
Bytes transferred = 1605351 (187ee7 hex)
=> tftp uramdisk 1800000 uramdisk
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 20.255.255.100; our IP address is 20.255.255.94
Filename 'uramdisk'.
Load address: 0x1800000
Loading:
*#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############
done
Bytes transferred = 1728001 (1a5e01 hex)
=> tftp 1000000 vce405.dtb
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 20.255.255.100; our IP address is 20.255.255.94
Filename 'vce405.dtb'.
Load address: 0x1000000
Loading: *#
done
Bytes transferred = 4998 (1386 hex)
=> bootm 1c00000 1800000 1000000
## Booting kernel from Legacy Image at 01c00000 ...
Image Name: Linux-2.6.37-dirty
Created: 2011-02-02 18:09:48 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1605287 Bytes = 1.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01800000 ...
Image Name: Simple Embedded Linux Framework
Created: 2008-04-01 19:52:43 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 1727937 Bytes = 1.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x1000000
Uncompressing Kernel Image ... OK
Loading Ramdisk to 03dc2000, end 03f67dc1 ... OK
Loading Device Tree to 007fb000, end 007ff385 ... OK
Thanks for help
Rajive
Please consider the environment before you print / Antes de imprimir,
piense en el medio ambiente
Eran Duchan <pavius at gmail.com>
02/01/2011 04:54 PM
To
Rajive Gupta/US/External/BombardierTransport at Transport
cc
eldk at lists.denx.de
Subject
Re: [ELDK] Problem in porting Linux on Kontron VCE405 powerpc board
Hi Rajive,
Seems to me you're missing the FDT BLOB (read up on it here). Basically
you need to describe your hardware to Linux via a textual DTS file (which
you compile to a binary DTB file) loaded and burned exactly like the
kernel and fs images.
I suggest taking a look at arch/powerpc/boot/dts/ep405.dts for reference.
Just make sure to #define CONFIG_OF_LIBFDT and CONFIG_OF_BOARD_SETUP in
your u-boot board config. You will also need to fixup the BLOB
using ft_cpu_setup(blob, bd); on ft_board_setup (populating the BLOB with
information dynamically calculated by u-boot).
This, at least, is what I had to due on a PPC875 (not doing this or
missing something would display what you just described).
Eran
On Tue, Feb 1, 2011 at 10:59 PM, <rajive.gupta at us.transport.bombardier.com
> wrote:
Hi All,
I am trying to port linux on Kontron VCE405 PowerPc board which has
following configuration
IBM 400 MHz gpr processor.
64 mb ram
8 mb flash
8k Serial EPROM
2 UART serial onboard
1 Ethernet 10/100 mbps
4 ?zilog serial ports
As suggested in Uboot mailing list I am able to create new u-boot for this
target. After this I created PPC-generic kernel image and trying to boot
this target with uImage and uramdisk , but after uncompressing the images
the target hangs. Please advice me what I am missing . I am enclosing
below my Uboot setup and the corresponding images download procedure.
U-Boot 2010.12 (Jan 27 2011 - 12:51:52)
Release 1.0.0 for VCE405* Processor Boards
(c) 2011 Bombardier Transport.
CPU: AMCC PowerPC 405GPr Rev. B at 400 MHz (PLB=133 OPB=66 EBC=66)
Internal PCI arbiter enabled, PCI async ext clock used
16 kB I-Cache 16 kB D-Cache
Board: VCE405RA411L000BRC, SN0551793
BOOT: Flash
I2C: ready
DRAM: 64 MiB
FLASH: 8 MiB
In: serial
Out: serial
Err: serial
Net: ppc_4xx_eth0
IDE: NONE
ide_preinit failed
=> p
=>
=> printenv
baudrate=9600
clocks_in_mhz=1
ethact=ppc_4xx_eth0
ethaddr=00:00:0b:50:54:a5
filesize=40000
ipaddr=20.255.255.94
serveraddr=f0:4d:a2:ab:ec:8d
serverip=20.255.255.100
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 2010.12 (Jan 27 2011 - 12:51:52)\
Release 1.0.0 for VCE405* Processor Boards\
(c) 2011 Bombardier Transport.
Environment size: 351/1532 bytes
=> flinfo
Bank # 1: INTEL 28F320J3
Size: 8192 KB in 32 Sectors
Sector Start Addresses:
00: ff800000 01: ff840000 02: ff880000 03: ff8c0000
04: ff900000 05: ff940000 06: ff980000 07: ff9c0000 e
08: ffa00000 e 09: ffa40000 e 0a: ffa80000 e 0b: ffac0000 e
0c: ffb00000 0d: ffb40000 0e: ffb80000 0f: ffbc0000
10: ffc00000 11: ffc40000 12: ffc80000 13: ffcc0000 e
14: ffd00000 15: ffd40000 e 16: ffd80000 e 17: ffdc0000 e
18: ffe00000 ero 19: ffe40000 ero 1a: ffe80000 ero 1b: ffec0000 ero
1c: fff00000 ero 1d: fff40000 ero 1e: fff80000 ero 1f: fffc0000 ro
=>
=> bdinfo
memstart = 0x00000000
memsize = 0x04000000
flashstart = 0xFF800000
flashsize = 0x00800000
flashoffset = 0x00000000
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0x00000000
procfreq = 400 MHz
plb_busfreq = 133.333 MHz
pci_busfreq = 66.667 MHz
ethaddr = 00:00:0b:50:54:a5
IP addr = 20.255.255.94
baudrate = 9600 bps
relocaddr = 0x03F8A000
=> tftp 1c00000 uimage
Waiting for PHY auto negotiation to complete...... TIMEOUT !
done
ENET Speed is 10 Mbps - HALF duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 20.255.255.100; our IP address is 20.255.255.94
Filename 'uimage'.
Load address: 0x1c00000
Loading: * T T T T T T T T
#################################################################
#################################################################
#################################################################
#################################################################
#############################################
done
Bytes transferred = 1556657 (17c0b1 hex)
=> tftp 1800000 uramdisk
ENET Speed is 100 Mbps - FULL duplex connection (EMAC0)
Using ppc_4xx_eth0 device
TFTP from server 20.255.255.100; our IP address is 20.255.255.94
Filename 'uramdisk'.
Load address: 0x1800000
Loading:
* #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############
done
Bytes transferred = 1728001 (1a5e01 hex)
=> bootm 1c00000 1800000
## Booting kernel from Legacy Image at 01c00000 ...
Image Name: Linux-2.6.37-dirty
Created: 2011-01-27 17:36:05 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1556593 Bytes = 1.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01800000 ...
Image Name: Simple Embedded Linux Framework
Created: 2008-04-01 19:52:43 UTC
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 1727937 Bytes = 1.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Loading Ramdisk to 03dc2000, end 03f67dc1 ... OK
Please consider the environment before you print / Antes de imprimir,
piense en el medio ambiente
_______________________________________________________________________________________________________________
This e-mail communication (and any attachment/s) may contain confidential
or privileged information and is intended only for the individual(s) or
entity named above and to others who have been specifically authorized to
receive it. If you are not the intended recipient, please do not read,
copy, use or disclose the contents of this communication to others. Please
notify the sender that you have received this e-mail in error by reply
e-mail, and delete the e-mail subsequently. Please note that in order to
protect the security of our information systems an AntiSPAM solution is in
use and will browse through incoming emails.
Thank you.
_________________________________________________________________________________________________________________
Ce message (ainsi que le(s) fichier(s)), transmis par courriel, peut
contenir des renseignements confidentiels ou protégés et est destiné à
l?usage exclusif du destinataire ci-dessus. Toute autre personne est, par
les présentes, avisée qu?il est strictement interdit de le diffuser, le
distribuer ou le reproduire. Si vous l?avez reçu par inadvertance,
veuillez nous en aviser et détruire ce message. Veuillez prendre note
qu'une solution antipollupostage (AntiSPAM) est utilisée afin d'assurer la
sécurité de nos systèmes d'information et qu'elle furètera les courriels
entrants.
Merci.
_________________________________________________________________________________________________________________
_______________________________________________
eldk mailing list
eldk at lists.denx.de
http://lists.denx.de/mailman/listinfo/eldk
_______________________________________________________________________________________________________________
This e-mail communication (and any attachment/s) may contain confidential
or privileged information and is intended only for the individual(s) or
entity named above and to others who have been specifically authorized to
receive it. If you are not the intended recipient, please do not read,
copy, use or disclose the contents of this communication to others. Please
notify the sender that you have received this e-mail in error by reply
e-mail, and delete the e-mail subsequently. Please note that in order to
protect the security of our information systems an AntiSPAM solution is in
use and will browse through incoming emails.
Thank you.
_________________________________________________________________________________________________________________
Ce message (ainsi que le(s) fichier(s)), transmis par courriel, peut
contenir des renseignements confidentiels ou protégés et est destiné à
l?usage exclusif du destinataire ci-dessus. Toute autre personne est, par
les présentes, avisée qu?il est strictement interdit de le diffuser, le
distribuer ou le reproduire. Si vous l?avez reçu par inadvertance,
veuillez nous en aviser et détruire ce message. Veuillez prendre note
qu'une solution antipollupostage (AntiSPAM) est utilisée afin d'assurer la
sécurité de nos systèmes d'information et qu'elle furètera les courriels
entrants.
Merci.
_________________________________________________________________________________________________________________
More information about the eldk
mailing list