Go to advanced search

by trejan
Tue Jun 02, 2020 3:30 am
Forum: General discussion
Topic: "Updated bootloader for Raspberry Pi 4" download link is bad.
Replies: 1
Views: 81

Re: "Updated bootloader for Raspberry Pi 4" download link is bad.

That post is from last year. As it says at the top, you should use the rpi-eeprom tool to do updates now.
by trejan
Tue Jun 02, 2020 2:36 am
Forum: General discussion
Topic: 2M RPF Pi4 HDMI cable
Replies: 2
Views: 93

Re: 2M RPF Pi4 HDMI cable

The 2m cable looks to be new. Internet Archive has a copy of the product page taken on 1st March 2020 and it only lists 1m.
by trejan
Tue Jun 02, 2020 12:43 am
Forum: Troubleshooting
Topic: Can't SSH int Zero W
Replies: 6
Views: 102

Re: Can't SSH int Zero W

The files disappearing is normal and it shows that the Pi is actually running.

Do you have spaces in the SSID or password? If it has spaces then you must put double quote marks around it.
by trejan
Tue Jun 02, 2020 12:33 am
Forum: General discussion
Topic: rpikernalhack?
Replies: 2
Views: 95

Re: rpikernalhack?

Ignore it. It is a workaround to fix a problem with updating files on the FAT32 formatted /boot. It doesn't mean hack as in hacking your data. It is using the other meaning of hack to refer to a workaround or kludge.
by trejan
Tue Jun 02, 2020 12:21 am
Forum: General discussion
Topic: TRIM Question
Replies: 4
Views: 156

Re: TRIM Question

It runs once a week at midnight on Monday. If it missed it because the Pi was off then it'll run it next time you startup.
by trejan
Mon Jun 01, 2020 10:39 pm
Forum: General discussion
Topic: USB-MSD boot EEPROM update - 2020-05-28
Replies: 141
Views: 8728

Re: USB-MSD boot EEPROM update - 2020-05-28

Pokemonbulbasaur wrote:
Mon Jun 01, 2020 10:32 pm
also when I ran sudo apt update I think it install eeprom on raspberry pi os and this was on a raspberry pi 3B+
Everything gets the rpi-eeprom packages installed and updated. They do nothing unless you're running it on a Pi 4.
by trejan
Mon Jun 01, 2020 2:16 pm
Forum: Advanced users
Topic: Counting data downloaded and uploaded on RPi4...
Replies: 5
Views: 122

Re: Counting data downloaded and uploaded on RPi4...

I don't think it is 32 bit limitation. I have a router based on OpenWRT. It has "MediaTek MT7621" CPU which is 32Bit. The same files there shows values even over 1TB transferred. It is a 32-bit limitation. bcmgenet only implements ndo_get_stats which is 32-bit on 32-bit systems but 64-bit on 64-bit...
by trejan
Mon Jun 01, 2020 1:29 am
Forum: Beginners
Topic: Empty /boot/config.txt file
Replies: 3
Views: 821

Re: Empty /boot/config.txt file

carib909 wrote:
Sun May 31, 2020 11:39 pm
So how do you rebuild the config.txt file?
Extract it from another Pi micro SD card running the latest OS or download the stock config.txt from https://raw.githubusercontent.com/RPi-D ... config.txt
by trejan
Mon Jun 01, 2020 1:26 am
Forum: Troubleshooting
Topic: Independent Sound HDMI0 and HDMI1
Replies: 27
Views: 10657

Re: Independent Sound HDMI0 and HDMI1

carib909 wrote:
Mon Jun 01, 2020 12:15 am
[email protected]:~ $ snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_compat_alsa=0
bash: snd_bcm2835.enable_headphones=1: command not found
They're not command you type into the shell. You need to edit /boot/cmdline.txt
by trejan
Mon Jun 01, 2020 1:23 am
Forum: Camera board
Topic: HQ Camera specs vs. sensor specifications
Replies: 12
Views: 364

Re: HQ Camera specs vs. sensor specifications

Based on the publicly available information in the product briefs [1][2], the per lane throughput should be nearly double that on the newer sensor. Or in otherwords, it should be able to hit double the framerate for a given resolution. Is the limitation the maximum clock rate on the CSI peripheral ...
by trejan
Sun May 31, 2020 11:23 pm
Forum: General discussion
Topic: Install SlickEdit for RPI 4B
Replies: 6
Views: 186

Re: Install SlickEdit for RPI 4B

GVD wrote:
Sun May 31, 2020 10:37 pm
Am not sure about the X server part, as I am not familiar with this product.
It is telling you to install it whilst using the GUI.
by trejan
Sun May 31, 2020 9:17 pm
Forum: Other programming languages
Topic: BASH script to check for Pi hardware and/or Raspbian
Replies: 13
Views: 8200

Re: BASH script to check for Pi hardware and/or Raspbian

It's looking like I'm going to have to implement quirks for some software on rpi4 to overcome aarch64 binaries failing to run with "No such file or directory" Huh? Never seen that before. egrep -q "BCM(283(5|6|7)|270(8|9)|2711)" /proc/cpuinfo if $? is zero once this has run, then you should be on a...
by trejan
Sun May 31, 2020 8:20 pm
Forum: General discussion
Topic: More amperage on the new RPi4 8GB?
Replies: 8
Views: 489

Re: More amperage on the new RPi4 8GB?

I use a 5V 4A USB-PD wall wart, which is capable of supplying 20W, I guess my question, more succinctly put, would have been, will the new Raspberry Pi with the switched around SMPS draw higher amps than 3A and increase the total 1.2A power limit through the USB-A ports? I guess the answer is no. D...
by trejan
Sun May 31, 2020 6:34 pm
Forum: General discussion
Topic: More amperage on the new RPi4 8GB?
Replies: 8
Views: 489

