Sunday 5 December 2010

Maverick Installer, Linux kernel (2.6.31.14.12, December 2010)

The updated Maverick installer and "rescue image" is now online on PowerDeveloper. This includes a kernel update including a cleaned up HDMI driver, several bugfixes for Smartbook and Smarttop, and a cleaned up and updated Maverick root filesystem, along with a unified firmware updater for all systems.

Firmware Update

U-Boot 2.0.6 includes support for booting both systems under the same autoscripting system that other ARM boards (Marvell Dove, Beagleboard) utilize - on boot, the firmware will scan SD card and PATA for the first partition of format VFAT (MSDOS) or ext2/3 (Linux) and try and load a file called "boot.scr". This is all U-Boot does in the latest version. This is a departure from the system used on shipping TO2 and TO3 Efika MX Smarttop systems which would simply scan SD then PATA for "uImage" and blindly load it with built-in kernel boot arguments. The net benefit is that you gain support for

  • Setting boot arguments for the kernel in an editable file on disk (SD or PATA)
  • Using Initrd ramdisks (essential for current Ubuntu installations, enabling more modular kernel images)
  • Doing any pre-boot scripting you need to perform before the kernel loads
However, blindly updating U-Boot on a TO2 or TO3 Efika MX Smarttop will instantly produce a non-booting system unless boot.scr is placed on the system to continue the boot process. It is therefore shipped as part of the Maverick installer. We recommend everyone simply update to Maverick. We will entertain individual support and extra-special requirements as needed, where trashing your existing Smarttop or Smartbook is not an option, but we really do recommend starting from scratch as there are a lot of things to fix and change and if you miss one.. the result will not be pretty.

Kernel Update (2.6.31.14.12 - efikasb-10.08.00 branch)

  • Operates on ALL Efika MX models (TO2, TO3, Smartbook)

Includes updates to GPU kernel module, many fixes to platform support for TO2 boards, Smartbook improvements such as USB suspend issue being fixed, and also the "vertical offset" display bug fixed. The packages include a modular kernel without MMC, PATA or USB support compiled in - these are modules and it is expected by the behavior of Ubuntu that these are loaded from the initial ramdisk generated upon installation.

NOTE: If you install this kernel on an older Maverick system PLEASE add the modules "pata_fsl", "ehci_hcd", "mx_sdhci", "mmc_block" to the /etc/initramfs-tools/modules file in order for them to be forcibly added to the initial ramdisk on installation.


Maverick System Update

  • Operates on ALL Efika MX models (TO2, TO3, Smartbook)

The desktop image has been updated to GNOME rather than Xfce since it is more stable and user friendly. The installed system image is not substantially bigger on disk, and includes OpenOffice. All updates to the end of November have been applied so there should be very little in terms of packages that are out of date. All systems (Smarttop TO2, TO3 and Smartbook) will boot into the installer, copy in the image to the PATA disk, reboot and ask for Language, Timezone, Keyboard settings, Username, Password, Machine Name and suchlike. This will replace the old "oem" user with one of your choice.

You may need to add yourself to the "Audio" and "Video" groups to enable sound and webcam access. You can do this as you log in to the system for the first time through the Users and Groups control panel item.

NOTE: please do not select "Encrypt my Home folder" - something is not operating correctly in the setup of ecryptfs, and the result is that it will give you a basically broken system. We realise the importance of a secure environment especially for workplaces where access to VPNs or corporate networks is only authorized with encryption enabled, and we are working on a solution.


Okay, I got the maverick-installer.img.xz file, how do I install it to my system?

Simply extract the archive (WinZip, 7-Zip, or command line at your option) and use your favorite utility here to copy it to a 2GB SD card. The utilities recommended are "dd" (or dcfldd), "flashnul" on Windows, or on an existing Ubuntu installation the Ubuntu USB Image Writer (you can find a list of imaging utilities here).

As an example with "dd", you can do the following:

xz -dc maverick-installer.img.xz | dd of=/dev/mmcblk0

Once you have this image on an SD card simply power off your system and insert the SD card. Power it back on and the system will install automatically and when complete, shut down automatically. You may then remove the SD card and boot into the installed system. It really is that simple.

If you have problems seeing the Progress of the installation (HDMI or DVI monitor not working correctly), we would much appreciate the details of your monitor. We have tested on several (upwards of 10) HDMI and DVI monitors and HDTV units with successful results, however there are reports of other monitors not working ideally. This is under investigation. If you had any problems with your monitor in the past, you may want to check on IRC or on the forums before installing a Smarttop and potentially getting no display..

