Difference between revisions of "Building Image 3.x BBS on RPi4w/4GB and Manjaro"

From Jay's Cafe' Wiki
m
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
*Download image [https://github.com/manjaro-arm/rpi4-images/releases/download/23.02/Manjaro-ARM-minimal-rpi4-23.02.img.xz Manjaro-ARM-minimal-rpi4-23.02.img.xz]
*[[Performance Testing with NIB3]]<p />
*Extract the image and burn to your favorite SD card to feed it to your RP4.
Build:
<pre>
*[https://github.com/manjaro-arm/rpi4-images/releases/download/23.02/Manjaro-ARM-xfce-rpi4-23.02.img.xz Manjaro ARM Xfce, RPI4B/4GB] (NOTE: Openbox will be the final window manager)
unxz Manjaro-ARM-minimal-rpi4-23.02.img.xz
*Resolution 800x600
sudo dd if=Manjaro-ARM-minimal-rpi4-23.02.img of=/dev/mmcblk0 status=progress
* [https://sourceforge.net/code-snapshots/svn/v/vi/vice-emu/code/vice-emu-code-r42808-trunk.zip VICE 3.7.1 (r42808)]
</pre>
*[https://github.com/go4retro/tcpser tcpser 1.15a (Jim Brain)]
Note: while time passes. I choose to use the minimal implementations of Dl'd OSes because in the dressed ones, there are always the chance of getting something you don't want or need to build the specific implementation. And there is more to update as time passes. The unknown still exists in the minimal images, but the chance is less. That and if something goes wrong, the chance for you to blame yourself is greater in a minimalist implementation. It is all a matter of control and self-deprecation that drives my choices. Oh, while the burn is finishing, I need to hook up the RPi to power, monitor, keyboard and mouse.  Back in a flash -- see what I did there.
*Disable power settings, screensaver and lock.
 
*x11vnc allows remote and headless operation of the RPis with little overhead
*First burning of the image failed so I'm going to try with [https://github.com/manjaro-arm/rpi4-images/releases/download/23.02/Manjaro-ARM-xfce-rpi4-23.02.img.xz Manjaro-ARM-xfce-rpi4-23.02.img.xz]
===========================<br>
*Download image [https://github.com/manjaro-arm/rpi4-images/releases/download/23.02/Manjaro-ARM-xfce-rpi4-23.02.img.xz Manjaro-ARM-xfce-rpi4-23.02.img.xz]
<pre>
<pre>
unxz Manjaro-ARM-xfce-rpi4-23.02.img.xz
unxz Manjaro-ARM-xfce-rpi4-23.02.img.xz
Line 42: Line 43:
mkdir ../gtk3ui-vice
mkdir ../gtk3ui-vice
cd ../gtk3ui-vice
cd ../gtk3ui-vice
../vice/configure -C --enable-gtk3ui --disable-pdf-docs
../vice/configure --enable-gtk3ui --disable-pdf-docs --disable-realdevice --without-pulse --without-alsa --without-resid --disable-new8580filter --disable-portaudio --with-fastsid --disable-cpuhistory
make -j $(nproc --all)
sudo make install
</pre>
*VICE is now compiled. To get network connectivity, we will need Jim Brain's 1.15a of tcpser available on git.
<pre>
cd
mkdir -p sandbox/git
cd sandbox/git
git clone https://github.com/go4retro/tcpser
cd tcpser
make clean
make
sudo cp tcpser /usr/local/bin
</pre>
*done
'''Switch to Openbox and adjust resolution
*In a terminal type:
<pre>
sudo pacman -S --needed openbox obmenu-generator obconf x11vnc
</pre>
*Log out
*Log back in selecting the "openbox" item from the menus in the upper right of the login screen.
*Adjust screen resolution by right-clicking and selecting "Xfce Terminal" under "Terminals" and typing
<pre>
xrandr -s 800x600
</pre>
*start tcpser and xscpu64 from the individual tabs or create a login script as is your choice. I like running everything from a terminal to see the feedback from the programs if needed.

Latest revision as of 04:13, 22 March 2023

Build:

===========================

unxz Manjaro-ARM-xfce-rpi4-23.02.img.xz
sudo dd if=Manjaro-ARM-xfce-rpi4-23.02.img of=/dev/mmcblk0 status=progress 
  • Put the microSD in the RPi4B and boot - first run takes a while go get coffee.
  • Enter your desired Locale settings and click on "Next"
  • Set your timezone and click on "Next"
  • Set your desired Keyboard settings and click on "Next"
  • Set your desired login credentials and click on "Next"
  • Last Chance to back out - click on "Next"
  • Reboot, Login and open a terminal.
  • In terminal, enter:
sudo pacman-mirrors --country United_States
sudo pacman -Syu

The system will now do a complete upgrade. This will take some time.

  • Reboot system again
  • Open terminal and type
sudo pacman -S --needed yay
  • Note: yay is a nice little package management tool that will not only draw from the standard repositories, but the aur.archlinux.org repositories also. It's usefulness on an ARM system is questionable, but we'll see if it is really needed or not.
  • Also, if you ssh into the system, you can copy/paste most of what I'm writing here.
pacman -S --needed gtk3 base-devel git svn xa dos2unix glew
cd 
mkdir -p sandbox/svn
cd sandbox/svn
svn checkout https://svn.code.sf.net/p/vice-emu/code/trunk vice-emu-code
cd vice-emu-code/vice
./autogen.sh
mkdir ../gtk3ui-vice
cd ../gtk3ui-vice
../vice/configure  --enable-gtk3ui --disable-pdf-docs --disable-realdevice --without-pulse --without-alsa --without-resid --disable-new8580filter --disable-portaudio --with-fastsid --disable-cpuhistory
make -j $(nproc --all)
sudo make install
  • VICE is now compiled. To get network connectivity, we will need Jim Brain's 1.15a of tcpser available on git.
cd
mkdir -p sandbox/git
cd sandbox/git
git clone https://github.com/go4retro/tcpser
cd tcpser
make clean
make
sudo cp tcpser /usr/local/bin
  • done

Switch to Openbox and adjust resolution

  • In a terminal type:
sudo pacman -S --needed openbox obmenu-generator obconf x11vnc
  • Log out
  • Log back in selecting the "openbox" item from the menus in the upper right of the login screen.
  • Adjust screen resolution by right-clicking and selecting "Xfce Terminal" under "Terminals" and typing
xrandr -s 800x600
  • start tcpser and xscpu64 from the individual tabs or create a login script as is your choice. I like running everything from a terminal to see the feedback from the programs if needed.