Nokia N900 Archives - Nokia N900安装Maemo Leste: http://n900.xyz/docs/nokia_n900_install_Maemo_Leste/ - Nokia N900 FAQ: http://n900.xyz/docs/nokia_n900_faq/ - tablets-dev.nokia.com存档: http://n900.xyz/docs/tablets-dev_nokia_com_archive/ # Nokia N900安装Maemo Leste Maemo Leste是原官方Maemo Fremantle的后续版,算是继承者。 Maemo Leste 基于 Devuan Beowulf (Debian Buster),所有支持的设备都附带了最新的主线 Linux 内核。Nokia N900适配最新版为maemo-leste-1.0-armhf-n900-20240908.img.xz 从[这里](https://maedevu.maemo.org/images/n900/)下载镜像文件,将下载后的`maemo-leste-1.0-armhf-n900-20240908.img.xz`解压,获得`maemo-leste-1.0-armhf-n900-20240908.img`文件。 Linux下使用`dd`命令将其写入SD卡,Windows下推荐使用Etcher来写入。 ### Bootloader (U-Boot) 设置 如果你不想改变现有系统上的`u-boot`配置,或现有系统已经损坏,你可以使用以下方法采取多引导方式来使用 **Maemo Leste**。 从[这里](https://maedevu.maemo.org/images/n900/tools/)下载`0xFFFF`,然后添加执行权限`chmod a+x 0xFFFF` 再从[这里](https://maedevu.maemo.org/images/n900/tools/)下载`u-boot`文件`u-boot-2013.04-2.bin` 关闭NokiaN900,然后在电脑上运行`sudo ./0xFFFF -m ./u-boot-2013.04-2.bin -l`,会出现如下提示: ```sh bbq@op36:~/下载$ sudo ./0xFFFF -m ./u-boot-2013.04-2.bin -l 0xFFFF v0.8 // Open Free Fiasco Firmware Flasher Not a local device Waiting for USB device... ``` 接下来将NokiaN900连接到电脑,将会自动写入内容。 ```sh Found USB device: RX-51/RM-680/RM-696 (0x421:0x106) in Cold flashing mode USB device product string: Nokia USB ROM USB device serial number string: (not detected) Detected USB device: (not detected) Waiting for ASIC ID... Detected OMAP3430 chip (revision 87) Device: (not detected) HW revision: (not detected) NOLO version: (not detected) Kernel version: (not detected) Initfs version: (not detected) Software release version: (not detected) Content eMMC version: (not detected) Root device: (not detected) USB host mode: (not detected) R&D mode: (not detected) Switching to NOLO mode... Sending OMAP memory boot message... Waiting for USB device... Found USB device: SU-18/RX-34/RX-44/RX-48/RX-51/RM-680/RM-696 (0x421:0x105) in NOLO mode USB device product string: Nokia N900 (Update mode) USB device serial number string: MUM816382 Detected USB device: RX-51 Initializing NOLO... Device: RX-51 HW revision: 2204 NOLO version: 1.4.14 Kernel version: 2.6.28-20103103+0m5 Initfs version: (not detected) Software release version: RX-51_2009SE_21.2011.38-1_PR_MR0 Content eMMC version: RX-51_2009SE_10.2010.13-2.VANILLA Root device: flash USB host mode: disabled R&D mode: disabled Load image: File: ./u-boot-2013.04-2.bin Image type: kernel Image size: 212864 bytes Sending image header... Sending image... 100% [#################################################################] Done ``` 打开N900键盘,在电脑上继续输入`./0xFFFF -b` ```sh bbq@op36:~/下载$ sudo ./0xFFFF -b 0xFFFF v0.8 // Open Free Fiasco Firmware Flasher Not a local device Waiting for USB device... Found USB device: SU-18/RX-34/RX-44/RX-48/RX-51/RM-680/RM-696 (0x421:0x105) in NOLO mode USB device product string: Nokia N900 (Update mode) USB device serial number string: MUM816382 Detected USB device: RX-51 Initializing NOLO... Device: RX-51 HW revision: 2204 NOLO version: 1.4.14 Kernel version: 2.6.28-20103103+0m5 Initfs version: (not detected) Software release version: RX-51_2009SE_21.2011.38-1_PR_MR0 Content eMMC version: RX-51_2009SE_10.2010.13-2.VANILLA Root device: flash USB host mode: disabled R&D mode: disabled Booting kernel with default cmdline... ``` 然后N900屏幕上即可显示u-boot启动菜单,使用方向键选择外部SD卡中的 **Maemo Leste**即可,首次启动时间可能两分钟左右,请耐心等待。 如果要永久写入`u-boot`,你可以使用`sudo ./0xFFFF -m ./u-boot-2013.04-2.bin -f`来实现。**特别注意这样将替换现有系统fremantle的内核** ### 当前Fremantle系统可用 当前系统正常可用的话,可以按照以下方法来使用 **Maemo Leste** 1. 安装`U-Boot with kernel 2.6.28-omap1` 2. 安装`Linux kernel for power user (boot image for U-Boot)`,此项可选但推荐。 3. 添加 **Maemo Leste** 启动项 ```sh cat > /etc/bootmenu.d/30-maemo-leste.item << "EOF" && ITEM_NAME="Maemo Leste" ITEM_KERNEL="uImage" ITEM_DEVICE="${EXT_CARD}p1" ITEM_FSTYPE="ext2" EOF u-boot-update-bootmenu ``` 4. 在键盘**打开**状态重启N900,键盘**关闭**情况下`u-boot`只引导默认项。 **参考** - _https://maemo-leste.github.io/_ - _https://n900.elektranox.org/_ - _https://leste.maemo.org/Nokia_N900_ - _https://talk.maemo.org/_