[ELDK] eldk and kernel 3.x-DENX

Мал Скрылёв 3ahyga at gmail.com
Fri Aug 19 08:06:27 CEST 2011


Hello,

i'm using ELDK 5, and trying to build the kernel 3.x-DENX for the amcc
yosemite board. In past when i tried to build the 2.6.26.8 kernel
using the ppc arch i used the following command:
$ make ARCH=ppc
CROSS_COMPILE=/opt/eldk-5.0/powerpc/sysroots/i686-oesdk-linux/usr/bin/powerpc-linux/powerpc-linux-
make yosemite_defconfig
$ make ARCH=ppc
CROSS_COMPILE=/opt/eldk-5.0/powerpc/sysroots/i686-oesdk-linux/usr/bin/powerpc-linux/powerpc-linux-
make uImage
I've completely built the kernel and successfully run it on the board.
So, since the 2.6.27 kennel yosemite for ppc arch isn't supported, and
I tried build the kernel with powerpc arch. I made the following:
$ make ARCH=ppc
CROSS_COMPILE=/opt/eldk-5.0/powerpc/sysroots/i686-oesdk-linux/usr/bin/powerpc-linux/powerpc-linux-
make 44x/sam440ep_defconfig
$ make ARCH=ppc
CROSS_COMPILE=/opt/eldk-5.0/powerpc/sysroots/i686-oesdk-linux/usr/bin/powerpc-linux/powerpc-linux-
make menuconfig
Here I selected yosemite board at the platform support option, and
enabled the early debug UART physical address minor part 0xef600300:
and major: 0x8 (as it was specified in the yosemite.dts) at the kernel
hacking option, the I compiled the kernel, loaded it in the yosemite
board, and got the following log:
CPU clock-frequency <- 0x1fca0550 (533MHz)
CPU timebase-frequency <- 0x1fca0550 (533MHz)
/plb: clock-frequency <- 7f28154 (133MHz)
/plb/opb: clock-frequency <- 3f940aa (67MHz)
/plb/opb/ebc: clock-frequency <- 3f940aa (67MHz)
/plb/opb/serial at ef600300: clock-frequency <- a8c000 (11MHz)
/plb/opb/serial at ef600400: clock-frequency <- a8c000 (11MHz)
/plb/opb/serial at ef600500: clock-frequency <- a8c000 (11MHz)
/plb/opb/serial at ef600600: clock-frequency <- a8c000 (11MHz)
Memory <- <0x0 0x0 0xffff000> (255MB)
ethernet0: local-mac-address <- 00:10:ec:00:90:10
ethernet1: local-mac-address <- 00:10:ec:80:90:12

zImage starting: loaded at 0x00400000 (sp: 0x0fe2fb60)
Allocating 0x419198 bytes for kernel ...
gunzipping (0x00000000 <- 0x0040e000:0x007236e4)...done 0x305060 bytes

Linux/PowerPC load: root=/dev/nfs rw
nfsroot=192.168.57.2:/opt/eldk-5.0/powerpc/powerpcrfs
ip=192.168.124.112::192.168.124.1::eolophua:eth0:off
console=ttyS0,115200
Finalizing device tree... flat tree at 0x730160

It is all. No loading is forward anyway. So, my quiestions are following:
* How to enable the debgu after the kernel went to "kenry" function?
* What problem may stop loading the kernel?

Sincerely yours, Malo Skrylevp

-- 
Малъ Зануда, Скрылёвъ сынъ


More information about the eldk mailing list