TI E2E Community
DLP & MEMS
DLP LightCrafter Development Platform Forum
Lightcrafter does not boot
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?
Can you please try the following,
Write the image to the SD card and check to see the FAT32 partition. Insert the SD card in the LightCrafter, move the switch towards the SD card end and power cycle the board.
The red LED (shown in the image below) should turn green for the boot up to complete.
We are yet to put the microSD card bootable image of DLP LightCrafter(TM) on the TI web.
Can you try the following steps?
Look for the "S2" switch which is locted close to the microSD card insertion slot on the top-board. Make sure the S2 switch is set to the 'ON' position.
Now apply power and let us know if it is able to complete boot sequence.
The microSD card image for DM365 can be downloaded from here.
We tried to use uImage from TI DVSDK for DM365, but it takes a long time (about 40 seconds) to boot with this image. it looks like LightCrafter has a special modified smaller kernel, which used on normal boot from nand. We tried to extract it from nand to use in our sd card,but our attempts were unsuccessful.
Is Lightcrafter uImage and targetfs flashed in LightCrafter's nand available for download?
The DVSDK has been heavily modified for Lightcrafter module. Due to complexities, the targetfs have not been released. Based on the demand, we would consider the release in future. Meanwhile, you can download the SD card image customized for Lightcrafters DM365 here, link.
Also, can you provide some details on what you are trying to achieve, so I can enable you better.
Well, I downloaded "DLP300-C200REFDM365: Embedded Linux MicroSD 4GB Image For DM 365", there is a DLP3000-C300REFDM365.bin image (4,4Mb) image file. How can I flash in on sd card? I tryed to use dd command, but it's not work.
We need to make Lightcrafter word as an embedded device, so we decided to copy existing uImage and targetfs to sd card and add our own application, which would send commands to it's own adapter (like loopback in Windows). But in order to solve our problem we need to create a bootable card with the same kernel uImage as in NAND.
Thanks for sharing more details. The link here provides instructions on copying an image to SD card (for both Windows and Linux OS). Please let me know if you face any other issue.
Well, I've unpacked dm365sw_2_5_sd4gb.dd image and put it on sd card using dd command. Unfortunately, there is only one fat32 partition (44Mb) with one file named dm3xx.dat. I can put it into LightCrafter and update it's software, it's work fine, but there is no second linux partition with uImage and rootfs we need. I tryed to get more information about this problem and used few programs like sfdisk, testdisk, gparted:
Testdisk application said that there is a bad ending cylinder (CHS and LBA not match):
There is a screenshot from Ubuntu disk utility: third partition has size = - 62 401 535 bytes
How can we repair second partition to get uImage and rootfs or, perhaps, extract it from dm3xx.dat file?
The DM365 boot loader can only read FAT file system. Thus, we place dm3xx.dat file in the FAT32 area. The dual partition is for booting and running from SD card. However, the version on the web is meant to copy the programs into NAND flash, so the linux partition is empty. We just use the same mechanism to allow us to boot and flash NAND and run from NAND, or just boot and run from SD card.
During boot-up, the DM365 takes this dm3xx.dat file that contains the linux kernel, our command interpreter app and base file system and copies it over to NAND flash. On next boot-up the DM365 boatloads the uImage and runs from NAND.
To create your own application, you will need to rebuild the linux kernel along with your app, and recreate this dm3xx.dat. We are working to have LightCrafter as a supported platform in the DM365 DVSDK, but this process is taking longer than expected. Let us explore what if we could provide the kernel object files and see if this can be used to so that you can build your own dm3xx.dat file.
Thank you for your reply. I know that LightCrafter uses dm3xx.dat file to copy it over to NAND, I also can do it, but I don't want my files were in NAND. I can create bootable sd card with uImage, boot.cmd and boot.scr on the first FAT32 partition and rootfs on the second. I've already created one with dm365 dvsdk and it works correctly, but it takes a long time to boot device and there is fewer devices in /dev directory because of wrong uImage file.
I don't need my own dm3xx.dat file, I just need uImage and targetfs files which are now used in this file. If possible, please, simply give me these files.
Having the file system in SD card is very slow if the SD card has a slow read/write speed. Look for a Class 10 SD card, that will speed things up.
The problem of speed is not in rootfs or SD card, it works fast enough. My problem is in invalid kernel from dm365 DVSDK which is not designed to work with DLP Lightcrafter, so it boots very slow and not all devices are configured correctly. For this reason I need uImage file which is now used in DLP LightCrafter. How can I obtain this file and current targetfs?
Is there any progress in solving my problem? We really need that uImage file and targetfs.
As mentioned by Pedro earlier, you will need the source files to generate the uimage and targetfs. I recognize this source code is a much needed piece to build your embedded application. Please allow a 1-week time before I update you on where I stand in getting the code and documentation together.
Thanks for understanding and your patience.
I think Pedro misunderstood me. He said I will need to rebuild the linux kernel and recreate dm3xx.dat, which is used to put my application to NAND instead of current application, but I don't really need it. I'm going to boot from SD card so I simply need current uImage file and targetfs (tar.gz), which are currently used in dm3xx.dat file. We don't need any source files. What source files and documentation are you going to provide us after a week?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.