Go to advanced search

by fd_
Wed Apr 22, 2020 6:51 pm
Forum: General discussion
Topic: ARMv7 emulation on ARMv6: System Control Processor
Replies: 13
Views: 751

Re: ARMv7 emulation on ARMv6: System Control Processor

... would be willing to help here. Probably I should ask in the bare-metal subforums? ARMv7 is actually composed of multiple different instruction sets: The ARM ...
by Heater
Tue Apr 21, 2020 12:52 am
Forum: Bare metal, Assembly language
Topic: Bare Metal Programming Internet Capabilities RPi4
Replies: 4
Views: 715

Re: Bare Metal Programming Internet Capabilities RPi4

Whatever you can do in bare metal on a Pi 3 you can almost certainly do on a Pi 4. Of course details of peripherals and peripheral registers may have changed.
by Nirbodha
Mon Apr 20, 2020 8:47 pm
Forum: Bare metal, Assembly language
Topic: Bare Metal Programming Internet Capabilities RPi4
Replies: 4
Views: 715

Bare Metal Programming Internet Capabilities RPi4

I've figured out how to run bare metal code in my Raspberry Pi. I know this is a VERY big jump for a beginner, but is there a way to program ...
by bzt
Mon Apr 20, 2020 7:06 pm
Forum: Bare metal, Assembly language
Topic: a basic debugger/assembler for learning bare metal ARM ?
Replies: 10
Views: 1246

Re: a basic debugger/assembler for learning bare metal ARM ?

... to do practice under Linux? I think the simplest way to practice (for bare metal) is with qemu. In one terminal, run your kernel in qemu: qemu-system-aarch64 -S -s -M ...
by rst
Fri Apr 17, 2020 8:28 am
Forum: Bare metal, Assembly language
Topic: Bare metal BCM43438 Driver
Replies: 79
Views: 14176

Re: Bare metal BCM43438 Driver

A quick update on the bare-metal WiFi driver: to join a secure network, you only need a few simple IOCTL calls; the Cypress chip firmware ...
by the_hiacer
Fri Apr 17, 2020 4:33 am
Forum: Bare metal, Assembly language
Topic: a basic debugger/assembler for learning bare metal ARM ?
Replies: 10
Views: 1246

Re: a basic debugger/assembler for learning bare metal ARM ?

... debugger is gbd, and that does all those things. You don't need to be bare metal - you can practice all that stuff under Linux and it's MUCH easier. Could you teach me ...
by rpdom
Thu Apr 16, 2020 12:55 pm
Forum: Beginners
Topic: Power Consumption in Raspberry PI
Replies: 6
Views: 314

Re: Power Consumption in Raspberry PI

... [/pedant mode] It is indeed. I have done it. It was fun. Look in the Bare Metal forum for some of that.
by jayben
Tue Apr 14, 2020 3:47 pm
Forum: Bare metal, Assembly language
Topic: Bare metal BCM43438 Driver
Replies: 79
Views: 14176

Re: Bare metal BCM43438 Driver

A quick update on the bare-metal WiFi driver: to join a secure network, you only need a few simple IOCTL calls; the Cypress chip firmware ...
by fruitoftheloom
Tue Apr 14, 2020 5:40 am
Forum: General discussion
Topic: OctoPi consultation
Replies: 13
Views: 689

Re: OctoPi consultation

