Trouble with PiAware 8.2 on Ubuntu 20.04 Installed on Odroid N2

Excellent update, the software side of things appear to work. I went through my Odroid and both USB dongles to see if there were any signs of damage, and I do not see any in the Orange (978-fa), The blue dongle (over a year old) does look like it might have some failed resistors. Silly question, but I recall the blue dongle lighting up when plugged in, which I do not see now (could be mistaken).

Oddly, the Orange FlightAware stick starts for a minute when the Odroid is booted, then after 60 seconds stops receiving. Patience is key with this!

Note on the below image the SMD capacitor by the right leg of the SMA connector. Black tracking and discoloration. Bottom side has white substance around negative leg of both electrolytic capacitor (likely corrosion more then a leak).


I found an easy method of solving memory shortage on my OrangePiPC, running Armbian Bullseye.

It has 1 GB RAM and 0.5 GB swap, i.e. total 1.5 GB which proved insufficient to build dump978-fa from source-code.

As my microSD card has enough free space, I decided to create a 1 GB swap file, making total memory 2.5 GB (1 GB RAM + 0.5 GB original swap + 1 GB swap file created by me). With this arrtangement I could build dump978-fa.

ORIGINAL MEMORY

Click on screenshot to see larger size

 

MEMORY AFTER ADDING 1 GB SWAP FILE

Click on screenshot to see larger size

 

HOW TO ADD SWAP FILE

 

STEP-1: Calculate block size for 1 GB swap file
1 GB = 1000 MB
Block size = 1024 * 1000MB = 1024000 blocks

 

STEP-2: Login as root

pi@orangepipc:~$ su -
Password:
root@orangepipc:~#

 

NOTE:
All steps below should be performed as root.

 

STEP-3: Create 1 GB (1024000 block) swap file “my-swap”

# dd if=/dev/zero of=/my-swap bs=1024 count=1024000 status=progress  

 

STEP-4: Setup correct file permission for security reasons. Following commands make sure only root user can read and write to the my-swap file.

# chown root:root /my-swap  

# chmod 0600 /my-swap  

 

STEP-5: Set up a Linux swap

# mkswap /my-swap  

 

STEP-6: Enable the swap file by following command

# swapon /my-swap  

STEP-7: Open file /etc/fstab for editing

# sudo nano /etc/fstab  

Add following line at bottom of file /etc/fstab to automatically enable my-swap on reboots.

/my-swap none swap sw 0 0

Save and close the file.

 

1 Like

In case you are looking for another experiment to conduct … maybe enabling zram would accomplish the same? Install the zram-tools package, roll with the default configuration and see if that provides enough space to compile.

1 Like

Thank you for information.
When next time I will install dump978-fa from source-code (possibly after Bookworm is officially released by Raspberry Pi foundation), I will try zram.

…or may be If I find some spare time, and am in a mood to experiment, I will write Bullseye on a spare microSD card and try to build dump978-fa on Pi with 1 GB ram, using zram.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.