Go to advanced search

by Kendek
Thu Oct 10, 2019 10:01 am
Forum: Advanced users
Topic: Pi 4 EEPROM update with system on USB device (SSD)
Replies: 2
Views: 766

Re: Pi 4 EEPROM update with system on USB device (SSD)

You can update the EEPROM to the current stable version with the following commands: wget -O /boot/partition/recovery.bin https://github.com/raspberrypi/rpi-eeprom/raw/master/firmware/recovery.bin wget -O /boot/partition/pieeprom.upd https://github.com/raspberrypi/rpi-eeprom/raw/master/firmware/crit...
by Kendek
Thu Oct 10, 2019 4:19 am
Forum: Troubleshooting
Topic: Why not used 4k 60hz
Replies: 5
Views: 427

Re: Why not used 4k 60hz

Imperf3kt wrote:
Wed Oct 09, 2019 9:47 pm
Is this right? Color settings are to do with bit depth, not refresh rates.
"deep color" is merely a fancy name for 10bit color resolution.
Yes, without these the HDMI port is technically limited to 1.4, so no 4K/UHD 60Hz with Full RGB.
by Kendek
Wed Oct 09, 2019 7:07 pm
Forum: General discussion
Topic: SSD TRIM - the discard operation is not supported
Replies: 4
Views: 1241

Re: SSD TRIM - the discard operation is not supported

If your adapter supports the UNMAP/TRIM, you need the following udev rule to activate: /etc/udev/rules.d/01-unmap.rules ACTION=="add|change", ATTRS{idVendor}=="<VID>", ATTRS{idProduct}=="<PID>", SUBSYSTEM=="scsi_disk", ATTR{provisioning_mode}="unmap" You can read the VID and PID from the lsusb output.
by Kendek
Wed Oct 09, 2019 3:29 pm
Forum: Troubleshooting
Topic: Rasbian is not starting up after update
Replies: 5
Views: 289

Re: Rasbian is not starting up after update

B.Goode wrote:
Wed Oct 09, 2019 3:07 pm
gkaiseril wrote:
Wed Oct 09, 2019 2:27 pm
The "dist-upgrade" may be upgrading the major OS version from stretch to buster.
That is directly contrary to the advice given by Raspberry Pi themselves:
Because the dist-upgrade (= full-upgrade) doesn't by itself upgrade the current system to the next major OS version.
by Kendek
Wed Oct 09, 2019 3:17 pm
Forum: Advanced users
Topic: CEC: RPI 4: No key press received
Replies: 3
Views: 368

Re: CEC: RPI 4: No key press received

Then I don't know, but I'm sure that the CEC (libCEC 4.0.4) works well with LibreELEC.
by Kendek
Wed Oct 09, 2019 2:53 pm
Forum: Troubleshooting
Topic: Update freeze up errors
Replies: 4
Views: 274

Re: Update freeze up errors

gkaiseril wrote:
Wed Oct 09, 2019 2:38 pm
I would not run the "dist-upgrade" option without making a backup the the SD card.
Why? The dist-upgrade (= full-upgrade) is completely safe in itself and will not upgrade the current system to the next stable or other distribution release.
by Kendek
Wed Oct 09, 2019 2:42 pm
Forum: General discussion
Topic: which rpi should I get?
Replies: 25
Views: 1298

Re: which rpi should I get?

6by9 wrote:
Wed Oct 09, 2019 2:32 pm
The Pi4 uses a totally different USB interface on the end of a 1xPCIe lane (5Gbps), and ethernet is on a dedicated interface out of the SoC.
I think this is not fully correct, the single PCI Express Gen 2 lane in the Pi4 providing a total of 4 Gbps of bandwidth. :)
by Kendek
Wed Oct 09, 2019 2:29 pm
Forum: Troubleshooting
Topic: Update freeze up errors
Replies: 4
Views: 274

Re: Update freeze up errors

