Hack-A-N900/Usb Recovery Mode: Unterschied zwischen den Versionen
Amir (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Hmw (Diskussion | Beiträge) →Enable R&D mode and disable watchdogs: Link to flasher web site added |
||
(7 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
I bricked my maemo setup several times. Often the underlying problem would have been trivial to fix, if i had a way to access the rootfs. Patching bootmenu enables us to boot a minimal system with just usb network and sshd enabled. that's still not optimal because this solution relies on rootfs being accessible. why? - [http://www.mail-archive.com/maemo-developers@maemo.org/msg22365.html 1] [https://bugs.maemo.org/show_bug.cgi?id=6468 2] - in short, during boot process no seperate initrd is utilized - in fact the rootfs is misused for it -.- . | I bricked my maemo setup several times. Often the underlying problem would have been trivial to fix, if i had a way to access the rootfs. Patching bootmenu enables us to boot a minimal system with just usb network and sshd enabled. that's still not optimal because this solution relies on rootfs being accessible. why? - [http://www.mail-archive.com/maemo-developers@maemo.org/msg22365.html 1] [https://bugs.maemo.org/show_bug.cgi?id=6468 2] - in short, during boot process no seperate initrd is utilized - in fact the rootfs is misused for it -.- . the bootmenu script circumvents that by redirecting the pivot_root call issued by /sbin/preinit, which is a pretty dirty - yet effective hack. <i>hmmm... just an idea, but why not use the rootfs for initrd purposes only?...</i> | ||
sshd will be using settings from the rootfs. | sshd will be using settings from the rootfs. | ||
=== Prerequisites === | === Prerequisites === | ||
* [http://metalab.at/wiki/Hack-A-N900/First_Steps First Steps] | * [http://metalab.at/wiki/Hack-A-N900/First_Steps First Steps] | ||
* [http://metalab.at/wiki/Hack-A-N900/Development Development] - Software sources for apt, installing "patch". | |||
== Install bootmenu == | == Install bootmenu == | ||
Zeile 9: | Zeile 11: | ||
<pre> | <pre> | ||
# Get the bootmenu | # Get the bootmenu package: | ||
wget http://www.daimi.au.dk/~cvm/bootmenu_1.6_armel.deb | wget http://www.daimi.au.dk/~cvm/bootmenu_1.6_armel.deb | ||
Zeile 30: | Zeile 32: | ||
# IP address for USB networking | # IP address for USB networking | ||
USB_IP=192.168.2.15 | USB_IP=192.168.2.15 | ||
</pre> | |||
== Enable R&D mode and disable watchdogs == | |||
Enable [http://wiki.maemo.org/Flasher flasher mode] and execute following on your pc: | |||
<pre> | |||
./flasher-3.5 --set-rd-flags=no-omap-wd | |||
./flasher-3.5 --set-rd-flags=no-ext-wd | |||
./flasher-3.5 --enable-rd-mode | |||
</pre> | </pre> | ||