Go to advanced search

by Kendek
Mon May 25, 2020 7:38 pm
Forum: Troubleshooting
Topic: how to update EEPROM with PXE/NFS boot without SSD
Replies: 20
Views: 1100

Re: how to update EEPROM with PXE/NFS boot without SSD

hippy wrote:
Mon May 25, 2020 7:07 pm
Thanks, but my issue is not so much updating eeprom but getting flashrom to do that.
After you update to newer bootloader, you will be able to use the SELF_UPDATE feature. There is no need for flashrom.
by Kendek
Mon May 25, 2020 1:56 pm
Forum: Troubleshooting
Topic: how to update EEPROM with PXE/NFS boot without SSD
Replies: 20
Views: 1100

Re: how to update EEPROM with PXE/NFS boot without SSD

I have also been trying to get 'flashrom' to work on a booted from SD Card socket Buster If you have a microSD card, you can forget the flashrom. Download the rpi-boot-eeprom-recovery-2020-04-16-vl805-000137ad.zip (or the files from here ), and the steps from the README file: 1. Unzip the contents ...
by Kendek
Mon May 25, 2020 1:23 pm
Forum: Advanced users
Topic: EEPROM configuration tool gives exception when outputting bootloader
Replies: 3
Views: 356

Re: EEPROM configuration tool gives exception when outputting bootloader

The expected pieeprom.bin size is 512 KiB, yours is only ~70 KiB. So this pieeprom-2020-04-16.bin.1 file is not a valid bootloader image.
by Kendek
Mon May 25, 2020 10:13 am
Forum: Troubleshooting
Topic: Root takes over USB Hard Drive
Replies: 2
Views: 169

Re: Root takes over USB Hard Drive

Simply change the permission settings of this file.

Code: Select all

sudo chmod a+w /path/to/file
by Kendek
Mon May 25, 2020 9:39 am
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 98500

Re: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)

Sorry if this already been discussed but there is lots of info here, I'm a bit confused. I previously copied my sd card to a samsung fit usb drive and runs the root file system from usb drive and boot from the sd card. what would be the appropriate way to upgrade to boot directly from usb so I dont...
by Kendek
Sun May 24, 2020 5:20 pm
Forum: Troubleshooting
Topic: how to update EEPROM with PXE/NFS boot without SSD
Replies: 20
Views: 1100

Re: how to update EEPROM with PXE/NFS boot without SSD

See the rpi-eeprom-update script : sudo -i apt install flashrom wget https://github.com/raspberrypi/rpi-eeprom/raw/master/firmware/stable/pieeprom-2020-04-16.bin modprobe spidev modprobe spi-bcm2835 flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=16000 -w pieeprom-2020-04-16.bin To enable the sel...
by Kendek
Sun May 24, 2020 8:10 am
Forum: Troubleshooting
Topic: no global ipv4 address on my raspberry pi 4
Replies: 2
Views: 204

Re: no global ipv4 address on my raspberry pi 4

Code: Select all

wget -qO- v4.ifconfig.co
or

Code: Select all

curl v4.ifconfig.co
by Kendek
Sat May 23, 2020 4:51 pm
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 98500

Re: Raspberry Pi 4 USB mass storage beta

I tested a couple of other USB3 to SATA adapters: ASMedia ASM1351 (firmware 150708_B1_0A_02, UAS + UNMAP) ASMedia ASM1153E (firmware 141126_A1_EE_82, UAS + UNMAP) JMicron JMS551 (firmware 18.0.6.0.11, two SATA ports) Initio Inic-3609 (firmware 3609V313) Each works great, the system boots properly fr...
by Kendek
Sat May 23, 2020 11:12 am
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 98500

Re: Raspberry Pi 4 USB mass storage beta

chmuhammadsohaib wrote:
Sat May 23, 2020 10:57 am
The update sounds great, but what about USB-C OTG boot? Is it working too via USB-C?
I like the USB 3 speed, so I would recommend using an adapter if necessary. I bought a couple of these.
by Kendek
Thu May 21, 2020 12:00 pm
Forum: Troubleshooting
Topic: how to update EEPROM with PXE/NFS boot without SSD
Replies: 20
Views: 1100

Re: how to update EEPROM with PXE/NFS boot without SSD

bl00dy wrote:
Thu May 21, 2020 11:12 am
Seems EEPROM update on RPI4 without SD card is not supported.
Supported with the newer bootloader versions, so pieeprom-2020-04-16 and later. See the official documentation; the SELF_UPDATE section.
by Kendek
Thu May 21, 2020 8:32 am
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 98500

Re: Raspberry Pi 4 USB mass storage beta

RonR wrote:
Thu May 21, 2020 8:15 am
GPT is working here with the new bootloader and firmware.
GPT or GPT with hybrid MBR? Because I use the latter, but if it's not necessary...
by Kendek
Wed May 20, 2020 2:33 pm
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 98500

Re: Raspberry Pi 4 USB mass storage beta

jr3us wrote:
Wed May 20, 2020 2:25 pm
When you ran rpi-update, did you use the branch=msd-boot? I see the link you used was in the master branch.
My OS is a custom Ubuntu 20.04 with a custom kernel. So I just downloaded the files into the /boot dir.
by Kendek
Wed May 20, 2020 2:19 pm
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 98500

Re: Raspberry Pi 4 USB mass storage beta

I've tested it, so updated to the new beta pieeprom , and installed the latest firmware . The boot seems to work very well and very fast on USB 3.0 port, without any microSD card. The UAS and TRIM are active, so there are no negative effects. My USB to SATA adapter is ASMedia 1351, and the 2TB HDD h...
by Kendek
Sun May 17, 2020 1:45 pm
Forum: Gaming
Topic: Fallout
Replies: 14
Views: 1456

