A20-OLinuXino-MICRO-4GB
Aditya Kousik
adit267.kousik at ...9...
Wed Dec 18 06:24:03 CET 2013
Hi Martin,
Thanks for the insightful reply. That's a terrific place to start with your
guidelines.
Adding to the queries, I have a few of my own.
1) On what basis have you used the IRQs in plaform_support.cc?
2) And you're using board.h in src/core. Which inherits the data members
from board_base.h : Which one? Every board_base.h is inside its own
platform under base/include.
3) Once I create the aforementioned files, can I run make in the build
folder immediately and use the image.elf from var/run? If so, how do I boot
this from device? (I read a thread answered by Stefan and Norman that
converts this elf to binary to uImage - for uboot)
4) What is an MLO and how is it used in Genode?
I hope these questions will help others who want to run Genode on bare
metal.
Thanks and regards,
Aditya
On Tue, Dec 17, 2013 at 7:36 PM, Martin Stein
<martin.stein at ...1...>wrote:
> Hi Nick,
>
> Nice to hear that you're intending to port base-hw to A20-OLinuXino :-)
> Currently there are 3 Cortex-A9 boards officially supported by base-hw:
> VEA9X4, PBXA9, and the Pandaboard. You can refer to any of these boards.
> Looking e.g. at PBXA9, you can see that basically the following files must
> be implemented for your board:
>
> base/mk/spec-platform_<BOARD>.mk
> base/include/platform/<BOARD>/drivers/board_base.h
>
> base-hw/mk/spec-hw_<BOARD>.mk
> base-hw/src/core/<BOARD>/tlb.h
> base-hw/src/core/<BOARD>/target.mk
> base-hw/src/core/<BOARD>/timer.h
> base-hw/src/core/<BOARD>/pic.h
> base-hw/src/core/<BOARD>/platform_support.cc
> base-hw/src/core/<BOARD>/cpu.h
>
> To add support for your board in the builddir tool you should add
>
> hw_<BOARD>::
> @echo "SPECS = genode hw_<BOARD>" > $(BUILD_DIR)/etc/specs.conf
>
> to tool/create_builddir and copy tool/builddir/etc/build.conf.hw_pbxa9 to
> tool/builddir/etc/build.conf.hw_<BOARD>.
>
> Cortex-A9 brings its own core timer and interrupt controller, so the only
> thing left is a UART driver. Either one of the drivers in
> base/include/drivers/uart/ fit or you should implement your own at this
> place. To install the driver afterwards you should create
> base-hw/include/<UARTNAME>/drivers/serial_log.h (for instance PBXA9 uses
> base-hw/include/pl011/drivers/serial_log.h) and add UARTNAME to SPECS in
> your base/mk/spec-platform_<BOARD>.mk. After that Genode::printf should
> print to the UART.
>
> Assuming that the Cortex-A9 / ARMv7 revision of your board and the board
> you used as reference do not differ, you should be able to run a first
> scenario after this. If you have further questions do not hesitate to ask
> ;-)
>
> Greetings,
> Martin
>
>
> On 17.12.2013 14:19, buzz heavyyear wrote:
>
> Hi
>
> I have just received a new board with a dual core cortex a7, the
> A20-OLinuXino, which I'd like to set up and add to the genode tree -
> currently more pressing than the RPi!
>
> I'm no Arm expert, but I'm assuming that I can take most of the existing
> arm_v7 and a9 code in base-hw and just use this for setting up an
> a20olinuxino environment and building an image?
>
>
> https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-MICRO-4GB/open-source-hardware
>
> Cheers
> Nick
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Genode-main mailing listGenode-main at ...220...://lists.sourceforge.net/lists/listinfo/genode-main
>
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Genode-main mailing list
> Genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20131218/3d0cadab/attachment.html>
More information about the users
mailing list