Hi Juha, On Wed, Oct 13, 2010 at 02:08:15, Nicolas Luna wrote: > Juha, > > It was exactly the problem. With the memory dump I found this > ".<3>Unknown DaVinci JTAG ID 0x1b7d102f" then I changed the variant from > 0 to 1 and the board booted.
Are you planning to submit a patch fixing this issue to the list? We can take it up if you are busy otherwise. Thanks, Sekhar > > To TI: > > > I checked into the AM1808 datasheet and if I follow this (see below), > the variant should be 0: > > u16 variant; /* JTAG ID bits 31:28 */ > u16 part_no; /* JTAG ID bits 27:12 */ > u16 manufacturer; /* JTAG ID bits 11:1 */ > > AM1808 JTAG ID from datasheet: 0x0B7D_102F > > Is it a mistake from the datasheet? We have the ZWT package with > silicon Rev B, is it have anything to do with this? > > Nicolas > > > > > On Tue, Oct 12, 2010 at 3:31 PM, Juha Kuikka <[email protected]> > wrote: > > > > On Tue, Oct 12, 2010 at 10:12 AM, Nicolas Luna > <[email protected]> wrote: > > > Hi, > > I'm running Linux Davinci on a custum hardware based on > OMAP L138 EVM. I got two cards, one with OMAP-L138 > <http://focus-webapps.ti.com/general/docs/sitesearch/searchdevice.tsp?pa > rtNumber=omap-l138> and an other with AM1808 > <http://focus-webapps.ti.com/general/docs/sitesearch/searchdevice.tsp?pa > rtNumber=am1808> . The only difference between the two cards is the CPU, > all others peripherals are same. > > I compiled the kernel from > DaVinci-PSP-SDK-03.20.00.12.tgz. > > The first board with OMAP-L138 > <http://focus-webapps.ti.com/general/docs/sitesearch/searchdevice.tsp?pa > rtNumber=omap-l138> boot correctly. > > With the same kernel image, the second board with AM1808 > <http://focus-webapps.ti.com/general/docs/sitesearch/searchdevice.tsp?pa > rtNumber=am1808> freeze at boot time. > > Here is the boot log: > > > > > > > Loading: > ################################################################# > > > ################################################################# > > ################ > > done > > Bytes transferred = 2142892 (20b2ac hex) > > ## Booting kernel from Legacy Image at c0007fc0 ... > > Image Name: Linux-2.6.33-rc4 > > Image Type: ARM Linux Kernel Image (uncompressed) > > Data Size: 2142828 Bytes = 2 MB > > Load Address: c0008000 > > Entry Point: c0008000 > > Verifying Checksum ... OK > > Loading Kernel Image ... OK > > OK > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. <= > Freezes here ! > > > > > Hi, > > I had similar symptoms with a custom board and it turned out > that the chip (L138) variant was different. I had to add another entry > with .variant = 1 into the da850_ids[] structure in > mach-davinci/da850.c. > > Just my 2c. :) > > Also, take a look at this[1] for getting access to early boot > messages without LL. > > - Juha > > > [1] > http://elinux.org/Kernel_Debugging_Tips#Debugging_early_boot_problems > -- > Duck tape is like the force, it has a light side and a dark side > and it holds the universe together. > > > > _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
