Re: RTEMS graphic testing on RPi

2015-09-19 Thread QIAO YANG
On Aug 24, 2015, at 05:20 AM, Pavel Pisa wrote: Hello Qiao and Joel, I have rerun testing of actual RSB mainline testing on RPi B device. Generally works well. Used instructions included for archival there git clone git://git.rtems.org/rtems-source-builder.git cd

Re: Version 197 of GSoC 2015 Student Table has been modified incorrectly

2015-08-15 Thread QIAO YANG
sorry that I've brought some problems here. My browser had a wired crash and I didn't notice that some are deleted by accident. Should we revert or I just add them back?  On Aug 15, 2015, at 05:46 AM, Jarielle Catbagan jcatbaga...@gmail.com wrote: Hello: I've noticed that Version 197 of

Re: [PATCH 1/1] add t1lib patch

2015-08-12 Thread QIAO YANG
On Aug 12, 2015, at 03:01 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: On 8/12/2015 8:18 AM, QIAO YANG wrote: Hi, So here I patch the configure.in file instead of its output. If this one is good to go, I'll send you the two other patches for microwindows-bset and t1lib-bset

Re: [PATCH 1/1] add t1lib patch

2015-08-12 Thread QIAO YANG
Hi, So here I patch the configure.in file instead of its output. If this one is good to go, I'll send you the two other patches for microwindows-bset and t1lib-bset , with its' correct patch urls. Best wishes On Aug 12, 2015, at 02:16 AM, YANG QIAO yangqiao0...@me.com wrote: From: YANG

Re: [PATCH 1/2] add t1lib patch

