[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Developer board hangs after ktest and flashit



 
Hi, 
 
I have problems with ktest and flashit. After using commands ktest and and 
flashit the board hangs and I can not contact it anymore.  My previous
problem: 
(http://mhonarc.axis.se/dev-etrax/msg03612.html) 
 
First I made (as a normal user and root user): source ./init_env 
 
Then I followed the instructions which are found in 'make help' 
 
      make tools 
      make kernel 
      make cris-axis-linux-gnu 
      make install 
      make images 
 
I get following error message after command 'make install': 
 
....................................................................................... 
 
 /home/jarmov/Axis_/axis/devboard_lx/target/cris-axis-linux-gnu/bin/ash 
make[1]: Leaving directory 
`/home/jarmov/Axis_/axis/devboard_lx/apps/shells/ash' 
Making install in apps/boa for cris-axis-linux-gnu 
make[1]: Entering directory `/home/jarmov/Axis_/axis/devboard_lx/apps/boa' 
Making install in src for cris-axis-linux-gnu 
make[2]: Entering directory `/home/jarmov/Axis_/axis/devboard_lx/apps/boa/src' 
bison -y -d boa_grammar.y 
boa_grammar.y:236.16: parse error, unexpected ":", expecting ";" or "|" 
make[2]: *** [y.tab.h] Error 1 
make[2]: Leaving directory `/home/jarmov/Axis_/axis/devboard_lx/apps/boa/src' 
make[1]: *** [install-recurse] Error 1 
make[1]: Leaving directory `/home/jarmov/Axis_/axis/devboard_lx/apps/boa' 
make: *** [install-recurse] Error 1 
dasee2993:/home/jarmov/Axis_/axis/devboard_lx # 
 
......................................................................... 
 
I'm using Boa Web Server from  http://developer.axis.com/download/apps/ 
I have installed zlib-1.1.4 and also ncurses-5.3 
 
Regarding to advice (found in
http://mhonarc.axis.se/dev-etrax/msg03616.html) I 
should change some line in /axis/devboard_82/apps/web/boa/src/boa_grammar.y. 
But I am using Etrax Developer Board 100LX. What should I do or can I just 
ignore boa package? 
 
However, make images works (thanks to advice). There's no error messages and 
needed images are created (flash1.img, flash2.img, ptable.img, fimage, kimage, 
cramfs.img). 
 
Developer board hangs after ktest and flashit: 
 
I put developer board in the boot mode holding down the boot button and then 
pressed reset button. After reset I released the boot button and the developer 
board were set in boot mode. After commmand flashit the yellow led on
dev.board 
turned on. 
 
............................................................... 
 
dasee2993:/home/jarmov/Axis_/axis/devboard_lx # ./flashit 
* size is 2097176 0x00200018 
Using internal boot loader: DBG2 - Debug on ser2. 
Starting boot... 
We're doing a flash write, this may take up to a few minutes... 
Booting device with random id bfbf8817. 
 
................................................................. 
 
 
dasee2993:/home/jarmov/Axis_/axis/devboard_lx # ./ktest 
* size is 1695744 0x0019e000 
Using internal boot loader: DBG2 - Debug on ser2. 
Starting boot... 
 
................................................................. 
 
At this moment the board does not reply to my ping commands. 
The filesystem on the board should contain new network settings, I have edited 
network.conf file in the directory: 
 
devboard_lx/packages/initscripts/network 
 
Also I cannot put the board in factory default by holding down the test button 
while resetting the board. And arp -s <ip address> <hardware address> does not 
have any effect. 
 
What should I do and check to recover the developer board? 
Regards, 
Jarmo