Let me preface by saying that I am new to Arch and the platform I am working on. However I have been using minimalistic
versions of linux for a year or so on embedded devices. So, If there is something that seems like it should be obvious that
you think I might not have tried, please, I am always open to suggestion.
Also, I realize that some of this post is probably unneccessary and not entirely the best solution, but I hope it helps
someone save some time; or prompts some suggestions toward better solutions.
My platform is :
Overo FireStorm : https://www.gumstix.com/store/product_info.php?products_id=268
on a
Gallop43 : https://www.gumstix.com/store/product_info.php?products_id=255
I started by following the direction on the ArchLinux|ARM page :
http://archlinuxarm.org/platforms/armv7/gumstix-overo
Istallation Page :
Basically, this went according to plan, other that I had to change the NAND 'bootcmd' variable in uboot.
Once I managed to get this thing to boot properly, I figured I would do an update from the device; but this presented
another set of problems. First, there is no ethernet, only usb or wireless. There are no wireless-tools in the rootfs
tarball, so I set downloaded wireless-tools from the ArchLinux|mirror, loaded it on a USB flash drive and sure enough, the
Usb didn't work. I found this workaround that got me through the problem :
$this->bbcode_second_pass_code('', 'modprobe g_ether')
I would really like to know why this solved the problem. Now all of a sudden I had power to the USB OTG port, and it was
recognized as a drive. If i recall correctly, this is a known bug of some sort. Can anyone confirm this?
Now, install wireless tools.
$this->bbcode_second_pass_code('', '
pacman -U PWD/wireless-tools
ifconfig wlan0 up
iwconfig wlan0 essid "linksys"
dhcpcd
')
yey... Network.
So now, an update from the device.
$this->bbcode_second_pass_code('', 'pacman -Syu')
This took awhile.....
Now, to get the LCD43 working; following the directions on the previously stated page. I broke up installing the different
packages because this was auctually my second time through the procedure.
$this->bbcode_second_pass_code('', 'pacman -S xf86-video-omapfb xfce4')
These seemed to install ok together.
$this->bbcode_second_pass_code('', '
pacman -S xorg
...
resolving dependencies...
looking for inter-conflicts...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: xf86-video-fbdev-damage and xf86-video-fbdev are in conflict
')
I was unable to resolve the conflict myself, so I elected to install 1-60 from the list, which left out xf86-video-fbdev-damage.
So, I continue on following the directions.
$this->bbcode_second_pass_code('', '
pacman -S xinput_calibrator
error: target not found: xinput_calibrator
pacman -S onboard
...
Success
...
')
Ok, so I search the Arch mirror by hand and it appears that the 'xinput_calibrator' isn't there. I continue under the assumption that it has been migrated into another package at some point.
Copied the new 'uImage' to 'bootloader' partition. As mentioned by the pacman output during this process.
edited /etc/X11/xinit/xinitrc as instructed.
rebooted
$this->bbcode_second_pass_code('', '
startx
...
Loading extension GLX
(EE) module ABI major version (12) doesn't match the server's version (13)
...
')
from log :
$this->bbcode_second_pass_code('', '
[ 216.315] (II) LoadModule: "omapfb"
[ 216.316] (II) Loading /usr/lib/xorg/modules/drivers/omapfb_drv.so
[ 216.317] (II) Module omapfb: vendor="X.Org Foundation"
[ 216.317] compiled for 1.12.0, module version = 0.1.1
[ 216.317] ABI class: X.Org Video Driver, version 12.0
[ 216.317] (EE) module ABI major version (12) doesn't match the server's version (13)
[ 216.317] (II) UnloadModule: "omapfb"
[ 216.317] (II) Unloading omapfb
[ 216.318] (EE) Failed to load module "omapfb" (module requirement mismatch, 0)
[ 216.318] (EE) No drivers available.
[ 216.318]
Fatal server error:
[ 216.318] no screens found
[ 216.318] (EE)
')
So I added this section to etc/X11/xorg.conf
Section "ServerFlags"
Option "IgnoreABI" "true"
EndSection
I should have known :
$this->bbcode_second_pass_code('', '
(WW) module ABI major version (12) doesn't match the server's version (13)
(EE)
(EE) Backtrace:
(EE)
(EE) Segmentation fault at address 0x6
Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting
')
So now basically I am stuck. I had debated wether to makepkg, but that didn't seem like it should have been neccessary. Additionally, I was at some point going to need to ask if there were any platform specific packages for gumstix to access the ADC's PWM's GPIO, etc. or if I were going to be writing these myself.
Any input would be apprecitated.