I'm trying to get familiar with PiDP-8 before the kit arrives. It is my first installation of PiDP-8 software on RaspberryPi. There were no problems with getting image to SD memory and bootup as I'm doing this for other SBCs on Linux for years. First thing I try to do is get network connection so that the rest of the work can be done from my workstation over ssh. Not sure why the default eth0 was renamed to eth2 during boot time so I had to edit /etc/network/interfaces. When I tried to edit the file I found that _vi_ was missing; drove me nuts until I installed vim ;-)
Hi,
Long overdue, but I just finished a new version of the PiDP software.
WARNING: only tested by myself as of 15-Dec-2015, so please do this on a spare SD card.
---------------------------------------------------------
First, this SD card image will boot your PiDP up in less than 10 seconds - including WiFi:
It still has a Raspbian version on it, including GUI. See further down below on details!
---------------------------------------------------------
Secondly, here is the updated pidp8 code itself as a tarball:
<tarball v20151215>
Use this if you are happy with your current full-featured Raspbian distribution, rather than starting afresh with the fast-booting SD card image above.
Just recompile the sources from this tarball.
How-to #1: update. This assumes you're already running the old version of pidp8:
- remove the old version: "cd /opt/pidp8"; "sudo rm -r *"; "cd /opt"; "sudo tar -xvf <name&location of tarball>"
note: this is the simple option, but if you've saved things on the disk images in pidp8/imagefiles you'll lose them!
- compile the source code: "cd /opt/pidp8/src" and "sudo make"; then "cd scanswitch" and "sudo make"
- reboot
Comment on How-to#1:
I suggest to replace that with the following: sudo su - tar_file="/home/pdp/pidp8-20151215.tar.gz" cd /opt mv pidp8 pidp8.old tar xvf $tar_file cd /opt/pidp8/src make cd scanswitch make
make install <--- [1]
reboot First we save the previous version for roll back. The rest makes it possible to cut/paste on the command line or create a little script if commands need to be repeated a number of times.
[1] this is not in instructions currently but the binary should install under /usr/local/bin which is under default PATH anyway. For now I fixed .bashrc with
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/pidp8/bin
export PATH
so that running pidp8 works. It responded with familiar prompt
sim>
Need more time to test PDP-8 programs.
<rant>I wonder why most linux distributions come out with broken PATH lately.
</rant>
How-to #2: fresh install on a new Raspbian SD card:
- Same as above, but after compiling, install through "cd /opt/pidp8/install" and "sudo pidp8-setup-default.sh"
For those who have done the "serial mod",
- before running make, append " -DSERIALSETUP" to the CFLAGS line in Makefile.
- run pidp8-setup-serialmod.sh instead of pidp8-setup-default.sh.
This is important, as your serial-modded PiDP will get confused by the default scripts.
Changes: I integrated the work of Dylan McNamee and Mike Barnes (thank you!), so this:
(1) runs on simh 4.0, not 3.9
(2) uses the Pi's internal pullups to eliminate the faint ghosting of leds
(3) includes the bug fix for the SR register properly reading the front panel
(4) includes ETOPS as boot option 6
-----------------------------------------------------------------
More on the fast-booting SD card image:
I discovered a distribution for the Pi called pipaOS. It is mean and lean, I did not find any other Pi distribution which gets you going in less than 10 seconds with full functionality. I adjusted a few things on its release 4.1, and that's the first download link above.
Log in as user pdp, password pdp.
How to:
- use dd (linux) or Win32diskimager (windows) to copy the image onto an SD card. It's only 2GB.
- edit /etc/networks/ interfaces to enter your Wifi's SSID and password.
(either by mounting the SD card on a Linux machine to edit it, or by using the Pi's own console)
- compile the source code: "cd /opt/pidp8/src" and "sudo make"; then "cd scanswitch" and "sudo make"
- install through "cd /opt/pidp8/install" and "sudo pidp8-setup-default.sh"
- reboot
For those who have done the "serial mod",
- before running make, append " -DSERIALSETUP" to the CFLAGS line in Makefile.
- run pidp8-setup-serialmod.sh instead of pidp8-setup-default.sh.
This is important, as your serial-modded PiDP will get confused by the default scripts.
-----------------------------------------------------------------
If you have a ready-made PiDP, maybe it's good to describe how to physically access the SD card...
1. Unscrew the two screws on the acrylic panel
2. Unscrew the three screws on the back panel
3. Remove the acrylic, see and remember how the PCB 'sits' in the case, then lift out the PCB
4. At the back of the PCB is the Pi with its SD card.
5. Insert new SD card, boot up to see if all's OK.
6. Place PCB back in case, fix with the three screws in the back panel
7. Place back acrylic.
Is it worth the effort?
- yes, if you like the faster boot time and don't mind losing the standard Raspbian distribution.
- yes, if you want multiple serial ports.
- otherwise, no, no benefits.
-----------------------------------------------------------------
Please let me know of any feedback or improvements?
So far, I tested on a serially modded Model A+ and on a Pi 2. Regarding the Wifi, it works out of the box with my standard Edup wifi dongle, but I have not tried any other brands.
Kind regards,
Oscar.
Hi,
Long overdue, but I just finished a new version of the PiDP software.
WARNING: only tested by myself as of 15-Dec-2015, so please do this on a spare SD card.
---------------------------------------------------------
First, this SD card image will boot your PiDP up in less than 10 seconds - including WiFi:
It still has a Raspbian version on it, including GUI. See further down below on details!
- compile the source code: "cd /opt/pidp8/src" and "sudo make"; then "cd scanswitch" and "sudo make"
- install through "cd /opt/pidp8/install" and "sudo pidp8-setup-default.sh"
- reboot
For those who have done the "serial mod",
- before running make, append " -DSERIALSETUP" to the CFLAGS line in Makefile.
- run pidp8-setup-serialmod.sh instead of pidp8-setup-default.sh.
This is important, as your serial-modded PiDP will get confused by the default scripts.
-----------------------------------------------------------------
If you have a ready-made PiDP, maybe it's good to describe how to physically access the SD card...
1. Unscrew the two screws on the acrylic panel
2. Unscrew the three screws on the back panel
3. Remove the acrylic, see and remember how the PCB 'sits' in the case, then lift out the PCB
4. At the back of the PCB is the Pi with its SD card.
5. Insert new SD card, boot up to see if all's OK.
6. Place PCB back in case, fix with the three screws in the back panel
7. Place back acrylic.
Is it worth the effort?
- yes, if you like the faster boot time and don't mind losing the standard Raspbian distribution.
- yes, if you want multiple serial ports.
- otherwise, no, no benefits.
-----------------------------------------------------------------
Hi,
Long overdue, but I just finished a new version of the PiDP software.
WARNING: only tested by myself as of 15-Dec-2015, so please do this on a spare SD card.
---------------------------------------------------------
First, this SD card image will boot your PiDP up in less than 10 seconds - including WiFi:
It still has a Raspbian version on it, including GUI. See further down below on details!
- compile the source code: "cd /opt/pidp8/src" and "sudo make"; then "cd scanswitch" and "sudo make"
- install through "cd /opt/pidp8/install" and "sudo pidp8-setup-default.sh"
- reboot
For those who have done the "serial mod",
- before running make, append " -DSERIALSETUP" to the CFLAGS line in Makefile.
- run pidp8-setup-serialmod.sh instead of pidp8-setup-default.sh.
This is important, as your serial-modded PiDP will get confused by the default scripts.
-----------------------------------------------------------------
If you have a ready-made PiDP, maybe it's good to describe how to physically access the SD card...
1. Unscrew the two screws on the acrylic panel
2. Unscrew the three screws on the back panel
3. Remove the acrylic, see and remember how the PCB 'sits' in the case, then lift out the PCB
4. At the back of the PCB is the Pi with its SD card.
5. Insert new SD card, boot up to see if all's OK.
6. Place PCB back in case, fix with the three screws in the back panel
7. Place back acrylic.
Is it worth the effort?
- yes, if you like the faster boot time and don't mind losing the standard Raspbian distribution.
- yes, if you want multiple serial ports.
- otherwise, no, no benefits.
-----------------------------------------------------------------
Hi,
Long overdue, but I just finished a new version of the PiDP software.
WARNING: only tested by myself as of 15-Dec-2015, so please do this on a spare SD card.
---------------------------------------------------------
First, this SD card image will boot your PiDP up in less than 10 seconds - including WiFi:
It still has a Raspbian version on it, including GUI. See further down below on details!
- compile the source code: "cd /opt/pidp8/src" and "sudo make"; then "cd scanswitch" and "sudo make"
- install through "cd /opt/pidp8/install" and "sudo pidp8-setup-default.sh"
- reboot
For those who have done the "serial mod",
- before running make, append " -DSERIALSETUP" to the CFLAGS line in Makefile.
- run pidp8-setup-serialmod.sh instead of pidp8-setup-default.sh.
This is important, as your serial-modded PiDP will get confused by the default scripts.
NOTE 20160217 - See this post if you have problems connecting over Wifi or Ethernet.
-----------------------------------------------------------------
If you have a ready-made PiDP, maybe it's good to describe how to physically access the SD card...
1. Unscrew the two screws on the acrylic panel
2. Unscrew the three screws on the back panel
3. Remove the acrylic, see and remember how the PCB 'sits' in the case, then lift out the PCB
4. At the back of the PCB is the Pi with its SD card.
5. Insert new SD card, boot up to see if all's OK.
6. Place PCB back in case, fix with the three screws in the back panel
7. Place back acrylic.
Is it worth the effort?
- yes, if you like the faster boot time and don't mind losing the standard Raspbian distribution.
- yes, if you want multiple serial ports.
- otherwise, no, no benefits.
-----------------------------------------------------------------
$ nano /boot/cmdline.txt # remove both entries for ttyAMA0
$ systemctl stop serial...@ttyAMA0.service
$ systemctl disable serial...@ttyAMA0.service
$ systemctl mask serial...@ttyAMA0.service
The previous instructions at the link were missing the ".service"
So, if you do these things, it will stop the ttyAMA getty and keep it from coming back.
--
You received this message because you are subscribed to a topic in the Google Groups "PiDP-8" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pidp-8/9nDGvKjQLA0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pidp-8+un...@googlegroups.com.
To post to this group, send email to pid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pidp-8/3a610a36-cacf-4f09-9def-8f889e92a4b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
I just finished a new version of the PiDP software.
---------------------------------------------------------
First, this SD card image will boot up your PiDP in less than 10 seconds - including WiFi.
It still has a Raspbian version on it, including GUI. See further down below on details!
<NEW 20160313 - bootable SD card image with pidp8 already installed>
Login with user pdp, password pdp.
All you need to do is enter your Wifi SSID and password using "sudo nano /etc/networks/interfaces"
An alternative SD image contains the pidp8 sources, but not yet compiled and installed. Mostly useful if you have done the Serial Mod:
- reboot
Only for the uninstalled second disk image:
- compile the source code: "cd /opt/pidp8/src" and "sudo make"; then "cd scanswitch" and "sudo make"
- install through "cd /opt/pidp8/install" and "sudo pidp8-setup-default.sh"
- reboot
For those who have done the "serial mod",
- before running make, append " -DSERIALSETUP" to the CFLAGS line in Makefile.
- run pidp8-setup-serialmod.sh instead of pidp8-setup-default.sh.
This is important, as your serial-modded PiDP will get confused by the default scripts.
NOTE 20160217 - See this post if you have problems connecting over Wifi or Ethernet.
-----------------------------------------------------------------
If you have a ready-made PiDP, maybe it's good to describe how to physically access the SD card...
1. Unscrew the two screws on the acrylic panel
2. Unscrew the three screws on the back panel
3. Remove the acrylic, see and remember how the PCB 'sits' in the case, then lift out the PCB
4. At the back of the PCB is the Pi with its SD card.
5. Insert new SD card, boot up to see if all's OK.
6. Place PCB back in case, fix with the three screws in the back panel
7. Place back acrylic.
Is it worth the effort?
- yes, if you like the faster boot time and don't mind losing the standard Raspbian distribution.
- yes, if you want multiple serial ports.
- otherwise, no, no benefits.
-----------------------------------------------------------------
Kind regards,
Oscar.
Hi,
I just finished a new version of the PiDP software.
---------------------------------------------------------
First, this SD card image will boot up your PiDP in less than 10 seconds - including WiFi.
It still has a Raspbian version on it, including GUI. See further down below on details!
<NEW 20160313 - bootable SD card image with pidp8 already installed>
Login with user pdp, password pdp.
All you need to do is enter your Wifi SSID and password using "sudo nano /etc/networks/interfaces"
An alternative SD image contains the pidp8 sources, but not yet compiled and installed. Mostly useful if you have done the Serial Mod:
<bootable SD card image v20151215>
---------------------------------------------------------
...
Kind regards,
Oscar.
[..] and that didn't help either.
I finally put the latest Raspbian on the card and installed in that, and it's working fine. But I'd like the 10 second boot...any ideas?