Thursday 18 November 2010

On Linaro

Genesi is planning to work very closely with Linaro, Freescale and mainline in the future.

However, right now, the Linaro MX51 kernel does NOT support the Efika MX Smartbook (netbook). The support of the Efika MX Smarttop (thin client) is still very raw and you won't get much other than an SD card, UART and a couple other niceties.

Please do not use the Linaro kernel on Genesi hardware until you hear about the support on this blog, or you'll most likely end up with a broken system.

Wednesday 20 October 2010

Maverick status, Launchpad Project

We've created a Launchpad project to contain all the Maverick (and other distributions too) problems pertaining to our platforms. Feel free to submit bugs!

https://launchpad.net/efikamx

Maverick support is progressing. After the release and a solid week of work most of the bugs have been either solved by the Ubuntu developers or fixed where it applies to Genesi code.

Kernel packages for Efika MX Smarttop and Efika MX Smartbook are being tested as we speak (including support in flash-kernel, and a fancy U-Boot update) and a Maverick GNOME desktop build is underway. New systems will ship with these improvements before the end of the month, along with hopefully support for codec acceleration (openmax), 3D acceleration (opengles2), 2D acceleration (xorg-video-imx), and we are working on direct (not XRender) Cairo backends for OpenVG/OpenGLES2 in order to further offload the CPU and updates to several packages to improve performance (xorg-server, pixman, eglibc). Along with the GNOME desktop update (replacing Xfce as the default) we have also completed testing of the OEM configuration scripts which means every system will boot and ask for username, password, machine name, locale and timezone settings and not be fixed to the "oem" account anymore.

We're trying for a PPA but proprietary code in a from-source repository, or putting big binary blobs around, is a little intrusive, so we may simply host our own package repository.

Current issues which are showstopping the release;

  • SPI NOR driver locks up terribly meaning updating U-Boot on Efika MX Smarttop boards is needlessly complicated and involves DIP switches and unscrewing the maintenance/debug panel. We hope to solve this with a convenient, tiny SD card image including the update and flashing using MTD, once the bug has been fixed.
  • Some display bugs have been fixed for most people, but some are still experiencing strange behavior which we would like to fix. There is a point where this will drop to a low priority since we can't hold out forever on the kernel update.
    • Standard VESA modes on some panels are hopelessly garbled and show trash data
    • Some monitors do not report EDID when they are on another "channel" (for instance VIZIO televisions). In this case the Efika basically does not find an HDMI sink and fails set up a valid mode and instead tries to use the non-existant VGA port. VGA support is going to be taken out to fix this and the mode will default to 720p as normal.
  • NetworkManager applet disappears in GNOME sometimes making wireless hard to use
  • Wireless driver has grown some kind of error, but the kernel backtrace causes a division by zero making debugging difficult and spamming dmesg (this seems to be a race condition somewhere as restoring the debug dmesg spam fixes it, however it does clutter systems and make tty1 annoying to use).
Apart from those niggles which need just a few tweaks to be tested, everything is going smoothly and we hope to ship at least the distribution files and kernel support by the end of the week.

Any suggestions or comments are welcome, please direct them to the PowerDeveloper forums or to the Launchpad Project.

Sunday 26 September 2010

Maverick, Smarttop/Smartbook kernels

All Efika MX Smarttop and MX Smartbooks are now shipping with a pre-release Ubuntu Maverick with Xfce. Source filesystems are available on PowerDeveloper.

Also shipping today: the Smartbook kernel (-efikasb, also a pre-release) and an update to the Smarttop kernel (-efikamx) built from the same point in the git tree. This is in another branch - efikasb-10.07.11.

These kernels match the Maverick support. In this sense installing them on top of Karmic systems is a bad idea. It will produce an unbootable system unless you find a way to not have udev and upstart mount their own /dev and subordinate filesystems. We will make an update in a little while that fixes this for older Linux distributions.

