[U-Boot-Users] Kernel hangs after enabling FCC in u-boot -mpc8560

Hello all,
I'm currently bringing up the FCC port in our MPC8560 based custom board which has one TSEC port and another FCC port. We use u-boot-1.1.4 as bootloader, where we have enabled FCC3.
When I downlaod the kernel and filesystem images through FCC system boots-up to the prompt.
Sametime , while I download the through TSEC port, kernel hangs at a strange point i.e before "Freeing the initrd memory".
Any help would be greatly appreciated.
Following are the changes done in u-boot to enable FCC3 include/net.h to u-boot-1.1.4
1. Port configuration in board/mpc8560_g8700/mpc8560_g8700.c
2. // #if !defined(CONFIG_NET_MULTI) && defined(CONFIG_CPM2) // For FCC3 support #if !defined(CONFIG_NET_MULTI) || defined(CONFIG_CPM2) #include <config.h> #if defined(CONFIG_ETHER_ON_FCC) #if defined(CONFIG_ETHER_ON_SCC)
Is this the way to enable FCC in u-boot?
Please find the screen-dump below.
Thanks, Junita
######################################################################## In: serial Out: serial Err: serial Net: TSEC0, FCC3 ETHERNET Hit any key to stop autoboot: 0 RMCG8700_8560=> tftp 2000000 mpc8560/fcc/uImage Speed: 1000, full duplex Using TSEC0 device TFTP from server 192.168.201.11; our IP address is 192.168.201.191 Filename 'mpc8560/fcc/uImage'. Load address: 0x2000000 Loading: ################################################################# ################################################################# ################################################################# # done Bytes transferred = 998700 (f3d2c hex) RMCG8700_8560=> tftp 3000000 mpc8560/fcc/ramdisk.gz Speed: 1000, full duplex Using TSEC0 device TFTP from server 192.168.201.11; our IP address is 192.168.201.191 Filename 'mpc8560/fcc/ramdisk.gz'. Load address: 0x3000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ###################################################### done Bytes transferred = 1935938 (1d8a42 hex) RMCG8700_8560=> bootm 2000000 3000000 ## Booting image at 02000000 ... Image Name: Linux-2.6.14 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 998636 Bytes = 975.2 kB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK ## Loading RAMDisk Image at 03000000 ... Image Name: GDA MPC8560 Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 1935874 Bytes = 1.8 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Ramdisk to 0fdc4000, end 0ff9ca02 ... OK Memory CAM mapping: CAM0=256Mb, CAM1=0Mb, CAM2=0Mb residual: 0Mb Linux version 2.6.14 (root@crater.gdatech.com) (gcc version 3.3.3 (DENX ELDK 3.6Built 1 zonelists Kernel command line: OpenPIC Version 1.2 (1 CPUs and 60 IRQ sources) at fcf7d000 PID hash table entries: 2048 (order: 11, 32768 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 255360k available (1740k kernel code, 448k data, 116k init, 0k highmem) Mount-cache hash table entries: 512 checking if image is initramfs...it isn't (no cpio magic); looks like an initrd

In message 200608150059.k7F0xXP11549@sierra.gdatech.com you wrote:
I'm currently bringing up the FCC port in our MPC8560 based custom board which has one TSEC port and another FCC port. We use u-boot-1.1.4 as bootloader, where we have enabled FCC3.
What do you mean by "u-boot-1.1.4"? The release version? This is very old. Please use current code instead (top of tree in git repo).
Is this the way to enable FCC in u-boot?
No.
Best regards,
Wolfgang Denk
participants (2)
-
Junita Joseph
-
Wolfgang Denk