Having problems installing ArchLinux on Cubox-i4Pro

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

Having problems installing ArchLinux on Cubox-i4Pro

Postby CuboxGuy » Sun May 18, 2014 1:07 am

Having problems installing ArchLinux on Cubox-i4Pro

I am have problems getting ArchLinux installed on my new Cubox-i4Pro. It came with Android pre-installed and would run this OS fine. I have tried to put several different Linux OS's on the SD card but I get a black screen when I try to power it on :( . I have never had this problem with my rasberry PI.

I have been using this guide on my old laptop running a new version of Ubuntu.
http://archlinuxarm.org/platforms/armv7/marvell/cubox

I did not now what to do on this part so I skipped it, "Creating a custom boot.scr".

Really appreciate the help guys. Thanks.
CuboxGuy
 
Posts: 8
Joined: Sun May 18, 2014 12:48 am

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby Geoff » Sun May 18, 2014 1:33 am

I'm getting ready to install on the same device when it arrives, hopefully soon. A blank screen is what I would expect. You should be able to login through either ssh or the USB console port. At that point, you could install X and a window manager, or whatever you like.

Edit: I just noticed that you installed the cubox software, not the cubox-i software: http://archlinuxarm.org/platforms/armv7 ... le/cubox-i ... oops!
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby CuboxGuy » Sun May 18, 2014 3:08 am

Geoff,

I'm downloading the CuBox-i OS now, I'll let you know if that works. Thanks.
CuboxGuy
 
Posts: 8
Joined: Sun May 18, 2014 12:48 am

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby CuboxGuy » Sun May 18, 2014 7:11 am

Geoff,

After several tries I got it to boot to a terminal window :) (part of the text is cut off the screen). I am kind of surprised that it did not come with a gui and some basic apps :? but I should be able to get it setup with a little research.

Again thanks for the help.
CuboxGuy
 
Posts: 8
Joined: Sun May 18, 2014 12:48 am

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby CuboxGuy » Sun May 18, 2014 7:30 am

Do you know of any guides to get the gui installed :?:.
CuboxGuy
 
Posts: 8
Joined: Sun May 18, 2014 12:48 am

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby pepedog » Sun May 18, 2014 9:46 am

This is specific instructions for all IMX6
Update first
$this->bbcode_second_pass_code('', 'pacman -Syu')
Install these
$this->bbcode_second_pass_code('', 'pacman -S gpu-viv-bin-mx6q-fb lxde xorg-xinit xf86-video-fbdev chromium chromium-pepper-flash adduser')
Create a new user with adduser
Edit this file with this command
$this->bbcode_second_pass_code('', 'nano /etc/lxdm/lxdm.conf')
Edit this line
# autologin=dgod
to
autologin=nameofuseryouchosewithadduser
Start GUI on boot
$this->bbcode_second_pass_code('', 'systemctl enable lxdm')
Edit this file with this command
$this->bbcode_second_pass_code('', 'nano /etc/bash.bashrc')
Add this line at the bottom
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/fsl/lib"

Reboot with
$this->bbcode_second_pass_code('', 'sync
reboot')
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 » Sun May 18, 2014 11:03 am

pepedog,

Thanks for the detailed reply. I followed your guide but when I rebooted it boots to a black screen and I can only ssh to it.

I am not sure what went wrong all the commands seemed to go in OK. I was tinkering with earlier and might have messed something up.
CuboxGuy
 
Posts: 8
Joined: Sun May 18, 2014 12:48 am

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby pepedog » Sun May 18, 2014 1:28 pm

In ssh, do
systemctl disable lxdm
See if a reboot now helps
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 » Sun May 18, 2014 3:14 pm

$this->bbcode_second_pass_quote('pepedog', 'I')n ssh, do
systemctl disable lxdm
See if a reboot now helps

I wonder if it needs a minimal xorg.conf to tell it to use fbdev. There might be some clues in /var/log/Xorg.0.log
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Having problems installing ArchLinux on Cubox-i4Pro

Postby pepedog » Sun May 18, 2014 8:18 pm

No, it doesn't.
Starting it this way from cli might help
xinit /usr/bin/lxsession
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Next

Return to User Questions

Who is online

Users browsing this forum: No registered users and 19 guests