Difference between revisions of "Nokia N9"
(Add ubiboot instructions) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
TODO | TODO | ||
== Mainline Linux == | |||
14:49 <sre> tmlind: parazyd: not sure if you found my old n9/50 display branch already (I did not read full history since you pinged me). I think only this patch is needed to get display output on n9/50: | |||
https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-n900.git/commit/?h=n950-display-tony&id=d4cbc226a30b29bf2583ffff97b052c9ec68c8a3 | |||
14:52 <parazyd> I have these: https://github.com/parazyd/arm-sdk/tree/master/extra/patches/linux-n9-patches | |||
14:52 <parazyd> But it's 4.16 | |||
14:59 <sre> parazyd: ok, 4.16 is... old. Basically the features for the first four patches reached mainline. Patches 5-7 add automatic rotation and have not yet been integrated, | |||
but screen works without them (one just needs to rotate | |||
manually). Also they are easy to rebase and I don't see any problems upstreaming them after Tomi's cleanup series has landed. | |||
14:59 <sre> The 'rotation' property is already documented in DT bindings :) Finally patch 8 is required on OMAP3 devices and has not yet been upstreamed either. Without that display does not work at all on n9/50. | |||
15:00 <sre> Also on mainline the DSI command mode panel driver works like the other DRM panel drivers, so the panel timing is described in the driver instead of DT. | |||
15:00 <sre> so support for "nokia,pyrenees" needs to be added in the driver instead of describing the timings in DT | |||
== Partitioning == | |||
https://talk.maemo.org/showthread.php?t=91914 | |||
Latest revision as of 13:34, 5 January 2021
Nokia N9 | |
---|---|
Manufacturer | Nokia |
Codename | Lankku |
Dimensions | 116.5x61.2x12.1mm |
Release Date | September 2011 |
Specifications | |
SoC | TI OMAP3630 |
DRAM | 1024M |
Hardware Features | |
LCD | 480x854 3.9" AMOLED |
Video | PowerVR SGX530 |
Storage | 16/64GB flash |
Software Features |
Status
TODO
Mainline Linux
14:49 <sre> tmlind: parazyd: not sure if you found my old n9/50 display branch already (I did not read full history since you pinged me). I think only this patch is needed to get display output on n9/50: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-n900.git/commit/?h=n950-display-tony&id=d4cbc226a30b29bf2583ffff97b052c9ec68c8a3 14:52 <parazyd> I have these: https://github.com/parazyd/arm-sdk/tree/master/extra/patches/linux-n9-patches 14:52 <parazyd> But it's 4.16 14:59 <sre> parazyd: ok, 4.16 is... old. Basically the features for the first four patches reached mainline. Patches 5-7 add automatic rotation and have not yet been integrated, but screen works without them (one just needs to rotate manually). Also they are easy to rebase and I don't see any problems upstreaming them after Tomi's cleanup series has landed. 14:59 <sre> The 'rotation' property is already documented in DT bindings :) Finally patch 8 is required on OMAP3 devices and has not yet been upstreamed either. Without that display does not work at all on n9/50. 15:00 <sre> Also on mainline the DSI command mode panel driver works like the other DRM panel drivers, so the panel timing is described in the driver instead of DT. 15:00 <sre> so support for "nokia,pyrenees" needs to be added in the driver instead of describing the timings in DT
Partitioning
https://talk.maemo.org/showthread.php?t=91914
Installation
WORK IN PROGRESS
In Harmattan, go to Settings->Applications->Installations and enable Allow installation from non-Store sources. Then connect to WiFi and navigate to http://maedevu.maemo.org/images/n9/n9repomirror_0.7.2_armel.deb and install the package.
After installation, go to Settings->Security->Developer mode and enable Developer mode. Your device will do some operations and then reboot. Once rebooted, reconnect to WiFi if necessary and go back to Settings->Security->Developer mode and install Debugging (other packages as a plus). Now you should have a Terminal app.
For root access, in the terminal you can type:
$ devel-su Password: rootme
For ssh access, set a password for the user:
$ devel-su # passwd user
Then you can ssh:
$ ssh user@RM696
Remove openmode warning:
$ devel-su # disclaimer-cal remove View-openmode
Download ubiboot (on device):
$ mkdir -p /home/user/MyDocs/boot && cd /home/user/MyDocs/boot $ wget http://maedevu.maemo.org/images/n9/ubiboot-02_0.3.5_301013.tar $ tar xf ubiboot-02_0.3.5_301013.tar $ rm ubiboot-02_0.3.5_301013.tar $ md5sum * e76ed3f0cf0cc172f668b970ae778a71 md5sums.txt d1e1a6eb6d877f53a01e946a5ccf5017 ubiboot-02.menus.cpio adfbdc7d6cca6638b2dd079105d8daeb ubiboot.conf d6d7081cffe2684944f141bc9a71fea9 zImage_2.6.32.54-ubiboot-02_301013 $ devel-su # cd /boot # wget http://maedevu.maemo.org/images/n9/zImage_2.6.32.54-openmode_l2fix # cd / # wget http://maedevu.maemo.org/images/n9/preinits.tar # md5sum preinits.tar 515a8e1e5506f45afbc139c137d496b7 preinits.tar # tar xf preinits.tar # rm preinits.tar
Put your device in Upgrade mode:
$ lsusb Bus 001 Device 084: ID 0421:0105 Nokia Mobile Phones Nokia Firmware Upgrade Mode
Disable watchdogs:
# 0xFFFF -F no-omap-wd,no-ext-wd,no-lifeguard-reset
Power off the N9 completely, and run flasher to flash ubiboot kernel, then connect the N9 with USB:
# flasher -a firmware.bin -k zImage_2.6.32.54-ubiboot-02_301013 --flash-only=kernel -f -R
If everything was performed correctly, the device should boot in an animated bootmenu if you disconnected the USB cable, or maintenance mode if USB is still connected.