Re: More amperage on the new RPi4 8GB?

... and the new 8 GB model can actually take advantage of higher current USB type-C power supply. In the past, we were kinda limited to around 3A here, and this will definitely help out with using external drives through USB. We can up that USB current without having to worry about underpowering th...
by trejan
Sun May 31, 2020 6:15 pm
Forum: C/C++
Topic: perror VS strerror
Replies: 2
Views: 84

Re: perror VS strerror

They're not the same. strerror returns a string with the error and you have to log/print it yourself. perror prints the error to stderr. There is a comprehensive man page for both of these.
by trejan
Sun May 31, 2020 1:50 pm
Forum: Beginners
Topic: Docker not starting, missing overlay2 module
Replies: 8
Views: 163

Re: Docker not starting, missing overlay2 module

I've downloaded this, from https://downloads.raspberrypi.org/raspios_full_armhf_latest and copies the /boot from here https://github.com/raspberrypi/firmware You're only supposed to copy the *.elf and *.dat files. Download the kernel*.img files from https://github.com/raspberrypi/firmware/tree/stab...
by trejan
Sun May 31, 2020 1:18 pm
Forum: Beginners
Topic: Docker not starting, missing overlay2 module
Replies: 8
Views: 163

Re: Docker not starting, missing overlay2 module

Why am I on beta ? I downloaded raspios from raspberry site. i do have beta firmware however for usb boot You ran rpi-update at some point. The USB boot beta instructions for "Create a bootable USB drive" mention using rpi-update but they say only copy the .elf and .dat files. Did you copy everythi...
by trejan
Sun May 31, 2020 1:15 pm
Forum: Troubleshooting
Topic: Problem with GNU Octave
Replies: 3
Views: 78

Re: Problem with GNU Octave

/usr/lib/arm-linux-gnueabihf/octave/4.0.3/exec/arm-unknown-linux-gnueabihf/octave-gui: error while loading shared libraries: /usr/lib/arm-linux-gnueabihf/libcholmid.so.3: incalid ELF header Are those typos because you manually typed this in? I'm assuming yes since o -> i and v -> which are next to ...
by trejan
Sun May 31, 2020 12:56 pm
Forum: Beginners
Topic: Docker not starting, missing overlay2 module
Replies: 8
Views: 163

Re: Docker not starting, missing overlay2 module

I just noticed, that the mod is actually empty. Did you download files from github and manually copy them into /boot? If so then you most likely missed the modules that go into /lib/modules. They're specific to the kernel version so the older ones won't load. As you're on the 5.4 beta kernel, you s...
by trejan
Sun May 31, 2020 12:13 pm
Forum: Automation, sensing and robotics
Topic: Worm Gearbox - External Force Failure Torque
Replies: 7
Views: 230

Re: Worm Gearbox - External Force Failure Torque

You need to employ an experienced mechanical engineer. Due diligence of your design shouldn't involve asking for off topic advice for a large potentially dangerous mechanism on a Pi forum.
by trejan
Sun May 31, 2020 1:25 am
Forum: General discussion
Topic: USB-MSD boot EEPROM update - 2020-05-28
Replies: 141
Views: 8728

Re: USB-MSD boot EEPROM update - 2020-05-28

I'd still like to find out where I went wrong with the recovery.bin file, though. :/ Did you extract the 2020-05-28 zip into /lib/firmware/raspberrypi/bootloader/beta? If so then you overwrote recovery.bin as well and that would have made the file hash different. recovery.bin was updated because of...
by trejan
Sun May 31, 2020 1:01 am
Forum: General discussion
Topic: USB-MSD boot EEPROM update - 2020-05-28
Replies: 141
Views: 8728

Re: USB-MSD boot EEPROM update - 2020-05-28

cormack wrote:
Sun May 31, 2020 12:47 am
Looks like I wound up with the wrong recovery.bin in my beta directory now.
Reinstall it by doing "sudo apt --reinstall install rpi-eeprom-images"
by trejan
Sun May 31, 2020 12:44 am
Forum: General discussion
Topic: OTG capable Pi as a USB to HDMI/SDTV/DSI/DPI adapter
Replies: 2
Views: 118

OTG capable Pi as a USB to HDMI/SDTV/DSI/DPI adapter

Neat project. Turn a Pi with USB OTG i.e. Zero, model A or 4 into a USB to HDMI/SDTV/DSI/DPI adapter. Quite a bit of tearing for video and fast movement but hopefully can be reduced. It needs patches and is based on the 5.9 kernel though. Wiki at https://github.com/notro/gud/wiki Demo at https://www...
by trejan
Sat May 30, 2020 11:32 pm
Forum: Advanced users
Topic: RASPI4 I2C clock streching bug ?
Replies: 4
Views: 198

Re: RASPI4 I2C clock streching bug ?

Hmm. Odd. Clock stretching worked when I tried it with a BNO055. Try one of the other new I2C controllers?
by trejan
Sat May 30, 2020 6:33 pm
Forum: Advanced users
Topic: [SOLVED] The certificate of `archive.raspberrypi.org` has expired
Replies: 28
Views: 938

Re: The certificate of `archive.raspberrypi.org` has expired

I've poked about in the source and the issue is that wget is using gnutls which is validating every peer certificate. If you're sending a CA bundle then every single certificate must be valid or it immediately errors out. The quick fix if anybody has this problem on their own server is to delete the...

Go to advanced search