I have a DLP LightCrafter that does not complete the boot sequence. The progress bar stops just shy of filling the entire bar and does not proceed. I've tried both positions of the switch that controls booting off a memory card or internal flash and booting with and without a computer connected over USB. When connected over USB no device ever appears in device manager. Any idea what could be wrong?
Thanks, Sureshkumar Manimuthu.
This could explain a great deal, I don't install any special u-boot and used default LightCrafter's software (v2.5). I'll definitely check it out when I come back to St. Petersburg.
Well, finally I was able to boot from sd card using this boot.scr to work with rootfs on the second partition:
mmc rescan 0setenv bootargs 'mem=116M console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootdelay=2 rw noinitrd ip=off video=davincifb:vid0=1216x684x16,4050K:vid1=off:osd0=0x0x8,0K:osd1=0x0x8,0K dm365_imp.oper_mode=0 davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=1216x684YUV vpfe_capture.interface=1'fatload mmc 0 80700000 uImagebootm 0x80700000
and using this boot.scr to load ramdisk.img from sd card to memory and locate rootfs on LightCragters's RAM:
mmc rescan 0setenv bootargs 'mem=116M console=ttyS0,115200n8 root=/dev/ram0 rw initrd=0x82000000,10M ramdisk_size=10240 ip=off video=davincifb:vid0=1216x684x16,4050K:vid1=off:osd0=0x0x8,0K:osd1=0x0x8,0K dm365_imp.oper_mode=0 davinci_enc_mngr.ch0_output=LCD davinci_enc_mngr.ch0_mode=1216x684YUV vpfe_capture.interface=1'fatload mmc 0 0x80700000 uImagefatload mmc 0 0x82000000 ramdisk.imgbootm 0x80700000
In both cases, I encountered the following problem after boot: generated by LightCarfter image and green LED on light engine block flicker all the time. Using the top command I found out that cmdh application uses about 99% of CPU.
Booting log is identical to normal except for a few additional lines there:
ch0 default output "LCD", mode "NTSC"davinci_venc davinci_venc: Desired VENC clock not availabledavinci_venc davinci_venc: PLL's doesnot yield required VENC clkVPBE Encoder InitializedInvalid id...
and there is no typical error messages
Database.c:146 >> Error = FAILAPI.c:1546 >> Error = FAILAPI.c:363 >> Error = FAILAPI.c:269 >> Error = FAIL
after "Please press Enter to activate this console." message after boot.
Hi Vitaly,
It is very much possible that the flickering issue is due to the VENC clock error.
Before going into debugging the differences between TI's image and your image, let me understand the purpose of this exercise.
If you want to boot the LightCrafter from SD card (without using the internal NAND) than there is an SD card image available that you can directly use.
If your intention is to modify the filesystem, then we may be able to provide you with tools that can crate the SD card image based on your file system.
Please let us know.
Hi, Sureshkumar,
We need to make Lightcrafter work as embedded device. For this purpose we want to add our own application, which will be run on LightCrafter in parallel with exist cmdh application and interact with it via socket locally. We also need to store some content on sd card. To do this we need to modify rootfs adding our application and making it start automatically at startup.
As you said, there are two ways to solve this problem:
1) Store uImage and unpacked rootfs on bootable sd card with two partitions (fat32 and ext2) and work with it without NAND.
2) Modify existing rootfs (by adding our application) and boot from NAND with existing uImage. Content can be stored on sd card.
The first way looks much easier, so, firstly I'd like to try it, but the second way may work much faster, so I should compare them both.
Regards,
Vitaly
You need to set the PLLDIV6 to 0x8008 in order to output 54Hz clock to VENC.
This is done in xloader (before uboot).
Suresh
Thanks, Suresh.
How can I do it? I don't have any xloader or u-boot sources.
Sureshkumar,
You said there is is an SD card image available to boot LightCrafter from SD card without using the internal NAND, where can I download it?
Boot from SD card image is not available at present. We will update this thread when it is available.
Sanjeev
Three posts ago said that this image available
Well, then how can I set the PLLDIV6 to 0x8008 in order to output 54Hz clock to VENC?
Our company spent 2 months trying to get it work. The first month we could not connect this device because of RNDIS problem, it worked only on 1 of 10 computers and even now it takes about 90 (!) seconds to recognise device every time it is connected (I've posted about this few times, but there is no answer). The second month we tried to modify LightCrafter's software (for what else can it be bought), but there is no any tools or bootable sd card. We had to extend the project because it works bad with default software and there is no documented way to change it's software. It's absolutely useless now.
When any tools and documentation will be available (Software developer guide, for example) will be available???
Vitaly,
We regret for the confusion caused. And, sorry for the difficulties you are facing. The SD card boot image is available for previous version which does not fix the USB issue. I will have to update the code to make it compatible with the newer version of the GUI (v3.8) and include the USB fix.
We have considered your request and scoping the source code release of DM365. Please allow couple of days before I can update you on the progress we make.
Thanks,
Divya
www.ti.com/mems
Hello,
Two weeks passed, is there any progress in solving my problem? (boot lightcrafter from sd card and start it's standart application)