Known issues so far:

  • on Smarttop some DVI monitors again don't work. We are still investigating solutions which work on ALL systems
  • on Smartbook there is a ~5 pixel blank at the end of the panel and the entire display is shifted up slightly
  • Default kernel ships with devtmpfs enabled which means any systems before Ubuntu Lucid (i.e. all previously shipping with Karmic) are recommended NOT to update. We are investigating a solution to make Karmic work with it, and a kernel update for the meantime
  • Smartbook battery driver occasionally doesn't report "current_avg" properly
  • Smartbook lid close event automatically suspends the system, but when it comes back all USB devices are dead. Possibly needs a udev script to handle this.
  • No flash-kernel package support for EfikaMX in Maverick yet so no initramfs created automatically.
  • 2010-09-28 TO2 boards still have SD card detection problems (steev from Gentoo is looking into this last time I checked).
So, if you're not going to be running Maverick, the kernel you have (2.6.31-008 or 2.6.31.14 previous release) will work fine for you. Don't update with the standard kernel, get the "nodevtmpfs" version if you're using Karmic.

Major and minor fixes depending on how you look at it:

  • Several bugs with with the internal variable "pixclk_limit" have been fixed whereby a user with a 1280x720@60 mode set would find that it would corrupt the display after a few blanks or a few hours of runtime. This manifested itself either as garbage on the display for the bottom 3rd of the monitor, or a lockup, or both.
  • The kernel now supports a real 32-bit display mode but needs a recompile to activate it. The Smartbook only has a 16-bit display controller so it is probably better to run in 16-bit and let the OS dither and manage the display, as 32-bit direct mode will cause significant banding.
  • block IO scheduler now defaults to "noop" since having CFQ was soaking CPU cycles without giving any benefit (scheduling block IO to take advantage of "closer" blocks is meaningless on an SSD).
  • ramzswap is back in lieu of being able to include zram.
  • oprofile is enabled in the default configuration. You need to manually load the module before you run oprofile.
  • faster kernel memcpy and kernel preemption enabled
  • Several ARM kernel fixes due for 2.6.35 and 2.6.36 backported
  • RT2870 driver is less chatty (no dmesg lines full of empty #)
  • CRC32 performance optimization meant for 2.6.35 backported
The Maverick filesystems are current as of the freeze implemented before the Maverick beta 2. You can find them at Linux Support. The Kernels are available at Kernel Support.

UPDATE 2010-09-27: to boot the Smartbook from SD card you need to make a "boot.scr" by making a small text file (the simplest can be "run bootcmd_sdhc") and running a command line as so:

mkimage -A arm -O linux -a 0 -e 0 -T script -C none -n "Boot SDHC" -d myscript.txt boot.scr


A U-Boot unification for both platforms that relies on boot.scr for everything (thus letting you have full control over everything from the Linux side, and preconfigured scripts) is coming soon. If anyone has any ideas for preconfigured, board-specific environment variables (such as console="ttymxc0,115200" or so) that can be appended to bootargs or make scripting easier, we are all ears :)

UPDATE 2010-09-28: The Xfce Maverick is mislabeled "maverick-final" - it is not the final Maverick (not released for another 2 weeks..) nor our final update on the matter. However it is the final version for currently shipping products and will be on every new unit. I hope that clarifies it.

Thursday 26 August 2010

EfikaMX 2.6.31.14 Kernel Update

Update to 2.6.31.14 has been committed, compiled and uploaded for all Efika MX (TO2, TO3) versions. We encourage all users and developers to grab and test this kernel (from an SD card preferably) before installing over a PATA system.

This should be at feature parity with the last TO2 version (2.6.31.12.3) regarding little tweaks and things.

Fixes included:
* Now at 2.6.31.14
* Wireless - RT2870STA backported from Linus' tree works great. You will need the Ralink firmware from their site; it is included in the modules archive. Please read the LICENSE.ralink-firmware.txt in the /lib/firmware directory.
* Much, much better ARMv7, VFP and NEON support. Will fix graphical corruption for anyone who tried Ubuntu Lucid or new versions of Pixman and may fix some weird random crashes.

We have however noticed a couple of things which may be very annoying to some people:

* External SD card does not correctly operate on TO2 boards. We are not sure why this is; some SD cards work, some don't.
* In some rare circumstances display output on DVI-to-HDMI adapters is giving a black screen. Unfortunately the fix needs a recompile of the kernel, and breaks other DVI-to-HDMI adapters and screens, and some HDMI monitors.

We would greatly appreciate any feedback users have on this, and our forums are always open (for kernel dmesg output you can paste them into PowerDeveloper forum post for posterity - pastebin etc. expires but our forums do not. Make sure you use the [code]tag[/code]).

