Hi,
Need info
Is there any interest for a ChibiOS port? does it make sense? anybody willing to help with this one or at least has knowledge with the HW?
It doesn't look simple like a normal port, probably ChibiOS would have to be booted from the SD card instead than flashed like usual. It would be interesting but not not so easy. The real question is, is such an high end processor (compared to MCUs) a legitimate target for something like ChibiOS?
Giovanni
[RFC] Raspberry PI
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: [RFC] Raspberry PI
In my opinion - no!Giovanni wrote:The real question is, is such an high end processor (compared to MCUs) a legitimate target for something like ChibiOS?
Giovanni
That Broadcom-made chip has ordinary ARM CPU & peripherals, with all documentation available (now, or in the future,
according to Foundation people) and advanced GPU part, which would have Linux only driver, and lack of any
more fundamental info
Quote from available CPU manual:
All that a.m. GPU info is classified by Broadcom1.1 Overview
BCM2835 contains the following peripherals which may safely be accessed by the ARM:
• Timers
• Interrupt controller
• GPIO
• USB
• PCM / I2S
• DMA controller
• I2C master
• I2C / SPI slave
• SPI0, SPI1, SPI2
• PWM
• UART0, UART1
The purpose of this datasheet is to provide documentation for these peripherals in sufficient
detail to allow a developer to port an operating system to BCM2835.
There are a number of peripherals which are intended to be controlled by the GPU. These are
omitted from this datasheet. Accessing these peripherals from the ARM is not recommended.
So Linux (or its RT incarnations) is the natural habitat for that hardware...
-
- Posts: 417
- Joined: Tue Dec 21, 2010 10:19 am
- Location: Karlsruhe, Germany
- Been thanked: 1 time
- Contact:
Re: [RFC] Raspberry PI
Seconded.
I feel like the Pi is just too complex. If people want to start learning ChibiOS, they better do it on "smaller" devices such as the STM32.
I feel like the Pi is just too complex. If people want to start learning ChibiOS, they better do it on "smaller" devices such as the STM32.
Re: [RFC] Raspberry PI
These points are all true, but it might actually serve a useful purpose in terms of what the Raspberry Pi is actually designed for; education. Running an operating system which a user could work their way through and understand throughout would be pretty cool. Obviously that's no different to what someone could do with one of the many dev boards that chibios supports, but you don't see people queueing to buy those! so maybe from a publicity / novelty point of view it would have use.
-
- Posts: 359
- Joined: Sat Jan 07, 2012 6:22 pm
- Location: Brazil
- Has thanked: 1 time
- Been thanked: 20 times
- Contact:
Re: [RFC] Raspberry PI
I personally would not run ChibiOS no such target. I pretty much like running Linux when the hardware is powerful enough. The most positive thing of a port to the Raspeberry PI IMO would be serving to open the way to future ports to other more powerful HW like ARM9s/11s/CA-8s/etc.
Fabio Utzig
Fabio Utzig
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: [RFC] Raspberry PI
Good points, technically speaking such a SOC is not the best target for ChibiOS but there are other things to consider:
1) I am in touch with a person who offered to donate the required HW and has knowledge to make this port easier. Before accepting anything I have to verify feasibility.
2) The ARM11 should not be that different from the ARM9 which is already supported (I have to verify this point).
3) I think the R-PI firmware does all required initializations, a complex HAL driver (think STM32) would not be required. The initial support could be just PAL and Serial drivers. SPI, SDIO, Ethernet, USB, etc could follow if the project is successful.
4) It could be a platform where experimenting with that idea of a standalone ChibiOS loading its own applications. The SD card would contain the kernel image, the kernel would then bootload the application from the same SD card.
5) The R-PI is extremely popular linking ChibiOS to it could give impulse to the project. There were people asking for ChibiOS on the R-PI forum so some kind of demand seems to exist.
The undocumented GPU thing is bothering me, would this mean we would not have access to a frame buffer?
Giovanni
1) I am in touch with a person who offered to donate the required HW and has knowledge to make this port easier. Before accepting anything I have to verify feasibility.
2) The ARM11 should not be that different from the ARM9 which is already supported (I have to verify this point).
3) I think the R-PI firmware does all required initializations, a complex HAL driver (think STM32) would not be required. The initial support could be just PAL and Serial drivers. SPI, SDIO, Ethernet, USB, etc could follow if the project is successful.
4) It could be a platform where experimenting with that idea of a standalone ChibiOS loading its own applications. The SD card would contain the kernel image, the kernel would then bootload the application from the same SD card.
5) The R-PI is extremely popular linking ChibiOS to it could give impulse to the project. There were people asking for ChibiOS on the R-PI forum so some kind of demand seems to exist.
The undocumented GPU thing is bothering me, would this mean we would not have access to a frame buffer?
Giovanni
-
- Posts: 417
- Joined: Tue Dec 21, 2010 10:19 am
- Location: Karlsruhe, Germany
- Been thanked: 1 time
- Contact:
Re: [RFC] Raspberry PI
I just cannot understand why some companies have so much trouble documenting their hardware openly....
Anyway, I think there is also a RISC OS Port in the works, and it seems they also have trouble:
http://www.riscosopen.org/forum/forums/ ... osts-10565
Probably one has to look at the Linux driver and see how they do it.
Anyway, I think there is also a RISC OS Port in the works, and it seems they also have trouble:
http://www.riscosopen.org/forum/forums/ ... osts-10565
Probably one has to look at the Linux driver and see how they do it.
Re: [RFC] Raspberry PI
mabl wrote:Probably one has to look at the Linux driver and see how they do it.
You would see high level functions internal structure only...
All of low level GPU firmware is in SOC ROM
-
- Posts: 417
- Joined: Tue Dec 21, 2010 10:19 am
- Location: Karlsruhe, Germany
- Been thanked: 1 time
- Contact:
Re: [RFC] Raspberry PI
Jacon wrote:mabl wrote:Probably one has to look at the Linux driver and see how they do it.
You would see high level functions internal structure only...
All of low level GPU firmware is in SOC ROM
True, but we could also load that blob. And I was also looking for USB which is also not freely documented according to the link.
Probably it would be a good idea to ask the RiscOS guys where they have/had troubles.
Return to “Development and Feedback”
Who is online
Users browsing this forum: No registered users and 10 guests