Skip to content

Commit

Permalink
updated documentation & removed debug
Browse files Browse the repository at this point in the history
Updated README_SUM.md from github
  • Loading branch information
procount committed May 7, 2016
1 parent a730aaa commit c89d0a6
Show file tree
Hide file tree
Showing 9 changed files with 681 additions and 569 deletions.
463 changes: 22 additions & 441 deletions README.md

Large diffs are not rendered by default.

481 changes: 481 additions & 0 deletions README_PINN.md

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions README_SUM.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@

PINN is a version of the NOOBS Operating System Installer for the Raspberry Pi with the following additional features:

**PINN V1.9p1 (based on NOOBS v1.9)**
### V1.9.2

- **Password** - Change or reset your password for each OS.
- **DSI/HDMI** - Auto-switching of DSI/HDMI screen with HDMI taking priority

#### BugFixes

- **NoobsConfig** - Config filenames now now have all spaces converted to underscores
- **Multiple Os** - Multiple installed OSes can now be selected again.
- **DHCP** - ClientID is now used instead of DUID to request an IP address

### V1.9.1 (based on NOOBS v1.9)

- **USB support** - store your OS installations on USB stick to avoid wasting SD card space and avoid downloading each time.
- **Alternative Source** - Install OSes from an alternative website, or local webserver
Expand All @@ -17,6 +28,6 @@ Documentation on how to use PINN can be found **[here](README_PINN.md)**, which

If you are already familiar with NOOBS' features, you may prefer to read the reduced documenation that just contains **[PINN's new features](changes.md)** alone.

The latest version of **[PINN-lite](http://downloads.sourceforge.net/projects/pinn/pinn-lite.zip)** can be downloaded from [sourceforge](http://www.sourceforge.net/projects/pinn).
The latest version of **[PINN-lite](http://sourceforge.net/projects/pinn/files/pinn-lite.zip)** can be downloaded from [sourceforge](http://www.sourceforge.net/projects/pinn).

Source code is available from [github](https://github.com/procount/pinn)
220 changes: 113 additions & 107 deletions doc/changes.md

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions doc/history.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# PINN (PINN is not NOOBS)
#### An enhanced Operating System installer for the Raspberry Pi

PINN is a version of the NOOBS Operating System Installer for the Raspberry Pi with the following additional features:

## Change History

### V1.9.2

- **Password** - Change or reset your password for each OS.
- **DSI/HDMI** - Auto-switching of DSI/HDMI screen with HDMI taking priority

#### BugFixes

- **NoobsConfig** - Config filenames now now have all spaces converted to underscores
- **Multiple Os** - Multiple installed OSes can now be selected again.
- **DHCP** - ClientID is now used instead of DUID to request an IP address

### V1.9.1 (based on NOOBS v1.9)

- **USB support** - store your OS installations on USB stick to avoid wasting SD card space and avoid downloading each time.
- **Alternative Source** - Install OSes from an alternative website, or local webserver
- **ARCH support** - Install the Arch Linux OS directly from the Arch website
- **VGA666 support** - Alow PINN to be used with Gert's VGA666 adaptor
- **NOOBSCONFIG support** - Allow customisation of an OS installation as it installs
- **SSH support** - SSH remotely into you PINN installation.
- **Progress indication** - View your installation progress via alternative means

see [github](https://github.com/procount/pinn) for full information
8 changes: 4 additions & 4 deletions recovery/bootselectiondialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,24 +280,24 @@ void BootSelectionDialog::updateConfig4dsi(QByteArray partition)
else
bHDMI=false;

qDebug() << "tvservice name: "<< status << " " << bHDMI << " "<< status.length();
//qDebug() << "tvservice name: "<< status << " " << bHDMI << " "<< status.length();

QByteArray partstr = "/dev/mmcblk0p";
partstr.append(partition);
qDebug() << partstr;
//qDebug() << partstr;
QProcess::execute("mkdir -p /tmp/3");

QString mntcmd = "mount "+partstr+" /tmp/3";

QProcess::execute(mntcmd);
if (bHDMI)
{ //HDMI attached
qDebug() << "HDMI selected";
//qDebug() << "HDMI selected";
QProcess::execute("sh -c \"cp /tmp/3/config.hdmi /tmp/3/config.txt\"");
}
else
{ //Assume DSI
qDebug() << "DSI selected";
//qDebug() << "DSI selected";
QProcess::execute("sh -c \"cp /tmp/3/config.dsi /tmp/3/config.txt\"");
}
sync();
Expand Down
14 changes: 3 additions & 11 deletions recovery/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#endif

extern QStringList downloadRepoUrls;
#define KHDBG 0
//#define KHDBG 0

/* Main window
*
Expand Down Expand Up @@ -701,7 +701,7 @@ void MainWindow::on_list_currentRowChanged()
ui->actionPassword->setEnabled(item && item->data(Qt::UserRole).toMap().contains("partitions"));

QVariantMap m = item->data(Qt::UserRole).toMap();
qDebug() << "RowChanged: " << m;
//qDebug() << "RowChanged: " << m;
}

void MainWindow::update_window_title()
Expand Down Expand Up @@ -927,14 +927,6 @@ void MainWindow::on_actionEdit_config_triggered()

void MainWindow::on_actionBrowser_triggered()
{
#if KHDBG
for (int i=0; i<ui->list->count(); i++)
{
QListWidgetItem *item = ui->list->item(i);
QVariantMap m = item->data(Qt::UserRole).toMap();
qDebug() << m;
}
#endif
startBrowser();
}

Expand Down Expand Up @@ -1682,7 +1674,7 @@ void MainWindow::on_actionPassword_triggered()
if (item)
{
m = item->data(Qt::UserRole).toMap();
qDebug() << "Passwd triggered: " << m;
//qDebug() << "Passwd triggered: " << m;
if (m.contains("partitions"))
{
//QVariantList l = item->data(Qt::UserRole).toMap().value("partitions").toList();
Expand Down
16 changes: 14 additions & 2 deletions recovery/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,11 @@
</property>
</action>
<action name="actionBackup">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="icons.qrc">
<iconset>
<normaloff>:/icons/backup_manager.png</normaloff>:/icons/backup_manager.png</iconset>
</property>
<property name="text">
Expand All @@ -299,10 +302,16 @@
<property name="shortcut">
<string>B</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
</action>
<action name="actionFschk">
<property name="enabled">
<bool>false</bool>
</property>
<property name="icon">
<iconset resource="icons.qrc">
<iconset>
<normaloff>:/icons/backup_wizard.png</normaloff>:/icons/backup_wizard.png</iconset>
</property>
<property name="text">
Expand All @@ -311,6 +320,9 @@
<property name="shortcut">
<string>F</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
Expand Down
4 changes: 2 additions & 2 deletions recovery/multiimagewritethread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ void MultiImageWriteThread::postInstallProcessConfigFile(const QString &sourcefo
while (!in.atEnd())
{
QString line = in.readLine();
qDebug() << line;
//qDebug() << line;
if ((line.length()>1) && (line.at(0)!='#'))
{
QStringList args = parseQuotedString(line,5);
Expand All @@ -744,7 +744,7 @@ void MultiImageWriteThread::postInstallProcessConfigFile(const QString &sourcefo
QString ug;
QString cmd;
cmd = "Copying file";
qDebug() << cmd;
//qDebug() << cmd;
QString fname=fi.fileName();

QString dstfolder = arg_dstfolder + dstSubFolder;
Expand Down

0 comments on commit c89d0a6

Please sign in to comment.