The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Adaptation/N8x0

From Mer Wiki
< Adaptation
Revision as of 12:03, 15 November 2011 by Cxl000 (Talk | contribs)

Jump to: navigation, search

Contents

Nokia N8x0 hardware adaptation

This page is intended to help track the task required and the progress of creating a hardware adaptation for Mer on the Nokia N8x0 Internet tablets.

Hardware components

Common components

  • OMAP2420 armv6 CPU
  • TMS320 C55x DSP
  • OMAP video output
  • PowerPVR MBX OpenGLES and OpenVG
  • blizzard LCD controller
  • Sharp LS041Y3 LCD Panel
  • OMAP MMC SD/MMC crard
  • OneNAND Flash memory
  • tcm825x web cam
  • tsl2563 Ambient light sensor
  • TUSB6010 USB
  • Retu/Vilma watchdog, ...
  • Tahvo/Betty ...
  • cx3110x/stlc4550 WiFi
  • lp5521 LED
  • tmp105 temperature sensor

The N800 components

  • tsc2301 Touchscreen, Keypad, GPIO, Audio
  • tea5761 FM radio

The N810 components

  • lm8323 Keyboard
  • tsc2005 touchscreen
  • TLV320AIC33 audio
  • GPS5300 GPS

The good news is that there is sufficient support in the mainline kernel and with the addition of the patches maintained by OpenWRT we can produce recent kernels 2.6.38.8 and 3.1 to access most of hardware.

The current gaps are PowerPVR drivers, DSP?, GPS, ...

Adaptation Progress


  • The current kernels have both be used to boot a N810 to X using fbdev driver.
  • watchdog keepalive
  • X Configuration to enable access to all keyboard keys with touchscreen calibrated.
  • WiFi calibration data is extracted and stored to the firmware directory
  • With the WiFi firmware from Maemo the p54spi WiFi driver has been loaded, hw ether address
  • manual set and connection to WPA2 enabled Access Point established using connman-test.
  • Battery Management calibration data is extracted to firmware directory

Adaptation ToDo

  • WiFi extract and set hw ether address
  • N800 touchscreen calibration
  • hardware clock
  • Sound
  • Bluetooth
  • USB/Host/OTG
  • USB gadgets (Network)
  • lock key
  • keyboard slide
  • other keys
  • camera
  • battery management
  • keyboard backlight
  • indicator LED
  • UI integration
  • N800 FM radio
  • GPS

To Build

  • Current Kickstart file n810-armv6l-razor01.ks
  • Use mic2 to create a raw image
    • mic-image-creator --pkgmgr=yum --prefix=n810 --tmpdir=/tmp --fstype=vfat --format=raw --cache=your-cache --arch=arm6l --record-pkgs=name --config=n810-armv6l-razor01.ks --outdir=your-outdir --overlay-size-mb=64 --logfile=your-logfile
  • dd to external card
  • mount root partition p1
  • copy bluetooth and WiFi firmware to firmware directory
  • mount boot partition p3
  • copy the zImage from boot partition

Images available

  • http://images.formeego.org/n810/
    • n810-armv6l-razor01.ks
      • Based on Mer release 2011-11-11
      • Provides basic Razor/QtDesktop with calibration touchscreen and working keyboard on N810
    • n810-armv6l-razor02.ks
      • Based on Mer release 2011-11-14
      • This includes a system testing and information gathering tool
      • After copy image mount root and place you WiFi MAC address in /etc/ethers and driver firmware from Maemo in /lib/firmware
      • This will start xinput_calibration so N800 users can calibrate there touchscreen (If you have a N800 please provide a copy from /var/log/cxlinfo0/xinput_calibration for inclusion in future images.)

To Run

  • record you WLAN MAC
  • boot using flasher
  • start xterm and su root
  • ifconfig wlan0 down
  • ifconfig wlan0 hw ether <your WLAN MAC>
  • ifconfig wlan0 up
  • systemctl restart connman
  • /usr/lib/connman/test/test-connman list
  • record the connman ID for your AP SSID
  • /usr/lib/connman/test/test-connman remove <ID>
  • /usr/lib/connman/test/test-connman passphrase <ID> <yor AP passphrase>
  • /usr/lib/connman/test/test-connman connect <ID>

Team Members

Chris Leach / cxl000

Personal tools