Bug 12013 - Poky tiny image ask for password
Summary: Poky tiny image ask for password
Status: VERIFIED NOTABUG
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-intel-corei7-64 (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.4 M4
Assignee: Alejandro Hernandez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-08-30 19:42 UTC by Juan Ramos
Modified: 2017-08-31 21:26 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
tiny_bootlog serial (3.64 KB, text/x-log)
2017-08-30 19:42 UTC, Juan Ramos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Ramos 2017-08-30 19:42:41 UTC
Created attachment 3969 [details]
tiny_bootlog serial

STATUS: IDLE
BUILD: 2.4 M3: rc1-5f6945f5031e1a4ca116cc1eccf4c2f9dc228547
ENVIRONMENT: intel-corei7-64 on Minnowboard Max
STEPS TO REPRODUCE: 
 1- Clone Poky
 2- Clone meta-intel layer
 3- source environment
 4- bitbake-layers add-layer “../meta-intel”
 5- Add below to the  local.conf
      DISTRO="poky-tiny"
      MACHINE ="intel-corei7-64"
 6- $bitbake core-image-tiny-initramfs
 7- When image was built correctly:
      a.WIC image should be created under tmp/deploy/images/intel-cori7-64
      b.Burn WIC image to USB an boot it to Minnow 64
 8- Connect Minnowmax board via serial.
EXPECTED OUTCOME: 
  
Verify Poky tiny image can be created and can boot

ACTUAL OUTCOME: 

Poky tiny Image ask for Password, even with EXTRA_IMAGE_FEATURES ?= "debug-tweaks" in local.conf.
This can be verified only via serial.
Attached boot file from serial.
Comment 1 Leonardo Sandoval Gonzalez 2017-08-31 15:12:15 UTC
(In reply to comment #0)
> Created attachment 3969 [details]
> tiny_bootlog serial
> 
> STATUS: IDLE
> BUILD: 2.4 M3: rc1-5f6945f5031e1a4ca116cc1eccf4c2f9dc228547
> ENVIRONMENT: intel-corei7-64 on Minnowboard Max
> STEPS TO REPRODUCE: 
>  1- Clone Poky
>  2- Clone meta-intel layer
>  3- source environment
>  4- bitbake-layers add-layer “../meta-intel”
>  5- Add below to the  local.conf
>       DISTRO="poky-tiny"
>       MACHINE ="intel-corei7-64"
>  6- $bitbake core-image-tiny-initramfs
>  7- When image was built correctly:
>       a.WIC image should be created under tmp/deploy/images/intel-cori7-64
>       b.Burn WIC image to USB an boot it to Minnow 64
>  8- Connect Minnowmax board via serial.
> EXPECTED OUTCOME: 
>   
> Verify Poky tiny image can be created and can boot
> 
> ACTUAL OUTCOME: 
> 
> Poky tiny Image ask for Password, even with EXTRA_IMAGE_FEATURES ?=
> "debug-tweaks" in local.conf.
> This can be verified only via serial.
> Attached boot file from serial.

Juan, I believe the bug summary is not fully correct: the image does boot but password is not blank, right? So the problem is the blanking, not the booting process.
Comment 2 Alejandro Hernandez 2017-08-31 15:55:47 UTC
Ok, I've said this several times:

The core-image-tiny-initramfs image DOES NOT NEED A PASSWORD, it DOES NOT HAVE INIT, It simply drops to shell.

If, for any reason you are getting a login prompt, then something within the image building process went wrong, my guess is that your build directory is dirty.

There is no reason at all to add EXTRA_IMAGE_FEATURES ?= "debug-tweaks".
Comment 3 Juan Ramos 2017-08-31 16:46:12 UTC
> Juan, I believe the bug summary is not fully correct: the image does boot
> but password is not blank, right? So the problem is the blanking, not the
> booting process.

You're right Leo, thing is, that HDMI video stop the boot process, so I think it didn't boot at all, so I did connect the minnowmax via serial and realized that it ask for password, anyway I changed the summary, thanks.
Comment 4 Alejandro Hernandez 2017-08-31 17:06:45 UTC
Juan,

Please use the following command to create the wic image manually and make sure that you are indeed testing a tiny build:

$ wic create systemd-bootdisk-tiny64 -e core-image-tiny-initramfs

in case you are testing for intel-core2-32 , please change systemd-bootdisk-tiny64 to systemd-bootdisk-tiny32
Comment 5 Juan Ramos 2017-08-31 21:05:15 UTC
(In reply to comment #4)
> Juan,
> 
> Please use the following command to create the wic image manually and make
> sure that you are indeed testing a tiny build:
> 
> $ wic create systemd-bootdisk-tiny64 -e core-image-tiny-initramfs
> 
> in case you are testing for intel-core2-32 , please change
> systemd-bootdisk-tiny64 to systemd-bootdisk-tiny32

It worked, I was able to create tiny image and boot ok, Im adding this steps to test case, we can close this bug.
Comment 6 Juan Ramos 2017-08-31 21:26:07 UTC
Verified.