Tool/software: Linux
Hi to All
i have problem with reboot Linux c6x (c6678 EVM & JFFS2 filesystem ).
first solution :
using reboot command :)
COM console:
after reboot command i expect that system reset and boot from NAND FLASH again but nothing happened (nothing print in COM console.i can ping IP , but i can't connect to board using Telnet)
second solution:
i try to reset chip using RSTCTRL register according to this post , C code for reset (compiled with c6x-uclinux-gcc)
printf("Reset 2.0 !!! \n");
volatile unsigned int * pRSTCTRL = (volatile unsigned int *) (0x023100E8);
printf("before *pRSTCTRL =%8.8x \n",*pRSTCTRL);
volatile unsigned int Key = 0x5A69;
*pRSTCTRL = Key;
printf("after *pRSTCTRL =%8.8x \n",*pRSTCTRL);
*pRSTCTRL = 0;
output:
nothing happened and RSTCTRL remained lock !!! (i think Linux haven't write permision on RSTCTRL Register)
when i compiling code with CCS (cl6x) and load on core 5 (Linux c6x runing on core 0) , RSTCTRL unlocked (RSTCTRL value (*0x023100E8) changed to 0x0001000C) and chip (8 core) reset correctly and Linux reboot on core 0
but i need to reboot from Linux (core 0) , not sys/bios side (core 1-7)
anybody can help me reboot my Linux c6x ?
thanks
Ebi