Re: Fallout

Skilowi wrote:
Sun May 17, 2020 1:29 pm
Hello
Is possible to run Fallout 2 on RPi 4B?
l highly doubt it. This is a Windows and x86 only game.
by Kendek
Mon May 04, 2020 5:44 pm
Forum: Advanced users
Topic: Raspberry Pi 4 VL805 firmware release 0138a1
Replies: 35
Views: 13793

Re: Raspberry Pi 4 VL805 firmware release 0138a1

I've updated and everything seems OK. > vl805 VL805 FW version: 000138a1 ASPM works fine, activates with some delay: > lspci -vvv | grep ASPM LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+ HDD and SSD speed is good: > lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p...
by Kendek
Fri May 01, 2020 3:42 pm
Forum: General discussion
Topic: What's your internet speed?
Replies: 14
Views: 665

Re: What's your internet speed?

(Now I have looked at global averages , but I have a very hard time believing that the world average right now is 74 Mb/s. Seems too high.) I think the 74 Mbps is not impossible. My ISP offers 100-500 Mbps subscriptions , through cable modem (I have 300/20). But the best offer in my country is 2000...
by Kendek
Sun Apr 12, 2020 5:25 pm
Forum: Advanced users
Topic: Moving Linux Kernel to 5.4
Replies: 474
Views: 83229

Re: Moving Linux Kernel to 5.4

mby wrote:
Sun Apr 12, 2020 1:40 pm
Probably as stupid question: is 5.4 compiled with netfilter (iptables/nftables) as it does not seem to work here? – Or maybe I'm just doing something stupid...
You can compare the bcm2711_defconfig files; 4.19 <> 5.4. There are some features that are missing in the newer kernel.
by Kendek
Sun Mar 22, 2020 4:32 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 357
Views: 156614

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

Golang `go1.14.1.linux-arm64.tar.gz` doesn't work, come across "no such file or directory: ./go/go/bin/go " when executing the binary. Yeah, although this error message is misleading. 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so....
by Kendek
Sat Mar 21, 2020 10:07 pm
Forum: Advanced users
Topic: Encrypt file on the raspberry pi
Replies: 3
Views: 276

Re: Encrypt file on the raspberry pi

Why the encryption? Just store the salted hash, and compare only the hashes.

Code: Select all

mkpasswd -m sha-512 -S <salt> <password>
This is the best and safest way.
by Kendek
Mon Feb 24, 2020 3:45 pm
Forum: Advanced users
Topic: Problem matching module with installed kernel version
Replies: 6
Views: 663

Re: Problem matching module with installed kernel version

There was no source code modification at all. And if you look at my original post you will see that the vermagic of the compiled wireguard module is pretty much the same as running uname -r on the running version. So i don't understand why i am getting the wireguard: disagrees about version of symb...
by Kendek
Sun Feb 23, 2020 8:58 am
Forum: Advanced users
Topic: Problem matching module with installed kernel version
Replies: 6
Views: 663

Re: Problem matching module with installed kernel version

I don't have the original kernel source. Thats why i pulled the same version from the raspbian kernel repo. If your custom kernel was compiled from 544ec5b without any source code modifications, then this is the original kernel source. You just need to configure and prepare it before compiling the ...
by Kendek
Sat Feb 22, 2020 12:39 pm
Forum: Advanced users
Topic: Problem matching module with installed kernel version
Replies: 6
Views: 663

Re: Problem matching module with installed kernel version

You need to use the original - custom - kernel source with the same - custom - .config file. Apply the Wireguard patch, prepare the kernel and compile the module. This is how I compile the Wireguard module for the Synology routers : wireguard-linux-compat-*/kernel-tree-scripts/jury-rig.sh linux-4.4....
by Kendek
Sun Feb 16, 2020 6:13 pm
Forum: General discussion
Topic: Pi4 OpenVPN/WireGuard server performance is terrible
Replies: 13
Views: 7407

Re: Pi4 OpenVPN/WireGuard server performance is terrible

Thanks. I still get that ~20Mbps cap... So, you have a 1 Gbps internet access, I think it's PPPoE, right? The max MTU is 1492 instead of 1500, so you need to set the correct value on the client. I'm using 1432 because 1492 PPPoE max - 20 IPv4 header - 8 UDP header - 4 type - 4 key index - 8 nonce -...
by Kendek
Sun Feb 16, 2020 4:15 pm
Forum: General discussion
Topic: Pi4 OpenVPN/WireGuard server performance is terrible
Replies: 13
Views: 7407

Re: Pi4 OpenVPN/WireGuard server performance is terrible

CodilX wrote:
Sun Feb 16, 2020 4:07 pm
Is there any way to bump this up or is this just a limitation of Wireguard/Pi4?
There is a limitation, but I don't think that is on the server side. Maybe try to share your mobile internet with a PC, and do some speed test on it.
by Kendek
Sun Feb 16, 2020 3:33 pm
Forum: General discussion
Topic: Pi4 OpenVPN/WireGuard server performance is terrible
Replies: 13
Views: 7407

Re: Pi4 OpenVPN/WireGuard server performance is terrible

CodilX wrote:
Sun Feb 16, 2020 3:05 pm
Are you running stock settings with WireGuard?
Yeah, nothing special. But my OS is a custom 64-bit Ubuntu with kernel 5.5.4. The AES is not HW accelerated, so the WireGuard is recommended, and the Adiantum is for fscrypt or LUKS DM-Crypt.

Go to advanced search