All times are UTC - 6 hours




Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
PostPosted: Mon Feb 27, 2012 1:55 pm 
Offline


Wed Oct 13, 2004 7:26 am

347
Image

Hi all,

After some delay, here is an updated armhf image,

http://www.powerdeveloper.org/asset/by-id/136

It loads into XFCE desktop and includes all of the optimizations mentioned in http://wiki.debian.org/EfikaMXOptimizingPerformance (this means, ngetty, ramzswap, slim, wicd, etc. NOTE: No 2D/3D drivers have been included, as I'm in the process of converting these to multiarch and setting up the repository for easier download via apt-get. Stay tuned.

The outcome is that after logging into XFCE, it has consumed ~190MB RAM, leaving the rest free!

For a start you can login as root (password: root) and just run adduser to create a normal user, as usual in Debian.

Installer script

However the good news is not just the image, but the script which built the image:

http://people.debian.org/~markos/armhf/ ... mhf.tar.xz

This -includes the linux-image debian package, hence the size.

It's supposed to be run natively on an Debian/Ubuntu armhf system -not necessarily an Efika. Or if you're feeling adventurous, you could do that on Gentoo, after installing debootstrap, parted, pv (that's just a pipe progress viewer, still a handy util). After downloading the tarball, just extract it somewhere -as root:

Code:
# apt-get -u install debootstrap parted pv
# tar xvJf install-armhf.tar.xz


Then cd into the armhf-image folder and run install-armhf.sh:

Code:
# ./install-armhf.sh
Usage: installer-armhf.sh <ssd/mmc> <device> [-genimage]


The first argument can be either ssd or mmc depending on whether we're installing on an SD card (mmc) or the internal SSD. This is due to the fact that boot.scr and fstab have to be setup differently in each case.

The second argument is the actual device to install to, the choices here are usually /dev/sda or /dev/mmcblk0.

The third argument enables the generation of an compressed image of the just-installed device -this is how the image was made.

So in order to install to the internal SSD, you might want to call:

Code:
# ./install-armhf.sh ssd /dev/sda


While installing to an sd card and generating the image can be done with the following call:

Code:
# ./install-armhf.sh mmc /dev/mmcblk0 -genimage


Now, if you want to tamper with the packages installed, feel free to change the file packages.extra and add/remove packages as needed. Similarly you can install your own kernel by changing the relevant entries in the field and providing the appropriate kernel package.

In general the script is quite simple and can be easily modified to do things that you want. However it's a temporary measure until we get proper Debian Installer support -which will not be long, FYI. However if you have any suggestions about what to include in the script by default, feel free to do so!

Enjoy and happy hacking!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 27, 2012 8:42 pm 
Offline
Genesi


Mon Jan 30, 2006 2:28 am

409

Finland
Nice work Konstantinos!


Johan.
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 28, 2012 3:42 am 
Offline


Thu Jul 28, 2005 12:41 am

1064
Thanks, I used it for a few minutes already, and works great. I suspect, that Gnome will be replaced with XFCE on many computers. Where I work, 100+ workstations will be changed to XFCE when the next Ubuntu LTS arrives.

One note for those starting with an update, like me: the default source is ftp.us.debian.org in /etc/apt/sources.list. Currently updating does not work from here, it's inconsistent, some packages seem to be unavailable (404 error). Most likely a mirror sync problem.

So, if you live in the US, have some patience until it's fixed, else replace us with your country code (for example I changed to hu), and you will have a faster download and a better maintained mirror.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 28, 2012 4:34 am 
Offline


Wed Oct 13, 2004 7:26 am

347
czp wrote:
One note for those starting with an update, like me: the default source is ftp.us.debian.org in /etc/apt/sources.list. Currently updating does not work from here, it's inconsistent, some packages seem to be unavailable (404 error). Most likely a mirror sync problem.

So, if you live in the US, have some patience until it's fixed, else replace us with your country code (for example I changed to hu), and you will have a faster download and a better maintained mirror.


Thanks for the note Peter, I'll add a note for that in the readme -which will be in the next revision.

PS. Ah, by the way, since a few days, LibreOffice is available for armhf -the metapackage is not yet however, so you will have to install the packages individually, eg. libreoffice-writer. :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 28, 2012 5:01 am 
Offline


Fri Oct 28, 2011 6:47 am

55

Terre
Hi,

Before all, thanks Markos to all your great job !

I quickly made a crossbuild of an image (with my own script, still in developement phase) and get your kernel installed into my rootfs.

I do not have my own built kernel, because I cannot find any method to build armhf in crossbuild on my squeeze debian i386 (for now).

I copy the firmwares into /lib/firmware/rt*.bin, like in your script.

I modify /etc/init.d/udev to comment the 2.6.31 testing (which enable udev).

I boot up my armhf, fresh built sdcard and I get, with wifi enabled, a kernel panic (divide by zero) ;
Code:
Feb 28 11:47:12 efika kernel: [   17.821133] usb 2-1.2: firmware: requesting rt3070.bin
Feb 28 11:47:14 efika kernel: [   18.941081] 0x1300 = 00073200
Feb 28 11:47:15 efika kernel: [   20.605207] 0x1300 = 00073200
Feb 28 11:47:16 efika kernel: [   20.909605] Division by zero in kernel.


I go to make more tests...

Edited :
It's a little bit out of topic, do your prefer I make another post to not put noise in yours ?
[:-]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 28, 2012 12:27 pm 
Offline


Fri Oct 28, 2011 6:47 am

55

Terre
No more kernel panic...
my rootfs (wheezy) mixed with your kernel !

Thanks
[:-]


Top
 Profile  
 
 Post subject: Power management
PostPosted: Tue Feb 28, 2012 2:09 pm 
Offline


Mon Nov 07, 2011 2:58 am

7
Nice work !

I had an SD card based on the previous image, with some personal changes (Xfce replacing Gnome, mostly), that I further updated according to your other, performance-related post ; and now this one, all shiny and ready to use :)

