{"action":"created","issue":{"url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/52","repository_url":"https://api.github.com/repos/pepe2k/u-boot_mod","labels_url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/52/comments","events_url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/52/events","html_url":"https://github.com/pepe2k/u-boot_mod/issues/52","id":61071794,"number":52,"title":"support flash SST25VF032B and SST25VF064C","user":{"login":"TolyanPoltava","id":11454439,"avatar_url":"https://avatars.githubusercontent.com/u/11454439?v=3","gravatar_id":"","url":"https://api.github.com/users/TolyanPoltava","html_url":"https://github.com/TolyanPoltava","followers_url":"https://api.github.com/users/TolyanPoltava/followers","following_url":"https://api.github.com/users/TolyanPoltava/following{/other_user}","gists_url":"https://api.github.com/users/TolyanPoltava/gists{/gist_id}","starred_url":"https://api.github.com/users/TolyanPoltava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TolyanPoltava/subscriptions","organizations_url":"https://api.github.com/users/TolyanPoltava/orgs","repos_url":"https://api.github.com/users/TolyanPoltava/repos","events_url":"https://api.github.com/users/TolyanPoltava/events{/privacy}","received_events_url":"https://api.github.com/users/TolyanPoltava/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-13T14:08:55Z","updated_at":"2016-04-25T21:11:20Z","closed_at":"2015-03-15T13:19:18Z","body":"pepe2k, please help.\r\n*********************************************\r\n*   U-Boot 1.1.4  (Mar 12 2015, 21:03:30)   *\r\n*********************************************\r\n\r\nAP123 (AR9341) U-Boot for TL-WR841N/D v8\r\n\r\nDRAM:   64 MB DDR 32-bit\r\nFLASH:  Unknown type (using only 4 MB)\r\n\r\nPlease, send request to add support\r\nfor your FLASH - JEDEC ID: 0xBF254A\r\n\r\nCLOCKS: 535/400/200/25 MHz (CPU/RAM/AHB/SPI)\r\n\r\n## Error: MAC is invalid, using fixed!\r\n\r\nLED on during eth initialization...\r\n\r\n## Error: MAC address in FLASH is invalid, using fixed!\r\n## Error: MAC address in FLASH is invalid, using fixed!\r\nHit any key to stop autobooting:  0\r\n\r\nuboot> erase 0x9f000000 +0x400000\r\nErase FLASH from 0x9F000000 to 0x9F3FFFFF in bank #1\r\nErasing: #######################################\r\n         #########################\r\n\r\nErased sectors: 64\r\n\r\nuboot> res\r\n\r\n*********************************************\r\n*   U-Boot 1.1.4  (Mar 12 2015, 21:03:30)   *\r\n*********************************************\r\n\r\nAP123 (AR9341) U-Boot for TL-WR841N/D v8\r\n\r\nDRAM:   64 MB DDR 32-bit\r\nFLASH:  Unknown type (using only 4 MB)\r\n\r\nPlease, send request to add support\r\nfor your FLASH - JEDEC ID: 0xBF254A\r\n\r\nCLOCKS: 535/400/200/25 MHz (CPU/RAM/AHB/SPI)\r\nRecord \\ erasing does not work.\r\nhttp://lists.denx.de/pipermail/u-boot/2014-October/192519.html\r\nadded ar7240_flash.c\r\ncase 0xBF254A:\r\n\t\t\tflash_set_geom(SIZE_INBYTES_4MBYTES, 1024, SIZE_INBYTES_4KBYTES);\r\n\t\t\tputs(\"SST25VF032B (4 MB)\");\r\n\t\t\tbreak;\r\nlog:\r\nuboot> erase 0x9f000000 +0x400000\r\nErase FLASH from 0x9F000000 to 0x9F3FFFFF in bank #1\r\nErasing: #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         #######################################\r\n         ##########\r\n\r\nErased sectors: 1024\r\n\r\nuboot> res\r\n\r\n*********************************************\r\n*   U-Boot 1.1.4  (Mar 12 2015, 21:13:39)   *\r\n*********************************************\r\n\r\nAP123 (AR9341) U-Boot for TL-WR841N/D v8\r\n...\r\nIn both cases, the erasure happens too fast\r\nPlease help me.\r\nThank you"},"comment":{"url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/comments/214523087","html_url":"https://github.com/pepe2k/u-boot_mod/issues/52#issuecomment-214523087","issue_url":"https://api.github.com/repos/pepe2k/u-boot_mod/issues/52","id":214523087,"user":{"login":"pepe2k","id":2934612,"avatar_url":"https://avatars.githubusercontent.com/u/2934612?v=3","gravatar_id":"","url":"https://api.github.com/users/pepe2k","html_url":"https://github.com/pepe2k","followers_url":"https://api.github.com/users/pepe2k/followers","following_url":"https://api.github.com/users/pepe2k/following{/other_user}","gists_url":"https://api.github.com/users/pepe2k/gists{/gist_id}","starred_url":"https://api.github.com/users/pepe2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepe2k/subscriptions","organizations_url":"https://api.github.com/users/pepe2k/orgs","repos_url":"https://api.github.com/users/pepe2k/repos","events_url":"https://api.github.com/users/pepe2k/events{/privacy}","received_events_url":"https://api.github.com/users/pepe2k/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T21:11:19Z","updated_at":"2016-04-25T21:11:19Z","body":"Maybe you have problem somewhere else. How do you program that FLASH chip? Are you using verify functionality in your FLASH programmer?\r\n\r\nWinbond W25Q128 is cheap, reliable and fully supported (U-Boot, Linux kernel), maybe buy them instead of that SST if they are so problematic."}}