April 01, 2020, 02:59:43 am

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


New ArchLinux nand image for cubietruck

Started by rose28357, December 29, 2013, 08:49:32 am

Previous topic - Next topic

rose28357

December 29, 2013, 08:49:32 am Last Edit: December 29, 2013, 06:52:36 pm by rose28357
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
sudo resize2fs /dev/nandb, and then restart.


patuck

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.


rose28357

December 31, 2013, 06:44:06 am #2 Last Edit: January 01, 2014, 02:58:06 am by rose28357
I didn't give it a try. In lubuntu you have to do a modprobe bcmdhd (BroadCom wifi driver) to load the driver after booting.


wennshilft

hello,
most likely i am blind,
what is the password for root (or the superuser) of this ?

soundcheck

January 30, 2014, 11:33:18 am #5 Last Edit: February 01, 2014, 08:22:20 am by soundcheck

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.



[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

DrGonzo08

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

soundcheck

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

Quote from: wennshilft 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 ?


login : root
password :root

bug

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?




nsteinmetz

August 25, 2014, 06:56:13 am #10 Last Edit: August 25, 2014, 05:06:41 pm by nsteinmetz
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 :

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

nsteinmetz

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.

bug

August 31, 2014, 03:02:52 am #12 Last Edit: August 31, 2014, 03:06:43 am by bug
To enable the network connection once the update has been done, I had to enable dhcpcd:

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:

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 :)

rose28357

Quote from: bug on August 31, 2014, 03:02:52 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

nsteinmetz

@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