Go to advanced search

by DavidS
Mon Jun 04, 2012 4:10 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

... be nice to get together more complete information on programming the bare metal. For example where does one find complete documentation of the available calls to the ...
by tufty
Mon Jun 04, 2012 7:35 am
Forum: Off topic discussion
Topic: Open/Closed or Somewhere-in-between source?
Replies: 81
Views: 9985

Re: Open/Closed or Somewhere-in-between source?

... the way they are. So, DexOS says We want people to want the real time bare metal OS, that boots in a second, that lets you have full hardware access and can be programmed ...
by DexOS
Sun Jun 03, 2012 8:47 pm
Forum: General programming discussion
Topic: Why not program on x86 desktop?
Replies: 60
Views: 14517

Re: Why not program on x86 desktop?

... HTML with PHP thrown in but as far as I can say there's no need for the bare metal you're talking about. Unless, of course someone wants to learn ARM assembler. But that ...
by rkr
Sun Jun 03, 2012 8:27 pm
Forum: General programming discussion
Topic: Why not program on x86 desktop?
Replies: 60
Views: 14517

Re: Why not program on x86 desktop?

... HTML with PHP thrown in but as far as I can say there's no need for the bare metal you're talking about. Unless, of course someone wants to learn ARM assembler. But that ...
by DexOS
Sun Jun 03, 2012 7:59 pm
Forum: General programming discussion
Topic: Why not program on x86 desktop?
Replies: 60
Views: 14517

Re: Why not program on x86 desktop?

