Meego Wiki
Views
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Source Code)
Line 71: Line 71:
== Source Code ==
== Source Code ==
-
If you happen to come across any source code, patches, or the like (that are open source) then please let me (wmarone) know so they can be consolidated in a repository on Gitorious. Passing files around using mediashare.
+
If you happen to come across any source code, patches, or the like (that are open source) then please let me (wmarone) know so they can be consolidated in a repository on Gitorious. Passing binaries and source code around using mediafire or other download sites just isn't right.

Revision as of 19:09, 28 May 2011

The Nook Color is an OMAP3621 based 7" tablet produced by Barnes and Noble as an lcd-based e-Reader. At the same time, it serves as quite a handy target for MeeGo due to the similar SoC.

Nook Color Official Site NookDevs Nook Color Portal, good source of information

Contents

Basic Nook Color Specs:

  • OMAP3621 SoC @ 800MHz
    • PowerVR SGX 530
    • Differs from the 3630 by having the camera support logic disabled
  • 512MB RAM
  • 8GB internal storage
  • microSDHC slot
  • 7" IPS panel
  • Power, Volume+, Volume-, and stylized "N" home button
  • Headphone jack

Hardware believed to be present, but not active

  • USB OTG support
  • Bluetooth (some parts may not be wired out)

Kernel Sources

B&N have posted the sources for their kernel, bootloader, and xloader, on their legal page, look for Attachments 1 and 2. Attachment 1 is the older 2.6.29 kernel, while Attachment 2 is the newer 2.6.32 kernel.

A project on Gitorious hosting these kernel sources (but not yet u-boot or xloader) is available: https://gitorious.org/meego-nook

Currently there is an official 2.6.32 kernel, along with a community attempted port to 2.6.35, as well as my port of those patches forward to 2.6.38, in an attempt to meet the MeeGo baseline of 2.6.37.

Status

At this point 2.6.38 with drivers and board support files ported forward compiles silently, but does not activate the screen thus giving no useful output. With 2.6.32 and 2.6.29 it is possible to boot up to the login prompt (Xorg must be disabled, or the device will not give any indication of having booted.)

Getting Started

The Nook Color has a particularly well done boot sequence, in that it will default to boot from the SD card slot if plugged into a PC and powered on with a bootable card inserted.

Creating a Bootable Card

The card I created is based off of one of the Clockwork Recovery images, in particular a 4GB image reworked to boot MeeGo from the SD Card.

The simplest format is as follows, created using parted:

Number Start End Size Type File system Flags

1      32.3kB  74.0MB  74.0MB  primary  fat16        boot, lba
2      74.4MB  331MB   257MB   primary  ext2
3      331MB   4428MB  4097MB  primary  ext2

Partition 1

  • mlo -- Not sure, haven't touched it
  • u-boot.bin -- u-Boot binary, rebuilt to present a new command line to the kernel on startup
  • uImage -- u-Boot prepared kernel image
  • uRamdisk -- Rebuilt image to disable the internal init

Partition 2

Empty, probably not necessary

Partition 3

MeeGo root filesystem

Building the Kernel

The Nook Devs instructions will suffice for building a proper uImage. I will post the source of my u-Boot shortly.

Debug

Tech docs @ NookDevs. There is apparently a way to get RS232 out over the USB port, if you disable USB and enable the output in u-Boot.

Source Code

If you happen to come across any source code, patches, or the like (that are open source) then please let me (wmarone) know so they can be consolidated in a repository on Gitorious. Passing binaries and source code around using mediafire or other download sites just isn't right.

Personal tools