Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: guittttou on August 27, 2013, 09:51:09 AM

Title: Problem install Debian
Post by: guittttou on August 27, 2013, 09:51:09 AM
Hello,
I apologize for my English.
I just received my A20-Olinuxino Micro-but not install a Linux distribution (Debian). I download this image (https://www.olimex.com/wiki/A20-OLinuXino-MICRO#Linux) and I put this file on SD via Win32diskimager and nothing happens. No display. I also did the test with a MicroSD. Same problem.
Have you any idea?

Sincerely,
Title: Re: Problem install Debian
Post by: Lurch on August 27, 2013, 10:25:56 AM
Do you have an RS232-USB converter to connect to UART0 on the board? The Console runs at 115200 baud and will show what the board is doing during the boot.  The boot partition of the micro SDCard contains a file "script.bin", which has to match the output you want to use (i.e. LCD, HDMI).
The Console is the most important way to debug problems - so start there.
What revision is your board? Rev. D?
Also be sure you are using a 9-12V power supply with at least 1A to power the board (needs only about 300mA, but with LCD and USB this can go up quickly)
Title: Re: Problem install Debian
Post by: guittttou on August 27, 2013, 10:34:21 AM
Thank you for your reply and your help.
I do not have a USB to RS232.
I have a 12V power supply purchased along with the board.
The board is Rev C.
I use the HDMI output I have not bought screen.

Sincerely,
Title: Re: Problem install Debian
Post by: Lurch on August 27, 2013, 01:19:34 PM
Too bad you don't have a converter.
I don't remember if the HDMI was the default on that image, or the LCD.
If you have a card reader, you can plug in the micro sdcard and copy the script.bin from the directory "script_a20_linux_HDMI_sd" to the root.  That way, you can be sure that the card will boot into HDMI mode - if it boots at all.
Title: Re: Problem install Debian
Post by: guittttou on August 27, 2013, 02:15:16 PM
Thank you very much for your help.
I put Debian on an SD or MicroSD card?
Both solutions can work?

Sincerely,
Title: Re: Problem install Debian
Post by: guittttou on August 27, 2013, 02:20:14 PM
When I put the board on, I only have the power LED that lights up and nothing else. Is this normal? Should I not have CHGLED LED that lights?

Sincerely?
Title: Re: Problem install Debian
Post by: Lurch on August 27, 2013, 02:32:18 PM
The micro SDcard is the one that boots.
Unfortunately, only the red power LED comes on.  It would have been better to have an LED blink or whatever.
The CHGLED is on when there is a LiPo battery connected and it is charging.
Title: Re: Problem install Debian
Post by: tlhingan on August 27, 2013, 06:23:23 PM
The board can take a good 15 seconds before anything visible happens.
In my case, the first thing I ever see is the keyboard lights that come on, then the optical mouse laser is on.
A blinking LED, or a different LED coming on when the board turns on would be great.
The current LED only indicates the board is powered.
Title: Re: Problem install Debian
Post by: guittttou on August 27, 2013, 07:51:06 PM
Thank you for all.
Debian is installed on the board.
There existe a version of Debian without graphical interface ?
Cordialy,
Title: Re: Problem install Debian
Post by: XFer on August 28, 2013, 11:58:45 AM
Well Debian R2 (the latest version available on Wiki) starts in text mode in my case, so I don't understand your question: does R2 starts with X in your case?

Anyway you can "force" a Debian distro in text mode by editing /etc/inittab and specifying the runlevel 2 as initlevel.
This way, X is not started (it starts at runlevel 5).

Fernando
Title: Re: Problem install Debian
Post by: guittttou on September 04, 2013, 09:03:54 AM
Thanks very much for your reply.
The card boot correctly on the debian terminal.
Cordialy

Guitou
Title: Re: Problem install Debian
Post by: sarfaa on September 04, 2013, 09:47:00 AM
Hi there,

Have a similar problem.
When I power up my board, I receive no HDMI signal at all.
I'v got a USB to TTL Converter with CP2102 Chipset, can I use it to debug on UART port?

Thanks :)
Title: Re: Problem install Debian
Post by: guittttou on September 04, 2013, 09:50:10 AM
After the install of debian and an update of the distro. It's impossible to install mysql-server.
Here is the error :

Setting up mysql-server-5.5 (5.5.31+dfsg-0+wheezy1) ...
[ ok ] Stopping MySQL database server: mysqld.
[FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
  Package mysql-server-5.5 is not configured yet.

dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.5
mysql-server


Have you ever seen this error? Nothing in the log message !

Cordialy

Guitou
Title: Re: Problem install Debian
Post by: guittttou on September 10, 2013, 03:59:31 PM
Sorry,

no one for help me ?

Cordialy
Title: Re: Problem install Debian
Post by: guittttou on September 19, 2013, 02:12:55 PM
The problem to install mysql it's solved by installing the new version of debian for the A20.
The link for this image : https://docs.google.com/file/d/0B-bAEPML8fwleDJMaG5reWZZeDQ/edit?usp=sharing (https://docs.google.com/file/d/0B-bAEPML8fwleDJMaG5reWZZeDQ/edit?usp=sharing)

Cordialy