Dear zuowenping, can you please check if following patch is applied.. even i had faced same issue in my dm6446 board when i was trying to boot 2.6.23 kernel .. some 1 gave me this patch and it worked for me.. Just check if this patch is already applied .. AND iam not sure if this works for dm355
arch/arm/boot/compressed/Makefile | 4 ++++ arch/arm/boot/compressed/head-davinci.S | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 1a0ea5d..fcf69da 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile @@ -54,6 +54,10 @@ ifeq ($(CONFIG_MACH_OMAP_PERSEUS2),y) OBJS += head-omap.o endif +ifeq ($(CONFIG_ARCH_DAVINCI),y) +OBJS += head-davinci.o +endif + ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) OBJS += big-endian.o endif diff --git a/arch/arm/boot/compressed/head-davinci.S b/arch/arm/boot/compressed/head-davinci.S new file mode 100644 index 0000000..5cd3fc9 --- /dev/null +++ b/arch/arm/boot/compressed/head-davinci.S @@ -0,0 +1,19 @@ +/* + * linux/arch/arm/boot/compressed/head-davinci.S + * + * DaVinci specific tweaks. This is merged into head.S by the linker. + * + */ + +#include <linux/config.h> +#include <linux/linkage.h> +#include <asm/mach-types.h> + + .section ".start", "ax" + +__davinci_start: +#ifdef CONFIG_MACH_DAVINCI_EVM + /* support for booting without u-boot */ + mov r7, #(MACH_TYPE_DAVINCI_EVM & ~0xf) + orr r7, r7, #(MACH_TYPE_DAVINCI_EVM & 0xf) +#endif On 5/15/09, zuowenping <zuowenp...@dali-tech.com> wrote: > > dear all: > when i run command make ARCH=arm CROSS_COMPILE=arm_v5t_le- > checksetconfig,some errors occurs: > # > # configuration written to .config > # > > python /mnt/lsp/ti-davinci/linux-2.6.18_pro500/scripts/kconfig/checksetflags > -z -v --config-file .config --flag-file > /mnt/lsp/ti-davinci/linux-2.6.18_pro500/scripts/kconfig/baseconfig > Could not find platform independent libraries <prefix> > Could not find platform dependent libraries <exec_prefix> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] > 'import site' failed; use -v for traceback > Traceback (most recent call last): > > File > "/mnt/lsp/ti-davinci/linux-2.6.18_pro500/scripts/kconfig/checksetflags", line > 3, in ? > import os > ImportError: No module named os > make[1]: *** [checksetconfig] Error 1 > make: *** [checksetconfig] Error 2 > > > > if i ignore these errors,I can compile and got a uImage,but it cann't > boot up linux too! > > > 2009-05-15 > ------------------------------ > zuowenping > ------------------------------ > *发件人:* B, Ravi > *发送时间:* 2009-05-15 11:47:43 > *收件人:* JayaKumar, PremKumar; zuowenping; Deepak Mundra > *抄送:* davinci-linux-open-source > *主题:* RE: I can't boot linux2.6.18 uImage in dm355 > > Hi > > > > Go to menuconfig, kernel Features-> select “allow old ABI binaries to run > with this kernel” or disable the “ARM EABI to compile the kernel”. Then do > clean build. This should resolve the issue. > > > > Regards > > Ravibabu > > > ------------------------------ > > *From:* davinci-linux-open-source-boun...@linux.davincidsp.com [mailto: > davinci-linux-open-source-boun...@linux.davincidsp.com] *On Behalf Of > *JayaKumar, > PremKumar > *Sent:* Friday, May 15, 2009 8:16 AM > *To:* zuowenping; Deepak Mundra > *Cc:* davinci-linux-open-source > *Subject:* RE: I can't boot linux2.6.18 uImage in dm355 > > > > I faced similar issue when switching between kernel builds for different > platforms. In such cases, a proper/full clean before build helped in getting > the right uImage built. Probably, you can try that too. > > > > make distclean > > make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm355_defconfig > > make ARCH=arm CROSS_COMPILE=arm_v5t_le- checksetconfig > > make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage > > > > Regards, > > Prem > > Texas Instruments > > India > > > ------------------------------ > > *From:* davinci-linux-open-source-bounces+premkumar.j=ti.com@ > linux.davincidsp.com > [mailto:davinci-linux-open-source-bounces+premkumar.j<davinci-linux-open-source-bounces%2Bpremkumar.j> > =ti....@linux.davincidsp.com] *On Behalf Of *zuowenping > *Sent:* Friday, May 15, 2009 6:39 AM > *To:* Deepak Mundra > *Cc:* davinci-linux-open-source > *Subject:* Re: Re: I can't boot linux2.6.18 uImage in dm355 > > > > thanks Deepak: > > I have configed kernel by the command : > > make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm355_defconfig > > make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage > > use the default configs for dm355,the kernel can't been boot up,I have Enabled > kernel hacking->kernel debuging->low level debug functions. > > the same result i goted! the envirment is: > > software:DaVinciLSP_02_00_00_110 ,mvltools5_0_0801921 > > hardware: dm355 evm > > and resut is as: > > > > DM355 EVM # tftpboot > > TFTP from server 10.0.0.89; our IP address is 10.0.0.53 > > Filename 'uImage'. > > Load address: 0x80700000 > > Loading: ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ################################################################# > > ########################################################### > > done > > Bytes transferred = 1965512 (1dfdc8 hex) > > DM355 EVM # bootm > > ## Booting image at 80700000 ... > > Image Name: Linux-2.6.18_pro500-davinci_evm- > > Image Type: ARM Linux Kernel Image (uncompressed) > > Data Size: 1965448 Bytes = 1.9 MB > > Load Address: 80008000 > > Entry Point: 80008000 > > Verifying Checksum ... OK > > OK > > Starting kernel ... > > > Uncompressing > Linux................................................................................................................................... > > > > It stoped here for ever! it seems no printed kernel information only uboot > prints,I have doubled where the serial configs have errors,I have > checked the bootargs whick can been used well for the uImage that comes > with DVSDK. > > > setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs > nfsroot=10.0.0.89: > /opt/montavista/pro/devkit/arm/v5t_le/target/, > > nolock mem=116M video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16, > 2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE > davinci_enc_mngr.ch0_mode=$(videostd) > > > > > so it is not the bootargs error i think! serial driver error? board config > driver error? It amazed me so far! > > > > 2009-05-15 > ------------------------------ > > zuowenping > ------------------------------ > > *发件人:* Deepak Mundra > > *发送时间:* 2009-05-14 22:46:04 > > *收件人:* Steve Chen > > *抄送:* zuowenping; davinci-linux-open-source > > *主题:* Re: I can't boot linux2.6.18 uImage in dm355 > > > Dear *zuowenping* > > do make menuconfig > > Enable kernel hacking->kernel debuging->low level debug functions > and compile the kernel and post the kernel output here > > > Regards > Deepak > > On 5/14/09, *Steve Chen* <sc...@mvista.com> wrote: > > On Thu, 2009-05-14 at 13:49 +0800, zuowenping wrote: > > My develop envirment : > > DaVinciLSP_02_00_00_110 ,mvltools5_0_0801921 and dm355 evm > > I have built the kernel by reference the pdf " TMS320DM355 DVEVM v1.30 > > Getting Started Guide" , > > DM355 EVM # printenv > > bootdelay=3 > > baudrate=115200 > > bootfile=uImage > > bootcmd=nboot 0x80700000 0 0x400000;bootm 0x80700000 > > fileaddr=80700000 > > ipaddr=10.0.0.53 > > bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs > nfsroot=10.0.0.89:/nfs/restore_dm355,nolock mem=116M > video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16, > 2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE > davinci_enc_mngr.ch0_mode=pal > > serverip=10.0.0.89 > > filesize=2191c0 > > stdin=serial > > stdout=serial > > stderr=serial > > videostd=pal > > > > Environment size: 491/16380 bytes > > why not success? > > Any clues will be appreciated! > > > Just want to make sure I understand, you can boot the board with the > binary that comes with DVSDK, but you can not boot the board with the > binary generated by following the "Getting Started Guide" > > If that is the case, what are the commands you used to configure and > build the kernel and what error did you see during boot up? > > > Regards, > > Steve > > > > _______________________________________________ > Davinci-linux-open-source mailing list > Davinci-linux-open-source@linux.davincidsp.com > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source > > >
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source