grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sparc64 network autoconfiguration


From: Toomas Soome
Subject: Re: sparc64 network autoconfiguration
Date: Fri, 18 Mar 2016 12:14:19 +0200

> On 18. märts 2016, at 11:54, Andrei Borzenkov <address@hidden> wrote:
> 
> On Fri, Mar 18, 2016 at 12:49 PM, Stanislav Kholmanskikh
> <address@hidden> wrote:
>> Hi!
>> 
>> 
>> On 03/18/2016 11:30 AM, Andrei Borzenkov wrote:
>>> 
>>> On Fri, Mar 18, 2016 at 11:07 AM, Vladimir 'phcoder' Serbinenko
>>> <address@hidden> wrote:
>>>> 
>>>> 
>>>> 
>>>> Le ven. 18 mars 2016 08:30, Andrei Borzenkov <address@hidden> a
>>>> écrit :
>>>>> 
>>>>> 
>>>>> Documentation says
>>>>> 
>>>>> On sparc64 GRUB is unable to determine which server it was booted from.
>>>>> 
>>>>> Could someone clarify what it means here? sparc64 is ieee1275 that
>>>>> supports auto configuration for network boot - at least, it has code
>>>>> to do it. So far the only platform where it is not possible seems to
>>>>> be uboot (which is also missing from Platform limitations section).
>>>> 
>>>> 
>>>> AFAIR sparc 64 doesn't provide fields code for ieee1275 depends on.
>>>> Moreover
>>>> sparc64 doesn't support booting via dhcp and works thorough rarp instead
>>> 
>>> 
>>> 
>>> Strictly speaking they boot via bootparams protocol, RARP is used for
>>> initial IP auto-configuration. Sun/Oracle servers support DHCP boot
>>> for quite some time; actually it is mandatory for Solaris 11 AI
>>> (automated installer). I am not sure whether they export this
>>> information in OBP though.
>>> 
>>> Someone from Oracle listening here?
>> 
>> 
>> I can't say for Oracle HW in general, but on T4, T5, T7 machines booting via
>> DHCP/TFTP is supported, for example via 'boot net:dhcp'.
>> 
> 
> Sure, but is content of DHCP ACK available to GRUB (see
> grub-core/net/drivers/ieee1275/ofnet.c:grub_ieee1275_net_config_real())
> - i.e. can GRUB do autoconfiguration of network interface used to load
> it based on information from firmware?
> 

the ack is saved in /chosen-bootreply in forth code. (google /chosen-bootreply 
openboot does some hints in openboot source in coreboot.org).

rgds,
toomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]