[syslinux] i2c bus access

H. Peter Anvin hpa at zytor.com
Thu Feb 27 14:56:13 PST 2014


On 02/27/2014 12:17 PM, Jeffrey Hutzelman wrote:
> On Thu, 2014-02-27 at 11:49 -0800, H. Peter Anvin wrote:
>> On 02/27/2014 07:51 AM, João Henrique Freitas wrote:
>>> Hi,
>>>
>>> I have a particular situation that syslinux could access a i2c bus to get
>>> some data from specific device that my hardware has. Based on these data,
>>> syslinux should or not to boot.
>>>
>>> It's feasible to create some i2c infraestructure to syslinux access i2c
>>> bus? It could be used to something more than only my needs?
>>>
>>> I digged in gpxe code and it has code to provide some i2c functionality.
>>>
>>
>> I2C can be provided through an almost infinite number of controllers,
>> and building an I2C subsystem in Syslinux would be a good step toward
>> making it a fullblown operating system.  Since we haven't had that
>> request before, I would just do an ad hoc implementation for your needs
>> at this time.
> 
> Really, you should add a preemptive scheduler and protected-mode virtual
> memory management, and then we can do away with the need for the whole
> "Linux" part. :-)
> 

I think Grub2 might actually have that...
	
	-hpa




More information about the Syslinux mailing list