Read-only file system, so I think a filesystem error has occurred. Maybe the SD card is weared out.
by Kendek
Wed Oct 09, 2019 2:18 pm
Forum: Advanced users
Topic: CEC: RPI 4: No key press received
Replies: 3
Views: 368

Re: CEC: RPI 4: No key press received

Set the

Code: Select all

hdmi_preferred=1
in /boot/config.txt to shift audio and CEC to HDMI1.
by Kendek
Wed Oct 09, 2019 2:07 pm
Forum: Troubleshooting
Topic: Why not used 4k 60hz
Replies: 5
Views: 427

Re: Why not used 4k 60hz

You need to enable HDMI 2.0 in your TV settings. With Samsung this is the HDMI UHD Color feature, and on LG the name is HDMI ULTRA HD Deep Colour.
by Kendek
Wed Oct 09, 2019 5:30 am
Forum: Advanced users
Topic: Cross-Compiling Kernel 5.3 - recipe for target 'scripts' failed
Replies: 3
Views: 388

Re: Cross-Compiling Kernel 5.3 - recipe for target 'scripts' failed

I don't know, but I'm using this kernel with some minor modifications, compiled directly on Pi, under Ubuntu 19.10. > uname -a Linux RPI4 5.3.3-v8 #1 SMP PREEMPT Fri Oct 4 15:52:50 CEST 2019 aarch64 aarch64 aarch64 GNU/Linux > dmesg | head -n 3 [ 0.000000] Booting Linux on physical CPU 0x0000000000 ...
by Kendek
Mon Oct 07, 2019 7:40 am
Forum: General discussion
Topic: OpenVPN
Replies: 2
Views: 239

Re: OpenVPN

The OpenVPN server works just fine on the Pi. If you don't know how to configure it, then use an installer script . If you want to configure it manually, it's not that simple . I used my script on my router and moved the contents of the /etc/openvpn directory. If you just want a good VPN server, may...
by Kendek
Mon Sep 30, 2019 9:50 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: running a webserver from Raspberry Pi (32 bit or 64?)
Replies: 10
Views: 1706

Re: running a webserver from Raspberry Pi (32 bit or 64?)

1. will Raspberry Pi 4 run the same Raspbian as per the above x86_64? The RPi4 is an ARM64-based product, and also fully backwards-compatible with binaries built for armhf or armel. The Raspbian is armhf by default, but you can install the 64-bit (ARM64, not AMD64) test kernel . Uname output with 6...
by Kendek
Mon Sep 30, 2019 5:20 am
Forum: General discussion
Topic: running the system (a pi4b) off of ssd, will it give speed improvements?
Replies: 14
Views: 974

Re: Ssd

I had a another ASM1351 adapter sitting around that I tried the StarTech firmware on, but it the update utility wouldn't work on it. Didn't really expect it to - device id was 174c:1351 instead of 174c:55aa . The StarTech's updater doesn't work, but I've extracted the 150708_B1_0A_02.bin. You can d...
by Kendek
Sun Sep 29, 2019 7:28 pm
Forum: General discussion
Topic: running the system (a pi4b) off of ssd, will it give speed improvements?
Replies: 14
Views: 974

Re: Ssd

Will it complete the a bonnie benchmark without any errors in syslog? sudo apt-get install bonnie++ sudo bonnie++ -u root -d /mnt/path/to/ssd The "Rewriting" phase can break some adapters that otherwise seem OK. It's an SMR HDD, 2.5" WD WD20SPZX: > bonnie++ -u root -d /data Using uid:0, gid:0. Writ...
by Kendek
Sun Sep 29, 2019 5:55 pm
Forum: General discussion
Topic: running the system (a pi4b) off of ssd, will it give speed improvements?
Replies: 14
Views: 974

Re: Ssd

Have you found an USB3 adapter for the pi that supports both UASP and TRIM? All StarTech products with ASMedia ASM1351 chip . Just install the firmware update. I'm using cable-style adapters , and with the official firmware 150708B10103 the UASP and the TRIM/UNMAP are working well. Lsusb: /: Bus 02...
by Kendek
Sat Sep 28, 2019 6:05 pm
Forum: General discussion
Topic: Encrypted drives
Replies: 5
Views: 645

