Go to advanced search

by amrbekhit
Sun Dec 08, 2019 7:04 pm
Forum: Ubuntu
Topic: [Solved] Overclocked RPi4 on Ubuntu server staying at 600MHz on full load
Replies: 9
Views: 20653

Re: [Solved] Overclocked RPi4 on Ubuntu server staying at 600MHz on full load

How did you get vcgencmd installed? You need to add the ppa:ubuntu-raspi2/ppa repo (see https://wiki.ubuntu.com/ARM/RaspberryPi#Optional_PPAs ): sudo add-apt-repository ppa:ubuntu-raspi2/ppa Ignore the 404 Not Found error that you may get - this is due to that fact that the repo doesn't officially ...
by amrbekhit
Mon Nov 11, 2019 10:49 am
Forum: Ubuntu
Topic: [Solved] Overclocked RPi4 on Ubuntu server staying at 600MHz on full load
Replies: 9
Views: 20653

Re: [Solved] Overclocked RPi4 on Ubuntu server staying at 600MHz on full load

Matha wrote:
Sun Nov 10, 2019 3:22 pm
@amrbekhit,

Did you apply "the patch" to use the full 4GB?

Kind regards.
I wasn't aware that a patch was available. At the moment I've applied the usrconfig workaround that limits the RAM to 3GB (not a problem for my application).
by amrbekhit
Sun Nov 10, 2019 1:33 pm
Forum: Ubuntu
Topic: [Solved] Overclocked RPi4 on Ubuntu server staying at 600MHz on full load
Replies: 9
Views: 20653

Re: Overclocked RPi4 on Ubuntu server staying at 600MHz on full load

This turned out to be a power supply problem - although I'm using a 3.6A power supply, I was powering the SDR device (a LimeSDR-USB) from the USB ports. Once I powered the LimeSDR from a separate power supply, the overclocking now works and the CPU frequency maxes out at 2GHz as expected. I guess th...
by amrbekhit
Sun Nov 10, 2019 12:16 pm
Forum: Ubuntu
Topic: [Solved] Overclocked RPi4 on Ubuntu server staying at 600MHz on full load
Replies: 9
Views: 20653

Re: Overclocked RPi4 on Ubuntu server staying at 600MHz on full load

jamesh wrote:
Sun Nov 10, 2019 12:13 pm
What are you doing to load the CPU's?
Running a GNU Radio program I wrote in Python. So lots of DSP calculations and then sending the data over USB to the SDR.
by amrbekhit
Sun Nov 10, 2019 11:03 am
Forum: Ubuntu
Topic: [Solved] Overclocked RPi4 on Ubuntu server staying at 600MHz on full load
Replies: 9
Views: 20653

[Solved] Overclocked RPi4 on Ubuntu server staying at 600MHz on full load

Hello all, I've got a Raspberry Pi 4 4GB model running Ubuntu Server eoan 19.10. I'm trying to overclock the Pi to run at 2GHz, so I've modified the /boot/firmware/usrconfig.txt file to include the following lines: # Place "config.txt" changes (dtparam, dtoverlay, disable_overscan, etc.) i...
by amrbekhit
Tue Aug 01, 2017 9:14 am
Forum: Advanced users
Topic: U-boot getting stuck at Starting Kernel
Replies: 3
Views: 4387

Re: U-boot getting stuck at Starting Kernel

admchm wrote:
Mon Jul 31, 2017 7:05 am
What should I change in fdt_addr_r in order to get U-boot working? Thanks in advance!
Please check my answer in the post above.
by amrbekhit
Mon Jul 03, 2017 12:40 pm
Forum: Advanced users
Topic: Why is my SD card running much slower on my Buildroot system
Replies: 5
Views: 1041

Re: Why is my SD card running much slower on my Buildroot sy

I had already uploaded my kernel config to pastebin and posted the link in my original post.

Ah OK I see what you mean - I'll have a look at comparing the two kernel configs.
by amrbekhit
Mon Jul 03, 2017 6:35 am
Forum: Advanced users
Topic: Why is my SD card running much slower on my Buildroot system
Replies: 5
Views: 1041

Re: Why is my SD card running much slower on my Buildroot sy

Here's my config.txt file:

Code: Select all

kernel=u-boot.bin
dtoverlay=spi-bcm2708
dtparam=spi=on,i2c_arm=on
dtoverlay=pi3-disable-bt
dtoverlay=i2c-rtc,mcp7941x
I've compared it to the default Raspbian lite config. In the default config everything is commented out except for dtparam=audio=on
by amrbekhit
Fri Jun 30, 2017 2:57 pm
Forum: Advanced users
Topic: Why is my SD card running much slower on my Buildroot system
Replies: 5
Views: 1041

Why is my SD card running much slower on my Buildroot system

Hello all, I'm running a Raspberry PI 3 Model B V1.2 with a Buildroot-based rootfs. I'm using kernel 4.9.17-v7 which is pulled from the Raspberry Pi github. The rootfs is flashed on to an 32GB SanDisk Extreme card. The disk is partitioned into four partitions as follows: boot (vfat), rootfs1 (ext4),...
by amrbekhit
Mon May 15, 2017 7:49 am
Forum: Advanced users
Topic: Why does /proc/cpuinfo always show the same serial number? (U-BOOT).
Replies: 9
Views: 6229

Re: Why does /proc/cpuinfo always show the same serial numbe

Hi all, Thanks for your help. It turns out that u-boot is indeed modifying the "serial-number" entry in the device tree. In U-boot, the function set_serial_number in rpi.c is responsible for using the mailbox interface to retrieve the serial number from the VC, but appears to be retrieving...
by amrbekhit
Sat May 13, 2017 6:19 pm
Forum: Advanced users
Topic: Why does /proc/cpuinfo always show the same serial number? (U-BOOT).
Replies: 9
Views: 6229

Re: Why does /proc/cpuinfo always show the same serial numbe

Ah thanks for explaining. Interestingly enough, the current version of u-boot for the raspberry pi has been written to not modify the device tree at all, thus allowing us to benefit from the device tree manipulation that is done by the first stage bootloader. The first stage bootloader writes the de...
by amrbekhit
Fri May 12, 2017 2:18 pm
Forum: Advanced users
Topic: Why does /proc/cpuinfo always show the same serial number? (U-BOOT).
Replies: 9
Views: 6229

Re: Why does /proc/cpuinfo always show the same serial numbe

I had a closer look at the serialnumber_mailbox program. This led me to this page . As I understand it, the serial number is actually retrieved from the VideoCore, is that correct? It appears that the program is sending the Get board serial command and parsing the response. Get board serial Tag: 0x0...
by amrbekhit
Fri May 12, 2017 2:03 pm
Forum: Advanced users
Topic: Why does /proc/cpuinfo always show the same serial number? (U-BOOT).
Replies: 9
Views: 6229

Re: Why does /proc/cpuinfo always show the same serial numbe

/proc is a virtual filesystem created by the Linux kernel, it doesn't exist on your SDCard other than as a mount point. .... So what you're reporting doesn't make any sense. I know! It's confused me as well. I've compiled the github project you suggested and tried it out. On the Raspbian system, al...
by amrbekhit
Fri May 12, 2017 1:10 pm
Forum: Advanced users
Topic: Why does /proc/cpuinfo always show the same serial number? (U-BOOT).
Replies: 9
Views: 6229

Why does /proc/cpuinfo always show the same serial number? (U-BOOT).

I'm using a raspberry pi 3 and working on a Buildroot-based rootfs using kernel 4.9.17-v7 downloaded from the raspberry github. What I've noticed is that when running cat /proc/cpuinfo, Serial is always the same, even if I load the system from a different raspberry pi. In contrast, Raspbian doesn't ...
by amrbekhit
Tue Apr 18, 2017 5:18 am
Forum: Advanced users
Topic: U-boot getting stuck at Starting Kernel
Replies: 3
Views: 4387

Re: U-boot getting stuck at Starting Kernel

Hello, I've managed to solve this. According to every tutorial I found online, the FDT is loaded into the address stored in the U-boot variable fdt_addr_r. However, after using the u-boot md command to examine the memory contents at that address, what I found was that that address actually contains ...
by amrbekhit
Wed Apr 12, 2017 7:34 am
Forum: Advanced users
Topic: U-boot getting stuck at Starting Kernel
Replies: 3
Views: 4387

U-boot getting stuck at Starting Kernel

Hello all, I'm trying to get U-boot working on my Raspberry Pi 3 Model B V1.2. Following the instructions found at http://elinux.org/RPi_U-Boot, I've git clone'd the official U-boot code repository and compiled it using the rpi_3_32b defconfig. The code compiles fine and the u-boot.bin file was copi...
by amrbekhit
Tue Apr 11, 2017 8:50 am
Forum: Advanced users
Topic: Why is my buildroot-based system only showing 128MB RAM?
Replies: 3
Views: 948

Re: Why is my buildroot-based system only showing 128MB RAM?

Your kernel/bootcode is out of date. https://github.com/raspberrypi/firmware/issues/725 After following the link, I discovered the problem in one of the comments - fixup.dat is responsible for partitioning the memory and if it's missing, you get the 128MB problem I've seen here. Once I copied fixup...
by amrbekhit
Tue Apr 11, 2017 6:16 am
Forum: Advanced users
Topic: Why is my buildroot-based system only showing 128MB RAM?
Replies: 3
Views: 948

Why is my buildroot-based system only showing 128MB RAM?

Hello all, I'm using a Raspberry Pi 3 Model B V1.2 and used Buildroot to compile the kernel and root file system. The kernel sources have come from https://github.com/raspberrypi/linux and using version 4.9.17-v7. I'm using a 2GB microSD card, with partition 1 being a 64MB FAT partition (BOOT) and t...
by amrbekhit
Tue May 20, 2014 7:50 am
Forum: Troubleshooting
Topic: Kernel panic - not syncing: Attempting to kill init!
Replies: 5
Views: 3266

Re: Kernel panic - not syncing: Attempting to kill init!

Thanks for your replies. As drgeoff suggested, looking up the issue on google shows that people tend to suffer from resets when they hot plug devices into the USB ports, and this is something that I too have noticed with certain devices (e.g. the wifi dongle from Farnell) but not others (e.g. the ke...
by amrbekhit
Mon May 19, 2014 7:03 pm
Forum: Troubleshooting
Topic: Kernel panic - not syncing: Attempting to kill init!
Replies: 5
Views: 3266

Re: Kernel panic - not syncing: Attempting to kill init!

1. Re-image the SD card. 2. Start again. 3. Write 100 lines: "I must not hot-plug USB devices into my Raspberry Pi's USB sockets." :D Whaaat really? Is there something about the Raspberry Pi that means that hotplugging USB devices can cause issues? I've been using it for a few weeks alrea...
by amrbekhit
Mon May 19, 2014 4:06 pm
Forum: Troubleshooting
Topic: Kernel panic - not syncing: Attempting to kill init!
Replies: 5
Views: 3266

Kernel panic - not syncing: Attempting to kill init!

Hello all, I'm using Arch Linux from the raspberrypi.org Downloads page, written on to a 4GB Transcend card. I was doing some work on the Pi with a USB modem (experimenting with AT commands using screen). I then tried plugging in the module while viewing the system log via journalctl -xf. The system...
by amrbekhit
Thu May 15, 2014 2:04 pm
Forum: Troubleshooting
Topic: 3G dongle stops working...usb_modeswitch guys blame dwc_otg
Replies: 2
Views: 1080

3G dongle stops working...usb_modeswitch guys blame dwc_otg

Hello all, I've got a raspberry pi running the Arch linux distro downloaded off the raspberry pi website and I've been using a K3772-Z USB 3G dongle with it. For some time, the dongle worked perfectly fine - I installed usb_modeswitch and when I plugged the dongle in, usb_modeswitch switched it over...
by amrbekhit
Tue Apr 22, 2014 8:02 am
Forum: Compute Module
Topic: Operating temperature range for compute module?
Replies: 10
Views: 57636

Re: Operating temperature range for compute module?

@James Adams. Thanks for the clarification!
by amrbekhit
Thu Apr 17, 2014 11:17 am
Forum: Compute Module
Topic: Operating temperature range for compute module?
Replies: 10
Views: 57636

Re: Operating temperature range for compute module?

Hi James, Thanks for your response. Yes, I agree with you regarding the case - a board inside an airtight plastic box would benefit from self heating than a board in an air cooled case and thus might have a lower minimum operating temp. So what I ought to ask is the following: can the Foundation mak...
by amrbekhit
Thu Apr 17, 2014 10:59 am
Forum: Compute Module
Topic: Operating temperature range for compute module?
Replies: 10
Views: 57636

Operating temperature range for compute module?

Hello, With the Model A and Model B RPis, the Foundation understandably didn't make any guarantees regarding operating temperature range since integration into commercial/industrial products was not their primary intent. However, with the impending release of the compute module, aimed at "busin...

Go to advanced search