Go to advanced search

by buja
Sat Apr 04, 2020 6:50 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 ...
by hmj
Sat Apr 04, 2020 8:38 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

Wow, thank you @bzt. I will go to these links to have a look!
by bzt
Fri Apr 03, 2020 3:44 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

Nice! However there are lots of such programs. Here is my topic about one. The original was raspbootin (AArch32 only) I believe. My chainloader is here (for all models, AArch32 and AArch64 too, for fun also for PC BIOS machines), and my tutorial on booting over serial is here . Then there are dwelch...
by thagrol
Fri Apr 03, 2020 1:49 pm
Forum: General discussion
Topic: Can a Raspberry Pi be a HAT for itself?
Replies: 26
Views: 976

Re: Can a Raspberry Pi be a HAT for itself?

... talking about developing your own OS? If so better have a read of the bare metal forum. And check back in about ten years when you're done. Something is telling me, "That's ...
by hmj
Fri Apr 03, 2020 1:33 pm
Forum: Bare metal, Assembly language
Topic: A bootloader over serial for bare metal rpi development
Replies: 5
Views: 674

A bootloader over serial for bare metal rpi development

I wrote this small program for my own use for a while and find that it is very convenient.
And I found no program with similar functions. So, maybe it is useful for bare metal rpi players.

https://github.com/hongmingjian/bosrpi

:) :) :)
by bzt
Fri Apr 03, 2020 9:39 am
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

... samples on an RPi4 is to change the MMIO_BASE, that's all. The 01_bareminimum provides you an Assembly-only skeleton good for RPi4 too as-is, ... 03_uart1 is a Hello World example, should be perfect to test your bare metal compilation and execution process (but change MMIO_BASE). My repo's ...
by mwrich4
Fri Apr 03, 2020 5:30 am
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

FWIW, running bare metal projects is not a friendly place.

If you don't own at least an oscilloscope, you may want to work up from simple bare metal projects on an Arduino, get familiar with the level of details and build a set of skills and tools to help you become proficient on the RasPi.
by bzt
Thu Apr 02, 2020 10:48 am
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

... Raspbian onto it? I'm not entirely sure what do you want to run on bare metal. Is it really the Assembler (unlikely)? Or is it the assembled code? To run an Assembler, ...
by timg236
Wed Apr 01, 2020 9:32 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
by mwrich4
Tue Mar 31, 2020 4:11 am
Forum: Python
Topic: Incremental encoder
Replies: 5
Views: 380

Re: Incremental encoder

... You'll probably need a queue for the events since Raspian is not a bare metal RTOS with nothing else to do. Of course it sorta depends on rotation speed. Testing with ...
by SietseAchterop
Sat Mar 28, 2020 3:54 pm
Forum: Bare metal, Assembly language
Topic: Using the system timer interrupt at 1MHz
Replies: 14
Views: 1809

Re: Using the system timer interrupt at 1MHz

... am trying to use Linux because it has a working wifi/bt stack, while in bare-metal it still is not working as far as I can see. Thanks again! Sietse
by madman123456
Sat Mar 28, 2020 6:27 am
Forum: Advanced users
Topic: i2c_transfer() not found.
Replies: 4
Views: 311

Re: i2c_transfer() not found.

Ok Thank you I will look this up. I am also working on rolling it myself over in the bare-metal forum as i have researched this drivers I2C_FUNC and it doesnt seem to allow anything not SMbus.. (NO basic I2C)
by SietseAchterop
Thu Mar 26, 2020 3:15 pm
Forum: Bare metal, Assembly language
Topic: Using the system timer interrupt at 1MHz
Replies: 14
Views: 1809

Re: Using the system timer interrupt at 1MHz

... Wifi/bluetooth, and I would need that. If that was available under bare-metal, I would have chosen that route in the first place. But for the moment I stubbornly attempt ...
by DP17000
Mon Mar 23, 2020 1:58 pm
Forum: Bare metal, Assembly language
Topic: Polling System Timer
Replies: 11
Views: 763

