Showing posts with label efikamx. Show all posts
Showing posts with label efikamx. Show all posts

Monday, 10 October 2011

Maverick October

Minor update to fix some annoying bugs and pull in some performance updates

No kernel update. Just userspace fixes to improve user experience:
  • Preinstall NEON optimized libc functionality. Note this means that TO2 systems may become unstable unless users edit the installed filesystem /etc/ld.so.preload file to remove the library location (you do not need to uninstall the imx-libc-neon package as any updates will only change the file on TO3+ systems). This will improve system performance on very large memory copies, string searching and so on (not so much on tiny amounts of data, in fact system performance may slow down on these). Multimedia and Xorg are the biggest beneficiaries.
  • Preinstall libpixman 2.23 for enhanced performance on Xorg fallbacks (this significantly speeds up things like changing the backdrop in GNOME. Unfortunately other apps that use pixman (firefox is the biggest example) use an internal version and do not directly benefit except from improved system graphics performance.
  • Updated packages for imx-boot-scripts fixes some PulseAudio problems, SPDIF module loading, and bumps the compressed swap cache to 128MB (ramzswap default)
  • Uninstall and remove cache for "prelink" as it seems to do more harm than good for performance (including spending a lot of time scanning the system every week, and soaking up compressed swap cache for no good reason)
  • Fix software-center not running
  • Maverick Updates that were pushed the day we released the image (including apt, tzdata and firefox update to fix the DigiNotar SSL certificate security issue)
For users not willing to reinstall, you can fix software-center by running the following in a terminal (this will take around 10 minute to complete):
sudo update-apt-xapian-index
sudo dpkg-reconfigure software-center

Thursday, 22 September 2011

Maverick September, Linux Kernel 2.6.31.14.26

New Linux release with a new kernel (2.6.31.14.26) with the following fancy updates:
  • Reinstated reservation of framebuffer and GPU memory due to quirks in the Linux kernel limiting the amount of DMA-capable memory you can allocate in a single block (and a lack of contiguous memory causing a crash rather than returning an error and letting drivers work around it). This means systems which were getting the full 512MB of memory in the last update will now be getting 448MB again. Sorry. We will revisit this again in a later kernel revision.
  • Fixed the "HDMI display goes into blank and never comes out unless you hotplug the HDMI cable" issue, which was down to overly aggressive power management.
  • Align framebuffer stride to 32 bytes to allow it to be GPU accelerated reliably (Z430 only)
  • Mainline: pull in unwinding support for div0 (now we can see what causes the Wireless Div0)
  • Mainline: pull in an optimization for copy_page
  • Don't wait to run the HDMI hotplug handler, and don't turn off the HDMI chip to solve an issue in particular with the Samsung SyncMaster E1920 which didn't like it when we did either.
  • HDMI now defaults to using IT modes instead of CEA modes where reasonable duplicates existed (tech: siihdmi.useitmodes=1 by default, siihdmi.useitmodes=0 for old behavior). This should make sure that if your TV does it by the specifications, most people should now have "underscanned" modes instead of "overscanned" modes. Also fixes a ton of very badly designed TVs.
  • "siihdmi.seventwenty" and "siihdmi.teneighty" options to the HDMI module now run through an extended list of possible modes, rather than restricting to exactly 1280x720 or 1920x1080 - now the switches are slightly misnamed as they will find the nearest native mode to these resolutions (such as 1360x768 which is a common plasma panel size) if the monitor reports them as preferred. This means most people won't need to disable siihdmi.seventwenty to get native panel resolution. 1080p now equals 1440x900, 1680x1050 or 1920x1080 if your panel supports it. For televisions which usually report exactly 720p or 1080p the behavior is absolutely unchanged, and if none of the native modes are found, it will pick 720p or the closest to the preferred mode (in case it was culled for being an incompatible mode) as before.
  • GPU kernel driver simplified and optimized
  • BFS scheduler patched in, PREEMPT disabled, CONFIG_HZ tweaked for i.MX timers. Gives us some performance back. CPU frequency driver disabled (locked to "performance") due to the driver being rather flakey. Smartbook battery life should be only minimally affected.
  • SPI NOR works again (thanks BoundaryDevices)
  • SGTL5000 audio is now a little more efficient (thanks BoundaryDevices)
Driver updates
  • Xorg driver: PictOpAdd, PictOpIn blend modes
  • Xorg driver: less memory hungry, more efficient (code size) allocation of memory
  • Xorg driver: Xv optimizations.
  • GPU: OpenVG: should now work without crashing all the time
  • GPU: EGL: Some texture/glReadPixels corruption bugs fixed (glcompbench now runs without corrupted textures, for example, but FSL 3DMMP_x still has garbage)
Multimedia
  • MM: multimedia via GStreamer - MPEG4 (Standard, H.264, VC-1), MPEG2 video acceleration.
  • MM: mfw_v4lsink to use IPU overlay for best performance
  • MM: mfw_xvimagesink for optimized Xv performance with reduced buffer copying.
  • MM: no requirement for any binary codec drivers (all opensource, ask if you want it..)
  • NOTE: NO audio codecs are included. As we do not license MP3 or AAC formats, your use of these codecs is your own responsibility.. If Totem or another GStreamer capable media player asks you to install new codecs, Genesi is not responsible for the quality of these codecs, and cannot assist users in installation of these codecs.
Known Issues:

  • MM: mfw_v4lsink will not work properly with siihdmi.teneighty=1 - this is a bandwidth issue and cannot be fixed. It might work fine doing windowed playback at 720p or less, though, your mileage may vary (wildly). Note that the MX51 is not rated for video playback above WXGA. You will need to run "gstreamer-properties" and set your video sink to "mfw_xvimagesink" to get around this. Note that mfw_v4lsink does not show anything when you click "Test" here.
  • MM: mfw_xvimagesink has a green line at the bottom in fullscreen (and perhaps Windowed mode too). Performance is adequate for videos less than 720p, for 720p and above there may be a few frame skips. This is actually a display driver bug combined with a limitation of the GPU (I420 and NV12 video must be converted to YUY2 using the CPU before blitting). Also there may be visible tearing. An updated OpenGL-based video renderer is in the works.
  • Note the i.MX51 is not rated to accelerate video above 720p.
  • Wireless driver still throws div0's at random intervals.
  • Performance in X.org Compositing window managers (Metacity for example) is somewhat sluggish in general (although window dragging is much, much faster). Compositing is disabled by default.
  • Firefox 3.6.22 is shipped by default but Mozilla don't have a "First Run" page for it, so the first time Firefox is started there will be a rather pretty "404" page telling you that you could upgrade to Firefox 6 or 7 - unfortunately this is not available at this time (Genesi do not plan to make it available for Maverick).
  • GNOME background switching in the Appearance panel seems like it locks the system, but it's just slow. An updated version of "libpixman" is required to solve this. We will make this available as soon as it completes testing (2.23).
  • GNU libc memory copies and string handling is not optimized for modern ARM processors. Genesi has a solution and it will be made available as soon as it completes testing (imx-libc-neon)
  • The updates.efikamx.info package repository is ridiculously out of date. Will be fixed shortly and March/May/July users can just update at that point without reinstalling..
  • Some source code is not available on GitHub - please just mail me and I'll send you a copy while we work this out.

Saturday, 23 July 2011

Maverick July, Linux Kernel 2.6.31.14.24

An update is available on PowerDeveloper for reinstallation of systems from scratch.

Kernel Changes (2.6.31.14.24)
  • Due to GPU and IPU changes, the system now has the full 512MB of memory available with no reserved blocks for GPU (64MB) or IPU framebuffer (32MB). Total available memory is up from 407MB. Framebuffer dynamically allocates a maximum of 24MB for a 1080p display, or 4MB on Smartbook. GPU resource allocation is completely dynamic with a maximum allocation of around 128MB of system memory.
  • Headless operation now works again by setting up a less restrictive dummy framebuffer (it is a real VESA/CEA standard 640x480 mode), and not trying to set modes where there was no monitor data available.
  • Backlight: no longer blanks when disabling the video overlay
  • HDMI: fixed mode selection on many displays. Driver renamed to 'siihdmi' so as not to conflict with Freescale's BSP driver. Lots of performance optimizations. Hotplug support. Revert to default selection of a 720p video mode rather than 1080p to improve out-of-the-box system performance.
  • Kernel: wire sys_accept4 for new udev and potentially a little better system performance.
  • SD: card voltage is driven at a more compatible level hopefully fixing most peoples' MicroSD cards in the battery slot on the Smartbook
  • Minor debug output cleanups
  • Update to BSP 11.05
    • IPU: Triple buffering, lower power on screen blank, virtual screen size fixed (3x height to accomodate the triple buffer)
    • GPU: MMU enabled. New microcode and better resource and power gating.
    • S/PDIF, headphone and some GPIO pad control changes for better system operation
    • CPU frequency operation updated
    • SAHARA module now works
Distribution Changes
  • Linux kernel 2.6.31.14.24 (as above)
  • Overrides and differences to standard Maverick:
    • Override Update Manager prompt to update to Natty (fixes Maverick to Natty transition being totally unsupported and not recommended)
    • Upstart script for Efika MX:
      • Loads audio modules dynamically
      • CPU frequency driver is disabled by default on Smarttop for better performance. Smartbook users will have it enabled for better battery life.
      • eCryptfs loaded on demand
      • Creates a 64MB compressed in-memory swap (ramzswap) drive. This increases CPU performance negligibly, but reduces disk access which is more expensive.
    • Minor settings differences
    • flash-kernel has been replaced by a stripped down "prep-kernel" script which does the same thing, but better (and only for the Efika MX)
  • Installer now no longer creates a swap partition. Please use swapfiles!
  • Installer now aligns partitions to 4MB for better performance
  • OEM configuration is now far more reliable (fixed in Ubuntu upstream, finally)
  • Advanced, new Xorg driver utilizing the C2D API. Supports Triple buffered Xv overlay.
  • Compliance fixes and optimizations for OpenGLES and EGL.
  • Preparation for multimedia codec and FlashPlayer release
Known Issues


  • PulseAudio has some known problems with CPU usage, audio may stutter
  • Xorg driver has a rare issue whereby it's context gets reset, reducing overall performance
  • Boot partition may eventually fill up after installing many kernel updates. Please "dpkg --purge" older kernels once you have verified the new ones are installed and working.
  • SPDIF doesn't seem to be loaded for HDMI Audio-enabled displays, will be fixed in an update to imx-boot-scripts
  • Recent updates to imx-lib (libvpu, libipu, and so on and so forth) may not install correctly through Update Manager due to some file conflicts.

All updated packages in the installer will be made available on the package repository shortly.

Saturday, 26 February 2011

Maverick Installer, Linux kernel (2.6.31.14.20, February 2011)

The updated Maverick installer and "rescue image" is now online on PowerDeveloper.

Firmware Update

The firmware update has been moved to a seperate card for ease of use and to work around VFAT bugs in U-Boot. See the previous blog post for details on the changes.

Kernel Update (2.6.31.14.20 - master branch)

  • Operates on ALL Efika MX models (TO2, TO3, Smartbook)
  • See previous blog posts for details..

    Maverick System Update

    • Operates on ALL Efika MX models (TO2, TO3, Smartbook)
    • Installer:
      • Asks before installing and can drop back to a terminal for "rescue card" operation
      • Creates a dedicated swap partition instead of a swap file. It's configured to be 576MB at the end of the SSD.
    • OEM Configuration:
      • Encrypted home directories (and encrypted swap) now work
      • No longer requires a password for the "oem" user keyring connecting to wireless
    • Generally better performance due to kernel updates
    • Accelerated 2D and 3D drivers installed
    • Rollback to Ubuntu mainline versions of some packages

    All updates released by Ubuntu until today 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.


    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.


    I don't want to trash my system, can I just get the packages?

    Yes, there is a package repository going up right now, wait for a blog post later today.

    Thursday, 17 February 2011

    One Kernel to Rule Them All

    This is a broadcast message to ALL Efika MX Smarttop and Smartbook developers and users who like to tinker with the kernel.

    We finally completed our work on merging the two platforms together. It is now possible to build ONE kernel which supports both systems - one prefix (-efikamx) and no fiddling building two kernels slowly and natively to get your work done.

    All developers are encouraged to switch to the "master" branch of the repository and reset their config to match the mx51_efikamx_defconfig (you can do this quite quickly and easily by backing up your current configuration and then using "make mx51_efikamx_defconfig" in the root of your kernel tree).

    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.

    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 :)