Re: [PATCH] bsp/beagle: Partial re-write of I2C driver.

2019-06-24 Thread Vijay Kumar Banerjee
On Tue, Jun 25, 2019 at 1:47 AM wrote: > From: Christian Mauderer > > The old driver worked well for EEPROMS with the RTEMS EEPROM driver. But > it had problems with a lot of other situations. Although it's not a > direct port, the new driver is heavily modeled after the FreeBSD ti_i2c > driver.

Re: [PATCH] Write event stream in file

2019-06-24 Thread Chris Johns
On 25/6/19 2:50 pm, Ravindra Meena wrote: > misc/record/record-main.c | 38 +++--- I feel a top level directory for `trace` in rtems-tools will make is easier to collect and group all trace relate code and tools. I suggest ... trace/record/... trace/ctf/... trac

Re: [PATCH] Write event stream in file

2019-06-24 Thread Sebastian Huber
On 25/06/2019 07:03, Ravindra Kumar Meena wrote: Do you get compiler warnings with this version? No I didn't get any compiler warning or error. How did you configure the build? Did you somehow disable the warnings? [242/254] Compiling misc/record/record-main.c ../misc/record/record-main

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Sebastian Huber
On 25/06/2019 07:11, Ravindra Kumar Meena wrote: Hi Sebastian, I have sent the two patches. One is event stream file generation patch and another one is metadata for it. Please apply the patches. Could you please check it in your rtems-tools repository. Run the following command for like 5

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Ravindra Kumar Meena
> > Since the magic number is optional, you should see if you can > construct a simple example metadata and stream file that does not use > the magic number and whether it works with babeltrace or not. > Okay. It worked without magic number. I removed the magic number from both metadata and stream

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Ravindra Kumar Meena
Hi Sebastian, I have sent the two patches. One is event stream file generation patch and another one is metadata for it. Please apply the patches. Run the following command for like 5 seconds so that it can generate enough event traces. ./build/misc/rtems-record -H 169.254.192.22 -p 1234 | head

Re: [PATCH] Write event stream in file

2019-06-24 Thread Ravindra Kumar Meena
> > > Do you get compiler warnings with this version? > No I didn't get any compiler warning or error. -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian School of Mines) , Dhanbad _

[PATCH] Generated event stream metadata file

2019-06-24 Thread Ravindra Meena
--- misc/ctf/metadata | 1059 + 1 file changed, 1059 insertions(+) create mode 100644 misc/ctf/metadata diff --git a/misc/ctf/metadata b/misc/ctf/metadata new file mode 100644 index 000..068e4ba --- /dev/null +++ b/misc/ctf/metadata @@ -0,0

Re: [PATCH] Write event stream in file

2019-06-24 Thread Sebastian Huber
Do you get compiler warnings with this version? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese N

[PATCH] Write event stream in file

2019-06-24 Thread Ravindra Meena
--- misc/record/record-main.c | 38 +++--- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/misc/record/record-main.c b/misc/record/record-main.c index 742428b..61cbb4e 100644 --- a/misc/record/record-main.c +++ b/misc/record/record-main.c @@ -67,6 +6

Re: [PATCH] misc/boot-image: fix uenv_exe_ftd bug.

2019-06-24 Thread Chris Johns
Pushed. Thank you for the testing, finding this issue and providing a patch. Nice work. I would be good to know if RTEMS can be run on the BBB without an FDT when using the Linux image output format. Chris On 24/6/19 9:40 pm, Nils Hölscher wrote: > --- > misc/tools/config/rtems-boot.ini | 2 +-

[PATCH] bsp/beagle: Partial re-write of I2C driver.

