I've downloaded the latest version of TI's SDK, ti-sdk-am335x-evm-06.00.00.00 and now I'm using AM335x-PSP 04.06.00.11 as my Kernel. The new version also changed the cross-compiler it uses, so I had to change the whole file system on my board to get the libraries my applications uses working.
One inconvenience, though, is that the bash is not as it used to be with the older versions of the SDK. After changing the whole file system, one of the most annoying things I ever saw started happening: the line on my terminal doesn't wrap anymore. Now, when I type a long line, it does not wrap to a new line as it should (and used to do). Instead, it just goes back to the beginning of the line and starts replacing the characters I already typed. The commands still work, but you can imagine the inconvenience.
It looks like this: if I type a long line, I would expect it to be shown like this:
[my prompt]$ ls -l file1 file2 file3 file4 file5 file6 file7 fi
le8 file9
And what actually happens is this:
le8 file9t]$ ls -l file1 file2 file3 file4 file5 file6 file7 fi
Worst yet, when I type the up arrow to go back in the command history, minicom (computer side) starts going up in the terminal I use (Konsole), erasing the previous lines every time there is a long command in the history. It's complicate to explain this issue, but it is more or less like a Carriage Return (\r\n) backwards, moving the cursor up (and not down).
I searched everywhere and the closest I got was some guy who had the environment variable PS1 wrong due to a color problem, but the PS1 line in /etc/profile haven't changed from the older file system to the newer. I also tried changing the terminal I use, first linux, then vt100, then xterm, but none changed this behavior. stty wasn't a lot helpful either (at least so far).
One final thing I noticed is that every file under /etc/terminfo/ is exactly the same on both file systems. That got me wondering if that is the reason why I can't get the terminal working. If I had to change the file system in order to get the libm working, for example, wouldn't it be necessary to re-compile every terminal with the new cross-compiler?
Is there any way to check if the terminal is working? So far I can just see which one I'm using echoing $TERM...
Anyway, thanks for the patience. An help would be really great!!
DAVI