... way to really learn and understand programming, is to have access to bare metal ( like a lot of coders learn't on bcc micro, dos). Now this would be a problem on todays ...
by DexOS
Sun Jun 03, 2012 7:22 pm
Forum: Other projects
Topic: Game Console OS
Replies: 38
Views: 8322

Re: Game Console OS

... the details, i will post a tut. We want people to want the real time bare metal OS, that boots in a second, that lets you have full hardware access and can be programmed ...
by pygmy_giant
Sun Jun 03, 2012 1:46 pm
Forum: C/C++
Topic: Who knows where the time goes?
Replies: 25
Views: 9453

Re: Who knows where the time goes?

... I'm intending to test the harware via linux and adapt / upgrade to bare metal as necessary. I'll be sure to let you know when it falls over so you can all laugh.
by jamesh
Sat Jun 02, 2012 3:20 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

You're right about the lack of proper documentation. :( There are lots of snippets of information floating about, but we could really do with a proper hardcore development wiki where it could all be gathered into one place. After all, the book that changed my life as a kid was The Advanced User Gui...
by radford64
Sat Jun 02, 2012 2:56 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

You're right about the lack of proper documentation. :( There are lots of snippets of information floating about, but we could really do with a proper hardcore development wiki where it could all be gathered into one place. After all, the book that changed my life as a kid was The Advanced User Guid...
by Valandir
Fri Jun 01, 2012 11:51 am
Forum: General programming discussion
Topic: Playing with the Bare Metal
Replies: 9
Views: 4011

Re: Playing with the Bare Metal

Thanks for the information... proves I don't quite have the control I hoped I did... Time is short with exams, so now they are done I will have a bit more of a play. Following your post on getting the gpu working on the bare metal with great interest!
by tufty
Fri Jun 01, 2012 7:06 am
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 49330

Re: Programming the ARM chip

... pins to their alternate functions you can use jtag to halt and load (bare metal, or other )programs and run them on the ARM. Makes life so much easier... http://github.com/dwelch67/raspberrypi/ ...
by dwelch67
Fri Jun 01, 2012 4:57 am
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 49330

Re: Programming the ARM chip

... pins to their alternate functions you can use jtag to halt and load (bare metal, or other )programs and run them on the ARM. Makes life so much easier... http://github.com/dwelch67/raspberrypi/ ...
by DexOS
Thu May 31, 2012 10:00 pm
Forum: General programming discussion
Topic: Playing with the Bare Metal
Replies: 9
Views: 4011

Re: Playing with the Bare Metal

... (read broken VMs) I have a nice cross compiling toolchain to run on the bare metal. Also managed to bodge together a linker script which puts the arm interrupt vector table ...
by DexOS
Thu May 31, 2012 5:45 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

tufty wrote: Nice to see you managed to get something up and running (and with graphics, too). That's cool.

Simon
Thanks tufty, very nice of you to say that.
by tufty
Thu May 31, 2012 4:35 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

In any case, the vector table uses 32 *bytes*, not 32 kilobytes. "Leaving room" isn't necessary. I found the answer to starting at 0x8000 ?, and I was right you was wrong. Yeah, yeah. Nyer Nyer Nyer. etc. I know all about atags, by the way, and the disable_commandline_tags thing isn't exactly hidde...
by DexOS
Thu May 31, 2012 3:00 pm
Forum: Other programming languages
Topic: Bare Metal Assembly
Replies: 30
Views: 19196

Re: Bare Metal Assembly

In any case, the vector table uses 32 *bytes*, not 32 kilobytes. "Leaving room" isn't necessary. I found the answer to starting at 0x8000 ?, and I was right you was wrong. Heres why: Because of "ATAGS" what are they ?, see here: Its the list of parameters passed from the bootloader to the kernel. T...
by dwelch67
Wed May 30, 2012 9:00 pm
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 49330

Re: Programming the ARM chip

... the instructions being executed... What I meant to say is, this was bare metal, something along the lines of test: subs r0,r0,#1 bne test and change the number of subs ...
by ghans
Tue May 29, 2012 2:23 pm
Forum: General discussion
Topic: Pi Emulator?
Replies: 17
Views: 7001

Re: Pi Emulator?

... the ARM Core of the Pi almost exactly . If you are interestested in bare -metal programming , you'd just have to specify your own kernel.img at the Qemu command line. ...
by OMCS
Tue May 29, 2012 1:15 pm
Forum: Troubleshooting
Topic: OSX Cross Compile
Replies: 3
Views: 1914

Re: OSX Cross Compile

... mistaken but I think 'arm-none-eabi' might be designed to compile for bare-metal systems without an OS which is what was causing the linking issues. Anyway, you've probably ...
by AndrewS
Mon May 28, 2012 11:20 am
Forum: General discussion
Topic: Pi Emulator?
Replies: 17
Views: 7001

Re: Pi Emulator?

OK, but does QEMU completely mimic the Pi so if I want to try out a bare metal OS and don't have a Pi yet, I could use the emulator to test. Ah, I see. I don't believe ...
by __----__----__
Mon May 28, 2012 10:57 am
Forum: General discussion
Topic: Pi Emulator?
Replies: 17
Views: 7001

Re: Pi Emulator?

... ;) OK, but does QEMU completely mimic the Pi so if I want to try out a bare metal OS and don't have a Pi yet, I could use the emulator to test. It's important to note ...
by DexOS
Sun May 27, 2012 5:04 pm
Forum: General discussion
Topic: Raspberry Pi boot process
Replies: 12
Views: 134380

Re: Raspberry Pi boot process

... modified memory. See http://github.com/dwelch67/raspberrypi for some bare metal ARM programs. I like you am unsure if the 0x8000 is needed, but i have read about problem ...
by dwelch67
Sun May 27, 2012 2:55 pm
Forum: General discussion
Topic: Raspberry Pi boot process
Replies: 12
Views: 134380

Re: Raspberry Pi boot process

... modified memory. See http://github.com/dwelch67/raspberrypi for some bare metal ARM programs.
by dwelch67
Sun May 27, 2012 3:34 am
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 49330

Re: Programming the ARM chip

Does anyone have bare metal code that initializes the gpio/uart and transmits characters? This is driving me nuts...I can get the ...
by dwelch67
Sat May 26, 2012 10:34 pm
Forum: Other programming languages
Topic: Programming the ARM chip
Replies: 134
Views: 49330

Re: Programming the ARM chip

Yes, all bare metal.

Using physical addressing, replace 0x7Exxxxxx with 0x20xxxxxx, can blink leds and talk to timers and such, moving toward bringing up one of the uarts. Prefer the mini uart to the full uart, but am having problems with the mini.

Go to advanced search