Go to advanced search

by cleverca22
Wed Sep 22, 2021 6:12 am
Forum: Networking and servers
Topic: Site won't load SVG Files
Replies: 2
Views: 72

Re: Site won't load SVG Files

https://ikev.in/icons/wordpress.svg this URL returns a 404

your icons just arent at the path you expect them to be at

you can see it very clearly, if you just hit f12, click the network tab, and then refresh the page
by cleverca22
Wed Sep 22, 2021 6:05 am
Forum: Troubleshooting
Topic: Serial port receiving wrong characters
Replies: 1
Views: 37

Re: Serial port receiving wrong characters

it might be https://github.com/raspberrypi/firmware/issues/1618

does the problem still happen if you add "dtoverlay=disable-bt" to config.txt?

you should also always use /dev/serial0 on the pi end, the above command will change which port is used, but serial0 always points to the right one
by cleverca22
Wed Sep 22, 2021 4:05 am
Forum: Troubleshooting
Topic: raspberry pi4b has KVM acceleration but can not be used in virtual machines
Replies: 3
Views: 56

Re: raspberry pi4b has KVM acceleration but can not be used in virtual machines

look closer
you just said aarch64 and arm, but the error says x86_64

and youve edited the original post to claim it was always aarch64

was that a typo? what is the real error?
by cleverca22
Wed Sep 22, 2021 2:52 am
Forum: Troubleshooting
Topic: raspberry pi4b has KVM acceleration but can not be used in virtual machines
Replies: 3
Views: 56

Re: raspberry pi4b has KVM acceleration but can not be used in virtual machines

kvm can only be used to accelerated a compatible cpu arch
laikee wrote:
Tue Sep 21, 2021 4:58 pm
qemu-system-x86_64: -append root=/dev/vda mem=768M: unsupported machine type
x86_64 is not a compatible ISA, so kvm can never accelerate that on an rpi
by cleverca22
Wed Sep 22, 2021 2:44 am
Forum: General discussion
Topic: No more Rpi laptops?
Replies: 40
Views: 1109

Re: No more Rpi laptops?

Gamers screens with 120Hz+? there are 2 separate frequencies at play 120hz, is the refresh rate of the lcd panel, and depending on the tech, it may have zero flicker, just switching between states for each frame but, separately from that, is the pwm rate for the backlight, which will be a much high...
by cleverca22
Wed Sep 22, 2021 2:23 am
Forum: SDK
Topic: pico like bootloader for pi zero
Replies: 5
Views: 115

Re: pico like bootloader for pi zero

Is there a sort of c/c++ (micropython not interested) boot loader for raspberry pi (w) to use it like it was some kind of pumped raspberry pi pico? the pi0 already has a bootloader in its maskrom, just like the pico does if you turn on a pi0 without any SD card, it will go into rpiboot mode, and yo...
by cleverca22
Tue Sep 21, 2021 9:33 pm
Forum: Gaming
Topic: Seeking interest and support in a game designed for Rpi
Replies: 105
Views: 10366

Re: Seeking interest and support in a game designed for Rpi

that was a spammer copy/pasting my original msg, so he could get by the 1st-post moderation
by cleverca22
Tue Sep 21, 2021 5:32 pm
Forum: Bare metal, Assembly language
Topic: open firmware and booting custom apps fast
Replies: 48
Views: 2028

Re: open firmware and booting custom apps fast

https://github.com/librerpi/lk-overlay/blob/master/platform/bcm28xx/v3d/v3d.c this is the source ive been using lately, for the 3d core but the pi4 changed how some parts of the 3d core work, and i'm currently in the dark on exactly what changed but the pi4 3d core, isnt even supported by the blob!,...
by cleverca22
Tue Sep 21, 2021 6:03 am
Forum: Bare metal, Assembly language
Topic: open firmware and booting custom apps fast
Replies: 48
Views: 2028

Re: open firmware and booting custom apps fast

