Cubieboard 2 stopped working after update

This forum is for supported devices using an ARMv7 Allwinner SoC.

Re: Cubieboard 2 stopped working after update

Postby WarheadsSE » Sun Jun 15, 2014 9:16 pm

As a note: we've also disabled xattrs for cgroups in systemd until more devices get in line, or mainline.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cubieboard 2 stopped working after update

Postby PLyttle » Sun Jun 15, 2014 9:28 pm

to ZagorTeNej:

My guess is that uboot now wants a valid uenvcmd in uEnv.txt.
I base this on:
$this->bbcode_second_pass_code('', '202 bytes read in 115 ms (1000 Bytes/s)
Importing environment from mmc (uEnv.txt)...
Checking if uenvcmd is set ...
Running default loaduimage ...
3321064 bytes read in 330 ms (9.6 MiB/s)
48128 bytes read in 108 ms (434.6 KiB/s)
Booting from mmc ...
')
see line 3.

but I could be wrong

you have to revert to uboot-cubieboard2-2014.04-1 to make it work as before

$this->bbcode_second_pass_code('', 'sudo pacman -U /var/cache/pacman/pkg/uboot-cubieboard2-2014.04-1-armv7h.pkg.tar.xz
')
where I assume you still have this in your cache.

LP
PLyttle
 
Posts: 120
Joined: Mon Jun 10, 2013 6:52 am

Re: Cubieboard 2 stopped working after update

Postby ZagorTeNej » Sun Jun 15, 2014 10:45 pm

@PLyttle

Thanks for quick answer. I took a look at file include/configs/sunxi-common.h (from which the output comes from). Analysing this file i have seen that there is no more "extraargs" variable, but there is a variable called "optargs" that i have used to pass my extra arguments. My uEnv.txt now looks like this
$this->bbcode_second_pass_code('', 'optargs=ipv6.disable=1 mac_addr=00:18:8b:c4:9b:fe')
and after restart /proc/cmdline looks like this
$this->bbcode_second_pass_code('', '[root@alarm ~]# cat /proc/cmdline
console=ttyS0,115200 ipv6.disable=1 mac_addr=00:18:8b:c4:9b:fe root=/dev/mmcblk0p1 rw rootwait video=')
Thanks again!
ZagorTeNej
 
Posts: 3
Joined: Sun Jun 15, 2014 4:55 pm

Re: Cubieboard 2 stopped working after update

Postby kmihelich » Mon Jun 16, 2014 2:08 am

Yes, the sunxi U-Boot releases have been brought in line with our other U-Boot releases as far as the default environment and boot logic is concerned. The extraargs variable used before is now optargs.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Cubieboard 2 stopped working after update

Postby maggu2810 » Wed Jun 18, 2014 7:29 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'A')s a note: we've also disabled xattrs for cgroups in systemd until more devices get in line, or mainline.


I would like to inform what I noticed now:
$this->bbcode_second_pass_code('', '
commit d2edfae0f9bdbecf6a8518e2a5bcf06f470e0d9e
Author: Kay Sievers <kay@vrfy.org>
Date: Wed May 28 17:36:40 2014 +0800

build-sys: use glibc's xattr support instead of requiring libattr
')
http://cgit.freedesktop.org/systemd/systemd/commit/?id=d2edfae0f9bdbecf6a8518e2a5bcf06f470e0d9e&ss=1
This commit was done between v213 and v214 and hit v214 so.


So if you would like to build systemd v214 without xattr support (to prevent this error), you have to decide if you want to revert this issue (but who knows if upstream systemd now rely on xattr).
maggu2810
 
Posts: 35
Joined: Thu May 29, 2014 12:52 pm

Re: Cubieboard 2 stopped working after update

Postby WarheadsSE » Tue Jun 24, 2014 1:09 pm

ARGGGGGGGGGGG
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cubieboard 2 stopped working after update

Postby eduardoarnoldh » Mon Jul 07, 2014 9:38 am

I have the same problem with my Cubieboard version 1. The thing is I was using this computer as my personal server and I do not have physical access to it, as I am travelling. The only way I can get access is to ask someone to remove the SD Card, where my Arch system resides and take it into it's personal computer and give me remote access. I am having a hard time figuring out how to apply the patch in this way, because that person would be using Ubuntu and it won't be possible to chroot into the system.

I really do not consider reinstalling all the system, so how should I proceed?
eduardoarnoldh
 
Posts: 7
Joined: Fri Aug 16, 2013 7:03 pm

Re: Cubieboard 2 stopped working after update

Postby WarheadsSE » Mon Jul 07, 2014 1:40 pm

We've actually already integrated the a patch into the systemd PKGBUILD that we now override, disabling xattr entirely due to this.
https://github.com/archlinuxarm/PKGBUIL ... ount.patch
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cubieboard 2 stopped working after update

Postby eduardoarnoldh » Mon Jul 07, 2014 3:55 pm

Thank you for the reply, but I still don't know how I should proceed to update my system, as it cannot boot, so I have no SSH connection. Also, I cannot ask a third person to chroot into the SD Card as the architecture (x86) is different. Any suggestions on how to deal with this?
eduardoarnoldh
 
Posts: 7
Joined: Fri Aug 16, 2013 7:03 pm

Re: Cubieboard 2 stopped working after update

Postby WarheadsSE » Mon Jul 07, 2014 4:25 pm

have them extract the pkg.xz to the root of the folder, boot, then re-install that package. You'll then have a few .dot files on / to clean up after boot.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 1 guest