2015-08-10 Thread QIAO YANG
ping Pavel.. how do these look? Pavel won't be there until 23/08. Yes there is a source file configue.in, but the problem is that, when we use cross-compile, we can't run a sample program to Check which ANSI integer type is 64 bit. The source code is : AC_CACHE_CHECK( which ANSI

Re: [rpi bsp] configure fb section in mmu table and improvement for mailbox

2015-08-07 Thread QIAO YANG
On Aug 7, 2015, at 10:45 AM, Pavel Pisa p...@cmp.felk.cvut.cz wrote: Hello Qiao Ynag, I am in a hurry now. On Friday 07 of August 2015 00:52:43 QIAO YANG wrote: You have the MMU part right. You know where VC memory starts. You round it down to 1MB range (because that is step size

Re: [rpi bsp] add cmdline options

2015-08-03 Thread QIAO YANG
On Jul 29, 2015, at 07:56 AM, Pavel Pisa p...@cmp.felk.cvut.cz wrote: Hello Qiao Yang, On Tuesday 28 of July 2015 01:35:45 Pavel Pisa wrote: Hello Qiao Yang, On Friday 24 of July 2015 18:04:47 QIAO YANG wrote: Some updates for you. I've found out that my previous problem with cmdline due

Re: [rpi bsp] configure fb section in mmu table and improvement for mailbox

2015-08-03 Thread QIAO YANG
On Jul 29, 2015, at 02:03 PM, Chris Johns chr...@rtems.org wrote: On 29/07/2015 8:04 pm, Sebastian Huber wrote: A custom workspace initialization can be done via bsp_work_area_initialize(). On the zynq the ethernet driver from Ric (SLAC) for the in tree (existing) IP stack there is:

Re: [rpi bsp] configure fb section in mmu table and improvement for mailbox

2015-08-03 Thread QIAO YANG
On Aug 03, 2015, at 08:34 AM, QIAO YANG yangqiao0...@me.com wrote: On Jul 29, 2015, at 02:03 PM, Chris Johns chr...@rtems.org wrote: On 29/07/2015 8:04 pm, Sebastian Huber wrote: A custom workspace initialization can be done via bsp_work_area_initialize(). On the zynq the ethernet

Re: [RSB] port graphic libraries into rsb

2015-07-25 Thread QIAO YANG
Hi Pavel Pisa, I've fixed the leak. Please checkout my github. https://github.com/yangqiao/rtems-source-builder/tree/graphics Best wishes On Jul 21, 2015, at 09:51 PM, Pavel Pisa p...@cmp.felk.cvut.cz wrote: Hello Qiao Yang On Tuesday 21 of July 2015 14:21:07 QIAO YANG wrote: Hi Pavel

[rpi bsp] configure fb section in mmu table and improvement for mailbox

2015-07-25 Thread QIAO YANG
Hi Pavel Pisa, I've added the auto-configuration for fb section in mmu table. I reserve a section at the end of mmu table, make the table non-const to avoid errors, allocate fb before mmu initialization and fill in the table with the right parameters. As far as I've tested, I've found that

[rpi bsp] add cmdline options

2015-07-24 Thread QIAO YANG
Hi, Some updates for you. I've found out that my previous problem with cmdline due to my minicom didn't wrap up the lines I've chosen the interface of vc to retrieve cmdline so that we don't need to parse the atag nor devicetree. Now we can use --video=... to choose resolution and

RPi Graphic testing

2015-07-23 Thread QIAO YANG
On Jul 22, 2015, at 05:50 AM, Pavel Pisa p...@cmp.felk.cvut.cz wrote: Hello Qiao Yang, On Wednesday 22 of July 2015 11:19:35 QIAO YANG wrote: Hi, When I updated to the latest firmware start.elf , the graphic doesn’t show anymore. I haven’t yet found out what has been changed in the latest

Re: [RSB] port graphic libraries into rsb

2015-07-23 Thread QIAO YANG
On Jul 21, 2015, at 09:51 PM, Pavel Pisa p...@cmp.felk.cvut.cz wrote: Hello Qiao Yang On Tuesday 21 of July 2015 14:21:07 QIAO YANG wrote: Hi Pavel Pisa, On Jul 19, 2015, at 10:35 PM, Pavel Pisa p...@cmp.felk.cvut.cz wrote: Hello Chris and Qiao Yang, On Monday 20 of July 2015 01:12:33 Chris

Re: RPi Graphic testing

2015-07-22 Thread QIAO YANG
and I havn't yet any idea why It didn't work. Keep in touch when you do tests. I'm always reachable. Thanks for the instructions of memory table. I'll try that tomorrow. 在 2015年7月21日,00:52,Pavel Pisa p...@cmp.felk.cvut.cz 写道: Hello Qiao Yang, On Monday 20 of July 2015 20:50:32 QIAO YANG

[RSB] port graphic libraries into rsb

2015-07-21 Thread QIAO YANG
Hi Pavel Pisa, On Jul 19, 2015, at 10:35 PM, Pavel Pisa p...@cmp.felk.cvut.cz wrote: Hello Chris and Qiao Yang, On Monday 20 of July 2015 01:12:33 Chris Johns wrote: On 20/07/2015 6:55 am, QIAO YANG wrote: I've ported the graphic libraries into rsb so that we can build them much easier

Re: RPi Graphic testing

2015-07-20 Thread QIAO YANG
is not fixed. I don’t have a better way to deal with it other than set a huge range to cover all possibilities. waiting for your further report On Jul 20, 2015, at 8:38 PM, Pavel Pisa p...@cmp.felk.cvut.cz wrote: Hello Qiao Yang and other, On Monday 20 of July 2015 15:06:23 Pavel Pisa wrote

[PATCH 6/6] RSB: add nxlib bset

2015-07-19 Thread QIAO YANG
--- rtems/config/4.11/graphics/nxlib.bset | 20 ++ rtems/config/graphics/nxlib-0.47-dev-1.cfg | 19 + source-builder/config/nxlib-1.cfg | 62 ++ 3 files changed, 101 insertions(+) create mode 100644 rtems/config/4.11/graphics/nxlib.bset

[PATCH 5/6] RSB: add nanoX bset

2015-07-19 Thread QIAO YANG
--- rtems/config/4.11/graphics/microwindows.bset | 20 +++ rtems/config/graphics/microwindows-0.93-dev-1.cfg | 19 ++ source-builder/config/microwindows-1.cfg | 71 +++ 3 files changed, 110 insertions(+) create mode 100644

[PATCH 1/6] RSB : add libpng bset

2015-07-19 Thread QIAO YANG
rtems/config/4.11/graphics/libpng.bset| 20 ++ rtems/config/graphics/libpng-1.5.22-1.cfg | 22 +++ source-builder/config/libpng-1.cfg| 63 +++ 3 files changed, 105 insertions(+) create mode 100644 rtems/config/4.11/graphics/libpng.bset create

[PATCH 4/6] RSB: add t1lib bset (patch url should be changed after it is merged into rtems git server)

2015-07-19 Thread QIAO YANG
--- rtems/config/4.11/graphics/t1lib.bset | 20 ++ rtems/config/graphics/t1lib-5.1.2-1.cfg | 21 ++ source-builder/config/t1lib-1.cfg | 69 + 3 files changed, 110 insertions(+) create mode 100644 rtems/config/4.11/graphics/t1lib.bset create

arm atag retrieval problem

2015-07-11 Thread QIAO YANG
Hi, I tried to retrieve atag command lines but I've got wired problems: I ran a quick scan for atags, start from 0x100, and I've got an output like : [ATAG_CORE] flags: 0, pagesize: 0, rootdev: 0 [ATAG_MEM] size: 800, start: 0 [ATAG_CMDLINE] found: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656

Re: RPI graphic text console test invitation

2015-07-11 Thread QIAO YANG
I've finally found out that if we don't use u-boot to load the image, and just use the bare metal to load the kernel binary, it works well. Anyway I can't tell the reason . On Jul 07, 2015, at 07:55 PM, QIAO YANG yangqiao0...@me.com wrote: Hi all mentors and rpi bap student developers

RPI graphic text console test invitation

2015-07-08 Thread QIAO YANG
Hi all mentors and rpi bap student developers , First of all, I’ve written a blog to explicite how I to use the mailbox interfaces, and I would like to invite other students to try it out. If anyone need the mailbox related functions that I didn’t implement, you can ask me for them.

[RPI BSP] graphic text console test invitation

2015-07-06 Thread QIAO YANG
Hi all mentors and rpi bap student developers , First of all, I’ve written a blog to explicite how I to use the mailbox interfaces, and I would like to invite other students to try it out. If anyone need the mailbox related functions that I didn’t implement, you can ask me for them.

[RSB Graphics Library] add patch for library source

2015-06-30 Thread QIAO YANG
Hi, I'm now working on moving the graphic libraries from rtems-graphic-tool-kits into rsb, based on the existing work for libjpeg and the rtems-graphic-tool-kits's buid script. The port of libpng, libtiff, freetype2 can be review on my github:

[RPI BSP] zero length array in kernel and refactor of video char output

2015-06-24 Thread QIAO YANG
On Jun 23, 2015, at 07:15 AM, Gedare Bloom ged...@rtems.org wrote: On Tue, Jun 23, 2015 at 7:43 AM, QIAO YANG yangqiao0...@me.com wrote: Hi, As suggested by gedare, I think using zero length array to represent the mailbox buffer and tag data is a good way, much readable, clearer to abstract

[RPI BSP] cleaned up and reqest for review

2015-06-14 Thread QIAO YANG
, at 10:53 PM, QIAO YANG yangqiao0...@me.com wrote: Hi, I've got a few questions over the fbcons implementation details and edid lecture: 1.  I should place the video init function where exactly? In the end of bspstarthooks.c  hook_1() or in the bspstart.c ? 2.  I need to ensure the structure

[RPI BSP] fbcons implementation and EDID lecture

2015-06-08 Thread QIAO YANG
Hi, I've got a few questions over the fbcons implementation details and edid lecture: 1.  I should place the video init function where exactly? In the end of bspstarthooks.c  hook_1() or in the bspstart.c ? 2.  I need to ensure the structure buffer is 16-byte aligned .  I use 

[RPI BSP] fbcon implementation

2015-06-02 Thread QIAO YANG
maybe we can move the font file in a common directory for all bsps. It's not so important, just a suggestion. Also the EDID header may be moved for all bsps as well. On May 04, 2015, at 12:08 PM, QIAO YANG yangqiao0...@me.com wrote: Hello everyone, Since I haven't yet received any respond

Re: Mailbox methods for RPi

2015-06-01 Thread QIAO YANG
It's using the mailbox property channel to communicate with the videocore. I've noted down all available properties and the addresses used in a header file but not yet implemented all of them. I'm working on it this week. If you need this, you may put some marks here and I'll send a patch for

[RPI BSP] resume, plan and questions for fb, fbcon gtk

2015-05-04 Thread QIAO YANG
Hello everyone, Since I haven't yet received any respond of my last mail and I've now got the names of mentors who would instruct me, I create a new thread for a simple resume and post my questions . First of all, I've managed to use mailbox channel to get a framebuffer pointer and its

Re: [PATCH] [RPI BSP] mailbox

2015-04-24 Thread QIAO YANG
out how to build the lib without keyboard). Thanks, Alan On Apr 19, 2015, at 3:17 PM, QIAO YANG yangqiao0...@me.com wrote: Here is a modified patch for mailbox. If there's still anything against the convention, please point it out and I'll correct it immediately. The mailbox

Re: [PATCH] [RPI BSP] mailbox

2015-04-24 Thread QIAO YANG
On Apr 23, 2015, at 10:27 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: On 4/19/2015 2:17 PM, QIAO YANG wrote: Here is a modified patch for mailbox. If there's still anything against the convention, please point it out and I'll correct it immediately. The mailbox implementation might

Re: [PATCH] [RPI BSP] mailbox

2015-04-19 Thread QIAO YANG
:On Mon, Apr 6, 2015 at 5:12 PM, QIAO YANG yangqiao0...@me.com wrote:-diff --git a/c/src/lib/libbsp/arm/raspberrypi/Makefile.amb/c/src/lib/libbsp/arm/raspberrypi/Makefile.amindex c6133df..70bc01d 100644--- a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am+++ b/c/src/lib/libbsp/arm/raspberrypi/Makef

[RPI BSP] Framebuffer interface. No such device

2015-04-12 Thread QIAO YANG
Hello everyone, I've implemented a simple framebuffer driver. It can be loaded correctly and it can draw images . But when I try to open the framebuffer interface '/dev/fb0', I've always got No such device. I thought I've missed something. Anyone has an idea? I've already registered the

Re: [RPI BSP] Framebuffer test

2015-04-07 Thread QIAO YANG
Hi Pavel Pisa, On Apr 07, 2015, at 06:50 AM, Pavel Pisa ppisa4li...@pikron.com wrote: Hello Yang Qiao, On Tuesday 07 of April 2015 00:00:33 QIAO YANG wrote: I've implemented a simple framebuffer, but I've got no idea how to test it. I've got Alan's rki and I made a sample to test

[PATCH] [RPI BSP] mailbox

2015-04-06 Thread QIAO YANG
- diff --git a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am index c6133df..70bc01d 100644 --- a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am +++ b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am @@ -43,6 +43,7 @@ include_bsp_HEADERS +=

[RPI BSP] Framebuffer test

2015-04-06 Thread QIAO YANG
hello, I've implemented a simple framebuffer, but I've got no idea how to test it. I've got Alan's rki and I made a sample to test the mailbox, the framebuffer information seems to be successfully set and get (width, height, pitch, buffer pointer, buffersize etc). In linux we open the

[rtems-graphic-toolkit] version problem with microwin

2015-03-29 Thread QIAO YANG
On Mar 30, 2015, at 06:54 AM, Joel Sherrill joel.sherr...@oarcorp.com wrote: On 3/29/2015 5:38 PM, QIAO YANG wrote: Hi, I've tried to compile the rgt for pc386. But I can't get the right version of microwin , not from the upstream nor from the alex-sever's fork. Unable to checkout

[rsb error report] sb: Provide an unverified SSL context to the URL.

2015-03-29 Thread QIAO YANG
Hello, I've just failed to build the rsb and found an error introduced by the latest commit: commit 3237c8ee69d7398c3d2ccade9879a3dde7785db1 Author: Chris Johns chr...@rtems.org Date: Sun Mar 29 15:35:00 2015 +1100 sb: Provide an unverified SSL context to the URL. The RTEMS servers

[rtems-graphic-toolkit] version problem with microwin

2015-03-29 Thread QIAO YANG
Hi, I've tried to compile the rgt for pc386. But I can't get the right version of microwin , not from the upstream nor from the alex-sever's fork. Unable to checkout '6b5dae5cdbc334ac1c3210bc2c4918668cb42aa4' in submodule path 'microwin' Has anyone succeed to compile it recently ? Or

RPi Support GSoC 2015

2015-03-18 Thread QIAO YANG
I've written a draft for implementing Frambuffer, HDMI console support and port graphic library tool kits for rpi. Since I know little about the status of graphics tool kit at the moment and it would take some time for me to understand , I wonder what could be challenging for this part or

Re: RPi Support GSoC 2015

2015-03-17 Thread QIAO YANG
Hi, I've seen that you've compiled the kernel for SPARC, and run the sample with SPARC simulator. Maybe you should try to build the arm cross-compiler, compile the RPI BSP and run it on a arm simulator ( ex: QEMU) or on a RPI board? Up to now I've seen you, Rohini and I who are willing to

problem when runing rpi sample on gdb simu

2015-03-11 Thread QIAO YANG
Hello , I was wondering if the raspberry pi samples can run on arm-rtems4.11-gdb. I thought I had done the compilations correctly according to Mr Alan's blog, but it just stand still when running the sample in the simulator. I'm not sure if it's my problem or it can only run on a real rpi

GSOC2015 idea Raspberry Pi BSP

2015-03-05 Thread QIAO YANG
Hello , I' a 3rd year chinese student studying software engineering (real-time system and embedded system) in France.  I've found the GSOC2015 idea 'Raspberry Pi BSP  ' very attractive and I would like to know more about it to prepare my proposal. Since the wiki page hasn't a concrete