As always the kernel source has been published, and since it is now in git, we would greatly appreciate a merge request, patch, or any comments on any problems anyone may have.

Thursday 19 August 2010

EfikaMX Kernel Git Repo Update

You may have been watching and seen a lot of stuff being pushed into git: well, here is a summary of changes.

http://www.gitorious.org/efikamx/linux-kernel
(efikamx-10.07.11 branch)

* Fixed a CPU scheduler regression since 2.6.30
* Synchronized some PMIC changes with MX51 Babbage. Should reduce power consumption by a few mW
* Pass DI clocks as platform data to IPU. Pixel clocks should be correct now, less "Input Not Supported" on your monitors
* Several updates to ARMv7 MMU and VFP/NEON handling which solves some odd problems with display corruption (some of these were applied in previous PD releases but not in the TO3 one) and TO2 boards now do not have the NEON feature flag exported to stop well designed code like pixman from plugging in functions that will crash your board.
* Reparented clocks more frugally
* Audio works but it plays half-speed for some reason

What we have now is a TO3 kernel that matches the previous TO2 PD kernel with regards to most of the esoteric patches, and should be pretty stable. We're still looking at a few other things.

We will release a build of the kernel on PowerDeveloper shortly but we have some pending problems to fix, namely that reboot/shutdown again do not act correctly and for some reason audio is played at half speed. When we resolve these issues there will be a prebuilt kernel with wireless and 3D.

In the meantime you can grab the source via git or download a tarball from the link on the right of the gitorious site (make sure you are downloading efikamx-10.07.11.tar.gz :)

After that the main task is to move in the Smartbook code.

Tuesday 17 August 2010

EfikaMX Kernel Git Repository

Still in development, but here it is at last!

http://gitorious.org/efikamx/linux-kernel/commits/efikamx-10.07.11

You will find here a nice Linux kernel based on 2.6.31.14 with the latest Freescale BSP attached. We will be updating patches here. Please test it out and see how it goes for you.

Thursday 29 July 2010

Fines Double In This Area

This kernel has been superceded by the git repository. Please go use that. For more information see this blog post.

An experimental kernel source release (linux-2.6.31-TO3-efikamx.tar.xz) is now on PowerDeveloper for the Efika MX TO2 and TO3 boards. To clarify, despite the name, it does work on older boards.

This represents a clean port to the Freescale 10.05 BSP release, which offers a lot of cleanup opportunity. Platform files have been split into subsystem. It will probably give us the first kernel with working multimedia and GPU acceleration support that doesn't suck. And the Smartbook kernel will be the same source tree to unify it all. But, it's source only.

This kernel is being put out there because we really would like to see enterprising individuals to get bored of the missing features and add the support. Areas that need work:
  • It's a big blob and some seperate patches would be nice. The FSL BSP is on the Freescale Website. We're still working on a git repository.
  • Audio doesn't work
  • MMC light doesn't point to the right port, but the code is there to switch it. Odd.
  • Wireless drivers crash wildly (can someone compile the very latest RT3070STA driver?)
  • No attempt to appease developers with custom config options or point releases has been made (this is a stock 2.6.31 with the FSL BSP patches and some minor things like "epoll" support , any extras from other mainline trees have been taken back out)
  • Anyone who can make it standby or suspend to ram (echo mem >/sys/power/state) and come back again will be rewarded with a basket of kittens*
Any improvements or patches anyone makes will be graciously accepted so that we can bring this kernel up to be world-class. We are working on it too, don't worry, but there's a big difference between a small team and the whole open-source community. Have fun.

* kittens and basket are not real.

Monday 19 July 2010

Kernel for new "TO3" units

We are prepping a release for TO3, in the meantime anyone using a TO3 will have to live with the kernel shipped on the units. In the meantime PLEASE DO NOT use any of the kernels on PowerDeveloper for TO3 boards. There have been some design changes on the board between chip revisions which means the SD card slots have moved around, and some other minor but fairly important changes to the layout of the board and use of peripheral units which means booting a TO3 unit with a kernel made for TO2 is going to basically not operate at it's best. You can't burn it, but.. you will be annoyed :)

The release will come near the end of the week hopefully. The kernel on the boards is "2.6.31-008" which is Pegatron's revision. We are backporting our PowerDeveloper kernel with these changes, all the patches we pushed in, and have some problems with the new BSP which should be resolved fairly shortly. If you are desperate for a new kernel or want to help out testing you can contact matt at genesi-usa dot com.

