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 rtems ../source-builder/sb-

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 wrote: Hello: I've noticed that Version 197 of the GSoC 2015 Student T

Re: [PATCH 1/6] add mailbox support for rpi bsp

2015-08-13 Thread QIAO YANG
I rebased on the latest commit on master: commit 61e7c698a44137afbc1447ed328b14a0d9e55016 Author: Andre Marques Date: Mon Jul 27 17:01:44 2015 +0100 Raspberry Pi implementation for the RTEMS GPIO API. I've just cloned it and the patches are all applied. Maybe I misunderstand which com

Re: [PATCH 1/1] add t1lib patch

2015-08-12 Thread QIAO YANG
On Aug 12, 2015, at 03:01 AM, Joel Sherrill 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 , with its' correct

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 wrote: From: YANG Qiao --- tools/4.11

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 int

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 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

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

2015-08-06 Thread QIAO YANG
Hi Pisa Pavel, On Aug 03, 2015, at 11:43 AM, Pavel Pisa wrote: Hello Qiao Yang, On Monday 03 of August 2015 22:06:31 QIAO YANG wrote: On Aug 03, 2015, at 08:34 AM, QIAO YANG wrote: > On Jul 29, 2015, at 02:03 PM, Chris Johns wrote: >> On 29/07/2015 8:04 pm, Sebastian Huber wro

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 wrote: On Jul 29, 2015, at 02:03 PM, Chris Johns 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

Re: [rpi bsp] add cmdline options

2015-08-03 Thread QIAO YANG
On Jul 29, 2015, at 07:56 AM, Pavel Pisa 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 to my min

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 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: uint8_t* start; size_t

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 wrote: Hello Qiao Yang On Tuesday 21 of July 2015 14:21:07 QIAO YANG wrote: Hi Pavel Pisa, On Jul 19,