Polling System Timer

... using the System Timer access (blinker 07). I use a PI3B and work Bare Metal. I changed the register addresses, and during the boot I do the usual to load the interrupt ...
by riceman0
Mon Mar 23, 2020 12:56 am
Forum: General discussion
Topic: Noob question: interrupts?
Replies: 0
Views: 54

Noob question: interrupts?

... SPI to another board... and I have a dumb question (I'm coming from bare metal embedded). Can I talk to the Raspberry pi registers, and handle interrupts? Normally ...
by rst
Sat Mar 21, 2020 1:24 pm
Forum: Bare metal, Assembly language
Topic: Bare metal BCM43438 Driver
Replies: 79
Views: 14176

Re: Bare metal BCM43438 Driver

zeoneo wrote:
Sat Mar 21, 2020 12:46 pm
Yes, he is very experienced in this.

@9Pi thanks again :)

Yes, we have to thank him very much!
by zeoneo
Sat Mar 21, 2020 12:46 pm
Forum: Bare metal, Assembly language
Topic: Bare metal BCM43438 Driver
Replies: 79
Views: 14176

Re: Bare metal BCM43438 Driver

... and is much easier to understand and to use than the Linux driver in bare metal. Currently I'm porting the WPA Supplicant software to Circle. It's already working, WPA2 ...
by rst
Sat Mar 21, 2020 12:42 pm
Forum: Bare metal, Assembly language
Topic: Bare metal BCM43438 Driver
Replies: 79
Views: 14176

Re: Bare metal BCM43438 Driver

... and is much easier to understand and to use than the Linux driver in bare metal. Currently I'm porting the WPA Supplicant software to Circle. It's already working, WPA2 ...
by zeoneo
Sat Mar 21, 2020 11:22 am
Forum: Bare metal, Assembly language
Topic: Bare metal BCM43438 Driver
Replies: 79
Views: 14176

Re: Bare metal BCM43438 Driver

Thanks Rsta. I was still facing the issue with my bootloader and uploading kernel binary. @LdB I am able to read the chip id using this https://github.com/zeoneo/rpi-3b-wifi/blob/master/src/emmc-sdio.c https://github.com/zeoneo/rpi-3b-wifi/blob/master/src/wifi-io.c #################### Inside Bootlo...
by W. H. Heydt
Fri Mar 20, 2020 3:19 am
Forum: Beginners
Topic: Is Raspberry Pi 4 right for me?
Replies: 5
Views: 274

Re: Is Raspberry Pi 4 right for me?

... If you don't want to use a full OS (such as Raspbian), check out the 'Bare Metal" forum. I'm just hoping someone here has done IoT development and can let me know if ...
by styro
Thu Mar 19, 2020 1:24 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 277
Views: 88308

Re: Circle - C++ bare metal environment (with USB)

Many thanks for the clarification and keep up the excellent work!
all the best
styro
by rst
Wed Mar 18, 2020 8:25 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 277
Views: 88308

Re: Circle - C++ bare metal environment (with USB)

i am confused with a memory-problem, somehow delete / free doesn't give back the with new / malloc allocated memory.... probably i am doing something wrong :-/ Hi styro, the value returned by m_Memory.GetHeapFreeSpace() is the free space, which has not been used for memory allocation at all before....
by styro
Wed Mar 18, 2020 7:49 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 277
Views: 88308

Re: Circle - C++ bare metal environment (with USB)

Hallo, i am confused with a memory-problem, somehow delete / free doesn't give back the with new / malloc allocated memory.... probably i am doing something wrong :-/ struct EventBox{ lv_obj_t * EventContainer; lv_obj_t * HoriLine; lv_point_t HoriLine_points[2]; lv_style_t HoriLine_style; lv_obj_t *...

Go to advanced search