On Fri, 2009-05-15 at 15:15 +0200, Tobias Knutsson wrote:
> Hello,
> 
> I am trying to build a kernel for the OMAP-L137 EVM board, but have
> not yet succeeded.
> 
> I am using the bootloader provided by MV, and booting their 2.6.18
> kernel works fine.
> 
> When compiling my own version i have taken the following steps:
> 
> 0. Installed Code Sourcery G++ 2008q3-72 (4.3.2)
> 1. Cloned the latest linux-davinci git tree.
> 2. Checked out a new branch at commit "ARM: DaVinci - Remove unused
> compare reg defines"
> 3. Applied the patch from subject "[PATCH 2/3 v4] ARM: da830 - Add
> base DA830/OMAP-L137 SoC support" from this list.
> 4. Applied the patch from subject "[PATCH 3/3 v4] ARM: da830 - Add
> support for DA830/OMAP-L137 EVM" from this list.
> 5. make -j ARCH=arm CROSS_COMPILE=/opt/cs/bin/arm-none-linux-gnueabi-
> da830_omapl137_defconfig
> 6. make -j ARCH=arm CROSS_COMPILE=/opt/cs/bin/arm-none-linux-gnueabi- uImage
> 
> (I have also tried building via a single cpu, no -j flag)
> 
> When attempting to boot the image I end up with the following:
> 
> U-Boot 1.3.3 (Apr 23 2009 - 17:32:00)
> 
> I2C:   ready
> DRAM:  64 MB
> In:    serial
> Out:   serial
> Err:   serial
> ARM Clock : 300000000 Hz
> More than one PHY detected.
> Hit any key to stop autoboot:  0
> U-Boot > tftp 0xc0700000 uImage
> TFTP from server 10.0.0.100; our IP address is 10.0.0.5
> Filename 'uImage'.
> Load address: 0xc0700000
> Loading: #################################################################
>          #################################################################
>          #################################################################
>          #################################################################
>          ###################################
> done
> Bytes transferred = 1509473 (170861 hex)
> U-Boot > bootm 0xc0700000
> ## Booting kernel from Legacy Image at c0700000 ...
>    Image Name:   Linux-2.6.30-rc2-davinci1-05909-
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    1509409 Bytes =  1.4 MB
>    Load Address: c0008000
>    Entry Point:  c0008000
>    Verifying Checksum ... OK
>    Loading Kernel Image ... OK
> OK
> 
> Starting kernel ...
> 
> Uncompressing Linux....
> 
> ran out of input data
> 
>  -- System halted
> 
> I would really appreciate your input on this. Does anybody have some
> ideas as to what I am doing wrong?

This looks like the DA830 cache issue.  Make sure the kernel is in cache
write-through mode.

Regards,

Steve



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to