* [U-Boot] u-boot serial uart command?
[not found] ` <24180680-1b5b-4065-b8db-2ec749c8c04a.7cdb0f9e-c1e3-46af-bbee-74d60cc9faee.67004780-cc9c-451d-8742-010c550f8af0@emailsignatures365.codetwo.com>
@ 2018-07-06 14:40 ` Dell Green
0 siblings, 0 replies; 3+ messages in thread
From: Dell Green @ 2018-07-06 14:40 UTC (permalink / raw)
To: u-boot
A non-text attachment was scrubbed...
Name: Building-for-future_44614cc1-fabf-4d2c-8370-04e21e4920e2.png
Type: image/png
Size: 38195 bytes
Desc: Building-for-future_44614cc1-fabf-4d2c-8370-04e21e4920e2.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180706/7548a9e4/attachment.png>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] u-boot serial uart command?
@ 2018-07-08 19:22 Dell Green
2018-07-09 14:43 ` Lukasz Majewski
0 siblings, 1 reply; 3+ messages in thread
From: Dell Green @ 2018-07-08 19:22 UTC (permalink / raw)
To: u-boot
Hi Guys,
Brand new to this mailing list.
I have a Dart-MX6 imx6 Module that has a number of uarts. I have one of
the uarts connected to an external micro controller that excepts
commands via a basic binary messaging protocol. In linux I can
communicate with it using standard linux /dev/ttymxcN device.
In an effort to learn more about u-boot and how it works, I was
wondering if it was possible in u-boot shell to communicate with the
same uart device using the same messaging protocol. I see from the
source code there is code for serial.c and serial_mxc.c, but I'm not an
experienced u-boot developer to know if this is possible and how one
would approach it.
any help/pointers would be greatly appreciated.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] u-boot serial uart command?
2018-07-08 19:22 [U-Boot] u-boot serial uart command? Dell Green
@ 2018-07-09 14:43 ` Lukasz Majewski
0 siblings, 0 replies; 3+ messages in thread
From: Lukasz Majewski @ 2018-07-09 14:43 UTC (permalink / raw)
To: u-boot
Hi Dell,
> Hi Guys,
>
> Brand new to this mailing list.
>
> I have a Dart-MX6 imx6 Module that has a number of uarts. I have one
> of the uarts connected to an external micro controller that excepts
> commands via a basic binary messaging protocol. In linux I can
> communicate with it using standard linux /dev/ttymxcN device.
>
> In an effort to learn more about u-boot and how it works, I was
> wondering if it was possible in u-boot shell to communicate with the
> same uart device using the same messaging protocol.
Have I understood you correctly that you would like to send data to
this device via u-boot shell (like echo "FOO" > /dev/ttySX) ?
As fair as I can tell there are some commands which allow you to
load/send data via uart (like i.e. loadb).
However, I also assume that you would like to keep the "console" and
have the possibility to send data from it to other uart?
To do this you probably would need to:
1. Add new command - e.g. serialfoomagic
2. Setup this extra serial port (in DT for your board) for your iMX
device.
3. Use this command to send data/commands -> e.g. serialfoomagic cmd1
> I see from the
> source code there is code for serial.c and serial_mxc.c, but I'm not
> an experienced u-boot developer to know if this is possible and how
> one would approach it.
>
> any help/pointers would be greatly appreciated.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180709/882d238f/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-09 14:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-08 19:22 [U-Boot] u-boot serial uart command? Dell Green
2018-07-09 14:43 ` Lukasz Majewski
[not found] <24180680-1b5b-4065-b8db-2ec749c8c04a.4be25174-9f24-4c17-81cd-152bd78a13e1.598f8994-784c-4774-a7e3-1f10c01189b2@emailsignatures365.codetwo.com>
[not found] ` <24180680-1b5b-4065-b8db-2ec749c8c04a.7cdb0f9e-c1e3-46af-bbee-74d60cc9faee.67004780-cc9c-451d-8742-010c550f8af0@emailsignatures365.codetwo.com>
2018-07-06 14:40 ` Dell Green
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox