Power Developer
https://powerdeveloper.org/forums/

openSUSE ARM image
https://powerdeveloper.org/forums/viewtopic.php?f=12&t=2161
Page 1 of 3

Author:  czp [ Mon Jan 23, 2012 2:26 am ]
Post subject:  openSUSE ARM image

I have yet to test it (weekends are more busy than weekdays with kids :-) ), but there is an openSUSE image available for testing: http://lizards.opensuse.org/2012/01/21/ ... arm-image/

As the openSUSE ARM port is still a work in progress, there is no YaST or KDE yet. The image contains just some basic packages, but there is zypper and many packages can already be installed.

Author:  APerson [ Mon Jan 23, 2012 9:35 am ]
Post subject: 

Thanks for letting everyone know, Peter :-)

Author:  czp [ Wed Jan 25, 2012 6:43 am ]
Post subject: 

Just booted on my smartbook: it works, but there are no wireless tools on the image. So I need to find my USB->Ethernet adapter :)

Author:  bbrv [ Thu Jan 26, 2012 4:11 am ]
Post subject: 

Hi Peter, you have been a strong supporter of openSUSE on Genesi platforms for years. Thank you for you active participation on powerdeveloper and in the Efika MX community.

Gratefully,
R&B :)

Author:  czp [ Thu Jan 26, 2012 7:34 am ]
Post subject: 

Thank you for the kind words! :)

Today I tested the image on my SmartTop. It booted fine, and as networking also worked, I could add many packages from the command line.
As a syslog-ng fanatic, I also tested, if replacing rsyslog with syslog-ng solves the shutdown problem, but it does not. So it's still better to use the workaround in the original blogpost.

Author:  jam123 [ Thu Jan 26, 2012 8:07 pm ]
Post subject: 

hi, did you get wifi working?

im happy to see openSUSE on efika mx.

--edit

I created a ifcfg-wlan0, and installed wpa_supplicant.. I can scan access points now.. working on getting connected..

Author:  czp [ Fri Jan 27, 2012 3:59 am ]
Post subject: 

Yes, it works. I followed instructions from here: http://en.opensuse.org/SDB:WiFi#How-to_ ... orkManager

It was a long trouble shooting session, with most problems between keyboard and chair :)
* wireless was turned off on the smartbook
* Ethernet cable of the access point was not connected

Right now I'm looking for information how to extend the / partition from 800MB to 3.5GB, as the original SD card image is 1GB and I put it on a 4GB card...

Author:  PurpleAlien [ Fri Jan 27, 2012 6:04 am ]
Post subject: 

Quote:
Right now I'm looking for information how to extend the / partition from 800MB to 3.5GB, as the original SD card image is 1GB and I put it on a 4GB card...
Try gparted.

Johan.

Author:  czp [ Fri Jan 27, 2012 6:19 am ]
Post subject: 

I tried it both from gparted and also from the YaST partitioner on my SuSE laptop, but neither of them worked. "gparted" found the partitions on the SD card, but provided external tools with wrong partition names... YaST also uses parted, so had most likely the same problem.

When running gparted on the smartbook from Ubuntu, I get:
Code:
======================
libparted : 2.3
======================
Backtrace has 0 calls on stack:
Assertion (head_size <= 63) at ../../../libparted/labels/dos.c:662 in function probe_partition_for_geom() failed.
So I'm looking at the command line possibilities right now...

Author:  czp [ Fri Jan 27, 2012 7:33 am ]
Post subject: 

Solved by the command line:

* used fdisk to resize the partition. In practice it meant deleting the partition and recreating it with the same beginning but other ending.

* used resize2fs to resize the partiton

It booted fine and with a lot more free space :)

Author:  jam123 [ Fri Jan 27, 2012 9:20 pm ]
Post subject: 

Ok, here's how I got wireless working permanently (survives boot). You need some internet working already, most likely eth0, to install packages...

zypper install wireless-tools wpa_supplicant

Then create /etc/sysconfig/network/ifcfg-wlan0, and put this in it (edit ssid & PSK password to match your router):
BOOTPROTO='dhcp4'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
USERCONTROL='yes'
WIRELESS_AP=''
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='psk'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_CLIENT_KEY=''
WIRELESS_CLIENT_KEY_PASSWORD=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_AUTH=''
WIRELESS_EAP_MODE=''
WIRELESS_ESSID='MyRouter'
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_PEAP_VERSION=''
WIRELESS_WPA_ANONID=''
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK='blahblahpassphrase'

Then I had to disable eth0 at boot.. for some reason using 'hotplug' mode and unplugging the ethernet cable wasn't enough. So in ifcfg-eth0, change STARTMODE to 'manual'.

Then
ifdown eth0
ifup wlan0

..should work. Reboot and it should still work.

Author:  czp [ Wed Feb 01, 2012 3:31 pm ]
Post subject: 

Today I tried to install XFCE on my openSUSE image. This also involved installing Xorg. The usual way of starting Xorg (starting with an empty xorg.conf) did not work. It did not find a screen. As a workaround I downloaded a random xorg.conf for framebuffers, and X started.

I still need to get XFCE working. There were some dependency problems during installation, so while I get the "tip of the day" message after logging in, I don't get a panel or menus. I still hope to fix it for the weekend: FOSDEM!

Author:  czp [ Wed Feb 08, 2012 5:53 am ]
Post subject: 

I got some progress: XFCE works. I needed some workarounds (not ARM, but openSUSE Factory specific), which were well hidden in different bugs and forums. Here are they:
Code:
zypper in gcc46
Which removes the cpp related error messages, and the following line into /etc/profile.local:
Code:
export LD_PRELOAD="/usr/lib/libxcb-util.so.0
which is needed for most X applications to start.

Now I'm fighting with an ugly symptom: as soon as X starts, network access is gone. I can't see anything in dmesg or the logs. The kernel is the same, as in the latest Genesi image: 2.6.31.14.26-efikamx, and I don't experience this when running Ubuntu.

Author:  czp [ Wed Feb 08, 2012 6:18 am ]
Post subject: 

Just found: the EFIKA smartbook was present at FOSDEM (for those, who don't know: the largest open source conference in Europe, http://fosdem.org/ ). You read the openSUSE report about FOSDEM at http://news.opensuse.org/2012/02/08/opensuse-at-fosdem/ with a nice picture about the smartbook around at the middle of the page. The original picture is available here: https://plus.google.com/photos/10914006 ... 0938358802

Author:  czp [ Fri Feb 10, 2012 8:39 am ]
Post subject: 

After updating my EFIKA yesterday, I ran into a strange problem: my / partition was mounted read only, which obviously caused some trouble on boot and afterward. Of course / can be remounted rw:
Code:
mount -o remount,rw /
But it's better to have a permanent solution. The image originally came with an ro boot parameter, meaning read only root. This needs to be changed. If you don't have make installed, then first install it:
Code:
zypper in make
Then change to the /boot directory, and open the file called boot.script in your favorite text editor. At the end of the line starting setenv bootargs, replace ro with rw. Save the file, and then execute the following command:
Code:
make
Which will compile boot.script to boot.scr, which is in a form understandable by u-boot.
On next boot / will be mounted rw.
And one more good news: the annoying bug of not being able to shut down the EFIKA properly is now gone.

Page 1 of 3 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/