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
从
这里下载镜像文件,将下载后的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。
从
这里下载0xFFFF
,然后添加执行权限chmod a+x 0xFFFF
再从
这里下载u-boot
文件u-boot-2013.04-2.bin
关闭NokiaN900,然后在电脑上运行sudo ./0xFFFF -m ./u-boot-2013.04-2.bin -l
,会出现如下提示:
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连接到电脑,将会自动写入内容。
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
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
- 安装
U-Boot with kernel 2.6.28-omap1
- 安装
Linux kernel for power user (boot image for U-Boot)
,此项可选但推荐。 - 添加 Maemo Leste 启动项
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
- 在键盘打开状态重启N900,键盘关闭情况下
u-boot
只引导默认项。
参考