>
> On Fri, Nov 10, 2017 at 8:28 AM, Sebastian Huber
> wrote:
>> Hello Sichen,
>>
>> thanks for your WPA supplicant porting contribution which was a part of GSoC
>> this year. It took a while to commit it.
>>
>> I checked in the patch series with some
So BBB can mount and read eMMC and SD card.
---
Makefile.todo | 26
libbsd.py | 36 +
libbsd_waf.py | 8 +
rtemsbsd/include/bsp/nexus-devices.h | 2 +
ems-wpa_supplicant-mutex.h
new file mode 100644
index 000..1abb177
--- /dev/null
+++ b/rtemsbsd/include/machine/rtems-wpa_supplicant-mutex.h
@@ -0,0 +1,41 @@
+/**
+ * @file
+ *
+ * @ingroup rtems_bsd_machine
+ *
+ * @brief TODO.
+ */
+
+/*
+ * Copyright (c) 2017 Sichen Zhao. All rights r
dev/null
+++ b/rtemsbsd/rtems/rtems-bsd-shell-wpa_supplicant_fork.c
@@ -0,0 +1,36 @@
+/*
+ * Copyright (c) 2017 Sichen Zhao. All rights reserved.
+ *
+ * <zsc19940...@gmail.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provi
Add wpa supplicant command in media01.
---
testsuite/include/rtems/bsd/test/default-network-init.h | 3 ++-
testsuite/media01/test_main.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h
>> On 17 Aug 2017, at 1:37 am, Sichen Zhao <zsc19940...@outlook.com> wrote:
>>
>> Hi Chris,
>> Just for remind: can the openssl patch get merged?
> Yes they can. I am sorry I had some pressing issues locally and a few patches
> queued. I am on the road tod
ems_shell_VMSTAT_Command;
diff --git a/rtemsbsd/rtems/rtems-bsd-shell-wpa_supplicant_fork.c
b/rtemsbsd/rtems/rtems-bsd-shell-wpa_supplicant_fork.c
new file mode 100644
index 000..046b611
--- /dev/null
+++ b/rtemsbsd/rtems/rtems-bsd-shell-wpa_supplicant_fork.c
@@ -0,0 +1,36 @@
+/*
+ * Cop
---
testsuite/media01/test_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testsuite/media01/test_main.c b/testsuite/media01/test_main.c
index 5ca88fb..acc24f2 100644
--- a/testsuite/media01/test_main.c
+++ b/testsuite/media01/test_main.c
@@ -205,7 +205,8 @@
---
libbsd.py | 1 +
libbsd_waf.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/libbsd.py b/libbsd.py
index ea469d3..a0b7f1a 100644
--- a/libbsd.py
+++ b/libbsd.py
@@ -2534,6 +2534,7 @@ def user_space(mm):
'lib/libc/stdlib/strtonum.c',
Add wpa supplicant command in media01.
---
testsuite/include/rtems/bsd/test/default-network-init.h | 3 ++-
testsuite/media01/test_main.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h
---
freebsd/lib/libc/string/strnstr.c | 67 +++
1 file changed, 67 insertions(+)
create mode 100644 freebsd/lib/libc/string/strnstr.c
diff --git a/freebsd/lib/libc/string/strnstr.c
b/freebsd/lib/libc/string/strnstr.c
new file mode 100644
index
_Command;
extern rtems_shell_cmd_t rtems_shell_VMSTAT_Command;
diff --git a/rtemsbsd/rtems/rtems-bsd-shell-wpa_supplicant.c
b/rtemsbsd/rtems/rtems-bsd-shell-wpa_supplicant.c
new file mode 100644
index 000..32ebb86
--- /dev/null
+++ b/rtemsbsd/rtems/rtems-bsd-shell-wpa_supplicant.c
@@ -0,0
The WPA patches need the openssl patches support, and first patches of WPA
patches about import the wpa files from FreeBSD may can not send to ml, because
of the large size. But this patches does no matter for review.
___
devel mailing list
Hi Chris,
Just for remind: can the openssl patch get merged?
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Sichen Zhao
<zsc19940...@outlook.com>
Sent: Saturday, August 12, 2017 17:24
To: Christian Mauderer;
Ok, the branch with only these four patches is here:
https://github.com/hahchenchen/rtems-libbsd/tree/usb_wpa_openssl
Best Regards
Sichen Zhao
From: Christian Mauderer <l...@c-mauderer.de>
Sent: Saturday, August 12, 2017 17:05
To: Chris Johns;
> On 11/8/17 8:39 pm, Sichen Zhao wrote:
>> From: Christian Mauderer <christian.maude...@embedded-brains.de>
>>
>> There are some cases, where a header is installed into a directory with
>> a different name then it's source directory. In that case, the build
---
builder.py | 58
libbsd.py| 952 +++
libbsd_waf.py| 901 +++-
waf_generator.py | 3 +
4 files changed, 1898 insertions(+), 16 deletions(-)
diff --git a/builder.py
From: Christian Mauderer
This allows a finer decision which headers should be installed.
---
builder.py | 26 +-
libbsd_waf.py| 30 +++---
waf_generator.py | 4 ++--
3 files changed, 30 insertions(+), 30 deletions(-)
From: Christian Mauderer
There are some cases, where a header is installed into a directory with
a different name then it's source directory. In that case, the build
might fail because the header is not found. One example would be the
. The source for this
Ok, after the discussion, i will add it in my second version of openssl patches.
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Chris Johns
<chr...@rtems.org>
Sent: Thursday, August 10, 2017 7:05
To: Sichen
---
builder.py | 58
libbsd.py| 952 +++
libbsd_waf.py| 901 +++-
waf_generator.py | 3 +
4 files changed, 1898 insertions(+), 16 deletions(-)
diff --git a/builder.py
From: Christian Mauderer
There are some cases, where a header is installed into a directory with
a different name then it's source directory. In that case, the build
might fail because the header is not found. One example would be the
. The source for this
> On 02/08/17 10:46, Sichen Zhao wrote:
>
>> Hi all,
>>
>> When i use wpa_supplicant to configure WPA, there are an error:
>>
>> Could not open /dev/urandom.
>> wlan0: WPA: Failed to get random data for SNonce
>
> /dev/urandom should not be
data. So how do we deal
with it? Should import it?
Best Regards
Sichen Zhao
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
Now rtems can connnect WiFi via WEP on rtl8188eu chip.
---
rtemsbsd/include/bsp/nexus-devices.h | 1 +
rtemsbsd/rtems/rtems-kernel-init.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/rtemsbsd/include/bsp/nexus-devices.h
b/rtemsbsd/include/bsp/nexus-devices.h
index c3e5336..65c183c
---
freebsd/sys/dev/rtwn/rtl8192c/r92c_llt.c | 75
1 file changed, 75 insertions(+)
create mode 100644 freebsd/sys/dev/rtwn/rtl8192c/r92c_llt.c
diff --git a/freebsd/sys/dev/rtwn/rtl8192c/r92c_llt.c
b/freebsd/sys/dev/rtwn/rtl8192c/r92c_llt.c
new file mode 100644
Now rtems can connnect WiFi via WEP on rtl8188eu chip.
---
rtemsbsd/include/bsp/nexus-devices.h | 1 +
rtemsbsd/rtems/rtems-kernel-init.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/rtemsbsd/include/bsp/nexus-devices.h
b/rtemsbsd/include/bsp/nexus-devices.h
index fe53862..618b9ab
Now USB dongle rtl8188eu can work as wlan client device.
It can scan wifi, connect wifi.
---
Makefile.todo |6 +
freebsd/sys/dev/rtwn/usb/rtwn_usb_attach.h |8 +
libbsd.py |2 +
libbsd_waf.py |
Hi all,
I have tested the patch in libbsd, and it works well.
Best Regards
Sichen Zhao
From: Christian Mauderer <l...@c-mauderer.de>
Sent: Sunday, July 23, 2017 1:30
To: devel@rtems.org
Cc: Chris Johns; Sichen Zhao; Christian Mauderer
Subject:
.
I think maybe we need add a include header path to tell waf that it has to
move the file into another path.
But i don't know where to add it. I tried it in builder.py, but not working.
Best Regards
Sichen Zhao
___
devel mailing list
devel@rtems.org
Hi all,
This link about the IRC log: https://devel.rtems.org/wiki/Developer/IRC, there
are the ways to find irc log archive but none of them are working.
So anyone can fix it and have an idea about how to get irc log?
Best Regards
Sichen Zhao
Hi all,
I found something about the FreeBSD people dicuss about dtb license issue.
https://lists.freebsd.org/pipermail/freebsd-arm/2015-May/011543.html
Best Regards
Sichen Zhao
From: Sichen Zhao <zsc19940...@outlook.com>
Sent: Thursday, July 13, 2
在 2017年07月13日 14:10, Christian Mauderer 写道:
>
> Am 13.07.2017 um 08:05 schrieb Chris Johns:
>> On 13/07/2017 15:09, Christian Mauderer wrote:
>>> Am 13.07.2017 um 04:33 schrieb Chris Johns:
>>>> On 13/07/2017 12:22, Sichen Zhao wrote:
>>>>> 在 2017年0
Add FDT and umass support for am335x USB driver.
Now RTEMS can mount and open USB disk.
---
freebsd/sys/arm/ti/am335x/am335x_prcm.c | 2 ++
freebsd/sys/arm/ti/ti_cpuid.h | 19 +
libbsd.py | 34
在 2017年07月12日 21:52, Gedare Bloom 写道:
> On Tue, Jul 11, 2017 at 6:51 AM, Sichen Zhao <1473996...@qq.com> wrote:
>> These dts files import from FreeBSD, git link:
>> https://github.com/freebsd/freebsd/tree/master/sys/gnu/dts
>>
>> The license for these files in be
Patch1 and 2 is not needed, but it fix a bug about the multiple resource. So
they can be useful anyway.
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Sebastian Huber
<sebastian.hu...@embedded-brains.de>
Sen
Ok, thanks.
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Sebastian Huber
<sebastian.hu...@embedded-brains.de>
Sent: Wednesday, July 12, 2017 2:40:28 PM
To: Sichen Zhao; devel@rtems.org
Cc: punitv.
Now RTEMS can detect and mount USB device.
---
rtemsbsd/include/bsp/nexus-devices.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/rtemsbsd/include/bsp/nexus-devices.h
b/rtemsbsd/include/bsp/nexus-devices.h
index 1fbf756..2d5694e 100644
---
Now RTEMS can mount and open USB disk.
---
rtemsbsd/include/bsp/nexus-devices.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/rtemsbsd/include/bsp/nexus-devices.h
b/rtemsbsd/include/bsp/nexus-devices.h
index 2d5694e..09a4cc3 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++
---
freebsd/sys/arm/ti/am335x/am335x_prcm.c | 8
freebsd/sys/arm/ti/ti_cpuid.h | 19 +++
freebsd/sys/arm/ti/ti_prcm.c| 2 ++
freebsd/sys/arm/ti/ti_scm.c | 2 ++
libbsd.py | 30
rtems-libbsd only support single resource for a device.
But some usb control need two resources, such as musb.
So modify support for multiple device resources allocation.
---
rtemsbsd/rtems/rtems-kernel-nexus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
---
c/src/lib/libbsp/arm/beagle/Makefile.am| 1 +
c/src/lib/libbsp/arm/beagle/configure.ac | 9 +
c/src/lib/libbsp/arm/beagle/include/bsp.h | 6 +-
c/src/lib/libbsp/arm/beagle/startup/bspstart.c | 5 +
c/src/lib/libbsp/arm/shared/start/start.S | 5 +
5
These dts files import from FreeBSD, git link:
https://github.com/freebsd/freebsd/tree/master/sys/gnu/dts
The license for these files in beagle/simscripts
---
c/src/lib/libbsp/arm/beagle/README | 11 +
c/src/lib/libbsp/arm/beagle/simscripts/LICENSE |2 +
Hi all,
I add a dtb bin file in RTEMS from FreeBSD to support FDT. So there is no
license info or source for that file. So how to add it?
Best Regards
Sichen Zhao
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
Hi Sebastian, Hi all,
How about i add BSP_START_COPY_FDT_FROM_U_BOOT in configure.ac, or just add the
bsp prefix sush as BBB_U_BOOT_USE_FDT in configure.ac?
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Siche
Hi all,
In this patch, i add a binary dtb file to support FDT, if it is ok , and how to
add the license and source information?
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Sichen Zhao
<1473996...@qq.com>
Sen
org> on behalf of Sichen Zhao
<zsc19940...@outlook.com>
Sent: Wednesday, July 5, 2017 13:28
To: Sebastian Huber; Sichen Zhao; devel@rtems.org
Cc: punitv...@gmail.com; christian.maude...@embedded-brains.de
Subject: Re: [PATCH 1/2] Add FDT support for Beaglebone Black.
Ok, got it.
Best Re
Ok, got it.
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Sebastian Huber
<sebastian.hu...@embedded-brains.de>
Sent: Wednesday, July 5, 2017 13:12
To: Sichen Zhao; devel@rtems.org
Cc: punitv...@gmail.com; chr
Ok, i will remove patch 5/8 and 6/8. Is that ok?
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Sebastian Huber
<sebastian.hu...@embedded-brains.de>
Sent: Wednesday, July 5, 2017 13:17
To: Sichen Zhao; devel@
Now RTEMS can detect and mount USB device.
---
rtemsbsd/include/bsp/nexus-devices.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/rtemsbsd/include/bsp/nexus-devices.h
b/rtemsbsd/include/bsp/nexus-devices.h
index 1fbf756..2d5694e 100644
---
Now RTEMS can mount and open USB disk.
---
rtemsbsd/include/bsp/nexus-devices.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/rtemsbsd/include/bsp/nexus-devices.h
b/rtemsbsd/include/bsp/nexus-devices.h
index 2d5694e..09a4cc3 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++
---
freebsd/sys/arm/ti/am335x/am335x_musb.c| 14
freebsd/sys/arm/ti/am335x/am335x_prcm.c| 10 ---
freebsd/sys/arm/ti/am335x/am335x_usbss.c | 19 -
freebsd/sys/arm/ti/ti_scm.c| 7 --
rtemsbsd/include/bsp/nexus-devices.h | 12 ---
---
freebsd/sys/arm/ti/am335x/am335x_musb.c| 14
freebsd/sys/arm/ti/am335x/am335x_prcm.c| 10 +++
freebsd/sys/arm/ti/am335x/am335x_usbss.c | 19 +
freebsd/sys/arm/ti/ti_scm.c| 7 ++
rtemsbsd/include/bsp/nexus-devices.h | 12 +++
---
freebsd/sys/arm/ti/am335x/am335x_prcm.c | 8
freebsd/sys/arm/ti/ti_cpuid.h | 19 +++
freebsd/sys/arm/ti/ti_prcm.c| 2 ++
freebsd/sys/arm/ti/ti_scm.c | 2 ++
libbsd.py | 30
rtems-libbsd only support single resource for a device.
But some usb control need two resources, such as musb.
So modify support for multiple device resources allocation.
---
rtemsbsd/rtems/rtems-kernel-nexus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Hans Petter Selasky
---
rtemsbsd/rtems/rtems-kernel-nexus.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/rtemsbsd/rtems/rtems-kernel-nexus.c
b/rtemsbsd/rtems/rtems-kernel-nexus.c
index 008e4b2..1a5a9ef 100644
---
---
c/src/lib/libbsp/arm/beagle/Makefile.am| 1 +
c/src/lib/libbsp/arm/beagle/configure.ac | 9 +
c/src/lib/libbsp/arm/beagle/include/bsp.h | 6 +-
c/src/lib/libbsp/arm/beagle/startup/bspstart.c | 5 +
c/src/lib/libbsp/arm/shared/start/start.S | 5 +
5
---
c/src/lib/libbsp/arm/beagle/simscripts/bboneblk.dtb | Bin 0 -> 34458 bytes
c/src/lib/libbsp/arm/beagle/simscripts/sdcard.sh| 6 --
2 files changed, 4 insertions(+), 2 deletions(-)
create mode 100644 c/src/lib/libbsp/arm/beagle/simscripts/bboneblk.dtb
diff --git
Ok, and also need add the bsp_fdt_map_intr function in bspstart.c. right?
Best Regards
Sichen Zhao
From: Sebastian Huber <sebastian.hu...@embedded-brains.de>
Sent: Monday, July 3, 2017 4:00:02 PM
To: RTEMS
Cc: Sichen Zhao
Subject: Re: libbsd
g a resource that should be activated. the
ofwbus_activate_resource is not exist.
So whether someone has been successful in porting a driver that uses simplebus
in libbsd and that uses a resource that should be activated.
Best Regards
Sichen Zhao
___
Yes, i will discuss it with my mentor, and do my best.
Best Regards
Sichen Zhao
From: Sebastian Huber <sebastian.hu...@embedded-brains.de>
Sent: Saturday, June 24, 2017 17:07
To: Sichen Zhao
Cc: Sichen Zhao; devel; punitv...@gmail.com; christian ma
Because my board is Beaglebone Black, It seems the BBB bsp currently
doesn't support simplebus. Chrisian told me that currently only one BSP
supports FDT, it's the quoriq.
And i do boot via U-Boot.
> Why can't you use the FDT support in libbsd on this board? I guess you
> boot via U-Boot?
>
Now rtems can mount and open USB disks on Beaglebone Black.
---
rtemsbsd/include/bsp/nexus-devices.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/rtemsbsd/include/bsp/nexus-devices.h
b/rtemsbsd/include/bsp/nexus-devices.h
index 6fe4f7d..d7aec85 100644
---
st leave it.
Best Regards
Sichen Zhao
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
in these file?
Best Regards
Sichen Zhao
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
Ok.
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Chris Johns
<chr...@rtems.org>
Sent: Monday, June 19, 2017 10:01
To: Sichen Zhao; devel@rtems.org
Cc: punitv...@gmail.com; christian.maude...@embedded-brains.de
/pipermail/devel/2017-June/018162.html
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Gedare Bloom
<ged...@rtems.org>
Sent: Sunday, June 18, 2017 19:54
To: Sichen Zhao
Cc: punit vara; Christian Mauderer; devel@rtems
Yes, i will!
-- Original --
From: "punit vara";<punitv...@gmail.com>;
Date: Sat, Jun 17, 2017 11:44 PM
To: "Sichen Zhao"<1473996...@qq.com>;
Cc: "rtems-de...@rtems.org"<devel@rtems.org>; "Christian
Maude
Enable/disable vector routines now check for a valid vector.
Without these guards, the enable/disable vector routines
will not work with the interrupt server.
---
c/src/lib/libbsp/arm/beagle/irq.c | 22 ++
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git
occured, it stuck, and don't go the the ISR.
The code stuck at here:
https://github.com/freebsd/freebsd/blob/master/sys/dev/usb/controller/musb_otg.c#L3126
The install ISR at here:
https://github.com/freebsd/freebsd/blob/master/sys/arm/ti/am335x/am335x_musb.c#L299
Best Regards
Sichen Zhao
modify c/src/lib/libbsp/arm/beagle/Makefile.am
modify c/src/lib/libbsp/arm/beagle/include/i2c.h
delete c/src/lib/libbsp/arm/beagle/misc/i2c.c
---
c/src/lib/libbsp/arm/beagle/Makefile.am | 1 -
c/src/lib/libbsp/arm/beagle/include/i2c.h | 181
c/src/lib/libbsp/arm/beagle/misc/i2c.c
Ok, i will modified it right now.
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Christian Mauderer
<christian.maude...@embedded-brains.de>
Sent: Monday, June 5, 2017 8:18:30 PM
To: Sichen Zhao
Cc: punit vara; dev
@@
+/**
+ * @file
+ *
+ * @ingroup arm_beagle
+ *
+ * @brief BeagleBoard I2C bus initialization and API Support.
+ */
+
+/*
+ * Copyright (c) 2017 Sichen Zhao <zsc19940...@gmail.com>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+
modify c/src/lib/libbsp/arm/beagle/Makefile.am
modify c/src/lib/libbsp/arm/beagle/include/i2c.h
delete c/src/lib/libbsp/arm/beagle/misc/i2c.c
---
c/src/lib/libbsp/arm/beagle/Makefile.am | 1 -
c/src/lib/libbsp/arm/beagle/include/i2c.h | 181
c/src/lib/libbsp/arm/beagle/misc/i2c.c
Ok, i see. Thank you.
Best Regards
Sichen Zhao
From: ged...@gwmail.gwu.edu <ged...@gwmail.gwu.edu> on behalf of Gedare Bloom
<ged...@rtems.org>
Sent: Thursday, June 1, 2017 23:14
To: Joel Sherrill
Cc: Sichen Zhao; RTEMS
Subject: R
Hi all,
The rtems cfg file of uncrustify:
https://devel.rtems.org/wiki/Developer/Coding/Conventions#Tools
I feel weird about : there are always space after and before the parenthesis.
It seems has conflict with Linux kernel tools checkpatch.pl rule
Best Regards
Sichen Zhao
Ok, i know what you mean, i will remove the old i2c driver in my latest version
of i2c.
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Joel Sherrill
<j...@rtems.org>
Sent: Friday, May 26, 2017 23:12
To: Ben Gras
+ *
+ * @ingroup arm_beagle
+ *
+ * @brief BeagleBoard I2C bus initialization and API Support.
+ */
+
+/*
+ * Copyright (c) 2017 Sichen Zhao <zsc19940...@gmail.com>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+
I got your mean, thank you , PV.
Best Regards
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of punit vara
<punitv...@gmail.com>
Sent: Wednesday, May 24, 2017 2:05 AM
To: Sichen Zhao
Cc: Christian Mauderer; rtems-de...@rtems.org
le bbb_i2c_regs *regs Indentation?
because the function is more than 80 character.
From: devel <devel-boun...@rtems.org> on behalf of Christian Mauderer
<christian.maude...@embedded-brains.de>
Sent: Wednesday, May 24, 2017 1:36 AM
To: Sichen Zhao
Cc:
Hi all,
Please ignore the previous patch about the Beaglebone I2C. the newest one i
sent is useful, when apply the patch, no error and warning.
Best Regards
Sichen Zhao
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo
+ *
+ * @ingroup arm_beagle
+ *
+ * @brief BeagleBoard I2C bus initialization and API Support.
+ */
+
+/*
+ * Copyright (c) 2017 Sichen Zhao <zsc19940...@gmail.com>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+
+ *
+ * @ingroup arm_beagle
+ *
+ * @brief BeagleBoard I2C bus initialization and API Support.
+ */
+
+/*
+ * Copyright (c) 2017 Sichen Zhao <zsc19940...@gmail.com>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+
I am sorry but can you give me some suggestion about that, you mean the old
i2c works on all platforms, and shouldn't be replace, so where you suggest the
new one should go and how to mark the old one deprecated?
Best Regards
Sichen Zhao
From: Joel Sherrill
the patch?
Best Regards
Sichen Zhao
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
Ok, that's very kind of you.
Sichen Zhao
From: Joel Sherrill <j...@rtems.org>
Sent: Sunday, May 14, 2017 9:17 PM
To: 赵 思晨
Cc: rtems-de...@rtems.org; punit vara; Christian Mauderer
Subject: Re: [PATCH 2/2] Beagle i2c: Update Beaglebone i2c drive
Hi Christian,
I will read the coding conventions and modify the patch as soon as possible.
Thank you
Sichen Zhao
From: devel <devel-boun...@rtems.org> on behalf of Christian Mauderer
<christian.maude...@embedded-brains.de>
Sent: Sunday, May 14,
Hi all,
I am GSOC 2017 student Sichen Zhao
I wanna ask whether the RTEMS-libbsd Bug is ok? And strictly speaking it's a
suggestion not a bug.
Best Regards
Sichen Zhao
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo
This patch modify the i2c code for Beaglebone Black based on PV works:
- bbb-i2c.c: Modify the interrupt handler, transfer funciton, read function,
am335x_i2c_busbusy function etc. Add flush_fifo function
- include/i2c.h: Modify some macros, such as BBB_I2C_IRQ_ERROR
Now the i2c is working on
From: Punit Vara
This patch add the I2C driver code for Beaglebone Black:
- Add beagle/i2c/bbb-i2c.c i2c driver code
- Modify include/i2c.h
- Modify beagle/Makefile.am
But i2c can not work currently
---
c/src/lib/libbsp/arm/beagle/Makefile.am | 4 +-
Hi Christian Mauderer,
Ok, i got your idea,I will try it.
Thank you for your patient for my problem.
Best regards
Sichen Zhao
From: Christian Mauderer <christian.maude...@embedded-brains.de>
Sent: Wednesday, April 19, 2017 11:05 PM
To: 赵 思晨
Cc: RTEMS
S
-428f-9066-723c5cb9703c]
So the macro USB_HAVE_UGEN should keep unable? I see the FreeBSD on BBB enable
the USB_HAVE_UGEN.
Thanks
Sichen Zhao
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
From: Punit Vara
This patch add the I2C driver code for Beaglebone Black:
- Add beagle/i2c/bbb-i2c.c i2c driver code
- Modify include/i2c.h
- Modify beagle/Makefile.am
But i2c can not work currently
---
c/src/lib/libbsp/arm/beagle/Makefile.am | 4 +-
This patch modify the i2c code for Beaglebone Black based on PV works:
- bbb-i2c.c: Modify the interrupt handler, transfer funciton, read function,
am335x_i2c_busbusy function etc. Add flush_fifo function
- include/i2c.h: Modify some macros, such as BBB_I2C_IRQ_ERROR
Now the i2c is working on
---
c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c | 370 --
c/src/lib/libbsp/arm/beagle/include/i2c.h | 11 +-
2 files changed, 150 insertions(+), 231 deletions(-)
diff --git a/c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c
b/c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c
index
---
c/src/lib/libbsp/arm/beagle/Makefile.am | 4 +-
c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c | 788 ++
c/src/lib/libbsp/arm/beagle/include/i2c.h | 153 +-
3 files changed, 926 insertions(+), 19 deletions(-)
create mode 100644
8h = 184
+ uint32_t BBB_I2C_SYSTEST; //BCh = 188
+ uint32_t BBB_I2C_BUFSTAT; //C0h 192
+ uint32_t BBB_I2C_OA1; //C4h 196
+ uint32_t BBB_I2C_OA2; //C8h 200
+ uint32_t BBB_I2C_OA3; //CCh 204
+ uint32_t BBB_I2C_ACTOA; //D0h 208
+ uint32_t BBB_I2C_SBLOCK; //D4h 212
+}bbb_i2c_regs;
+
+typedef struct bbb_i2c_bus{
+
---
c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c | 684 --
c/src/lib/libbsp/arm/beagle/include/i2c.h | 18 +-
cpukit/dev/i2c/eeprom.c | 24 +-
testsuites/samples/i2c0/init.c| 98 -
4 files changed, 777 insertions(+), 47 deletions(-)
98 matches
Mail list logo