Go to advanced search

by Kendek
Mon Nov 11, 2019 1:29 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4b WiFi 5Ghz (ac) bugs
Replies: 13
Views: 582

Re: Raspberry Pi 4b WiFi 5Ghz (ac) bugs

I too am only getting 40MHz channels except when selecting the US regulatory domain, but for me there's no difference in behaviour between 3B+ and 4B. Qualcomm error message when trying to connect to AC-only mode: deny assoc request, no vht caps in pure 802.11ac mode If doing pure 802.11ac mode, do...
by Kendek
Sat Nov 09, 2019 2:59 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 244
Views: 40278

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

I need to build a kernel module for the 64bit kernel. Is there an easier solution than building a cross compiler and completely building the kernel? I've got a chroot for pi64 with aarch64-gcc but I dont have kernel headers and the normal method of getting them doesnt apparently work. You can use t...
by Kendek
Mon Nov 04, 2019 1:50 pm
Forum: Advanced users
Topic: Getting the latest boot loader?
Replies: 1
Views: 288

Re: Getting the latest boot loader?

Yes, these are the latest versions.

https://github.com/raspberrypi/rpi-eepr ... mware/beta
by Kendek
Mon Nov 04, 2019 12:54 pm
Forum: Advanced users
Topic: automatic startup Bash script
Replies: 6
Views: 330

Re: automatic startup Bash script

henribusio wrote:
Mon Nov 04, 2019 12:51 pm
bash: /home/pi/.config/lxsession/LXDE-pi/autostart: No such file or directory

Code: Select all

mkdir -p ~/.config/lxsession/LXDE-pi
touch ~/.config/lxsession/LXDE-pi/autostart
nano ~/.config/lxsession/LXDE-pi/autostart
by Kendek
Mon Nov 04, 2019 12:47 pm
Forum: Advanced users
Topic: automatic startup Bash script
Replies: 6
Views: 330

Re: automatic startup Bash script

henribusio wrote:
Mon Nov 04, 2019 12:37 pm
i found a solution adding it to sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
The correct file is

~/.config/lxsession/LXDE-pi/autostart

if you want to execute a script from your home directory.
by Kendek
Mon Nov 04, 2019 11:47 am
Forum: Advanced users
Topic: automatic startup Bash script
Replies: 6
Views: 330

Re: automatic startup Bash script

What happens if you try to execute the /etc/rc.local?

Code: Select all

sudo /etc/rc.local
by Kendek
Mon Nov 04, 2019 10:04 am
Forum: General discussion
Topic: wipe unused space on SDcard?
Replies: 8
Views: 3074

Re: wipe unused space on SDcard?

VincentiuCelMare wrote:
Mon Nov 04, 2019 9:24 am
Anyone ? Is the sync before deleting the file really necessary ?
The sync command is required (but only once) to fully write the buffered data to the SD card.
Instead you can use the fstrim -av command to TRIM the unallocated space.
by Kendek
Sun Nov 03, 2019 9:16 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 244
Views: 40278

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Is there an ETA for stable release? Will we be able to run aarch64 instructions with 32 bit userland? (e.g. to learn armv8 without much hassle) I can see there is no toolchain in repository, but would 64bit assembly work with say this 3rd party toolchain https://github.com/abhiTronix/raspberry-pi-c...
by Kendek
Sun Nov 03, 2019 3:11 pm
Forum: General discussion
Topic: If I put an updated Raspbian into an older Pi 4 will it update the firwmare?
Replies: 8
Views: 805

Re: If I put an updated Raspbian into an older Pi 4 will it update the firwmare?

I guess you want to update the bootloader and the VLI EEPROM to the latest stable versions. If the rpi-eeprom-update service is enabled, you will need to boot the Raspbian two times. The upgrade process will be performed at the second boot.
by Kendek
Fri Nov 01, 2019 8:10 pm
Forum: General discussion
Topic: How to install the Raspberry Pi cross compiler on my Linux host machine?
Replies: 2
Views: 135

Re: How to install the Raspberry Pi cross compiler on my Linux host machine?

Just install the compiler from the Ubuntu repo:

Code: Select all

sudo apt install gcc-arm-linux-gnueabihf
or

Code: Select all

sudo apt install gcc-aarch64-linux-gnu
There is no need to use any other tool.
by Kendek
Fri Nov 01, 2019 10:02 am
Forum: General discussion
Topic: rpi network
Replies: 5
Views: 282

Re: rpi network

Six wrote:
Fri Nov 01, 2019 9:05 am
:D thx
Ok. If I want to play a video file on every rpi, what can I do? should I use a program to do it, a net protocol, o whatelse?
KODI supports NFS, FTP, UPnP and SMB, so just pick one of these protocols. I recommend NFS.
by Kendek
Wed Oct 30, 2019 10:17 am
Forum: Advanced users
Topic: rpi-eeprom beta package - VL805 updates
Replies: 49
Views: 5094

Re: rpi-eeprom beta package - VL805 updates

When I use a second SD card with Raspbian Buster and perform all updates. Does this update the eeprom across operating systems? Yes, but you can also do a manually EEPROM/VLI update with this method . If the recovery.bin and image files are on the boot FAT32 partition, the upgrade will be performed...
by Kendek
Tue Oct 29, 2019 9:08 pm
Forum: Advanced users
Topic: kernel headers for current Raspbian 64-bit kernel
Replies: 1
Views: 258

Re: kernel headers for current Raspbian 64-bit kernel

Download the compatible source code zip or tar.gz:

raspberrypi-kernel_1.20190925-1

You can compile the ZFS kernel module under an ARM64 chroot environment.
Just prepare the kernel source:

Code: Select all

make bcm2711_defconfig
make prepare
make scripts
by Kendek
Mon Oct 28, 2019 3:16 pm
Forum: General discussion
Topic: Mounting router USB-drive on pi 4
Replies: 8
Views: 378

Re: Mounting router USB-drive on pi 4

If this really necessary and you using Asuswrt-Merlin firmware on your router, the NFS share is better than Samba: 192.168.2.1:/tmp/mnt/<sda1> /mnt/Share nfs4 noatime,fsc 0 0 Otherwise, if you want the best performance, consider FTP: sudo apt install curlftpfs curlftpfs#anonymous:anonymous@192.168.2...
by Kendek
Sun Oct 27, 2019 9:13 pm
Forum: Advanced users
Topic: rpi-eeprom beta package - VL805 updates
Replies: 49
Views: 5094

Re: rpi-eeprom beta package - VL805 updates

Apologies if this is a stupid question and answered elsewhere, but I’m womndering if someone could please explain how you are supposed to update the EEPROM on the rpi4 if you aren’t running raspbian? Just place the update files on the FAT32 boot partition and reboot. wget -O /boot/partition/recover...
by Kendek
Sun Oct 27, 2019 1:20 pm
Forum: General discussion
Topic: How to backup/restore my RPi4?
Replies: 6
Views: 381

Re: How to backup/restore my RPi4?

Why would you like to wipe the entire SD card after broken WiFi settings?
I'm using the systemback.sh script for backup and restore the system and the user's configuration files. I definitely wouldn't wipe the SD card when I want to try a new stuff inside the OS.
by Kendek
Sat Oct 26, 2019 1:05 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 411
Views: 92418

Re: Raspberry Pi 4 usb boot?

RossDv8 wrote:
Sat Oct 26, 2019 12:37 pm
So why should fstab be changed to show a reference to /boot on the microSD, rather than the default of /boot on the SSD?
Obvious why. Because if the real boot partition is not mounted under /boot, the boot files, firmware, EEPROM and the kernel will never be upgraded.
by Kendek
Sat Oct 26, 2019 7:55 am
Forum: Troubleshooting
Topic: Can't boot if two SSD drives are connected to both USB 3.0 ports.
Replies: 7
Views: 633

Re: Can't boot if two SSD drives are connected to both USB 3.0 ports.

Probably a power-related issue. The Pi4 can only supply 1.2A current through its USB ports, in total. If you are using a powered USB HUB, the backfeeding can also prevent the system to boot.
by Kendek
Wed Oct 23, 2019 4:34 pm
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 102
Views: 14303

Re: VLI firmware v2.0 - powersaving features enabled

soundcheck wrote:
Wed Oct 23, 2019 4:21 pm
Since you suggested to bring down the PCI altogether, ethernet would have also been involved.
The Broadcom ethernet chip is also connected to PCI, isn't it.
The RGMII interface is not PCI Express, so no. The single PCIe Gen 2 lane is exclusively assigned to the USB controller.
by Kendek
Wed Oct 23, 2019 4:03 pm
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 102
Views: 14303

Re: VLI firmware v2.0 - powersaving features enabled

Doesn't work. The chips (USB and ethernet) don't seem to get powered down this way. The power consumption stays as is. You can do unbind too, but the power consumption will remain the same. for d in /sys/bus/usb/drivers/usb/* ; do echo ${d:25} >/sys/bus/usb/drivers/usb/unbind ; done Note that the E...
by Kendek
Mon Oct 21, 2019 7:56 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 244
Views: 40278

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

gubertoli wrote:
Mon Oct 21, 2019 5:48 am
I just had bad times to compile kernel modules once source and build folders on /lib/modules/4.19.79-v8 are not correctly linked.
Modules also can only be compiled within Ubuntu chroot. Just keep the ubuntu64 directory. :)
by Kendek
Sun Oct 20, 2019 11:51 am
Forum: General discussion
Topic: External hard drives that no longer standby under rasbian buster
Replies: 7
Views: 459

Re: External hard drives that no longer standby under rasbian buster

Gilder wrote:
Sun Oct 20, 2019 11:44 am
I did that and now it works. But why 120 = 10 minutes? what is this 120?
You are welcome. Values from 1 to 240 specify multiples of 5 seconds, so 120 x 5 = 600 seconds, which is 10 minutes.
by Kendek
Sat Oct 19, 2019 10:22 pm
Forum: General discussion
Topic: External hard drives that no longer standby under rasbian buster
Replies: 7
Views: 459

Re: External hard drives that no longer standby under rasbian buster

If installed, hdparm automatically sets the APM level to 254 on all HDDs by default, and there is no spin-down from value 128. You can edit the /etc/hdparm.conf , just uncomment the spindown_time line, and set value to 120, which is 10 minutes. You can test it with the following command: sudo DEVNAM...
by Kendek
Sat Oct 19, 2019 2:12 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 + Powered USB Hub + 2,5" SSD not working
Replies: 9
Views: 774

Re: Raspberry Pi 4 + Powered USB Hub + 2,5" SSD not working

scyle wrote:
Sat Oct 19, 2019 1:44 pm
WHAT?! I don't get it. I am getting more and more confused on what is going on with this setup.
Lots of bugs have been fixed in the kernel, so maybe an update helped in your case.
by Kendek
Sat Oct 19, 2019 1:50 pm
Forum: General discussion
Topic: Raspberry Pi 4 and Golang
Replies: 3
Views: 375

Re: Raspberry Pi 4 and Golang

Or if you want a newer version, just use the precompiled armv6l. The go1.13.3.linux-armv6l.tar.gz should work on Raspbian.

Go to advanced search