Re: RKI Image for Raspberry PI 2

2016-05-26 Thread Pavel Pisa
hello Alan, thanks much for testing. On Thursday 26 of May 2016 18:04:47 Alan Cudmore wrote: > Hi Pavel, > Here is what I have been able to try so far: > rtems git head: >“old” firmware - what I have been using for tests >Works on RPI A+ >Works on RPI 2 > latest firmware f

Re: RKI Image for Raspberry PI 2

2016-05-26 Thread Alan Cudmore
Hi Pavel, Here is what I have been able to try so far: rtems git head: “old” firmware - what I have been using for tests Works on RPI A+ Works on RPI 2 latest firmware from raspberry pi github Works on RPI A+ Does not work on RPI 2 Your rtems-rpi-devel

Re: RKI Image for Raspberry PI 2

2016-05-26 Thread Pavel Pisa
Hello Alan, thanks for the report. On Thursday 26 of May 2016 04:03:21 Alan Cudmore wrote: > I just tried the firmware in the repository above ( did not realize the > whole git repo was over 3 gigs! ) > > I backed up my RTEMS pi SD card and copied the contents of the firmware > "boot" directory t

Re: RKI Image for Raspberry PI 2

2016-05-25 Thread Alan Cudmore
I just tried the firmware in the repository above ( did not realize the whole git repo was over 3 gigs! ) I backed up my RTEMS pi SD card and copied the contents of the firmware "boot" directory to my card. I replaced kernel.img and kernel7.img with my RKI images for the Pi and Pi2. RTEMS boots o

Re: RKI Image for Raspberry PI 2

2016-05-25 Thread Alan Cudmore
A couple of days ago, I created a new Ubuntu 16.04 virtual machine, built the RSB toolchain ( same version as in your log ) and built the RKI image for sparc/sis, raspberrypi, and raspberrypi2. They all work for me. I used these options to build RTEMS: ../../rtems-git/configure --target=arm-rtems

Re: RKI Image for Raspberry PI 2

2016-05-25 Thread Mudit Jain
As suggested by Alan, I did copy the image, rki.bin to kernel7.img, However rtems doesn't boot in RPi 2 . For the same firmware I tried with the raspbian kernel7.img, That works fine. The attachment contains the commands used for installing RTEMS and logs from RKI image creation for RPI2 log.25.

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Mudit Jain
Hi Pavel, I have pulled your branch and I am able to build the rki.bin using the following commands. mkdir b-rpi2 cd b-rpi2 ../rtems/configure --target=arm-rtems4.12 --prefix=$sandbox/rtems-4.12 --enable-rtems-inlines --disable-multiprocessing --enable-cxx --enable-rdbg --enable-maintainer-mode

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Alan Cudmore
The RKI image and other RTEMS examples work on the RPI2. When I build for the raspberrypi2 BSP, I have to copy the rki.bin ( or other example image ) to kernel7.img on the SD card. No other conversion should be required. I recently tested the RKI image on the RPI2, so it should work. Also, make s

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Pavel Pisa
Hello Mudit, On Tuesday 24 of May 2016 16:17:07 Mudit Jain wrote: > Hi Pavel, > > I have pulled your branch and I am able to build the rki.bin using the > following commands. > > mkdir b-rpi2 > cd b-rpi2 > ../rtems/configure --target=arm-rtems4.12 --prefix=$sandbox/rtems-4.12 > --enable-rtems-in

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Pavel Pisa
Hello Mudit, On Tuesday 24 of May 2016 14:35:46 Mudit Jain wrote: > It would be great if you could prepare a personal fork . And as you > mentioned it would be helpful for further RPI development as well. there is my fork https://github.com/ppisa/rtems My changes are on "rtems-rpi-devel" branch

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Mudit Jain
Hi Pavel, It would be great if you could prepare a personal fork . And as you mentioned it would be helpful for further RPI development as well. Thanks On Tue, May 24, 2016 at 5:53 PM, Pavel Pisa wrote: > Hello Mudit, > > I do not have public RTEMS repo for RPi at this moment. > I run against

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Pavel Pisa
Hello Mudit, I do not have public RTEMS repo for RPi at this moment. I run against mainline and all patches are in the series [PATCH v2 0/7] Raspberry Pi VideoCore support for console on HDMI output But I can prepare my personal fork on GitHub if it helps with testing. For my TMS570 I use my pr

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Mudit Jain
Hi Pavel, I do have a RPI2 and can help in testing your series. Could you provide me with the details of your repo and also the tests that are to be performed so that your series can be ACKed for mainline integration. Thanks On Tue, May 24, 2016 at 5:29 PM, Mudit Jain wrote: > In my scenario

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Mudit Jain
In my scenario the build fails because the networking is disabled. I again have done a clean build again as follows: make clean ../rtems/configure --target=arm-rtems4.12 --enable-rtemsbsp=raspberrypi2 --enable-tests=samples --enable-networking --enable-posix --prefix=/home/mudit/Desktop/sandbox/rt

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Pavel Pisa
Hello Mudit, On Tuesday 24 of May 2016 11:17:44 Mudit Jain wrote: > Hi All, > > For raspberry pi bsp, the RKI image using https://github.com/alanc98/rki is > successfully build by modifying the Makefile as per the instructions given > in the same . > > However when I try the same for raspberry pi

Re: RKI Image for Raspberry PI 2

2016-05-24 Thread Alan Cudmore
Hi, You might need to edit the Makefile for the Raspberry Pi 2. I don't know if passing in the command line variables are enough. The RKI waf build has recently been updated, and I just tested it to make sure it builds. I also have a rki-drivers branch where I am starting to integrate i2c drivers