Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:retrobsd [2015/03/09 07:21] – [Install] darron | tools:retrobsd [2015/03/22 21:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== RetroBSD ==== | ==== RetroBSD ==== | ||
<wrap right> | <wrap right> | ||
- | {{: | + | {{: |
+ | \\ \\ | ||
+ | {{: | ||
</ | </ | ||
Line 59: | Line 61: | ||
=== Build === | === Build === | ||
- | Building will create the unix boot image and the SDcard | + | Building will create the unix boot image and the SD card image for the system. |
< | < | ||
make cleanall | make cleanall | ||
Line 67: | Line 69: | ||
=== Install === | === Install === | ||
- | First we create the file system image on a micro SD card. 4GB is ample. | + | First we create the file system image on a micro SD card. |
< | < | ||
dd if=sdcard.img of=/dev/sdc bs=4M | dd if=sdcard.img of=/dev/sdc bs=4M | ||
</ | </ | ||
- | Next, Hold the PROG button and toggle RESET on the SDXL board to enter the boot laoder. We will use [[:projects:pickle|Pickle]] pload to install the kernel. | + | Next, Hold the PROG button and toggle RESET on the SDXL board to enter the boot laoder. We will use [[:tools:pic32prog|PIC32Prog]] to install the kernel. |
< | < | ||
- | pload program | + | pic32prog -d / |
- | Total: 157004 | + | Programmer for Microchip PIC32 microcontrollers, |
- | Time: 0:08.45s | + | Copyright: (C) 2011-2014 Serge Vakulenko |
+ | Adapter: STK500v2 Bootloader | ||
+ | | ||
+ | Processor: Bootloader | ||
+ | Flash memory: 512 kbytes | ||
+ | Boot memory: 12 kbytes | ||
+ | Data: 157004 | ||
+ | Erase: done | ||
+ | Program flash: ####################################### | ||
+ | | ||
+ | Rate: 40790 bytes per second | ||
+ | </ | ||
+ | |||
+ | === Login === | ||
+ | |||
+ | A virtual com port should have been detected after installation. | ||
+ | |||
+ | The kernel will log something similar to the following. | ||
+ | < | ||
+ | usb 1-1.4: new full-speed USB device number 12 using dwc_otg | ||
+ | usb 1-1.4: New USB device found, idVendor=04d8, | ||
+ | usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 | ||
+ | usb 1-1.4: Product: RetroBSD Console | ||
+ | usb 1-1.4: Manufacturer: | ||
+ | cdc_acm 1-1.4:1.0: This device cannot do calls on its own. It is not a modem. | ||
+ | cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device | ||
+ | </ | ||
+ | |||
+ | Connecting with a terminal emulator to the virtual com port and pressing enter will boot the system. | ||
+ | < | ||
+ | screen / | ||
+ | </ | ||
+ | |||
+ | Enter the username root with an empty password to login. | ||
+ | < | ||
+ | |||
+ | 2.11 BSD Unix for PIC32, revision G205 build 2: | ||
+ | | ||
+ | / | ||
+ | cpu: 795F512H 80 MHz, bus 80 MHz | ||
+ | oscillator: external, PLL div 1:2 mult x20 | ||
+ | console: ttyUSB0 (6,0) | ||
+ | sd0: port SPI2, select pin G9 | ||
+ | sd0: type SDHC, size 3932160 kbytes, speed 13 Mbit/sec | ||
+ | phys mem = 128 kbytes | ||
+ | user mem = 96 kbytes | ||
+ | root dev = rd0a (0,1) | ||
+ | root size = 102400 kbytes | ||
+ | swap dev = rd0b (0,2) | ||
+ | swap size = 2048 kbytes | ||
+ | /dev/rd0a: 659 files, 10738 used, 91261 free | ||
+ | Starting daemons: update /var/cron: No such file or directory | ||
+ | /var/cron: created | ||
+ | tabs: No such file or directory | ||
+ | tabs: created | ||
+ | cron | ||
+ | |||
+ | |||
+ | 2.11 BSD UNIX (pic32) (console) | ||
+ | |||
+ | login: root | ||
+ | Password: | ||
+ | Welcome to RetroBSD! | ||
+ | erase, kill ^U, intr ^C | ||
+ | # ps axl | ||
+ | F S | ||
+ | 3 S | ||
+ | 200 S | ||
+ | 200 S | ||
+ | 200 S | ||
+ | 200 S | ||
+ | 1 R | ||
+ | # | ||
</ | </ |