Debian screen settings

Started by Herkules, December 26, 2013, 07:20:19 PM

Previous topic - Next topic

jlucius

Hi

The script is called "change_display_a20_OlinuXino.sh" in the latest Debian image.

What it does is take a predefined .fex file and modifies it with a lot of ifs and seds and when finished creates a .bin file to be read at boot time.

There are some examples available at
https://github.com/linux-sunxi/sunxi-boards/tree/master/sys_config/a20

and you need sunxi-tools to convert .fex to .bin
https://github.com/linux-sunxi/sunxi-tools

I can also send the script if somebody needs it (don´t think it´s secret as it is in official olimex image?)

Couby

Ok but why the command doesn t work ?
I paid attention to be in the root directory and I got the error mentioned above.
And I m using the latest Debian image from the wiki...

jlucius

Quote from: Couby on June 06, 2014, 01:03:59 PM
Ok but why the command doesn t work ?
I paid attention to be in the root directory and I got the error mentioned above.
And I m using the latest Debian image from the wiki...

Strange. Did the same and it works for me. Just summerize your steps?

1) You have the latest Debian image from the wiki
2) You boot it, open a console, run "change_display_a20_OlinuXino.sh" in /root as user root or with sudo
3) A command line gui opens, where you can select "LCD" and "7".
4) You save and exit with reboot or without
5) you reboot the board
6) the LCD is connected via the HD cable to the right port on the board (says LCD_CON, on top of the writing "A20-OLINUXINO-MICRO")

What error do you get? Display not turning on?

Couby

1) Yes downloaded and installed the day before yesterday

2) Here is the problem
I boot it - ok.
Then I go to root (cd .. x2)
Then I tried "./change_display_a20_OlinuXino.sh" "sudo ./change_display_a20_OlinuXino.sh" "sudo sh ./change_display_a20_OlinuXino.sh" and more...
And it doesn't work. I have something like that bash: ./change_display_a20_OlinuXino.sh: No such file or directory.

I'm convinced I'm doing something wrong :-[, but what ?

jlucius

Quote from: Couby on June 06, 2014, 06:42:47 PM
1) Yes downloaded and installed the day before yesterday

2) Here is the problem
I boot it - ok.
Then I go to root (cd .. x2)
Then I tried "./change_display_a20_OlinuXino.sh" "sudo ./change_display_a20_OlinuXino.sh" "sudo sh ./change_display_a20_OlinuXino.sh" and more...
And it doesn't work. I have something like that bash: ./change_display_a20_OlinuXino.sh: No such file or directory.

I'm convinced I'm doing something wrong :-[, but what ?

are you in

/

or

/root

directory (you should be in /root)? Can you verifiy the file is there (execute "ls")? Can you verify the file is executeable (ls -l)?

JohnS

Case matters.  The wiki shows ...A20... not ...a20..., for example.

John

Couby

The screen I can use is busy at the moment, but I'll try as soon as possible.

Nope not in root but in /. Maybe here is my mistake. I didn't find the sh script for directories I looked.
Will check that root directory.

It seems to be so obvious...


@John : I paid attention to case.


Will tell you the result, thanks a lot jlucius.

JohnS

Your report shows the wrong case.

John

Couby

That was it Jlucius :).
Thanks again.