All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] MIPS UHI spec
@ 2015-02-19 13:50 Matthew Fortune
  2015-02-26 10:17 ` Paul Burton
  0 siblings, 1 reply; 25+ messages in thread
From: Matthew Fortune @ 2015-02-19 13:50 UTC (permalink / raw)
  To: u-boot

Hi Daniel,

The spec for MIPS Unified Hosting Interface is available here:

http://prplfoundation.org/wiki/MIPS_documentation

As we have previously discussed, this is an ideal place to
define the handover of device tree data from bootloader to
kernel. Using a0 == -2 and defining which register(s) you
need for the actual data will fit nicely. I'll happily
include whatever is decided into the next version of the spec.

This is also the spec I would like to use to implement a syscall
interface. Previous post on the topic:

http://lists.denx.de/pipermail/u-boot/2014-December/198007.html

Only a subset of the operations would be implemented for u-boot
and would be strictly limited to sit on top of the functionality
that is already exposed to standalone applications with GPL
exceptions. Some of the operations need a bit of wrapper code
around the API functions i.e. The write operation would only be
handled for FD 1 and 2 and would be implemented as a loop
sending each byte of the buffer via putc.

UHI also provides a semi-hosting solution for u-boot itself
which it could use to obtain files over the EJTAG interface.

Initial implementation of the syscall interface will be posted
relatively soon.

Thanks,
Matthew

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2015-03-16 15:56 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19 13:50 [U-Boot] MIPS UHI spec Matthew Fortune
2015-02-26 10:17 ` Paul Burton
2015-02-26 12:37   ` Daniel Schwierzeck
2015-02-26 12:37     ` Daniel Schwierzeck
2015-02-26 18:23     ` Andrew Bresticker
2015-02-26 18:23       ` Andrew Bresticker
2015-02-27 10:44       ` Daniel Schwierzeck
2015-02-27 10:44         ` Daniel Schwierzeck
2015-02-27 17:28         ` Andrew Bresticker
2015-02-27 17:28           ` Andrew Bresticker
2015-02-27 20:45           ` Matthew Fortune
2015-03-03  1:26             ` James Hartley
2015-03-09 17:04     ` Andrew Bresticker
2015-03-09 17:04       ` Andrew Bresticker
2015-03-11 16:37       ` Daniel Schwierzeck
2015-03-11 16:37         ` Daniel Schwierzeck
2015-03-16 10:30     ` James Hogan
2015-03-16 10:30       ` James Hogan
2015-03-16 10:30       ` James Hogan
2015-03-16 11:53       ` Matthew Fortune
2015-03-16 11:53         ` Matthew Fortune
2015-03-16 12:33         ` James Hogan
2015-03-16 12:33           ` James Hogan
2015-03-16 15:56         ` Andrew Bresticker
2015-03-16 15:56           ` Andrew Bresticker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.