Author Topic: New ArchLinux nand image for cubietruck  (Read 19937 times)

Offline rose28357

  • Hero Member
  • *****
  • Posts: 567
  • Karma: +28/-0
    • View Profile
New ArchLinux nand image for cubietruck
« on: December 29, 2013, 08:49:32 am »
from Huang Benn at Google+ Cubier Community

Here is the news from google+Cubier:

arch linux nand image for cubietruck!
download:
http://dl.cubieboard.org/software/a20-cubietruck/archlinux/ct-arch/

the image does not contain X window, so if you want it, you need to install it by yourself. I've successfully install the X windows on my ct,  the problem I met is written on the README file
http://dl.cubieboard.org/software/a20-cubietruck/archlinux/ct-arch/README

remember to resize your rootfs partition at first time boot
Code: [Select]
sudo resize2fs /dev/nandb, and then restart.
« Last Edit: December 29, 2013, 06:52:36 pm by rose28357 »

patuck

  • Guest
Re: New ArchLinux nand image for cubietruck
« Reply #1 on: December 31, 2013, 04:20:22 am »
Great will definitely check the image out.

Does the WiFi work out of the box or does it need some installation.

If so could you point me in the way of a how to for the same.


Offline rose28357

  • Hero Member
  • *****
  • Posts: 567
  • Karma: +28/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #2 on: December 31, 2013, 06:44:06 am »
I didn't give it a try. In lubuntu you have to do a
Code: [Select]
modprobe bcmdhd (BroadCom wifi driver) to load the driver after booting.
« Last Edit: January 01, 2014, 02:58:06 am by rose28357 »

Offline benn

  • Newbie
  • *
  • Posts: 40
  • Karma: +4/-0
    • View Profile

wennshilft

  • Guest
Re: New ArchLinux nand image for cubietruck
« Reply #4 on: January 29, 2014, 01:39:03 pm »
hello,
most likely i am blind,
what is the password for root (or the superuser) of this ?

Offline soundcheck

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #5 on: January 30, 2014, 11:33:18 am »

I have a problem. Not sure if this is the right place.

Yesterday I received my Cubietruck.

I loaded the latest NAND from Jan 03..  Everything went smooth. So far so good.

However. The ehci driver doesn't get loaded. I won't get 480Mbit HighSpeed on my USB ports !??!
I know the driver its there (dmesg). Somehow only ohci drivers get applied.

Code: [Select]

[root@cubier ~]# lsusb -t
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=sw-ohci/1p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=sw-ohci/1p, 12M


Any help or advise is appreciated.


Thx cheers
« Last Edit: February 01, 2014, 08:22:20 am by soundcheck »

DrGonzo08

  • Guest
Re: New ArchLinux nand image for cubietruck
« Reply #6 on: February 02, 2014, 05:13:25 am »
you shure it is loaded?
Try lsmod to see what modules are loaded.
with modprobe you can load a module. Look here for further infos https://wiki.archlinux.org/index.php/Kernel_modules

Offline soundcheck

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #7 on: February 04, 2014, 11:03:10 am »
This image seems to  be broken.

My NAND formatting also seems to get broken with this image. Could not even resize the
fs, since the space was occupied already. Permissions are messed up when upgrading Asf. 
There's a good load of work to do to get all this under control I guess.

I spent almost 2 days on this.  ::)

I installed Lubuntu and was up'n running right after login. Even dist-upgrade to 13.10 went smooth. The same with a Debian system on SD-card.

Good luck.

Cheers


program.truck

  • Guest
Re: New ArchLinux nand image for cubietruck
« Reply #8 on: April 04, 2014, 09:50:09 am »
hello,
most likely i am blind,
what is the password for root (or the superuser) of this ?

login : root
password :root

Offline bug

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #9 on: July 27, 2014, 05:15:55 pm »
Thanks for this image. Unfortunately, it seems impossible to upgrade - at least when I upgrade then I can't reboot...

I have no serial console cable so can't tell what's going on.. Did some folks around here had more luck than me?




Offline nsteinmetz

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #10 on: August 25, 2014, 06:56:13 am »
Hi,

I could boot with 1st image whereas I couldn't with the 2nd. I tried twice on my 2 cubies.

For the upgrade, I just did to fix permissions on directories :

Code: [Select]
find / -type d |xargs chmod 755
I also installed uboot-cubietruck but when I rebooted, I lost my wired connection. As my keyboard & mouse are not detected, I can't access my cubie again. Need to flash once more...

Should we use the uboot-cubieboard2 or uboot-cubietruck ?

With the uboot-cubietruck  package, the /boot/uEnv.txt file becomes empty whereas before it has only a macid or something approaching.

Thanks for the image,
NIcolas
« Last Edit: August 25, 2014, 05:06:41 pm by nsteinmetz »

Offline nsteinmetz

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #11 on: August 25, 2014, 06:27:37 pm »
Going further : full upgrade, including uboot-cubieboard2 makes that eth0 is no longer activated at boot sequence for un unknown reason so far.

It's not linked with uboot-cubietruck package.

Offline bug

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #12 on: August 31, 2014, 03:02:52 am »
To enable the network connection once the update has been done, I had to enable dhcpcd:

Code: [Select]
systemctl enable dhcpcd
I don't know what's the difference between uboot-cubieboard2 and uboot-cubietruck, but I did remove uboot-cubieboard2 and install uboot-cubietruck with no problem; I then did copy the old /boot/uEnv.txt to /boot/uEnv.txt (it wasn't enough to bring hdmi back on)

file content in case someone needs it:

Code: [Select]
root=/dev/mmcblk0p1
extraargs=console=tty0,115200 sunxi_no_mali_mem_reserve sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p50 rootwait
panic=10 rootfstype=ext4 rootflags=discard


Good luck :)
« Last Edit: August 31, 2014, 03:06:43 am by bug »

Offline rose28357

  • Hero Member
  • *****
  • Posts: 567
  • Karma: +28/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #13 on: August 31, 2014, 08:28:04 am »

extraargs=console=tty0,115200 sunxi_no_mali_mem_reserve sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p50 rootwait
panic=10 rootfstype=ext4 rootflags=discard
you didn´t allow g2D_mem_reserver. I suppose it is used by the displaydriver as a framebuffer ...
(ve = video engine CedarX, mali = 3D grphics driver) Maybe setting sunxi_fb_mem_reserve=16 will help for hdmi.

http://linux-sunxi.org/Kernel_arguments

Offline nsteinmetz

  • Newbie
  • *
  • Posts: 8
  • Karma: +1/-0
    • View Profile
Re: New ArchLinux nand image for cubietruck
« Reply #14 on: September 09, 2014, 05:16:32 am »
@bug : thanks, i'll give it a try. Seems I tried something too complicated compare to a basic dhcp activation ;-)

My /boot/uEnv.txt file was never that big ; I'll also use yours then !

Thanks,
Nicolas