* (FYI TO2 = Tape-Out 2, TO3 = Tape-Out 3, these are chip designations from Freescale which mark the chip revision based on what they send to the fab to be built)

Tuesday 13 April 2010

Quickstart Guide

A quickstart guide has been posted to the Efika MX Linux support pages. It is still a draft version but will be updated as time goes by and guide users from booting their Efika MX once they get it to installing packages and desktops and upgrading the software.

Future guides will explain how to install other Linux distributions and operating systems (using the SD card or SSD installed system as a base). Any suggestions on guides or application notes pertaining to installation of the Efika MX, expandability, Linux kernel etc. would be appreciated and can be left in the comments section here or posted to the forums on PowerDeveloper.

Tuesday 6 April 2010

Kernel Release 2.6.31.12.3-ER1

Changelog:
  • 2.6.31.12.3
  • Patched in devtmpfs - however it is disabled in the config because it conflicts with Ubuntu Karmic's boot procedure
  • Enabled DVI sink mode in the display driver when defaulting with no cable connected (will go to 1024x768@60Hz)
  • Added back the SPI chipselect bugfix - should make the MTD driver happier
  • Miscellaneous tweaks to MTD partitioning data
  • Config updates
    • Enabled OSS PCM driver (ALSA emulation) to provide /dev/dsp
    • Enabled Magic SysRq keys
    • Enabled MAC80211 LED Triggers
    • Disabled module versioning to prep for 3D
    • Enabled forced module loading
