What are the login details for AST2600-EVB core-image-minimal ?
Joel Stanley
joel at jms.id.au
Wed Feb 22 16:38:43 AEDT 2023
On Sat, 18 Feb 2023 at 02:19, Zev Weiss <zweiss at 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 🙂
>
More information about the openbmc
mailing list