November 15, 2019, 09:45:19 pm

News:

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


Buster, Xenial and Bionic - updated 6.7.2019

Started by slovenia, December 24, 2013, 03:23:11 pm

Previous topic - Next topic

pattinik

Hi guys, I'm running the version 1.7 on the nand. Now I want to upgrade to the 1.8. Should I just write the image on the sd card and restart the nand-install script? I will loose my actual configuration doing this?

Tnxxxx

Ciauz

slovenia

Quote from: pattinik on March 30, 2014, 10:43:03 pm
Hi guys, I'm running the version 1.7 on the nand. Now I want to upgrade to the 1.8. Should I just write the image on the sd card and restart the nand-install script? I will loose my actual configuration doing this?

Tnxxxx

Ciauz


Yes, the install script nuke and overwrite NAND. You will need upgrade.zip which is not ready yet ... this file contain only changed files and it should be safe to unzip it on / ... backup is recommended.

Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

slovenia

Quote from: sinum on March 30, 2014, 07:40:39 pm
Is there a easy way to uninstall "USB redirector", I can't find the uninstall script?

It's usefull for Linux Clients but a Registration Fee of $70 for Windows Clients is a joke.


In latest images is not enabled by default. If you use 1.7 or older just do:

disable
update-rc.d rc.usbsrvd remove

enable it back
update-rc.d rc.usbsrvd defaults
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Sloop

Hi all. I was away for some days/weeks and now I am reading all the time about 1.8 version.

1) What exactly are the differences between version 1.7 and 1.8 and is there a Step-By-Step Manual for 1.7 users which will explain the upgrade procedure?

2) I'd like also know what the USB redirector stuff is good for.

3) what are the proa/cons in your opinion between booting from NAND or microSD card? in general the microSD has better disk i/o access speed, but I have also red about some benchmark results where booting from NAND was quite faster than from booting of microSD card. Maybe this is due to loading small files while boot process? what do you guys think about?

-sent from my Smartberry Piphone-


slovenia

Quote1) What exactly are the differences between version 1.7 and 1.8 and is there a Step-By-Step Manual for 1.7 users which will explain the upgrade procedure?


There is a detailed change history on my Github repository and a changes summary on the project blog post. Today I also made a changed files update package - read first post.

QuoteI'd like also know what the USB redirector stuff is good for.


"Various scenarios" ? One example: you can attach some (also from linux unsupported) USB device which needs to be at the location where your Cubie is but needs to be attached to another device. Anyway I removed service from start-up in latest image - but I left it inside and you can enable it if needed.

Quotewhat are the proa/cons in your opinion between booting from NAND or microSD card? in general the microSD has better disk i/o access speed, but I have also red about some benchmark results where booting from NAND was quite faster than from booting of microSD card. Maybe this is due to loading small files while boot process? what do you guys think about?


I am using some solid class 10. I ran some quick benchmarks and it looks like it's 3x faster than NAND. In real-world this might not be that important since I/O operations were significantly brought down. I think booting from SD should be faster unless you find some old and scrappy card.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Astrofreak85

Hi,

great image so far !!

Two things to ask:

1. in the MOTD I get a strange reading for HDD-Temp: the HDD-Type?!
2. Also "Free-RAM" seem to be very low?! Or am I misinterpreting something?

slovenia

Quote from: Astrofreak85 on April 01, 2014, 06:56:51 am
Hi,

great image so far !!

Two things to ask:

1. in the MOTD I get a strange reading for HDD-Temp: the HDD-Type?!
2. Also "Free-RAM" seem to be very low?! Or am I misinterpreting something?


1.) What do you get if you do:

hddtemp /dev/sda
/dev/sda: ST3000DM001-1CH166: drive is sleeping

after wake:

hddtemp /dev/sda
/dev/sda: ST3000DM001-1CH166: 24°C


2.) What do you consider under very low?
I have "Free memory: 1444 kb" with bunch of services running ... you should have around 1900 kb.

What shows:
free -m

My readings:
free -m
             total       used       free     shared    buffers     cached
Mem:          2000        899       1100          0         10        334
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Astrofreak85

1)

root@cubie:~# hddtemp /dev/sda
/dev/sda: WDC WD3200BEKT-60F3T1: 38°C


2)
root@cubie:~# free -m
             total       used       free     shared    buffers     cached
Mem:          2000        231       1768          0         16        146
-/+ buffers/cache:         68       1931
Swap:            0          0          0


So I assume it's not "kb" but "Mb"... ;)

This is what my MOTD says:

Load: 0,56, 0,25, 0,18 - Board temp: 31.4°C - Hard temp: WD3200BEKT-60F3T1: - Free memory: 1935 kb

slovenia

@Astrofreak85

:-[  :'( :P

Thanks! I will correct this ASAP.

fixed bashrc

@ua3prq

Corrected. Tnx!
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

MrDialUp

For those of you with Logitech Squeezebox devices, I was able to successfully load Logitech Media Server on CT with Igor's 1.8 image by following the directions outlined for the Raspberry Pi here:  http://allthingspi.webspace.virginmedia.com/lms.php.

I have this working alongside Igor's Micro-Home server you can get here:  https://github.com/igorpecovnik/Debian-micro-home-server.

Also, if you want a Squeezebox compatible player for your Windows, Mac or Linux desktop, you can download "softsqueeze" here:  http://softsqueeze.sourceforge.net/

suchende

Is it possible to get an tar archive for the update? So it is possible to preserve the permissions.

slovenia

Quote from: suchende on April 04, 2014, 01:00:48 pm
Is it possible to get an tar archive for the update? So it is possible to preserve the permissions.


http://cubie.nobrainz.de/downloads/1.7-1.8.tgz

VGA version. Edit /boot/uEnv ... and change if you have HDMI out.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

david88

I've installed the update to 1.8, but have one question about the new kernel. I can see that the new files are in /lib/modules, but it seems my CT is still using the old one (I restarted several times):

uname -r
3.4.75-sun7i+

Do I have to do anything particular to enable the 3.4.79 kernel?

slovenia

Quote from: david88 on April 06, 2014, 06:59:46 am
I've installed the update to 1.8, but have one question about the new kernel. I can see that the new files are in /lib/modules, but it seems my CT is still using the old one (I restarted several times):

uname -r
3.4.75-sun7i+

Do I have to do anything particular to enable the 3.4.79 kernel?


If you already transferred the system to NAND than you need to copy kernel to the root of /dev/nand1

Maybe this is the case?
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

david88

Quote from: slovenia on April 06, 2014, 09:25:06 am
Quote from: david88 on April 06, 2014, 06:59:46 am
I've installed the update to 1.8, but have one question about the new kernel. I can see that the new files are in /lib/modules, but it seems my CT is still using the old one (I restarted several times):

uname -r
3.4.75-sun7i+

Do I have to do anything particular to enable the 3.4.79 kernel?


If you already transferred the system to NAND than you need to copy kernel to the root of /dev/nand1

Maybe this is the case?


No, it is installed on SD. But that's ok, no worries, I thought I might have missed something obvious. I will just do some Google research to find out how to switch Kernels (or leave the old one running).