* What are the login details for AST2600-EVB core-image-minimal ?
@ 2023-02-17 11:49 Ranbir Singh
2023-02-17 20:01 ` Zev Weiss
0 siblings, 1 reply; 4+ messages in thread
From: Ranbir Singh @ 2023-02-17 11:49 UTC (permalink / raw)
To: openbmc
[-- Attachment #1.1: Type: text/plain, Size: 545 bytes --]
Steps followed
===========
1. . setup evb-ast2600
2. bitbake core-image-minimal
3. qemu-system-arm -m 512 -M ast2600-evb -nographic -drive file=tmp/deploy/images/evb-ast2600/core-image-minimal-evb-ast2600.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostfwd=udp:127.0.0.1:2623-:623,hostname=qem
The image boots up, but default login root/0penBmc doesn't work ...
[cid:69893ee8-08f2-4702-9c0b-241ebac25eea]
Typo has been checked multiple times 🙂
[-- Attachment #1.2: Type: text/html, Size: 2423 bytes --]
[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 51188 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What are the login details for AST2600-EVB core-image-minimal ?
2023-02-17 11:49 What are the login details for AST2600-EVB core-image-minimal ? Ranbir Singh
@ 2023-02-17 20:01 ` Zev Weiss
2023-02-20 4:39 ` Ranbir Singh
2023-02-22 5:38 ` Joel Stanley
0 siblings, 2 replies; 4+ messages in thread
From: Zev Weiss @ 2023-02-17 20:01 UTC (permalink / raw)
To: Ranbir Singh; +Cc: openbmc
On Fri, Feb 17, 2023 at 03:49:36AM PST, Ranbir Singh wrote:
>Steps followed
>===========
>
> 1. . setup evb-ast2600
> 2. bitbake core-image-minimal
Is there a particular reason you went for core-image-minimal here? The
usual OpenBMC build target is obmc-phosphor-image; I suspect switching
to that will solve your problem.
> 3. qemu-system-arm -m 512 -M ast2600-evb -nographic -drive file=tmp/deploy/images/evb-ast2600/core-image-minimal-evb-ast2600.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostfwd=udp:127.0.0.1:2623-:623,hostname=qem
>
>The image boots up, but default login root/0penBmc doesn't work ...
>
>[cid:69893ee8-08f2-4702-9c0b-241ebac25eea]
>
>Typo has been checked multiple times 🙂
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What are the login details for AST2600-EVB core-image-minimal ?
2023-02-17 20:01 ` Zev Weiss
@ 2023-02-20 4:39 ` Ranbir Singh
2023-02-22 5:38 ` Joel Stanley
1 sibling, 0 replies; 4+ messages in thread
From: Ranbir Singh @ 2023-02-20 4:39 UTC (permalink / raw)
To: Zev Weiss; +Cc: openbmc
[-- Attachment #1: Type: text/plain, Size: 1969 bytes --]
Yes, I tried core-image-minimal as probably for some system resources reasons on my laptop, the usual build target "obmc-phosphor-image" was getting aborted during build.
Now, on some server, the target "obmc-phosphor-image" built successfully (at HEAD commit 6f03dd83d324312f691338b22008f7fb69a82f32) and I am able to login using root/0penBmc.
However, after login I am getting this -
root@evb-ast2600:~# obmcutil state
CurrentBMCState : xyz.openbmc_project.State.BMC.BMCState.NotReady
CurrentPowerState : xyz.openbmc_project.State.Chassis.PowerState.Off
CurrentHostState : xyz.openbmc_project.State.Host.HostState.Off
BootProgress : xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified
OperatingSystemState: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive
root@evb-ast2600:~#
Is this normal for evb-ast2600 ?
________________________________
From: Zev Weiss <zweiss@equinix.com>
Sent: 18 February 2023 01:31
To: Ranbir Singh <saini.ranbirs@outlook.com>
Cc: openbmc@lists.ozlabs.org <openbmc@lists.ozlabs.org>
Subject: Re: What are the login details for AST2600-EVB core-image-minimal ?
On Fri, Feb 17, 2023 at 03:49:36AM PST, Ranbir Singh wrote:
>Steps followed
>===========
>
> 1. . setup evb-ast2600
> 2. bitbake core-image-minimal
Is there a particular reason you went for core-image-minimal here? The
usual OpenBMC build target is obmc-phosphor-image; I suspect switching
to that will solve your problem.
> 3. qemu-system-arm -m 512 -M ast2600-evb -nographic -drive file=tmp/deploy/images/evb-ast2600/core-image-minimal-evb-ast2600.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostfwd=udp:127.0.0.1:2623-:623,hostname=qem
>
>The image boots up, but default login root/0penBmc doesn't work ...
>
>[cid:69893ee8-08f2-4702-9c0b-241ebac25eea]
>
>Typo has been checked multiple times 🙂
[-- Attachment #2: Type: text/html, Size: 5779 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: What are the login details for AST2600-EVB core-image-minimal ?
2023-02-17 20:01 ` Zev Weiss
2023-02-20 4:39 ` Ranbir Singh
@ 2023-02-22 5:38 ` Joel Stanley
1 sibling, 0 replies; 4+ messages in thread
From: Joel Stanley @ 2023-02-22 5:38 UTC (permalink / raw)
To: Zev Weiss, Cédric Le Goater; +Cc: Ranbir Singh, openbmc
On Sat, 18 Feb 2023 at 02:19, Zev Weiss <zweiss@equinix.com> wrote:
>
> On Fri, Feb 17, 2023 at 03:49:36AM PST, Ranbir Singh wrote:
> >Steps followed
> >===========
> >
> > 1. . setup evb-ast2600
> > 2. bitbake core-image-minimal
>
> Is there a particular reason you went for core-image-minimal here? The
> usual OpenBMC build target is obmc-phosphor-image; I suspect switching
> to that will solve your problem.
The evb help text suggests a few different targets. I added them
because I thought it made sense for building a basic image for booting
on an EVB, where the host is probably not present.
Cédric reported a similar issue with the password. In the past I
couldn't reproduce, but today I could with core-image-minimal. I
suspect there's a bug where some settings don't trigger a rebuild of
the required components, as I had trouble settling on a setup that
gave me a working password.
I did try adding this to build/evb-ast2600/conf/local.conf:
EXTRA_IMAGE_FEATURES = "serial-autologin-root"
Which logged me in automatically.
The yocto docs also suggests this method:
https://docs.yoctoproject.org/ref-manual/classes.html#ref-classes-extrausers
We should probably add a default password to the evb layer for the
non-phosphor targets. I wasn't sure how to pull in just that
configuration from meta-phospor on it's own.
Cheers,
Joel
>
> > 3. qemu-system-arm -m 512 -M ast2600-evb -nographic -drive file=tmp/deploy/images/evb-ast2600/core-image-minimal-evb-ast2600.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostfwd=udp:127.0.0.1:2623-:623,hostname=qem
> >
> >The image boots up, but default login root/0penBmc doesn't work ...
> >
> >[cid:69893ee8-08f2-4702-9c0b-241ebac25eea]
> >
> >Typo has been checked multiple times 🙂
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-02-22 5:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 11:49 What are the login details for AST2600-EVB core-image-minimal ? Ranbir Singh
2023-02-17 20:01 ` Zev Weiss
2023-02-20 4:39 ` Ranbir Singh
2023-02-22 5:38 ` Joel Stanley
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.