[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 the

[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 --conso

RPi Graphic testing

2015-07-23 Thread QIAO YANG
On Jul 22, 2015, at 05:50 AM, Pavel Pisa 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 firmware. I’ve uploaded

Re: [RSB] port graphic libraries into rsb

2015-07-23 Thread QIAO YANG
On Jul 21, 2015, at 09:51 PM, Pavel Pisa 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 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

Re: RPi Graphic testing

2015-07-22 Thread QIAO YANG
rrors from the log 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 写道: >> >> Hello

[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 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. All B

Re: RPi Graphic testing

2015-07-20 Thread QIAO YANG
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 wrote: > > Hello Qiao Yang and other, > > On Monday 20 of July 2015 15:06:23 Pavel Pisa wrote

[RSB] port graphic libraries into rsb

2015-07-19 Thread QIAO YANG
Hi, I've ported the graphic libraries into rsb so that we can build them much easier. All Build passed, tested on arm with raspberrypi and i386 with pc386. the libraries can be built with the command like: ../source-builder/sb-set-builder \ --log=graphic-build-log.txt \ --prefix=$HOME/d

[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 create

[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 rtems/config/4.11/graphics/microwind

[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 mode

[PATCH 3/6] RSB: add freetype2 bset

2015-07-19 Thread QIAO YANG
--- rtems/config/4.11/graphics/freetype2.bset | 20 ++ rtems/config/graphics/freetype-2.4.10-1.cfg | 21 ++ source-builder/config/freetype-1.cfg| 62 + 3 files changed, 103 insertions(+) create mode 100644 rtems/config/4.11/graphics/freetype2.bset

[PATCH 2/6] RSB: add tiff-4.0.2 bset

2015-07-19 Thread QIAO YANG
 --- rtems/config/4.11/graphics/libtiff.bset | 20 ++ rtems/config/graphics/libtiff-4.0.2-1.cfg | 21 +++ source-builder/config/libtiff-1.cfg | 62 +++ 3 files changed, 103 insertions(+) create mode 100644 rtems/config/4.11/graphics/libtiff.bset cr

[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 m

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 wrote: Hi all mentors and rpi bap student developers , Fir

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

RPI graphic text console test invitation

2015-07-07 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. https://y

[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. https://ya

Re: Testing of the Raspberry Pi graphic support

2015-07-01 Thread QIAO YANG
If you don’t have that much time to debug, you may try this bcm2835 qemu https://github.com/Torlus/qemu/tree/rpi <https://github.com/Torlus/qemu/tree/rpi> you can use it to run the kernel elf directly. > On Jul 1, 2015, at 11:53 PM, QIAO YANG wrote: > > On Jun 30, 2015, at

Re: Testing of the Raspberry Pi graphic support

2015-07-01 Thread QIAO YANG
On Jun 30, 2015, at 12:41 PM, Pavel Pisa wrote: Hello Qiao Yang, I have prepared testing on RPi B+ hardware last days I have got to test your RTEMS branch https://github.com/yangqiao/rtems I have tried e89884b add memory table entry for frame buffer (try to cover all possibility, may be

[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: https://github.com/yangqiao/rtems-source-builder/c

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

2015-06-23 Thread QIAO YANG
On Jun 23, 2015, at 07:15 AM, Gedare Bloom wrote: On Tue, Jun 23, 2015 at 7:43 AM, QIAO YANG 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 the structure of mailbox buffer, tag

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

2015-06-23 Thread QIAO YANG
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 the structure of mailbox buffer, tag. I've done an attemp, here is the scratch: https://github.com/yangqiao/rtems/commit/3ed7e9bde493bdc8e64

[RPI BSP] cleaned up and reqest for review

2015-06-14 Thread QIAO YANG
x27;ll leave the commits for you to review. On Jun 07, 2015, at 10:53 PM, QIAO YANG 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 b

[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  __attribute__((

[RPI BSP] fbcon implementation

2015-06-02 Thread QIAO YANG
7;ve taken the hard cored 8*16 font from UBOOT code. I think 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 wrote: Hello everyo

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 t

[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 inform

Re: [PATCH] [RPI BSP] mailbox

2015-04-24 Thread QIAO YANG
On Apr 23, 2015, at 10:27 AM, Joel Sherrill 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 also be neede

Re: [PATCH] [RPI BSP] mailbox

2015-04-24 Thread QIAO YANG
ouse support can be switch off, but I can't find out how to build the lib without keyboard). Thanks, Alan On Apr 19, 2015, at 3: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 corr

Re: [PATCH] [RPI BSP] mailbox

2015-04-19 Thread QIAO YANG
om wrote:Are you working to make the corrections I mentioned?On Tue, Apr 7, 2015 at 10:05 AM, Gedare Bloom <ged...@rtems.org> wrote: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/li

[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 devi

Re: [RPI BSP] Framebuffer test

2015-04-07 Thread QIAO YANG
Hi Pavel Pisa, On Apr 07, 2015, at 06:50 AM, Pavel Pisa 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 the mail

[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 interfac

[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 += ../shared/in

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

2015-03-30 Thread QIAO YANG
It works now. On Mar 30, 2015, at 11:33 AM, Chris Johns wrote: On 30/03/2015 11:24 am, QIAO YANG wrote: On Mar 30, 2015, at 08:01 AM, Chris Johns wrote: On 30/03/2015 9:13 am, QIAO YANG wrote: Hello, I've just failed to build the rsb and found an error introduced by the latest c

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

2015-03-29 Thread QIAO YANG
On Mar 30, 2015, at 08:01 AM, Chris Johns wrote: On 30/03/2015 9:13 am, QIAO YANG wrote: Hello, I've just failed to build the rsb and found an error introduced by the latest commit: commit 3237c8ee69d7398c3d2ccade9879a3dde7785db1 Author: Chris Johns Date: Sun Mar 29 15:35:00 2015

[rtems-graphic-toolkit] version problem with microwin

2015-03-29 Thread QIAO YANG
On Mar 30, 2015, at 06:54 AM, Joel Sherrill 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. >&g

[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 ? O

[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 Date: Sun Mar 29 15:35:00 2015 +1100 sb: Provide an unverified SSL context to the URL. The RTEMS servers are causing an e

[rpi bsp] merging status of mailbox and the status of rtems graphics kits

2015-03-20 Thread QIAO YANG
Hi, Since Andre is wiling to continue his work on buses and SD card support, and I'm preparing for the framebuffer implementation, I would like to know the status of Andre's mailbox implementation. If it cannot be merged yet, what is the problem? I may take this if the mailbox is not in Andre

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 coul

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 cont

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 boar

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 introduct