android
Prev Previous Post   Next Post Next
  #10  
Old 11-17-2010, 01:29 PM
Jean-Louis Jean-Louis is offline
Junior Member
 
Join Date: Nov 2010
Posts: 8
Default

Quote:
Originally Posted by slade View Post
Is it possible to contact you via an IM like ICQ or MSN?
Sorry, now I don't use an IM, but maybe I'll have to use it soon

Quote:
Originally Posted by slade View Post
I do have a few questions and since you are the linux expert here I'd need some help with a few configurations.
linux expert... I'm a good searcher on the net

Quote:
Originally Posted by slade View Post
Jean Louis
I need some help we are running out of console. When I try to launch a simple SDL Programm I get the following Error:
Code:
Could not initialize SDL: Unable to open a console  terminal
So What I did I created a new console ttymxc3 and 4 with command:
Code:
mknod /dev/ttymxc3 4 3
within firmware and repacked it.
Some information from "man mknod"

Code:
NAME
       mknod - make block or character special files

SYNOPSIS
       mknod [OPTION]... NAME TYPE [MAJOR MINOR]

DESCRIPTION
       Create the special file NAME of the given TYPE.

[CUT...]

Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they must be omitted when TYPE is p.  If MAJOR or MINOR begins with 0x or 0X, it is interpreted as hexadecimal; otherwise, if it begins  with  0,  as octal; otherwise, as decimal.  TYPE may be:

       b      create a block (buffered) special file

       c, u   create a character (unbuffered) special file

       p      create a FIFO

       NOTE:  your  shell  may  have its own version of mknod, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports.
You don't have specified TYPE

"/dev/ttymxc...." I think is real "uart" of i.mx37 and MAJOR:MINOR are 207: 16,17,18...
I suppose this based on those info about mx51

Quote:
Originally Posted by slade View Post
Jean Louis
also I found something similar on a phone hack which suggests the same:
Code:
for i in 0 1 2 3 4 5 6 7; do mknod /dev/tty$i c 4 $i; done
I think that this is what you search.., this script exec:

Code:
mknod /dev/tty0 c 4 0
mknod /dev/tty1 c 4 1
.....
....
...
mknod /dev/tty7 c 4 7
this make "virtual console". Some extract of /usr/src/linux/Documentation/devices.txt

Code:
  4 char    TTY devices
          0 = /dev/tty0        Current virtual console

          1 = /dev/tty1        First virtual console
            ...
         63 = /dev/tty63    63rd virtual console
         64 = /dev/ttyS0    First UART serial port
            ...
        255 = /dev/ttyS191    192nd UART serial port


[CUT...]

    Virtual consoles and the console device

Virtual consoles are full-screen terminal displays on the system video
monitor.  Virtual consoles are named /dev/tty#, with numbering
starting at /dev/tty1; /dev/tty0 is the current virtual console.
/dev/tty0 is the device that should be used to access the system video
card on those architectures for which the frame buffer devices
(/dev/fb*) are not applicable.    Do not use /dev/console
for this purpose.
Quote:
Originally Posted by lebellium View Post
It doesn't bother me as long as I can unbrick my R0 afterwards
Wow

How about recovery? Is needed a special cable or is only based on software?
Reply With Quote

 

Tags
r0, rockbox, samsung yp-r0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 11:27 AM.