From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::236; helo=mail-oi1-x236.google.com; envelope-from=proclivis@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jSfPQ0OM; dkim-atps=neutral Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4BCr2866nRzF0mF for ; Fri, 24 Jul 2020 23:41:00 +1000 (AEST) Received: by mail-oi1-x236.google.com with SMTP id y22so8006520oie.8 for ; Fri, 24 Jul 2020 06:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=3w/Ut9ya+rsKK2CWTsB4wAAgTSg/OHkAbzmzPcr/pbE=; b=jSfPQ0OMkweFkLt4wtGUGAisB75NIAAL6Jepp3eSSkL4KaGk16fdoXefo9okA8bRMN GdDP8YCiaT685E4CbqcmFjXdLk8Q1zAkQnrMXBYfUF0Wmk8rve1bjasxDSAdqhw/jfVe 3wpYWtxGkP7UYO+UE5fyCAXHg2o9WI9MLYlZaGJrhDETOenvYPriH+9TFBfR5NY96ktw a+UehkYpzz28zFVF3kcO00zThmrAAUzdHSOBn9qvGVuD5K3I013OhvtMthMFSKbVW4LQ bMecNcXcY/BoUFWlH9tiXORgbfGysBvNb/d96rjg+8GRtLmujrG7YiYPgbCP/JvIesjz dMQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=3w/Ut9ya+rsKK2CWTsB4wAAgTSg/OHkAbzmzPcr/pbE=; b=Y9MOgTvDJl0tWmpA1CvWtfNSxtsbUTxznveomxHtciUGJ1e9FFk7yeMMGYEFv7p+aS HbNeu2g3xs3HkaHS0nq98VdeoSHfBp50Sf3H35j3/aTPufdDCedLJynvaPru8Ktn7FSc LC3XtVpPHTBPlRMU73D074wCHKbnAwRoLzmq9WUtQVT5JibpC0Bdyxu10FwQdJACo7dt kIPiE3nUZlXYLjHRDX99cEpSRlYT8w0J5Uvw+5c26qnKuT0aRAR8GA/ImpWoYe6oqq+X mxX5mUFnQhXcQzLo5kVVrV8XzQIR/eV0w0n/useXbu/R9Z+7iHqoHUY5Z7itTHt3WPqR uVFg== X-Gm-Message-State: AOAM533vnJzgGXKjsD/+GQbqF4fvXYfCffW9nePZ/QHJPSuRE+9vLbAg G1R1ISfffmRk/BJhQBhrdVM= X-Google-Smtp-Source: ABdhPJxpIqcI1EbdX7YZbfzuWpIGyEpJa2QnspnJcEDMpYDk6jeqZRXFeAQceWwYYt2iTt+ZfUUlRw== X-Received: by 2002:aca:5842:: with SMTP id m63mr8216411oib.5.1595598057228; Fri, 24 Jul 2020 06:40:57 -0700 (PDT) Received: from ?IPv6:2600:100e:b056:6066:d65:6de:d899:6281? ([2600:100e:b056:6066:d65:6de:d899:6281]) by smtp.gmail.com with ESMTPSA id o84sm138709oif.55.2020.07.24.06.40.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jul 2020 06:40:56 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-D127B3BC-F6D4-4E28-B22F-E8E8EE4686EB Content-Transfer-Encoding: 7bit From: Mike Mime-Version: 1.0 (1.0) Subject: Re: Query regarding using the Redfish in OpenBMC Date: Fri, 24 Jul 2020 07:40:55 -0600 Message-Id: <7FA6C0BB-1883-40DE-9FD1-9288658C09AA@gmail.com> References: Cc: Joseph Reynolds , "openbmc@lists.ozlabs.org" , "openbmcbump-github@yahoo.com" In-Reply-To: To: khader basha shaik X-Mailer: iPhone Mail (17F80) X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2020 13:41:05 -0000 --Apple-Mail-D127B3BC-F6D4-4E28-B22F-E8E8EE4686EB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I=E2=80=99m trying to do the same and struggling to get it up on a Rasp Pi 4= . My first approach was to add layers to meta-raspberrypi, and I got to the po= int where the web was up, but I could not log in with root. I added a missin= g layer that adds groups to the accounts and will test later today. The second approach was to use the evb config files. But it can=E2=80=99t ma= ke the image. It seems to be using meta-phosphor image layers instead of met= a-raspberrypi layers. I used openbmc tag 2.9. I will try 2.8 later and see i= f it compiles. I will post more details later. I can provide config files etc. I am away fr= om my computer for awhile. How are you building? Are you using an evb config? What tag are you using? Sent from my iPhone > On Jul 24, 2020, at 6:01 AM, khader basha shaik wrote: >=20 > =EF=BB=BF > Hi Joseph, >=20 > Thanks for your response.=20 >=20 > I will be using Raspberrypi3 system. >=20 > Can you please guide what further steps I should take in order to view the= /redfish/v1 content in the web(https://xxx.xxx.xxx:8000/redfish/v1). >=20 > Any pointer on this is really helpful. >=20 > I have gone through the documents the developer docs but could not find an= ything that points to enabling the redfish stuff in the browser. > Please correct me if i am wrong >=20 > Thanks & Regards, > Khader B Shaik >=20 >=20 >=20 >> On Thu, 23 Jul 2020 at 19:25, Joseph Reynolds wrote:= >> On 7/23/20 5:48 AM, khader basha shaik wrote: >> > Hi Team, >> > >> > I am newbiee to Openbmc. I want to view the redfish/v1=20 >> > (https://10.xxx.xxx.xxx:8000/redfish/v1) contents in the browser=20 >> > .Could you please guide me on what changes i need to so that i view=20 >> > the /redfish/v1/ content in the browser . >> > >> > here are the steps i have followed: >> > >> > 1. Clone OpenBMC project : git clone >> > https://github.com/openbmc/openbmc.git in the server machine . >> > 2. Compile using the following command: >> > TEMPLATECONF=3Dmeta-phosphor/conf . openbmc-env >> > 3. modify the following files: >> > >> > * #build vi conf/local.conf (modify the line "-MACHINE??=3Dqemuarm= " >> > " to "-MACHINE??=3Draspberrypi3-64" " >> > * #build vi conf/bblayer.conf (add the following line >> > "/home/khader/openbmc/meta-raspberrypi \" to the line=20= >> > above /home/khader/openbmc/metaphosphor \" >> > >> > 4. #build bitbake obmc-phosphor-image >> > >> > The above steps I have used to build an Openbmc project. >> > >> > >> > Can you help me what further steps should i need to do so that i can=20= >> > view the /redfish/v1/ content in the webbrowser. >>=20 >> What BMC system will you use to upload, boot, and run the BMC firmware=20= >> image? A QEMU virtual system? >> Have you seen the developer docs here?=20 >> https://github.com/openbmc/docs/tree/master/development >>=20 >> Good luck, >> - Joseph >>=20 >> > >> > Note:- I am compiling the openbmc code in the server machine. >> > >> > Any help /guidelines on this will really help me alot. >> > Appreciate all your help. >> > >> > Thanks & Regards, >> > khader B Shaik >>=20 --Apple-Mail-D127B3BC-F6D4-4E28-B22F-E8E8EE4686EB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I=E2=80=99m trying to do the same and strug= gling to get it up on a Rasp Pi 4.

My first approach was t= o add layers to meta-raspberrypi, and I got to the point where the web was u= p, but I could not log in with root. I added a missing layer that adds group= s to the accounts and will test later today.

The se= cond approach was to use the evb config files. But it can=E2=80=99t make the= image. It seems to be using meta-phosphor image layers instead of meta-rasp= berrypi layers. I used openbmc tag 2.9. I will try 2.8 later and see if it c= ompiles.

I will post more details later. I can prov= ide config files etc. I am away from my computer for awhile.

<= /div>
How are you building? Are you using an evb config? What tag are yo= u using?



Sent from my iPho= ne

On Jul 24, 2020, at 6= :01 AM, khader basha shaik <shaikkhaderbasha601@gmail.com> wrote:
<= br>
=EF=BB=BF
Hi Joseph,

Thanks for your response.=  

I will be using Raspberrypi3 system.

Can you please guide what further steps I should take in ord= er to view the /redfish/v1 content in the web(https://xxx.xxx.xxx:8000/redfish/v1).

Any pointer on this is really helpful.

I h= ave gone through the documents the developer docs but could not find anythin= g that points to enabling the redfish stuff in the browser.
Please= correct me if i am wrong

Thanks & Regards,
Khader B Shaik



On Thu, 23 Jul 2020 a= t 19:25, Joseph Reynolds <jrey@linu= x.ibm.com> wrote:
On 7/23/20 5:48 AM, khader basha shaik wrote:
> Hi Team,
>
> I am newbiee to  Openbmc.  I want to view  the redfish/v= 1
> (https://10.xxx.xxx.xxx:8000/redfish/v1) contents in the= browser
> .Could you please guide me on what changes i need to so that i&nbs= p;view
> the /redfish/v1/ content in the browser .
>
> here are the steps i have followed:
>
>  1. Clone OpenBMC project : git clone
>     https://github.com/openbmc/openbmc.git in the server machine .
>  2. Compile using the following command:
>     TEMPLATECONF=3Dmeta-phosphor/conf  . openbmc-en= v
>  3. modify the following files:
>
>   *  #build vi conf/local.conf  (modify the  l= ine "-MACHINE??=3Dqemuarm"
>     " to "-MACHINE??=3Draspberrypi3-64" "
>   * #build vi conf/bblayer.conf (add the following line<= br> >     "/home/khader<username>/openbmc/meta-raspberry= pi \"  to the line 
>     above /home/khader<username>/openbmc/metaphosp= hor \"
>
>        4. #build  bitbake obmc-phosphor-image<= br> >
> The above steps I have used to build an Openbmc project.
>
>
> Can you help me what further steps should i need to do so that i can > view the /redfish/v1/  content in the webbrowser.

What BMC system will you use to upload, boot, and run the BMC firmware
image?  A QEMU virtual system?
Have you seen the developer docs here?
https://github.com/openbmc/docs/tree/master/dev= elopment

Good luck,
- Joseph

>
> Note:- I am compiling the openbmc code in the server machine.
>
> Any help /guidelines on this will really help me alot.
> Appreciate all your help.
>
> Thanks & Regards,
> khader B Shaik

= --Apple-Mail-D127B3BC-F6D4-4E28-B22F-E8E8EE4686EB--