Re: Encrypted drives

lowfat wrote:
Sat Sep 28, 2019 5:40 pm
I'm OK with entering the password at boot-up if the bootloader supports that.
You will need initramfs if you want to encrypt the system partition.
by Kendek
Sat Sep 28, 2019 12:55 pm
Forum: General discussion
Topic: Encrypted drives
Replies: 5
Views: 645

Re: Encrypted drives

The RPi4 doesn't have hardware-accelerated AES support, so the encryption is not very fast. The Google Adiantum performs better if you want an encrypted partition with LUKS. cryptsetup luksFormat --type=luks2 --sector-size=4096 -c xchacha12,aes-adiantum-plain64 -s 256 -h sha512 --use-urandom /dev/sd...
by Kendek
Sat Sep 28, 2019 10:55 am
Forum: General discussion
Topic: running the system (a pi4b) off of ssd, will it give speed improvements?
Replies: 14
Views: 974

Re: Ssd

A good SSD is much faster than an SD card in Pi, if connected through USB 3.x. Especially with UASP and TRIM/UNMAP support.
by Kendek
Thu Sep 26, 2019 5:40 pm
Forum: Advanced users
Topic: How to maintain correct module_layout value when compiling driver
Replies: 2
Views: 221

Re: How to maintain correct module_layout value when compiling driver

So you maybe significantly modified the source code, that's why the module_layout value change.
Try to edit your .ko file with a hex editor, change the value to match the original.

Image
by Kendek
Thu Sep 26, 2019 9:32 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 290
Views: 80137

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

@dom is there any way we can get the kernel headers for the 64-Bit kernel? I;m trying to set up a WireGuard Vpn Server and cannot get Wireguard to install as a module without the headers. You need the kernel source, and a chrooted 64-bit environment: https://github.com/raspberrypi/linux http://cdim...
by Kendek
Wed Sep 25, 2019 2:11 pm
Forum: Advanced users
Topic: Raspberry Pi4 bootloader - network boot support - BETA
Replies: 57
Views: 16868

Re: Raspberry Pi4 bootloader - network boot support - BETA

timg236 wrote:
Wed Sep 25, 2019 12:19 pm
I've uploaded a new version which fixes an intermittent slow/freeze boot from sd-card...
Thanks, this eeprom version is working well with LE on microSD card. No more delayed startup, and compatible with older start.elf.
by Kendek
Wed Sep 25, 2019 12:42 pm
Forum: General discussion
Topic: Gap in Raspbian images
Replies: 10
Views: 644

Re: Gap in Raspbian images

If you would like to fix it, a PR can be sent here https://github.com/RPi-Distro/pi-gen/blob/master/export-image/prerun.sh#L26 16 - ROUNDED_ROOT_SECTOR=$(((BOOT_SIZE + ROUND_SIZE) / ROUND_SIZE * ROUND_SIZE / 512 + 8192)) 16 + ROUNDED_ROOT_SECTOR=$(((BOOT_SIZE + ROUND_SIZE) / 512)) 26 - +$((BOOT_SIZ...
by Kendek
Wed Sep 25, 2019 11:31 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 290
Views: 80137

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

dom wrote:
Tue Sep 24, 2019 6:27 pm
Try updating now - I've added CONFIG_USB_UAS.
Thanks, the UAS is working as expected in the 64-bit kernel 4.19.75. :)
by Kendek
Wed Sep 25, 2019 9:49 am
Forum: General discussion
Topic: Gap in Raspbian images
Replies: 10
Views: 644

Re: Gap in Raspbian images

The boot partition is aligned with a 4MB Erase Block Boundary, its size is a multiple of 4MB , so is the root partition aligned with a 4MB Erase Block Boundary, but it would if it started at 532480 immediately following the boot partition. Yes, but currently the first partition ends in sector 53248...

Go to advanced search