This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Are you facing this issue on EVM or DVR or any custom board of DM8168? These is nand_flash_writer utility that can be used to erase and flash nand. Let me know your plaform, we would be able give you that utility and gel file.
No. I'm talking about the same, the one used from CCS.
If you want to flash nand without CCS you can do so by first booting through SD or UART boot mode. Both of these modes will need uboot images built for that particular boot mode.
Hi,
Can you please boot from SD boot mode and execute "nand info" command from console?
I could not get your question about UART boot mode. You dont need to use any hub there. Just need to transfer images to target using "Xmodem" and "Kermit" with right switch settings and right UART images. Let me know if you dont have steps to boot using UART. Please provide RDK/PSP version you are using.
hi:
here is the display information:
TI8168_EVM#nand info
Device 0: nand0, sector size 128 KiB
TI8168_EVM#nand erase 0x0 0x1c0000
NAND erase: device 0 offset 0x0, size 0x1c0000
Skipping bad block at 0x00000000
Skipping bad block at 0x00020000
Skipping bad block at 0x00040000
Skipping bad block at 0x00060000
Skipping bad block at 0x00080000
Skipping bad block at 0x000a0000
Skipping bad block at 0x000c0000
Skipping bad block at 0x000e0000
Erasing at 0x1a0000 -- 100% complete.
OK
TI8168_EVM#
also ,when write u-boot to nand flash shows error. Similar situation appeared?
Hi,
-------------------------------
Flash Bad Blocks
-------------------------------
Bad blocks on Flash can be seen due to variety of reasons like:
(1) Factory Programmed: Bad blocks occurring during manufacturing of Flash device. Such bad-blocks are identified by Flash device manufacturer, and are marked in the flash before shipping the device.
(2) Wear & Tear: These bad-blocks occur due to wear and tear of device. Such bad-blocks are usually managed, checked and marked by file-system (like UBIFS) running over the NAND Flash device.
(3) Multiple read/write errors: Sometime due to improper timing configurations, file-system sees repeated failures occurring on particular blocks. It therefore mistakenly marks them as bad-blocks, so that next time a read/write/erase operation just skips such blocks.
You can see the bad-blocks already present in NAND using command at UBOOT prompt (with NAND enabled)
UBOOT> nand bad
You can also forcefully delete these bad-block markings (except for factory programmed bad-blocks), using following command. This is particularly useful in case where bad-blocks occurred due to some incorrect configuration (3).
UBOOT> nand scrub
Otherwise, Flash File-System (like UBIFS) will again identify these bad-blocks in next device erase, and mark them again. This way you can know, that bad-blocks are permanent ones, if they re-occur.
I'm assuming that your NAND Flash device is relatively new, and it might have not worn-out by now.. So you can try above command.
For you another query, please refer to following links..
-------------------------------------------
EMAC Boot (Booting from Network)
-------------------------------------------
http://processors.wiki.ti.com/index.php/TI81XX_PSP_UBOOT_User_Guide#EMAC_Boot
http://processors.wiki.ti.com/index.php/TI81XX_PSP_EMAC_Boot
http://processors.wiki.ti.com/index.php/TI81XX_PSP_User_Guide#Boot_over_Network_.28Ethernet.29
with regards, pekon