0.159673 [SDRAM:sdram_init]: (0) SD_CS = 0x794200 0.242702 [SDRAM:sdram_init]: SDRAM Type: Elpida 1GB LPDDR2 (BC=0x58) 0.289496 [SDRAM:selftest]: Self test successful! 126.761881 [PLATFORM:platform_early_init]: 127.042734 [ARM:arm_init]: armid 0x364d5241, C0 0x0 127.172948 [ARM:bridgeStart]: starti...
by cleverca22
Tue Sep 21, 2021 4:43 am
Forum: Bare metal, Assembly language
Topic: open firmware and booting custom apps fast
Replies: 48
Views: 2028

Re: open firmware and booting custom apps fast

download.png
download.png (10.06 KiB) Viewed 117 times
and once i figured out some alpha issues, i now have X11 working fully, complete with a login prompt and xeyes/xterm

xfce is building now...

this is what it looked like without fixing the alpha problems:
download (1).png
download (1).png (8.64 KiB) Viewed 117 times
by cleverca22
Tue Sep 21, 2021 1:22 am
Forum: General discussion
Topic: BCM2937 datasheet ??? RPi 3B+
Replies: 2
Views: 112

Re: BCM2937 datasheet ??? RPi 3B+

https://www.raspberrypi.org/documentati ... sion-codes

Code: Select all

[root@netboot-1:~]# grep Revision /proc/cpuinfo
Revision        : c03112
> (0xc03112 >> 12) & 0xf
3
this says that i'm on a bcm2711
by cleverca22
Mon Sep 20, 2021 3:21 pm
Forum: Bare metal, Assembly language
Topic: open firmware and booting custom apps fast
Replies: 48
Views: 2028

Re: open firmware and booting custom apps fast

ive now added a device-tree api between the main firmware and the arm bootloader that is then used to simplify configuring the linux framebuffer, and also pass along boot time metrics Screenshot_2021-09-20_12-10-01.png my efi laptop is reporting these numbers in "systemd-analyze plot" and ...
by cleverca22
Mon Sep 20, 2021 1:35 pm
Forum: General discussion
Topic: No more Rpi laptops?
Replies: 40
Views: 1109

Re: No more Rpi laptops?

there is the new framework laptop as well

it may be possible to make a CM4 based motherboard for it
by cleverca22
Mon Sep 20, 2021 7:21 am
Forum: Gaming
Topic: Seeking interest and support in a game designed for Rpi
Replies: 105
Views: 10366

Re: Seeking interest and support in a game designed for Rpi

several hundred thousand poly's at the moment i must be missing some feature or trick in the gpu, or the pi4 changed things, because i only see support for 16bit indexes into the vertex data so that means you have a hard limit of ~64k vertices, shared between all polygons anything more would requir...
by cleverca22
Sun Sep 19, 2021 11:18 pm
Forum: Device Tree
Topic: how to bind a clock source to cpufreq
Replies: 2
Views: 117

Re: how to bind a clock source to cpufreq

ah, so i should just need to somehow force cpufreq into loading, and then the clocks= and operating-points= should kick into gear?

but ive already built the kernel with cpufreq built in
by cleverca22
Sun Sep 19, 2021 10:13 am
Forum: Raspberry Pi OS
Topic: syscall pidfd is missing
Replies: 9
Views: 261

Re: syscall pidfd is missing

checking for syscall pidfd_open... no next step then is to read the configure script, how does it try to detect things? [clever@amd-nixos:/tmp/util-linux-2.36.1]$ vi configure.ac 551 UL_CHECK_SYSCALL([pidfd_open]) 552 UL_CHECK_SYSCALL([pidfd_send_signal]) ive not seen that macro before, so i'll jus...
by cleverca22
Sun Sep 19, 2021 9:50 am
Forum: Raspberry Pi OS
Topic: syscall pidfd is missing
Replies: 9
Views: 261

Re: syscall pidfd is missing

