Forwarded to list.... Phil Quiney, Principal Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.com <http://www.trinityconvergence.com/>
________________________________ From: Jeff [mailto:[EMAIL PROTECTED] Sent: 13 October 2008 09:21 To: Phil Quiney Subject: 答复: about nand flash on dm355! Hi Phil, I had changed the source code of decode demo on DM355 LSP 1.20 to play 1280x720 video clips. I used video decode thread, display thread, audio thread. When I played the video clip while playing audio clip. I found the video thread was blocked and video display can not work. But the audio playing can work well. I done some debug on those threads. The video thread was blocked at " if (FifoUtil_get(envp->hDisplayOutFifo, &de) == FIFOUTIL_FAILURE) { ERR("Failed to get buffer from input fifo\n"); breakLoop(THREAD_FAILURE); } " Please give me some suggestion. Thanks very much. Best Regards, Jeff ________________________________ 发件人: Phil Quiney [mailto:[EMAIL PROTECTED] 发送时间: 2008年9月10日 15:34 收件人: Jeff 主题: RE: about nand flash on dm355! Hi, I am assuming this is not a DM355 EVM board but a board of your own? The clue that something is wrong is the 'flash_eraseall' command. It should not be complaining about IO errors. You will need to modify the NAND driver being used so it understands the FLASH chip you are using. The current DaVinci driver is drivers/mtd/nand/nand_davinci.c and according to the decription at the top of the file is for the 'Samsung k9k2g08 part'. As you are able to write the kernel (from u-boot?) it suggests your FLASH is working. There may be something to be gained by looking at the u-boot code to see how it manages to handle the FLASH chips you are using. Regards Phil Q Phil Quiney, Senior Software Engineer Trinity Convergence Cambridge Business Park Cowley Road Cambridge CB4 0WZ, UK T: +44(0)1223-435536 F: +44(0)1223-435560 www.trinityconvergence.com <http://www.trinityconvergence.com/> ________________________________ From: Jeff [mailto:[EMAIL PROTECTED] Sent: 10 September 2008 05:28 To: Phil Quiney Subject: about nand flash on dm355! Hi Phil Q, I used the nand flash (HY27UF(08_16)4G2B 4G-bit(512M), pagesize = 2K, eraseblocksize = 128K,). I can put the kernel image to the nand flash successfully. But when I put the root file system to the mtdblock3 on linux(flash_eraseall /dev/mtd3, mount �Ct yaffs2 /dev/mtdblock3 /mnt, cd /mnt, tar xf dm355_flash_image_1_30_00_40.tar) I can not see someting in the mtdblock3 partition using ‘mount �Ct yaffs2 /dev/mtdblock3 /mnt/flash/’. And when I checked the partition usage using ‘df �Ch’, I can see that some space was used. Please give me help. Thanks. Some error message : Using flash_eraseall /dev/mtd3 Erasing 128 Kibyte @ f2a0000 -- 60 % complete. flash_eraseall: /dev/mtd3: MTD Erase failure: Input/output error Erasing 128 Kibyte @ 12e20000 -- 75 % complete. flash_eraseall: /dev/mtd3: MTD Erase failure: Input/output error Erasing 128 Kibyte @ 18fe0000 -- 99 % complete. Please check the attached PDF with HY27UF(08_16)4G2Bdatasheet. Best Regards & Thanks Jeff
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