Other than the problems mentioned below, everything seems fine. Well-integrated, feels faster than the previous image (on the same SD) and almost as fast as the internal SSD's default Ubuntu, *despite* the low-end SD card.

I have however serious problems with power management on the debian-armhf front. As in, not having any, initially.

On the new image, Xfce's power manager settings would not even give me the options to set suspend modes. Only logout would be available from Xfce's logout icon (no restart / shutdown options).

Two things I did seem to have solved that problem : making sure my user is a sudoer (with ALL=NOPASSWD:ALL), and... nuking slim and going back to lightdm.

Now I get all the proper suspend options in Power Manager, and the restart and shutdown buttons on logout. As per my settings, the machine will even go into suspend mode on lid close.

It won't always wake up on lid open, however. When it doesn't, an additional short press on the Smartbook's power button wakes up the machine and brings up XScreenSaver's dialog.

But at this point, the machine responds *only* to the power button -- no keyboard, no mouse. A cold boot is the only way out.

I have a feeling that I'm missing something really basic and silly... Any ideas ?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 29, 2012 1:23 pm 
Offline


Thu Nov 10, 2011 10:24 am

30
Any hints on getting sound to work with a ssd install and a Genesi Smartbook?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 29, 2012 2:33 pm 
Offline


Wed Oct 13, 2004 7:26 am

347
remy.je wrote:
Any hints on getting sound to work with a ssd install and a Gensi Smartbook?


working on that, seems it needs a profile in pulseaudio, William Schaub has fixed that on armhf, and I'm going to test it next and then include it in the script/image -longterm goal is to include it in pulseaudio upstream.

If you don't care about pulseaudio you could just remove it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 29, 2012 4:18 pm 
Offline


Thu Nov 10, 2011 10:24 am

30
I'm unclear. . . Should I install pulseaudio? Does that enable audio?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2012 2:07 am 
Offline


Thu Jul 28, 2005 12:41 am

1064
I'm running it from an SD card, and my problem is, that kernel modules for sound are not loaded. But after a simple:
Code:
modprobe snd-soc-imx-3stack-sgtl5000

I was able to play my flac files with perfect quality. Luckily, pulse audio is not enabled (if you have good ears and/or high quality sound samples, you know what I'm talking about, for the rest pulse audio is not a problem :-) ).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 01, 2012 3:01 am 
Offline


Fri Oct 28, 2011 6:47 am

55

Terre
czp wrote:
I'm running it from an SD card, and my problem is, that kernel modules for sound are not loaded. But after a simple:
Code:
modprobe snd-soc-imx-3stack-sgtl5000

I was able to play my flac files with perfect quality. Luckily, pulse audio is not enabled (if you have good ears and/or high quality sound samples, you know what I'm talking about, for the rest pulse audio is not a problem :-) ).


you can add /etc/modules as :
Code:
# sound driver
snd-soc-imx-3stack-sgtl5000

# needed for wifi to work
efikasb_rfkill

# framebuffer
mx5fb

# gpu
#gpu


and in /etc/initramfs-tools/modules
Code:
# SD/MMC at boot
mmc
mmc_core
mmc_block
sd_mod
esdhc
sdhci

# USB keyboard at boot
usbcore
uhci_hcd
ehci_hcd
usbhid


hope it helps...
sYs
[:-]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 02, 2012 4:15 am 
Offline


Thu Jul 28, 2005 12:41 am

1064
Thanks for the modules tip! I did not compile my own kernel on Linux for some time now, and start to forget such basic things. On FreeBSD one can't do any interesting thing without compiling an own kernel, so I'm more up to date there :)

I don't know where the other two module names are coming from, I don't have them on my system. On the other hand I have "gpu", which is commented out in your example, loading that leads to some ugly kernel messages.
Also, Wifi works fine without that module. It's faster and more stable than with the Maverick image, where transfer speed is not always so great.

Libreoffice: one can now simply use
Code:
apt-get install libreoffice
, and all dependencies are installed. I could edit and play my FOSDEM presentation. And this is the tough part, as for docs and spreadsheet there are other apps, like AbiWord & Co., but not for presentations...


Top
 Profile  
 
 Post subject: Re: Power management
PostPosted: Fri Mar 02, 2012 4:24 am 
Offline


Sun Dec 04, 2011 11:34 am

4
alexis wrote:
Nice work !

I have however serious problems with power management on the debian-armhf front. As in, not having any, initially.

On the new image, Xfce's power manager settings would not even give me the options to set suspend modes. Only logout would be available from Xfce's logout icon (no restart / shutdown options).



Looks like a problem with kernel/slim/consolekit. I've the same problem, and after googling around I found this page:

https://bbs.archlinux.org/viewtopic.php?id=130154

It looks like a more recent version of slim is needed:

http://svn.berlios.de/viewvc/slim/trunk ... iew=markup


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 02, 2012 9:33 am 
Offline


Thu Jul 28, 2005 12:41 am

1064
Sound is the best ever on the smartbook. I had this sound quality only 1+ years ago with Ubuntu. The strange thing is, that the kernel version is the same, and pulse audio is removed also from Ubuntu. Still, on Debian there are no cracks and other background noises. Just as it should be :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group