Hello,
I am having a problem while erasing the NOR flash from Linux. flash utilities from mtd-utils are tried for erasing the NOR flash.
Processor: Davinci 8168
I am pasting the output of the flash_erase when executed on the NOR flash. Here i am erasing 10 blocks, so for every 3 or 4th block SIGHUP signal is sent by tty driver. If the flash_erase program is run from the serial console, then flash_erase would be killed. On the other hand, if the flash_erase command is executed from the telnet window, there would be SIGHUP signal, but it does not affect the flash_erase program running from telnet window.
I am seeing this problem only with NOR flash, but not with SPI flash.
The Uppercase prints are coming from the kernel(drivers/tty/tty_io.c). Has anybody seen this before?
I am trying to find why would kernel send SIGHUP signal? if the session leader dies, but why would he be killed. I think the shell is session leader, and it seems to be running
Can anyone tell me what is happening? or give me some clues.
root@dm816x-evm:~# flash_erase /dev/mtd0 0 10
Erasing 128 KibSCHEDULE HANGUP 0 % complete
yte @ 40000 -- 2WORKER HUP
0 % complete TTY SIGHUP 3
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org dm816x-evm /dev/ttyO0
Arago 2011.05 dm816x-evm /dev/ttyO0
dm816x-evm login: SCHEDULE HANGUP
WORKER HUP
Thanks
Dinesh