手機 - Nokia N900 - PostMarketOS - 如何從Flash開機



1. N900重新刷入Firmware
2. 在Maemo下安裝bootmenu、backupmenu和u-boot-flasher
3. 10-pmos.item

ITEM_NAME="PostmarketOS"
ITEM_SCRIPT="boot.scr"
ITEM_DEVICE="${INT_CARD}p1"
ITEM_FSTYPE="fat"

4. 開機進入backmenu並且掛載Flash
5. 將postmarket安裝到Flash
6. Patch uInitrd-postmarketos-stable

$ vim init
    38 #mount_boot_partition
    49 #umount /boot

$ ls boot
    initramfs-postmarketos-stable
    initramfs-postmarketos-stable-extra
    uImage-postmarketos-stable
    uInitrd-postmarketos-stable
    vmlinuz-postmarketos-stable
    vmlinuz-postmarketos-stable-dtb

6. pmOS_boot裡面只放:

    boot.scr
    bootmenu.scr
    uImage-postmarketos-stable
    uInitrd-postmarketos-stable