Having problems installing ArchLinux on Cubox-i4Pro

Ask questions about Arch Linux ARM. Please search before making a new topic.

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby CuboxGuy » Sun May 18, 2014 11:47 pm

OK, I tried that and rebooted but got a terminal.

Using this command I was able to get to the gui: xinit /usr/bin/lxsession

Still not sure why it won't boot by default...
CuboxGuy
 
Posts: 8
Joined: Sun May 18, 2014 12:48 am

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby pepedog » Mon May 19, 2014 12:08 am

Check the 2 files you nano'd
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby CuboxGuy » Tue May 20, 2014 1:21 am

OK, here are the outputs of the files and I created the arch user.


$this->bbcode_second_pass_code('', '[root@alarmcbi ~]# useradd arch
useradd: user 'arch' already exists')

$this->bbcode_second_pass_code('', '[root@alarmcbi ~]# cat /etc/bash.bashrc
#
# /etc/bash.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

PS1='[\u@\h \W]\$ '
PS2='> '
PS3='> '
PS4='+ '

case ${TERM} in
xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'

;;
screen)
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
;;
esac

[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion

export LD_LIBRARY_PATH=/opt/fsl/lib/')

$this->bbcode_second_pass_code('', '[root@alarmcbi ~]# cat /etc/lxdm/lxdm.conf
[base]
## uncomment and set autologin username to enable autologin
# autologin=arch

## uncomment and set timeout to enable timeout autologin,
## the value should >=5
# timeout=10

## default session or desktop used when no systemwide config
# session=/usr/bin/startlxde

## uncomment and set to set numlock on your keyboard
# numlock=0

## set this if you don't want to put xauth file at ~/.Xauthority
# xauth_path=/tmp

# not ask password for users who have empty password
# skip_password=1

## greeter used to welcome the user
greeter=/usr/lib/lxdm/lxdm-greeter-gtk

[server]
## arg used to start xserver, not fully function
arg=/usr/bin/X -background vt1
# uncomment this if you really want xserver listen to tcp
# tcp_listen=1
# uncoment this if you want reset the xserver after logou
# reset=1

[display]
## gtk theme used by greeter
gtk_theme=Clearlooks

## background of the greeter
# bg=/usr/share/backgrounds/default.png

## if show bottom pane
bottom_pane=1

## if show language select control
lang=0

## if show keyboard layout select control
keyboard=0

## the theme of greeter
theme=Industrial

[input]

[userlist]
## if disable the user list control at greeter
disable=0

## whitelist user
white=

## blacklist user
black=')
CuboxGuy
 
Posts: 8
Joined: Sun May 18, 2014 12:48 am

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby Geoff » Tue May 20, 2014 2:56 am

You didn't uncomment (remove "# " at the beginning of) the autologin line. Still, that should have resulted in seeing a login screen, at least. That is, provided you have enabled lxdm.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby pepedog » Tue May 20, 2014 6:42 am

Can you change that bashrc line
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/fsl/lib"
I have edit my other post
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby Geoff » Wed Jun 04, 2014 3:49 pm

I finally got my Cubox-i4Pro a couple of days ago. I have configured now it as well as I know how. I installed these packages to get LXDE running:

$this->bbcode_second_pass_code('', 'pacman -S gpu-viv-bin-mx6q-x11 lxde xorg-xinit xf86-video-fbturbo gd')
which is slightly different from the recommendations above. I set up LD_LIBRARY_PATH more or less as detailed above:

$this->bbcode_second_pass_code('', '
if [ -n "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/fsl/lib"
else
export LD_LIBRARY_PATH="/opt/fsl/lib"
fi')
but I found that the X server was ignoring that and still couldn't find libGL.so etc., so I had to put symlinks to those in /usr/lib/ anyway ... not a proper solution. At that point, I found that /usr/lib/xorg/modules/extensions/libglx.xorg was improperly named, so I linked it to libglx.so and then ran depmod. Then I found that GLX is broken due to a missing symbol (perhaps due to incompatible compile-time configuration of gpu-viv-bin-mx6q-x11). It seems to work anyway, but I imagine it would run faster with GLX working properly.

I had to install missing firmware to get the wifi working, as per this thread (thanks to pepedog). It would be nice to have that added to the installation tarball.

Edit: removed my comment about fbturbo as per WarheadsSE's response below. Now I switched to using fbturbo.
Last edited by Geoff on Wed Jun 04, 2014 4:08 pm, edited 2 times in total.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby WarheadsSE » Wed Jun 04, 2014 3:52 pm

$this->bbcode_second_pass_quote('Geoff', 'I') had xf86-video-fbturbo installed at one point, but I had to remove it because it isn't made for the Vivante GPU.


Actually, when it finds a GPU is is not "made" for, it reverts to ARM optimized ASM operations
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Previous

Return to User Questions

Who is online

Users browsing this forum: No registered users and 1 guest