This version will have GPU modules available and a prebuilt rt3070sta driver (since that works much better still than the mainline rt2800usb driver). The release was meant to be Monday (and if you look - it's online already) but it will have to be re-rolled as I made a mistake building some modules.

There is also a U-Boot release (1.1.8) on the Firmware page which adds a small ARM errata fix plus some very minor changes to behavior which most people won't ever notice, but it needed to be published.

Both these kernel and u-boot revisions will ship on any Efika MX going out of the door from Wednesday

Tuesday 30 March 2010

Kernel Release 2.6.31.12.2-ER1

Kernel release for March 30th.

Changelog snippet:

  • Updated to Freescale BSP 10.02.00 snapshot
  • Patches from Arnaud Patard at Mandriva
    • Divide by zero on booting without a monitor cable, fixed
    • rt2800usb driver updated to work - sometimes disconnects, not perfect
    • remember you need rt2870.bin to get the mainline wireless driver to work
    • switch from mxc_i2c to imx-i2c driver, more stable, ACK error gone
    • miscellaneous display driver fixes
  • Increased kernel log buffer shift from 14 to 16 so dmesg contains the whole log now (note: this is in the config file)
  • Added Freescale's SST25VF MTD driver, although it is not detecting properly yet
  • Replaced kernel ASIX USB ethernet driver with ASIX website version (2.5.0)
You can find the latest tarballs and so on at the PowerDeveloper EfikaMX Kernel page. 3D driver compiled for this kernel coming shortly. Apologise for the clumsy "big tarball" release, a version with more complete patches will probably come after the next Freescale BSP snapshot.

Saturday 20 February 2010

Efika MX Smartbook Information For Interested Parties


bbrv posted some information on the Efika MX Smartbook and we got a few questions we feel we have to answer just to point out. Let's start with the specifications (update 2010-02-28):

  • 800MHz Freescale i.MX515 CPU with OpenGL and OpenVG GPU
  • 1024x600 10.1" laptop panel
  • 512MB RAM
  • 2x USB ports
  • 8GB to 32GB of SSD storage
  • 1x SD card slot (side) and 1x MicroSD slot (behind battery)
  • Built-in Stereo Speakers, Microphone, external headphone port
  • Ralink RT3070 Wireless, same as the Efika MX, and Bluetooth 2.0 EDR
  • 3G Cell modem option (SIM card is behind battery slot)
  • GPS module
  • 3-cell removable battery giving ~6 hours battery life.
    • There will be a larger battery available in the near future, if you think 6 hours isn't long enough. The units we have peter out at just over 5 hours and 50 minutes of actual use.
  • >92% full size, low-travel keyboard (like Sony or Apple's)
  • Buttonless Touchpad
  • Webcam (1.3 Megapixel)
  • Light weight (around 2 lbs, or 1 Kg)
You will have seen the photo and thought to yourself "what on earth? there are no mouse buttons!!" and you'll be right. There was some objection to initial designs where the touchpad buttons were off to the left and right of the touchpad. This is the usual Netbook Cop-Out you see on Acer devices for example and it really makes the whole thing less easy to use.

The touchpad we have is something of a novel experience. While it supports single touch tap and the usual touchpad features, it also has two integrated mouse buttons; hold down the left hand side of the pad and it will click. That's a left mouse button. The same for the right. The keyboard "Menu" key finally has a use, and doubles as a right mouse button for most common application where you need a right click context menu or have to hold it down and drag.

In terms of size, it's about 1/3 the lid-closed height and weight of an Acer Aspire One Netbook, but about the same width/height dimensions (Acer's netbook is an 8" panel with a large bezel) - a little wider to support the widescreen panel and the bigger, more comfortable keyboard. It's very portable!

The nearest "PC" equivalent is the Asus Eee 1008 series (standard, $399.99), with the keyboard of the 1008P (Karim Rasheed Edition) (a designer edition netbook) which hasn't got a hope in matching the battery life even if it says it can get 6 hours (the battery is a 6-cell standard and is three times the power rating), and doesn't have any HD playback capability - retail price, $499.99.

Yes, the Efika MX Smartbook comes with a "designer edition" keyboard, awesome trackpad and HD video playback and 6 hours battery life as standard and we're hoping you will like the price too (hint: cheaper than those two Asus netbooks :)

Friday 12 February 2010

Kernel Development Status

Some bugs in the last release:
  • Some poking around with the DMFC made codecs and accelerated X11 not work. 3D would probably have been hosed too. Since we've not released the codecs yet it's not a huge problem but, the next release should be more sound and allow us to do a release
  • Enabling "Improved Transaction Translator Scheduling" broke the build - a patch I fixed for Ubuntu a long while ago but didn't seem to drag it into the new kernel
There are some other things but those were the most annoying. Freescale released a new BSP snapshot for February so we are rebasing on that. The result:
  • Efika MX: Integrates RT3070 Wireless properly
  • Efika MX: CompCache (ramzswap) working
  • A REAL patchset against 2.6.31 mainline (to bring up to BSP level) and then Efika patches on top, a special present for distro maintainers
  • More stable
  • Finally, HW accelerated codecs!
  • Finally, 2D Acceleration for X11 (but not OpenVG, sorry)
  • Finally, OpenGL ES 1.1 and 2.0!
  • steev@gentoo requested devtmpfs which should speed up boot and be much nicer to work with. We have to thank Canonical for backporting that to 2.6.31 :)
Those are the goals anyway. We will keep you posted. This is going to be kernel version 2.6.31.12-ER2-efikamx to differentiate between the ER1 releases (ER means "Engineering Release" for the curious). We're working our way up to PR (Production Release) which should square everything away for non-Aura kernels.

Secondly: we may release a kernel build based on Con Kolivas' "BFS" Scheduler to go with it, and for everyone who got (or still wants) a "1.0" Efika MX Developer Edition (the one with no case, flakey PATA and flakey ethernet) to make clusters, compile farms and generally do cool things with a lot of Cortex-A8s connected together, a custom kernel build that will Just Work (tm).

Long Term: Aura release (developer preview) and a kernel to go with it (2.6.32 or 2.6.33).

Saturday 6 February 2010

Wireless: RT3070 Driver Status

Looks like two things are evident from the RT3070 drivers in the 2.6.31 kernels we shipped:
  • The Mainline rt2x00 (rt2800usb etc.) driver is completely broken
  • The Staging rt2870sta (and rt3070sta) driver has been trashed beyond working by the kernel devs who "cleaned it up"
In essence, we recommend going back to building an external module (not an in-kernel one) for RT3070 Wireless support on the Efika MX. A configuration file for this has been posted to PD EfikaMX Kernel page for your convenience. There are a few caveats to this, again...
  • When it installs the module it installs it to /tftpboot. Just ignore this, delete it, and copy it from "os/linux/rt3070sta.ko" to "/lib/modules/`uname -r`/extra" and make sure to "depmod -a".
  • It will whine about a missing config file. Just copy the RT2870STA.dat in the source archive to /etc/Wireless/RT2870STA/RT2870STA.dat and it'll not complain.

It should pick up in NetworkManager on Ubuntu just fine after this. It's set up for 802.11h, 802.11e, cfg80211 (regulatory compliance using the kernel) and WPA Supplicant. You may need to reboot (NM hates being restarted) and there may need to be some finesse required putting it into a /etc/modprobe.d config file, but don't pay attention to the hundred forum posts out there that say you should be managing the config using /etc/network/interfaces - they're wrong :)

Genesi will be releasing a new kernel plus an accelerated 2D driver for Xorg and we'll endeavour to include the Ralink driver properly at the same time and disable the other Ralink 3070 drivers at the same time.

In the meantime, grab the Ralink RT3070USB driver from here (second link down, we're talking about version 2.1.2.0 here) and the config.mk file from here (it goes in the source archive in the os/linux directory). You do NOT need the firmware archive.

Sunday 24 January 2010

2.6.31.12 Kernel update

End of January, another kernel update. This should fix DVI problems for a lot of people and also brings in some ARMv7 patches from mainline
  • 2.6.31.12
  • Updated to Freescale BSP 5.2.0 (lots of non-iMX515 stuff here too)
  • Disabled SPDIF, accidentally enabled it in last release (doesn't work yet, use I2S instead)
  • DVI sink support, should work better on DVI monitors now
  • Better mode culling and use of the best monitor mode
  • vmode= flag works again
  • Patches from Pegatron
    • DVI sink support (above) and CEA descriptor detection
    • Altogether better handling of the SII9022 (still not up to spec though)
    • PMIC reboot disabled (use mxc_reboot instead) should fix the shutdown-is-reboot problem
    • max_res= flag will make the system use the biggest mode, 1280x720 or 1024x768 as fallbacks
    • removed egregious hack from fbmem.c to adjust clocks and put it in a better place
  • ARM tree patches
    • remove that annoying migrate_pages warning on compile
    • updates for ARMv6/ARMv7 prefetch abort handling and MMU handling
    • updates to syscalls
    • remove annoying unused variable warning
  • ramzswap driver
    • pulled from staging for 2.6.32
    • updated ARM dcache handling if dirty bit set
    • updated to compcache 0.6.2

The update is shipped as a patch against the 2.6.31 tree released in December (not mainline!), and supercedes the 2.6.31.9 patchset. Just extract the 2.6.31 tarball and then extract the patch tarball inside it and run patches/patch-kernel.sh (just like a Freescale BSP :)

You can find them at the Efika MX Kernel Platform Support page. All the problems reported by beta testers (DVI problems still, and the power off fix not working) are fixed.

Thursday 7 January 2010

2.6.31.9 Kernel Update

January 7th brings us another kernel release. From the changelog:
  • 2.6.31.9
  • LED platform device and trigger support for ide-disk (PATA) and mmc (SD card)
  • A few GPIO setup optimizations nobody will notice (including that annoying error on boot)
  • Patches from Pegatron
    • HDMI AV Information fix (wrong refresh rate)
    • HDMI EDID support, should autodetect your panel and use a native mode
    • Headphone detection fix
    • Reboot workaround
    • Board identification fix to differentiate between ER1 and ER2 (not shipping) boards
    • Some regulator changes
  • Patches from SUSE
    • ext3 fixes (superblock uptodate flag fix, barriers by default, JBD timeout increased to 15 seconds)
    • XFS fixes (redirty delayed allocations fix)
    • NFS write bug fix
    • RT3070 driver backport from 2.6.32 staging
    • USB storage devices delay 1 second instead of 5 when being plugged in
    • USB UVC webcam hue fix
  • Slightly better HDMI mode autodetection and usage including cleaning up impossible mode.
  • Enabled both the RT3070STA (Ralink/Staging) and RT2870 (Mainline) wireless drivers. Blacklist the ones that works the worst for you (rt2800usb, rt2870sta, rt3070sta)
  • Disabled the Boot Logo
You can find them at the Efika MX Kernel Platform Support page. The kernel support is shipped as a set of patches - simply extract it into your kernel directory and then run patches/patch-kernel.sh to update (just like a Freescale BSP). The new configuration file will be copied to .config inside the kernel tree for convenience.

Binaries are also available.

We would much appreciate it if we could get some input on whether this fixes peoples' display problems, and if it does or does not (either way), please post in the forums a copy of your dmesg output (log serial, copy it to a file, any way you like) so we can check EDIDs and errors.

Hope you're all having a great new year.