Go to advanced search

by Kendek
Sat Jan 25, 2020 10:58 am
Forum: Advanced users
Topic: DKMS to recompile customized kernel automatically?
Replies: 1
Views: 98

Re: DKMS to recompile customized kernel automatically?

DKMS ( Dynamic Kernel Module Support ) cannot reconfigure and recompile the Linux kernel. Depending on what you change in the .config, you need to compile the whole kernel or just the extra kernel module(s). You can write a script to do it all in one step, but compiling the kernel takes about an hou...
by Kendek
Thu Jan 23, 2020 5:07 am
Forum: Device Tree
Topic: RPi4 Ethernet LED control
Replies: 5
Views: 2353

Re: RPi4 Ethernet LED control

ahori0 wrote:
Thu Jan 23, 2020 2:37 am
Hi may I asked how you did this?
Just pull their repo, make the change, and recompile?
This feature has been implemented:

Code: Select all

dtparam=eth_led0=4                                                                     
dtparam=eth_led1=4
by Kendek
Tue Jan 21, 2020 3:27 pm
Forum: Advanced users
Topic: What kind of Filesystem for the usb harddisc for the Media on a kodi-box?
Replies: 3
Views: 209

Re: What kind of Filesystem for the usb harddisc for the Media on a kodi-box?

Ext4 is the default filesystem and the best choice. No advanced features (like snapshots, data compress...), but it's safe, compatible and performs very well.
by Kendek
Sat Jan 18, 2020 9:22 pm
Forum: Advanced users
Topic: [SOLVED] Building default Raspbian Buster kernel from github - missing kernel PPS support
Replies: 5
Views: 286

Re: Building default Raspbian Buster kernel from github - missing kernel PPS support

Compare the bcm2711_defconfigs:

4.19.75 / 4.19.95

CONFIG_PPS=m

You need to load the module before using it:

Code: Select all

modprobe pps_core
by Kendek
Mon Dec 23, 2019 11:40 am
Forum: Advanced users
Topic: Pi4 rootfs on SSD
Replies: 2
Views: 342

Re: Pi4 rootfs on SSD

Yes it is still necessary. After you download and unzip the .img file, you can mount the boot and rootfs partitions from it. Under Ubuntu desktop: sudo -i gnome-disk-image-mounter *raspbian-buster*.img mkdir /mnt/{boot0,boot1,rootfs0,rootfs1} mount /dev/loop0p1 /mnt/boot0 mount /dev/loop0p2 /mnt/roo...
by Kendek
Thu Nov 21, 2019 10:08 am
Forum: Troubleshooting
Topic: 4k 60 hz is not listed, only 30hz
Replies: 39
Views: 8327

Re: 4k 60 hz is not listed, only 30hz

Same thing happens for me on my TCL 55R617. Enabled 4kp60 but I still only see 30hz in the display settings. I'm not extremely knowledgeable when it comes to adding display modes and such, so would someone have a suggestion? Ps. I'd settle for 1440p60, but I don't know how to add that to my display...
by Kendek
Mon Nov 11, 2019 1:29 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4b WiFi 5Ghz (ac) bugs
Replies: 13
Views: 1100

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: 288
Views: 73260

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: 547

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: 682

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: 682

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: 682

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: 3419

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: 288
Views: 73260

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: 1211

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: 246

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: 432

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: 50
Views: 8276

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: 457

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: 602

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:[email protected].168.2...
by Kendek
Sun Oct 27, 2019 9:13 pm
Forum: Advanced users
Topic: rpi-eeprom beta package - VL805 updates
Replies: 50
Views: 8276

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: 648

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: 458
Views: 137471

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: 804

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: 111
Views: 23052

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.

Go to advanced search