Welcome to the Rockbox Technical Forums!
Hello wilkes5,I also get the panic message on my D2+, but it seems, that the latest builds are buggy. I have no problems with 3.13.The mesage is: *PANIC*dc_writeback_callback () - Could not write to sector 81 93 (error -1)pc: 2005C064 sp:200B3228bt endI have talked about that to pamaury on IRC and he kindly tried to help and even provided a test build, but no luck. Maybe someone can have a look at this problem too?Greetings,c_k
fat_create_file("nvram.bin",200F01E4,200F0234)cache_commit()dc_commit_all()dc_write_callback() ---> *PANIC*
dc_cach_probe()dc_write_callback() ---> *PANIC*
#if (CONFIG_STORAGE & STORAGE_NAND) case STORAGE_NAND: return nand_write_sectors(IF_MD(ldrive,)start,count,buf);#endif
I was thinking of doing that exact thing saratoga suggested, it shouldn't take much to do so, you just need to get Rockbox to mount the sdcard first and treat it as if it's internal storage.In regards to writing to NAND, a driver without wear leveling could be implemented with writing disabled by default and a warning about potentially damaging your NAND if you decide to enable it. In regards to wear leveling, would this Linux kernel released by telechips be of any use? https://github.com/cnxsoft/telechips-linuxNow if only I can get a toolchain to compile, having issues due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90677 and I'm getting a weird segfault on gcc 8.3.0. Going to try using 4.9.3 next.
Hi, l'd like to ask, is the cowon m2 similar to the cowon d2? I read somewhere on this forum that it maybe possible to convert the d2 port to m2?
diff --git a/firmware/export/config/cowond2.h b/firmware/export/config/cowond2.hindex d4623381fc..1d94e9a93a 100644--- a/firmware/export/config/cowond2.h+++ b/firmware/export/config/cowond2.h@@ -58,10 +58,11 @@ /* define this if you have a flash memory storage */ #define HAVE_FLASH_STORAGE -#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)+//#define CONFIG_STORAGE (STORAGE_NAND | STORAGE_SD)+#define CONFIG_STORAGE (STORAGE_SD) #define HAVE_MULTIDRIVE #define HAVE_HOTSWAP-#define NUM_DRIVES 2+#define NUM_DRIVES 1 #define CONFIG_NAND NAND_TCC
If anyone wants to run Rockbox off an SD card only to stop crashes, here's a quick patch to disable mounting NAND
diff --git a/firmware/target/arm/ata-nand-telechips.c b/firmware/target/arm/ata-nand-telechips.cindex 73d92a5215..71cc7c5f81 100644--- a/firmware/target/arm/ata-nand-telechips.c+++ b/firmware/target/arm/ata-nand-telechips.c@@ -867,7 +867,8 @@ int nand_write_sectors(IF_MD(int drive,) unsigned long start, int count, (void)start; (void)count; (void)outbuf;- return -1;+ //return -1;+ return 0; } #ifdef HAVE_STORAGE_FLUSH
Page created in 0.09 seconds with 17 queries.