... give you a choice of a plethora of programming languages as well as "bare metal" Though it can not run natively Windows 10 Desktop or MacOS Operating System ( there ...
by mavleop
Sun Apr 12, 2020 9:40 pm
Forum: Bare metal, Assembly language
Topic: General Purpose Clocks
Replies: 0
Views: 291

General Purpose Clocks

... it work. I'm writing my code in C, extending Brian Sidebotham's great bare metal tutorials: https://www.valvers.com/open-software/raspberry-pi/step01-bare-metal-programming-in-cpt1/ ...
by DP17000
Sat Apr 11, 2020 7:10 pm
Forum: Bare metal, Assembly language
Topic: Stuck somewhere between supervisor and user mode.
Replies: 1
Views: 316

Stuck somewhere between supervisor and user mode.

... syscalls. I get stuck when I update the CPSR. I use a PI3B and work Bare Metal. I enter the routine that will switch to user mode with the address of the function that ...
by dickon
Fri Apr 10, 2020 5:19 pm
Forum: Advanced users
Topic: Raspberry Pi 4 64-bit in U-Boot Falcon Mode
Replies: 11
Views: 757

Re: Raspberry Pi 4 64-bit in U-Boot Falcon Mode

... open source, so unless you roll your own with the help of some of the bare metal types that have reverse engineered the thing, you're probably stuck. Even if you do manage ...
by manzara
Thu Apr 09, 2020 9:22 pm
Forum: Bare metal, Assembly language
Topic: [SOLVED] Aarch64 - EL2 switch to EL3 - Exception Handler not called
Replies: 13
Views: 1829

Re: [SOLVED] Aarch64 - EL2 switch to EL3 - Exception Handler not called

I am also trying to get my bare metal code to start up in EL3 on the Raspberry Pi 4. Has anyone successfully done this? If so, what settings ...
by bzt
Thu Apr 09, 2020 1:21 pm
Forum: Bare metal, Assembly language
Topic: A bootloader over serial for bare metal rpi development
Replies: 5
Views: 674

Re: A bootloader over serial for bare metal rpi development

Is there a version of such a loader which if theere is no communication on the serial port (timeout), loads a predefined kernel file from the SD card? Well, I have a bit more complex boot loader, BOOTBOOT which can load the initrd over serial line (not the kernel, but the whole initrd). I've implem...
by timg236
Thu Apr 09, 2020 9:46 am
Forum: Bare metal, Assembly language
Topic: TFTP booting failing after watchdog reboot
Replies: 10
Views: 799

Re: TFTP booting failing after watchdog reboot

... on Pi4 but I don't think it's too difficult to generate mbox calls in bare-metal Hi timg236, do you experience the same issue with my test kernel from https://github.com/raspberrypi/firmware/issues/1362 ...
by pmoore
Thu Apr 09, 2020 9:28 am
Forum: Bare metal, Assembly language
Topic: TFTP booting failing after watchdog reboot
Replies: 10
Views: 799

Re: TFTP booting failing after watchdog reboot

... on Pi4 but I don't think it's too difficult to generate mbox calls in bare-metal Hi timg236, do you experience the same issue with my test kernel from https://github.com/raspberrypi/firmware/issues/1362 ...
by macload1
Wed Apr 08, 2020 9:14 am
Forum: Bare metal, Assembly language
Topic: A bootloader over serial for bare metal rpi development
Replies: 5
Views: 674

Re: A bootloader over serial for bare metal rpi development

... Since this week-end I have a setup that gives a bit more insight during bare metal programming. I set up a RPi 0 W to debug my main RPi 0. So, the debugger RPi has OpenOCD ...
by pik33
Wed Apr 08, 2020 6:54 am
Forum: Bare metal, Assembly language
Topic: A bootloader over serial for bare metal rpi development
Replies: 5
Views: 674

Re: A bootloader over serial for bare metal rpi development

Is there a version of such a loader which if theere is no communication on the serial port (timeout), loads a predefined kernel file from the SD card?
by macload1
Tue Apr 07, 2020 10:34 am
Forum: Bare metal, Assembly language
Topic: POSIX port with gcc
Replies: 5
Views: 528

POSIX port with gcc

Dear community, I need your advice for my problem. I have a bare metal system working with the following libraries: FreeRTOS (10.3.0) µGFX (2.4) different low level ...
by itsmechuckb
Sun Apr 05, 2020 11:04 pm
Forum: Java
Topic: Embedded java running on raspberry Pi
Replies: 4
Views: 2035

Re: Embedded java running on raspberry Pi

If you are looking for a way to run Java embedded on a Raspberry Pi "bare metal" - no operating system, check out: https://blog.chuckstechtalk.com/software/2020/04/04/dissecting-raspberry-pi-embedded-java-hello-world.html ...
by dickon
Sun Apr 05, 2020 9:49 pm
Forum: Advanced users
Topic: Raspberry Pi Zero W boot with NFS root filesystem
Replies: 104
Views: 3698

Re: Raspberry Pi Zero W boot with NFS root filesystem

... this, from a bootloader's point of view. It is easier, particularly on bare-metal systems, as you won't need a DTB parser. But the Pi's bootloader is very well-featured, ...
by pmoore
Sun Apr 05, 2020 8:04 pm
Forum: Bare metal, Assembly language
Topic: TFTP booting failing after watchdog reboot
Replies: 10
Views: 799

Re: TFTP booting failing after watchdog reboot

... else going on, just because I've been developing for a few months on bare metal, and until now was always pulling the power on the rpi to reboot it, and don't remember ...
by hippy
Sun Apr 05, 2020 7:08 pm
Forum: Bare metal, Assembly language
Topic: Making the Raspberry PI Model B+ 4 Run Assembly Bare
Replies: 15
Views: 1523

Re: Making the Raspberry PI Model B+ 4 Run Assembly Bare

... taking assembler output generated by the C compiler. Or you can take "bare metal" as being the primary goal and set aside caring that you are developing in C rather than ...
by HawaiianPi
Sat Apr 04, 2020 9:54 pm
Forum: Bare metal, Assembly language
Topic: Making the Raspberry PI Model B+ 4 Run Assembly Bare
Replies: 15
Views: 1523

Re: Making the Raspberry PI Model B+ 4 Run Assembly Bare

Sorry to pick nits, but there is no such thing as a Raspberry Pi Model B+ 4. If you want help with bare metal projects you should provide accurate information (like correct model names).

  • There is a Raspberry Pi model B+
  • There is a Raspberry Pi 3 model B+
  • There is no model B+ 4 (or 4 B+).
by rpier1
Sat Apr 04, 2020 7:18 pm
Forum: Raspberry Pi OS
Topic: GPL: getting source and commercial use
Replies: 32
Views: 1238

Re: GPL: getting source and commercial use

... use it with any operating system you like, or without one, there is a bare metal subforum here. But if someone sells a system including GPL'ed software, than you are ...

Go to advanced search