From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from a.relay.invitel.net (a.relay.invitel.net [62.77.203.3]) by ozlabs.org (Postfix) with ESMTP id 9B828DDEDB for ; Mon, 9 Jun 2008 19:51:55 +1000 (EST) Received: from mail.invitel.hu (mail.invitel.hu [213.163.59.4]) by a.relay.invitel.net (Invitel Core SMTP Transmitter) with ESMTP id 3A5F3370346 for ; Mon, 9 Jun 2008 11:42:51 +0200 (CEST) Received: from [192.168.2.179] ([62.77.251.67]) by mail.invitel.hu (Invitel Messaging Server) with ESMTPA id <0K2600MFIWB5LGY0@invitel.hu> for linuxppc-dev@ozlabs.org; Mon, 09 Jun 2008 11:42:42 +0200 (CEST) Date: Mon, 09 Jun 2008 11:42:41 +0200 From: Peter Czanik Subject: Re: Default flats for running dtc from kernel build In-reply-to: To: Kumar Gala Message-id: <484CFB11.1080400@fang.fa.gau.hu> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed References: <20080606143347.B35CC247FE@gemini.denx.de> Cc: linuxppc-dev list , Wolfgang Denk List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello, Kumar Gala írta: > diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile > index c40fb82..52db85a 100644 > --- a/arch/powerpc/boot/Makefile > +++ b/arch/powerpc/boot/Makefile > @@ -29,6 +29,8 @@ ifdef CONFIG_DEBUG_INFO > BOOTCFLAGS += -g > endif > > +DTS_FLAGS ?= -R4 -S 0x3000 > + > ifeq ($(call cc-option-yn, -fstack-protector),y) > BOOTCFLAGS += -fno-stack-protector > endif I have a 8610 standing next to my desk with U-Boot 1.3.0 (Mar 13 2008 - 10:14:26). It came with 2.6.23. I wanted to compile a kernel from the latest available kernel sources ( 2.6.26-RC5-git2 ). I compiled it using mpc8610_hpcd_defconfig. I also did a make mpc8610_hpcd.dtb to have a matching dtb file for the kernel. This is how far it gets: => boot 11032 bytes read 1708346 bytes read ## Booting image at 01000000 ... Image Name: Linux-2.6.26-rc5-git2-czp7 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1708282 Bytes = 1.6 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Booting using the fdt at 0xc00000 Loading Device Tree to 007fb000, end 007fdb17 ... OK When I use the 2.6.26 kernel, but the original dtb file from the BSP, then I get two more lines on the serial console: pci@8000 first_busno=0 last_busno=0 pcie@9000 first_busno=0 last_busno=0 So I suspected, that this might be something with the dtb file. This is when I ran into this thread. I tried all the different options for DTS_FLAGS to generate a working dtb file, but I got the same result, "Loading Device Tree to 007fb000, end 007fdb17 ... OK" was the last line on screen. Any additional ideas, how to create a working dtb file for the 8610 board for later kernels? Bye, CzP