<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sharpfin.org/index.php?action=history&amp;feed=atom&amp;title=Software_SSH_Shell_Activation</id>
	<title>Software SSH Shell Activation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.sharpfin.org/index.php?action=history&amp;feed=atom&amp;title=Software_SSH_Shell_Activation"/>
	<link rel="alternate" type="text/html" href="https://www.sharpfin.org/index.php?title=Software_SSH_Shell_Activation&amp;action=history"/>
	<updated>2026-04-23T13:09:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.4</generator>
	<entry>
		<id>https://www.sharpfin.org/index.php?title=Software_SSH_Shell_Activation&amp;diff=183&amp;oldid=prev</id>
		<title>Philipp: Created page with &quot;== Enabling Login ==  &#039;&#039;&#039;REMINDER: The purpose of the project is to provide alternative firmware / patches to the reciva offering.  The Sharpfin Project does not condone, and will not be party to any reverse engineering activities of any reciva application, the project deals with GPL code only.&#039;&#039;&#039;  The NAND Flash in the reciva radio is partitioned into 5 areas:  &lt;pre&gt; dev:    size   erasesize  name mtd0: 00004000 00004000 &quot;NAND BootAgent&quot; mtd1: 000fc000 00004000 &quot;Linux K...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.sharpfin.org/index.php?title=Software_SSH_Shell_Activation&amp;diff=183&amp;oldid=prev"/>
		<updated>2025-06-08T12:23:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Enabling Login ==  &amp;#039;&amp;#039;&amp;#039;REMINDER: The purpose of the project is to provide alternative firmware / patches to the reciva offering.  The Sharpfin Project does not condone, and will not be party to any reverse engineering activities of any reciva application, the project deals with GPL code only.&amp;#039;&amp;#039;&amp;#039;  The NAND Flash in the reciva radio is partitioned into 5 areas:  &amp;lt;pre&amp;gt; dev:    size   erasesize  name mtd0: 00004000 00004000 &amp;quot;NAND BootAgent&amp;quot; mtd1: 000fc000 00004000 &amp;quot;Linux K...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Enabling Login ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;REMINDER: The purpose of the project is to provide alternative firmware / patches to the reciva offering.  The Sharpfin Project does not condone, and will not be party to any reverse engineering activities of any reciva application, the project deals with GPL code only.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The NAND Flash in the reciva radio is partitioned into 5 areas:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dev:    size   erasesize  name&lt;br /&gt;
mtd0: 00004000 00004000 &amp;quot;NAND BootAgent&amp;quot;&lt;br /&gt;
mtd1: 000fc000 00004000 &amp;quot;Linux Kernel&amp;quot;&lt;br /&gt;
mtd2: 00d00000 00004000 &amp;quot;Root&amp;quot;&lt;br /&gt;
mtd3: 00100000 00004000 &amp;quot;Config&amp;quot;&lt;br /&gt;
mtd4: 00100000 00004000 &amp;quot;Debug&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What we need to do is obtain the Root NAND partition, unpack it and add some files, repack it and upload it back into the radio.&lt;br /&gt;
&lt;br /&gt;
* Use your favorite JTAG programmer to extract the Root partition to a file: 2ro&lt;br /&gt;
* Install jffs2 software&lt;br /&gt;
* Use unpack.jffs2 script to unpack the file&lt;br /&gt;
* untar the following over the unpacked tree&lt;br /&gt;
* Use mkfs.jffs2 to pack the file back up again&lt;br /&gt;
* Use your favorite JTAG programmer to reinstall the image&lt;br /&gt;
&lt;br /&gt;
You will then be able to login as &amp;#039;admin&amp;#039; password &amp;#039;admin&amp;#039; onto your radio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Install jffs2 software ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs login (password: anoncvs)&lt;br /&gt;
# cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs co mtd&lt;br /&gt;
You may also need to install the gbootroot rpm to provide the blkmtd driver&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== extract the root filesystem ===&lt;br /&gt;
&lt;br /&gt;
Use the following script to unpack the root filesystem from the file 2ro in the current directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
modprobe loop&lt;br /&gt;
modprobe mtdblock&lt;br /&gt;
&lt;br /&gt;
losetup /dev/loop0 2ro&lt;br /&gt;
insmod blkmtd erasesz=256 device=/dev/loop0&lt;br /&gt;
mkdir /mnt/mtd2&lt;br /&gt;
mount -t jffs2 /dev/mtdblock0 /mnt/mtd2&lt;br /&gt;
&lt;br /&gt;
/bin/rm -rf mtd2&lt;br /&gt;
mkdir mtd2&lt;br /&gt;
(cd /mnt/mtd2 ; tar cf - . ) | (cd mtd2 ; tar xvf - )&lt;br /&gt;
&lt;br /&gt;
umount /mnt/mtd2&lt;br /&gt;
rmmod blkmtd&lt;br /&gt;
losetup -d /dev/loop0&lt;br /&gt;
rmmod loop&lt;br /&gt;
rmmod mtdblock&lt;br /&gt;
rmmod mtdcore&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Unpack the dropbear tools into the tree ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt; to be added &amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Use mkfs.jffs2 to pack the file back up again ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&amp;lt; to be added &amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* NAND Flash: http://www.linux-mtd.infradead.org/faq/nand.html&lt;br /&gt;
* JFFS2 Filesystem: http://www.linux-mtd.infradead.org/faq/jffs2.html&lt;br /&gt;
* JFFS2 Unpack Guide: http://www.yargybot.com/Familiar/BackupHowto.html&lt;/div&gt;</summary>
		<author><name>Philipp</name></author>
	</entry>
</feed>