Closed IS0FFD closed 6 years ago
Please copy and paste the result of df -h
Hi Steven,
pi-star@pi-star-rptr(rw):~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 1,7G 1,7G 0 100% /
devtmpfs 481M 0 481M 0% /dev
tmpfs 486M 0 486M 0% /dev/shm
tmpfs 16M 6,8M 9,3M 42% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 486M 0 486M 0% /sys/fs/cgroup
tmpfs 1,0M 464K 560K 46% /var/cache/samba
tmpfs 64K 0 64K 0% /var/lib/php5/sessions
tmpfs 1,0M 0 1,0M 0% /var/lib/nginx/body
tmpfs 4,0M 2,2M 1,9M 54% /var/lib/samba/private
tmpfs 16K 0 16K 0% /var/lib/dhcp
tmpfs 16K 0 16K 0% /var/lib/sudo
tmpfs 16K 0 16K 0% /var/lib/logrotate
tmpfs 64M 244K 64M 1% /var/log
tmpfs 16M 0 16M 0% /var/tmp
tmpfs 16K 4,0K 12K 25% /var/lib/ntp
tmpfs 16K 4,0K 12K 25% /var/lib/dhcpcd5
tmpfs 64M 4,0K 64M 1% /tmp
/dev/mmcblk0p1 63M 22M 42M 35% /boot
pi-star@pi-star-rptr(rw):~$
sudo -s rpi-rw pistar-expand Expand the image to fill the SD card Advanced/Expand reboot
I try again! thanks for now
root@pi-star-rptr(rw):pi-star# pistar-expand
Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): Disk /dev/mmcblk0: 29 GiB, 31104958464 bytes, 60751872 sec
tors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa0e29a9d
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 137215 129024 63M c W95 FAT32 (LBA)
/dev/mmcblk0p2 137216 60751871 60614656 28,9G 83 Linux
Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.
Command (m for help): Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-607518
71, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (137216-60751871, d
efault 60751871):
Created a new partition 2 of type 'Linux' and of size 28,9 GiB.
Command (m for help): Disk /dev/mmcblk0: 29 GiB, 31104958464 bytes, 60751872 sec
tors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa0e29a9d
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 137215 129024 63M c W95 FAT32 (LBA)
/dev/mmcblk0p2 137216 60751871 60614656 28,9G 83 Linux
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next rebo
ot or after you run partprobe(8) or kpartx(8).
Partition expansion has been completed, please reboot to expand the filesystem t
o fill it
``` `
hi Steven, another error?
cp: cannot overwrite non-directory '/usr/src/MMDVM' with directory '/srv/MMDVM'
./get-src.sh: line 14: cd: /usr/src/MMDVM: Not a directory
Cloning into 'STM32F4XX_Lib'...
remote: Counting objects: 46, done.
remote: Total 46 (delta 0), reused 0 (delta 0), pack-reused 46
Unpacking objects: 100% (46/46), done.
Checking connectivity... done.
root@pi-star-rptr(rw):STM32-DVM# systemctl stop pistar-watchdog
Warning: Stopping pistar-watchdog.service, but it can still be activated by:
pistar-watchdog.timer
root@pi-star-rptr(rw):STM32-DVM# systemctl stop mmdvmhost
Warning: Stopping mmdvmhost.service, but it can still be activated by:
mmdvmhost.timer
root@pi-star-rptr(rw):STM32-DVM# cd /usr/src/MMDVM
bash: cd: /usr/src/MMDVM: Not a directory
root@pi-star-rptr(rw):STM32-DVM#
cd /src/MMDVM
make -f Makefile.CMSIS
return this error:
Makefile.CMSIS:129: recipe for target 'obj/IOSTM_CMSIS.o' failed
make: *** [obj/IOSTM_CMSIS.o] Error 1
root@pi-star-rptr(rw):MMDVM#
looks like you have a existing file /usr/src/MMDVM cp: cannot overwrite non-directory '/usr/src/MMDVM' with directory '/srv/MMDVM' ./get-src.sh: line 14: cd: /usr/src/MMDVM: Not a directory
so what should I do?
At this point I do not have a answer. I do not know the state of your environment. You can backup your pi-star settings and build a new image.
New image of pi-star, the same problem...
Cloning into 'MMDVM'...
remote: Counting objects: 2998, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 2998 (delta 16), reused 21 (delta 11), pack-reused 2964
Receiving objects: 100% (2998/2998), 856.22 KiB | 841.00 KiB/s, done.
Resolving deltas: 100% (2041/2041), done.
Checking connectivity... done.
cp: cannot overwrite non-directory '/usr/src/MMDVM' with directory '/srv/MMDVM'
./get-src.sh: line 14: cd: /usr/src/MMDVM: Not a directory
Cloning into 'STM32F4XX_Lib'...
remote: Counting objects: 46, done.
remote: Total 46 (delta 0), reused 0 (delta 0), pack-reused 46
Unpacking objects: 100% (46/46), done.
Checking connectivity... done.
root@pi-star-rptr(rw):STM32-DVM#
I'll have to download a current pi-star image and look at the directory to see why there is a MMDVM file in /usr/src.
Steve: I'm having somewhat similar issues with the firmware update. I'm doing the Pi-Hat, and when getting into the final steps after the JP1 jumper insertions, I can't get anything to go after the restart. I've tried the various directories, etc. to get the "program-STM32_DVM_PiHat" to not give me an error. (BTW I'm a complete novice to this process in any kind of RPi/STM32 command-line-level programming, so it may could be I don't know what I'm doing...). Thanks for any help/suggestions you can give.
Paul KC4YAP
P.S. All of this technology is just amazing, and thanks for all you've put into it!
I followed the whole procedure but I could not upgrade the firmware. RPI3 with pi-star last release sd32Gb RepeaterBuilder STM32-DVM v2a gpio
error: no space left on device, but the disk is not full !!!!!