[nix-shell:~/apps/rpi/linux-5.14]$ git grep pidfd kernel/pid.c:SYSCALL_DEFINE2(pidfd_open, pid_t, pid, unsigned int, flags) the syscall is defined over in that file [nix-shell:~/apps/rpi/linux-5.14]$ vi kernel/pid.c and skimming thru the source, its not gated behind any CONFIG_ flags, so at least i...
by cleverca22
Sun Sep 19, 2021 8:29 am
Forum: Device Tree
Topic: how to bind a clock source to cpufreq
Replies: 2
Views: 117

how to bind a clock source to cpufreq

i have a clock already registered in linux's clock management system: [root@nixos:~]# cat /sys/kernel/debug/clk/pllb_arm/clk_rate 249999999 [root@nixos:~]# cat /sys/kernel/debug/clk/pllb_arm/regdump cm = 0x00000000 a2w = 0x00000004 [root@nixos:~]# cat /sys/kernel/debug/clk/pllb_arm/clk_min_rate 0 [r...
by cleverca22
Sun Sep 19, 2021 7:46 am
Forum: Troubleshooting
Topic: RPi Zero won't display anything
Replies: 19
Views: 539

Re: RPi Zero won't display anything

https://github.com/raspberrypi/usbboot/ ... ster/win32
i think there is a pre-compiled copy in here, with a full installer

but ive not tried to do this from a windows system
by cleverca22
Sun Sep 19, 2021 2:40 am
Forum: Troubleshooting
Topic: RPi Zero won't display anything
Replies: 19
Views: 539

Re: RPi Zero won't display anything

then the maskrom simply isnt seeing the bootcode.bin file, and is acting like you never put a card into it something must be damaged with the sd card slot, or traces but you can still boot it! https://github.com/raspberrypi/usbboot/ if you compile usbboot, and plug the pi0 into a computer, and then ...
by cleverca22
Sun Sep 19, 2021 2:24 am
Forum: Troubleshooting
Topic: I used a Micro-USB to USB-C Adapter to plug into Pi it works great!
Replies: 4
Views: 173

Re: I used a Micro-USB to USB-C Adapter to plug into Pi it works great!

i often abuse my pi4 as a usb adapter

i just connect the +5v gpio pins and the gnd pins between several pi's, and then power only the pi4!

saves a few bricks, and i'm not running any big fat accessories off them
by cleverca22
Sun Sep 19, 2021 2:20 am
Forum: Troubleshooting
Topic: RPi Zero won't display anything
Replies: 19
Views: 539

Re: RPi Zero won't display anything

then linux isnt booting all of the way

oh, what if you plug it into a pc, with the data port, WHILE the sd card is in there (do what thagrol said earlier, but skip step 2)

does it still show up as a usb device?
by cleverca22
Sat Sep 18, 2021 6:56 pm
Forum: General discussion
Topic: Understanding boot sequence on RPi 4B
Replies: 3
Views: 202

Re: Understanding boot sequence on RPi 4B

by default, ttyAMA0 (the pl011 uart) is routed to the bluetooth chip when you enable_uart=1, that routes ttyS0 (the aux uart) to gpio 14/15 the problem, is that the aux uart baud rate, is based on the VPU freq and to save power when idle, the VPU freq goes down, and that screws up the aux uart baud ...
by cleverca22
Sat Sep 18, 2021 6:30 pm
Forum: General discussion
Topic: OS on SD or SSD: How to know from where I booted?
Replies: 8
Views: 244

Re: OS on SD or SSD: How to know from where I booted?

This should suffice.. but if you did a bad job at cloning the SD->USB, and they have matching UUID's, or you used only the LABEL to mount things then it could boot from sd, but mount usb instead or even boot from usb, and then mount sd instead the only way to detect the true boot device, in the eve...
by cleverca22
Sat Sep 18, 2021 4:54 pm
Forum: General discussion
Topic: Understanding boot sequence on RPi 4B
Replies: 3
Views: 202

Re: Understanding boot sequence on RPi 4B

i believe that is a baud rate issue with ttyS0: https://github.com/raspberrypi/firmware/issues/1618

one temporary work around is to add dtoverlay=disable-bt to config.txt, and copy overlays/disable-bt.dtbo onto the fat32 partition as well

Go to advanced search