2019-06-24 Thread list
From: Christian Mauderer The old driver worked well for EEPROMS with the RTEMS EEPROM driver. But it had problems with a lot of other situations. Although it's not a direct port, the new driver is heavily modeled after the FreeBSD ti_i2c driver. --- bsps/arm/beagle/i2c/bbb-i2c.c | 646 ++

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Gedare Bloom
On Mon, Jun 24, 2019 at 11:38 AM Sebastian Huber wrote: > > - Am 24. Jun 2019 um 19:17 schrieb Sebastian Huber > sebastian.hu...@embedded-brains.de: > > > - Am 24. Jun 2019 um 18:46 schrieb Ravindra Kumar Meena > > rmeena...@gmail.com: > > > >> *24th June work summary:* > >> Studied the

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Sebastian Huber
- Am 24. Jun 2019 um 19:17 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: > - Am 24. Jun 2019 um 18:46 schrieb Ravindra Kumar Meena > rmeena...@gmail.com: > >> *24th June work summary:* >> Studied the CTF documentation and tried its example. Tried to modify the >> HEX value

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Sebastian Huber
- Am 24. Jun 2019 um 18:46 schrieb Ravindra Kumar Meena rmeena...@gmail.com: > *24th June work summary:* > Studied the CTF documentation and tried its example. Tried to modify the > HEX values of the stream file generated by the QEMU target. Improved the > metadata file. Could you please keep

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Ravindra Kumar Meena
*24th June work summary:* Studied the CTF documentation and tried its example. Tried to modify the HEX values of the stream file generated by the QEMU target. Improved the metadata file. -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian S

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Gedare Bloom
On Mon, Jun 24, 2019 at 10:00 AM Ravindra Kumar Meena wrote: >> >> >> https://diamon.org/ctf/#spec7 - "Magic number (CTF magic number: >> 0xC1FC1FC1) specifies that this is a CTF packet. This magic number is >> optional ... Stream ID, used as reference to stream description in >> metadata. This fi

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Ravindra Kumar Meena
> > > https://diamon.org/ctf/#spec7 - "Magic number (CTF magic number: > 0xC1FC1FC1) specifies that this is a CTF packet. This magic number is > optional ... Stream ID, used as reference to stream description in > metadata. This field is optional if there is only one stream > description" > > These

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Gedare Bloom
On Mon, Jun 24, 2019 at 1:44 AM Sebastian Huber wrote: > > On 24/06/2019 09:28, Ravindra Kumar Meena wrote: > > > > > > On Mon, Jun 24, 2019 at 12:06 PM Sebastian Huber > > > > wrote: > > > > On 24/06/2019 08:24, Ravindra Kumar Meena wrote: > >

[PATCH] misc/boot-image: fix uenv_exe_ftd bug.

2019-06-24 Thread Nils Hölscher
--- misc/tools/config/rtems-boot.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools/config/rtems-boot.ini b/misc/tools/config/rtems-boot.ini index 6370e35..4e5d600 100644 --- a/misc/tools/config/rtems-boot.ini +++ b/misc/tools/config/rtems-boot.ini @@ -91,7 +91,7 @@

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Sebastian Huber
On 24/06/2019 09:28, Ravindra Kumar Meena wrote: On Mon, Jun 24, 2019 at 12:06 PM Sebastian Huber > wrote: On 24/06/2019 08:24, Ravindra Kumar Meena wrote: > *Plan of the week:* > Last I was able to store the event stream in the disk.

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Ravindra Kumar Meena
I am using Ghex software to read and modify the binary file in hexadecimal. -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian School of Mines) , Dhanbad ___ devel mail

Re: GSoC Project | Basic Support for Trace Compass

2019-06-24 Thread Ravindra Kumar Meena
On Mon, Jun 24, 2019 at 12:06 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 24/06/2019 08:24, Ravindra Kumar Meena wrote: > > *Plan of the week:* > > Last I was able to store the event stream in the disk. Now, I plan to > > convert the native stream into CTF format. Once the

Re: [PATCH v1] Port ndbm

2019-06-24 Thread Vaibhav Gupta
I will test it! On Sat, Jun 22, 2019 at 2:02 AM Gedare Bloom wrote: > On Fri, Jun 21, 2019 at 1:42 PM Vaibhav Gupta > wrote: > > > > > > > > On Fri, Jun 21, 2019 at 11:38 PM Gedare Bloom wrote: > >> > >> On Fri, Jun 21, 2019 at 11:03 AM Vaibhav Gupta < > vaibhavgupt...@gmail.com> wrote: > >> >